diff --git a/docs/assets/403.0ed9eeb7.js b/docs/assets/403.30fc5977.js similarity index 95% rename from docs/assets/403.0ed9eeb7.js rename to docs/assets/403.30fc5977.js index 3a5097c..0b2d70e 100644 --- a/docs/assets/403.0ed9eeb7.js +++ b/docs/assets/403.30fc5977.js @@ -1 +1 @@ -import{_,r as o,o as i,c as d,a as s,b as n,w as l,d as r,e as p,p as h,f as v}from"./index.048a73c8.js";const u="/vue-admin-perfect/assets/403.359d32ca.png",t="/vue-admin-perfect/assets/404_cloud.98e7ac66.png";const m={},a=c=>(h("data-v-c78ca612"),c=c(),v(),c),f={class:"app-container"},g={class:"app-container-inner"},x={class:"wscn-http403-container"},b={class:"wscn-http403"},w=p('
403403403403
',1),k={class:"bullshit"},I=a(()=>s("div",{class:"bullshit__oops"},"\u60A8\u6CA1\u6709\u8BBF\u95EE\u6743\u9650\uFF01",-1)),N=a(()=>s("div",{class:"bullshit__info"}," \u8BF7\u68C0\u67E5URL\u5730\u5740\u662F\u5426\u6B63\u786E, \u6216\u70B9\u51FB\u56DE\u5230\u9996\u9875\u3002 ",-1));function S(c,V){const e=o("router-link");return i(),d("div",f,[s("div",g,[s("div",x,[s("div",b,[w,s("div",k,[I,N,n(e,{to:"/",class:"bullshit__return-home"},{default:l(()=>[r("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const y=_(m,[["render",S],["__scopeId","data-v-c78ca612"]]);export{y as default}; +import{_,r as o,o as i,c as d,a as s,b as n,w as l,d as r,e as p,p as h,f as v}from"./index.034c045c.js";const u="/vue-admin-perfect/assets/403.359d32ca.png",t="/vue-admin-perfect/assets/404_cloud.98e7ac66.png";const m={},a=c=>(h("data-v-c78ca612"),c=c(),v(),c),f={class:"app-container"},g={class:"app-container-inner"},x={class:"wscn-http403-container"},b={class:"wscn-http403"},w=p('
403403403403
',1),k={class:"bullshit"},I=a(()=>s("div",{class:"bullshit__oops"},"\u60A8\u6CA1\u6709\u8BBF\u95EE\u6743\u9650\uFF01",-1)),N=a(()=>s("div",{class:"bullshit__info"}," \u8BF7\u68C0\u67E5URL\u5730\u5740\u662F\u5426\u6B63\u786E, \u6216\u70B9\u51FB\u56DE\u5230\u9996\u9875\u3002 ",-1));function S(c,V){const e=o("router-link");return i(),d("div",f,[s("div",g,[s("div",x,[s("div",b,[w,s("div",k,[I,N,n(e,{to:"/",class:"bullshit__return-home"},{default:l(()=>[r("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const y=_(m,[["render",S],["__scopeId","data-v-c78ca612"]]);export{y as default}; diff --git a/docs/assets/404.13883056.js b/docs/assets/404.56cf6640.js similarity index 95% rename from docs/assets/404.13883056.js rename to docs/assets/404.56cf6640.js index a9bd396..dabb62c 100644 --- a/docs/assets/404.13883056.js +++ b/docs/assets/404.56cf6640.js @@ -1 +1 @@ -import{_,r as o,o as i,c as d,a as s,t as n,b as l,w as r,d as p,e as h,p as v,f as u}from"./index.048a73c8.js";const m="/vue-admin-perfect/assets/404_bg.79e0e553.png",e="/vue-admin-perfect/assets/404_cloud.98e7ac66.png";const f={},a=t=>(v("data-v-648266d8"),t=t(),u(),t),g={class:"app-container"},b={class:"app-container-inner"},w={class:"wscn-http404-container"},x={class:"wscn-http404"},S=h('
404404404404
',1),k={class:"bullshit"},I=a(()=>s("div",{class:"bullshit__oops"},"\u9875\u9762\u4E0D\u5B58\u5728\uFF01",-1)),N={class:"bullshit__headline"},V=a(()=>s("div",{class:"bullshit__info"},"\u8BF7\u68C0\u67E5URL\u5730\u5740\u662F\u5426\u6B63\u786E, \u6216\u70B9\u51FB\u56DE\u5230\u9996\u9875\u3002",-1));function y(t,B){const c=o("router-link");return i(),d("div",g,[s("div",b,[s("div",w,[s("div",x,[S,s("div",k,[I,s("div",N,n(t.message),1),V,l(c,{to:"/",class:"bullshit__return-home"},{default:r(()=>[p("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const D=_(f,[["render",y],["__scopeId","data-v-648266d8"]]);export{D as default}; +import{_,r as o,o as i,c as d,a as s,t as n,b as l,w as r,d as p,e as h,p as v,f as u}from"./index.034c045c.js";const m="/vue-admin-perfect/assets/404_bg.79e0e553.png",e="/vue-admin-perfect/assets/404_cloud.98e7ac66.png";const f={},a=t=>(v("data-v-648266d8"),t=t(),u(),t),g={class:"app-container"},b={class:"app-container-inner"},w={class:"wscn-http404-container"},x={class:"wscn-http404"},S=h('
404404404404
',1),k={class:"bullshit"},I=a(()=>s("div",{class:"bullshit__oops"},"\u9875\u9762\u4E0D\u5B58\u5728\uFF01",-1)),N={class:"bullshit__headline"},V=a(()=>s("div",{class:"bullshit__info"},"\u8BF7\u68C0\u67E5URL\u5730\u5740\u662F\u5426\u6B63\u786E, \u6216\u70B9\u51FB\u56DE\u5230\u9996\u9875\u3002",-1));function y(t,B){const c=o("router-link");return i(),d("div",g,[s("div",b,[s("div",w,[s("div",x,[S,s("div",k,[I,s("div",N,n(t.message),1),V,l(c,{to:"/",class:"bullshit__return-home"},{default:r(()=>[p("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const D=_(f,[["render",y],["__scopeId","data-v-648266d8"]]);export{D as default}; diff --git a/docs/assets/bar.vue_vue_type_script_setup_true_lang.59811325.js b/docs/assets/bar.vue_vue_type_script_setup_true_lang.1158016e.js similarity index 93% rename from docs/assets/bar.vue_vue_type_script_setup_true_lang.59811325.js rename to docs/assets/bar.vue_vue_type_script_setup_true_lang.1158016e.js index 0ff8d77..d06a283 100644 --- a/docs/assets/bar.vue_vue_type_script_setup_true_lang.59811325.js +++ b/docs/assets/bar.vue_vue_type_script_setup_true_lang.1158016e.js @@ -1 +1 @@ -import{i as s}from"./index.201c3aba.js";import{g as o,x as r,o as c,c as d,y as l,z as h}from"./index.048a73c8.js";const m=["id"],g=o({__name:"bar",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const a=t,n={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{type:"category",data:["\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D","\u661F\u671F\u65E5"]},yAxis:{type:"value"},series:[{data:[150,230,150,80,70,110,130],type:"bar"}]};let e;const u=()=>{let i=s(document.getElementById(a.id));return i.setOption(n),i};return r(()=>{e=u(),window.addEventListener("resize",function(){e&&e.resize()})}),(i,p)=>(c(),d("div",{id:t.id,class:l(t.className),style:h({height:t.height,width:t.width})},null,14,m))}});export{g as _}; +import{i as s}from"./index.201c3aba.js";import{g as o,x as r,o as c,c as d,y as l,z as h}from"./index.034c045c.js";const m=["id"],g=o({__name:"bar",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const a=t,n={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{type:"category",data:["\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D","\u661F\u671F\u65E5"]},yAxis:{type:"value"},series:[{data:[150,230,150,80,70,110,130],type:"bar"}]};let e;const u=()=>{let i=s(document.getElementById(a.id));return i.setOption(n),i};return r(()=>{e=u(),window.addEventListener("resize",function(){e&&e.resize()})}),(i,p)=>(c(),d("div",{id:t.id,class:l(t.className),style:h({height:t.height,width:t.width})},null,14,m))}});export{g as _}; diff --git a/docs/assets/exceljs.min.ee80950b.js b/docs/assets/exceljs.min.1781a218.js similarity index 99% rename from docs/assets/exceljs.min.ee80950b.js rename to docs/assets/exceljs.min.1781a218.js index c1f43f8..3451e12 100644 --- a/docs/assets/exceljs.min.ee80950b.js +++ b/docs/assets/exceljs.min.1781a218.js @@ -1,4 +1,4 @@ -import{Q as Qe,R as Vt}from"./index.048a73c8.js";function Bt(Ft){throw new Error('Could not dynamically require "'+Ft+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ht={exports:{}};/*! ExcelJS 21-08-2021 */(function(Ft,qt){(function(d){Ft.exports=d()})(function(){return function d(I,T,b){function m(p,c){if(!T[p]){if(!I[p]){var l=typeof Bt=="function"&&Bt;if(!c&&l)return l(p,!0);if(v)return v(p,!0);var s=new Error("Cannot find module '"+p+"'");throw s.code="MODULE_NOT_FOUND",s}var i=T[p]={exports:{}};I[p][0].call(i.exports,function(e){return m(I[p][1][e]||e)},i,i.exports,d,I,T,b)}return T[p].exports}for(var v=typeof Bt=="function"&&Bt,h=0;h2&&arguments[2]!==void 0?arguments[2]:0;if(b(this,p),e)if(typeof e=="string"){var r=v.decodeAddress(e);this.nativeCol=r.col+t,this.nativeColOff=0,this.nativeRow=r.row+t,this.nativeRowOff=0}else e.nativeCol!==void 0?(this.nativeCol=e.nativeCol||0,this.nativeColOff=e.nativeColOff||0,this.nativeRow=e.nativeRow||0,this.nativeRowOff=e.nativeRowOff||0):e.col!==void 0?(this.col=e.col+t,this.row=e.row+t):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;this.worksheet=i}var c,l,s;return c=p,s=[{key:"asInstance",value:function(i){return i instanceof p||i==null?i:new p(i)}}],(l=[{key:"col",get:function(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth},set:function(i){this.nativeCol=Math.floor(i),this.nativeColOff=Math.floor((i-this.nativeCol)*this.colWidth)}},{key:"row",get:function(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight},set:function(i){this.nativeRow=Math.floor(i),this.nativeRowOff=Math.floor((i-this.nativeRow)*this.rowHeight)}},{key:"colWidth",get:function(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}},{key:"rowHeight",get:function(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}},{key:"model",get:function(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}},set:function(i){this.nativeCol=i.nativeCol,this.nativeColOff=i.nativeColOff,this.nativeRow=i.nativeRow,this.nativeRowOff=i.nativeRowOff}}])&&m(c.prototype,l),s&&m(c,s),p}();I.exports=h},{"../utils/col-cache":19}],3:[function(d,I,T){function b(O,P){if(!(O instanceof P))throw new TypeError("Cannot call a class as a function")}function m(O,P){for(var _=0;_0||this.type===O.Types.Merge}},{key:"master",get:function(){return this.type===O.Types.Merge?this._value.master:this}},{key:"isHyperlink",get:function(){return this._value.type===O.Types.Hyperlink}},{key:"hyperlink",get:function(){return this._value.hyperlink}},{key:"value",get:function(){return this._value.value},set:function(P){this.type!==O.Types.Merge?(this._value.release(),this._value=M.create(M.getType(P),this,P)):this._value.master.value=P}},{key:"note",get:function(){return this._comment&&this._comment.note},set:function(P){this._comment=new s(P)}},{key:"text",get:function(){return this._value.toString()}},{key:"html",get:function(){return p.escapeHtml(this.text)}},{key:"formula",get:function(){return this._value.formula}},{key:"result",get:function(){return this._value.result}},{key:"formulaType",get:function(){return this._value.formulaType}},{key:"fullAddress",get:function(){return{sheetName:this._row.worksheet.name,address:this.address,row:this.row,col:this.col}}},{key:"name",get:function(){return this.names[0]},set:function(P){this.names=[P]}},{key:"names",get:function(){return this.workbook.definedNames.getNamesEx(this.fullAddress)},set:function(P){var _=this,S=this.workbook.definedNames;S.removeAllNames(this.fullAddress),P.forEach(function(g){S.addEx(_.fullAddress,g)})}},{key:"_dataValidations",get:function(){return this.worksheet.dataValidations}},{key:"dataValidation",get:function(){return this._dataValidations.find(this.address)},set:function(P){this._dataValidations.add(this.address,P)}},{key:"model",get:function(){var P=this._value.model;return P.style=this.style,this._comment&&(P.comment=this._comment.model),P},set:function(P){if(this._value.release(),this._value=M.create(P.type,this),this._value.model=P,P.comment)switch(P.comment.type){case"note":this._comment=s.fromModel(P.comment)}P.style?this.style=P.style:this.style={}}}]),O}();i.Types=c.ValueType;var e=function(){function O(P){b(this,O),this.model={address:P.address,type:i.Types.Null}}return v(O,[{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){}},{key:"toString",value:function(){return""}},{key:"value",get:function(){return null},set:function(P){}},{key:"type",get:function(){return i.Types.Null}},{key:"effectiveType",get:function(){return i.Types.Null}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),t=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Number,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.Number}},{key:"effectiveType",get:function(){return i.Types.Number}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),r=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.String,value:_}}return v(O,[{key:"toCsvString",value:function(){return'"'.concat(this.model.value.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.String}},{key:"effectiveType",get:function(){return i.Types.String}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),o=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.String,value:_}}return v(O,[{key:"toString",value:function(){return this.model.value.richText.map(function(P){return P.text}).join("")}},{key:"toCsvString",value:function(){return'"'.concat(this.text.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.RichText}},{key:"effectiveType",get:function(){return i.Types.RichText}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),n=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Date,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value.toISOString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.Date}},{key:"effectiveType",get:function(){return i.Types.Date}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),a=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Hyperlink,text:_?_.text:void 0,hyperlink:_?_.hyperlink:void 0},_&&_.tooltip&&(this.model.tooltip=_.tooltip)}return v(O,[{key:"toCsvString",value:function(){return this.model.hyperlink}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.text}},{key:"value",get:function(){var P={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(P.tooltip=this.model.tooltip),P},set:function(P){this.model={text:P.text,hyperlink:P.hyperlink},P.tooltip&&(this.model.tooltip=P.tooltip)}},{key:"text",get:function(){return this.model.text},set:function(P){this.model.text=P}},{key:"hyperlink",get:function(){return this.model.hyperlink},set:function(P){this.model.hyperlink=P}},{key:"type",get:function(){return i.Types.Hyperlink}},{key:"effectiveType",get:function(){return i.Types.Hyperlink}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),u=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Merge,master:_?_.address:void 0},this._master=_,_&&_.addMergeRef()}return v(O,[{key:"isMergedTo",value:function(P){return P===this._master}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){this._master.releaseMergeRef()}},{key:"toString",value:function(){return this.value.toString()}},{key:"value",get:function(){return this._master.value},set:function(P){P instanceof i?(this._master&&this._master.releaseMergeRef(),P.addMergeRef(),this._master=P):this._master.value=P}},{key:"master",get:function(){return this._master}},{key:"type",get:function(){return i.Types.Merge}},{key:"effectiveType",get:function(){return this._master.effectiveType}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),f=function(){function O(P,_){b(this,O),this.cell=P,this.model={address:P.address,type:i.Types.Formula,shareType:_?_.shareType:void 0,ref:_?_.ref:void 0,formula:_?_.formula:void 0,sharedFormula:_?_.sharedFormula:void 0,result:_?_.result:void 0}}return v(O,[{key:"_copyModel",value:function(P){var _={},S=function(g){var j=P[g];j&&(_[g]=j)};return S("formula"),S("result"),S("ref"),S("shareType"),S("sharedFormula"),_}},{key:"validate",value:function(P){switch(M.getType(P)){case i.Types.Null:case i.Types.String:case i.Types.Number:case i.Types.Date:break;case i.Types.Hyperlink:case i.Types.Formula:default:throw new Error("Cannot process that type of result value")}}},{key:"_getTranslatedFormula",value:function(){if(!this._translatedFormula&&this.model.sharedFormula){var P=this.cell.worksheet.findCell(this.model.sharedFormula);this._translatedFormula=P&&l(P.formula,P.address,this.model.address)}return this._translatedFormula}},{key:"toCsvString",value:function(){return"".concat(this.model.result||"")}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.result?this.model.result.toString():""}},{key:"value",get:function(){return this._copyModel(this.model)},set:function(P){this.model=this._copyModel(P)}},{key:"dependencies",get:function(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}},{key:"formula",get:function(){return this.model.formula||this._getTranslatedFormula()},set:function(P){this.model.formula=P}},{key:"formulaType",get:function(){return this.model.formula?c.FormulaType.Master:this.model.sharedFormula?c.FormulaType.Shared:c.FormulaType.None}},{key:"result",get:function(){return this.model.result},set:function(P){this.model.result=P}},{key:"type",get:function(){return i.Types.Formula}},{key:"effectiveType",get:function(){var P=this.model.result;return P==null?c.ValueType.Null:P instanceof String||typeof P=="string"?c.ValueType.String:typeof P=="number"?c.ValueType.Number:P instanceof Date?c.ValueType.Date:P.text&&P.hyperlink?c.ValueType.Hyperlink:P.formula?c.ValueType.Formula:c.ValueType.Null}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),y=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.SharedString,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.SharedString}},{key:"effectiveType",get:function(){return i.Types.SharedString}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),w=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Boolean,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value?1:0}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.Boolean}},{key:"effectiveType",get:function(){return i.Types.Boolean}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),R=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Error,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.error.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.Error}},{key:"effectiveType",get:function(){return i.Types.Error}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),E=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.String,value:JSON.stringify(_),rawValue:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.rawValue},set:function(P){this.model.rawValue=P,this.model.value=JSON.stringify(P)}},{key:"type",get:function(){return i.Types.String}},{key:"effectiveType",get:function(){return i.Types.String}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),M={getType:function(O){return O==null?i.Types.Null:O instanceof String||typeof O=="string"?i.Types.String:typeof O=="number"?i.Types.Number:typeof O=="boolean"?i.Types.Boolean:O instanceof Date?i.Types.Date:O.text&&O.hyperlink?i.Types.Hyperlink:O.formula||O.sharedFormula?i.Types.Formula:O.richText?i.Types.RichText:O.sharedString?i.Types.SharedString:O.error?i.Types.Error:i.Types.JSON},types:[{t:i.Types.Null,f:e},{t:i.Types.Number,f:t},{t:i.Types.String,f:r},{t:i.Types.Date,f:n},{t:i.Types.Hyperlink,f:a},{t:i.Types.Formula,f},{t:i.Types.Merge,f:u},{t:i.Types.JSON,f:E},{t:i.Types.SharedString,f:y},{t:i.Types.RichText,f:o},{t:i.Types.Boolean,f:w},{t:i.Types.Error,f:R}].reduce(function(O,P){return O[P.t]=P.f,O},[]),create:function(O,P,_){var S=this.types[O];if(!S)throw new Error("Could not create Value of type ".concat(O));return new S(P,_)}};I.exports=i},{"../utils/col-cache":19,"../utils/shared-formula":22,"../utils/under-dash":25,"./enums":7,"./note":9}],4:[function(d,I,T){function b(c,l){for(var s=0;s=this._worksheet.properties.outlineLevelCol)}},{key:"isDefault",get:function(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;var e=this.style;return!e||!(e.font||e.numFmt||e.alignment||e.border||e.fill||e.protection)}},{key:"headerCount",get:function(){return this.headers.length}},{key:"values",get:function(){var e=[];return this.eachCell(function(t,r){t&&t.type!==v.ValueType.Null&&(e[r]=t.value)}),e},set:function(e){var t=this;if(e){var r=this.number,o=0;e.hasOwnProperty("0")&&(o=1),e.forEach(function(n,a){t._worksheet.getCell(a+o,r).value=n})}}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(e){this._applyStyle("numFmt",e)}},{key:"font",get:function(){return this.style.font},set:function(e){this._applyStyle("font",e)}},{key:"alignment",get:function(){return this.style.alignment},set:function(e){this._applyStyle("alignment",e)}},{key:"protection",get:function(){return this.style.protection},set:function(e){this._applyStyle("protection",e)}},{key:"border",get:function(){return this.style.border},set:function(e){this._applyStyle("border",e)}},{key:"fill",get:function(){return this.style.fill},set:function(e){this._applyStyle("fill",e)}}])&&b(l.prototype,s),i&&b(l,i),c}();I.exports=p},{"../utils/col-cache":19,"../utils/under-dash":25,"./enums":7}],5:[function(d,I,T){function b(v,h){for(var p=0;pthis.bottom)&&(this.bottom=e),(!this.model.right||t>this.right)&&(this.right=t)}},{key:"expandRow",value:function(s){if(s){var i=s.dimensions,e=s.number;i&&this.expand(e,i.min,e,i.max)}}},{key:"expandToAddress",value:function(s){var i=v.decodeEx(s);this.expand(i.row,i.col,i.row,i.col)}},{key:"toString",value:function(){return this.range}},{key:"intersects",value:function(s){return!(s.sheetName&&this.sheetName&&s.sheetName!==this.sheetName||s.bottomthis.bottom||s.rightthis.right)}},{key:"contains",value:function(s){var i=v.decodeEx(s);return this.containsEx(i)}},{key:"containsEx",value:function(s){return(!s.sheetName||!this.sheetName||s.sheetName===this.sheetName)&&s.row>=this.top&&s.row<=this.bottom&&s.col>=this.left&&s.col<=this.right}},{key:"forEachAddress",value:function(s){for(var i=this.left;i<=this.right;i++)for(var e=this.top;e<=this.bottom;e++)s(v.encodeAddress(e,i),e,i)}},{key:"top",get:function(){return this.model.top||1},set:function(s){this.model.top=s}},{key:"left",get:function(){return this.model.left||1},set:function(s){this.model.left=s}},{key:"bottom",get:function(){return this.model.bottom||1},set:function(s){this.model.bottom=s}},{key:"right",get:function(){return this.model.right||1},set:function(s){this.model.right=s}},{key:"sheetName",get:function(){return this.model.sheetName},set:function(s){this.model.sheetName=s}},{key:"_serialisedSheetName",get:function(){var s=this.model.sheetName;return s?/^[a-zA-Z0-9]*$/.test(s)?"".concat(s,"!"):"'".concat(s,"'!"):""}},{key:"tl",get:function(){return v.n2l(this.left)+this.top}},{key:"$t$l",get:function(){return"$".concat(v.n2l(this.left),"$").concat(this.top)}},{key:"br",get:function(){return v.n2l(this.right)+this.bottom}},{key:"$b$r",get:function(){return"$".concat(v.n2l(this.right),"$").concat(this.bottom)}},{key:"range",get:function(){return"".concat(this._serialisedSheetName+this.tl,":").concat(this.br)}},{key:"$range",get:function(){return"".concat(this._serialisedSheetName+this.$t$l,":").concat(this.$b$r)}},{key:"shortRange",get:function(){return this.count>1?this.range:this._serialisedSheetName+this.tl}},{key:"$shortRange",get:function(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}},{key:"count",get:function(){return(1+this.bottom-this.top)*(1+this.right-this.left)}}])&&m(c.prototype,l),p}();I.exports=h},{"../utils/col-cache":19}],11:[function(d,I,T){function b(l,s){for(var i=0;i2?o-2:0),a=2;a0)for(u=R;u>=r;u--)(f=this._cells[u-1])?((y=this.getCell(u+w)).value=f.value,y.style=f.style,y._comment=f._comment):this._cells[u+w-1]=void 0;for(u=0;ur.col)&&(e=r.col),t0?{min:e,max:t}:null}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(e){this._applyStyle("numFmt",e)}},{key:"font",get:function(){return this.style.font},set:function(e){this._applyStyle("font",e)}},{key:"alignment",get:function(){return this.style.alignment},set:function(e){this._applyStyle("alignment",e)}},{key:"protection",get:function(){return this.style.protection},set:function(e){this._applyStyle("protection",e)}},{key:"border",get:function(){return this.style.border},set:function(e){this._applyStyle("border",e)}},{key:"fill",get:function(){return this.style.fill},set:function(e){this._applyStyle("fill",e)}},{key:"hidden",get:function(){return!!this._hidden},set:function(e){this._hidden=e}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(e){this._outlineLevel=e}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}},{key:"model",get:function(){var e=[],t=0,r=0;return this._cells.forEach(function(o){if(o){var n=o.model;n&&((!t||t>o.col)&&(t=o.col),r0,"Table must be on valid row"),t(n>0,"Table must be on valid col");var a=this.width,u=this.filterHeight,f=this.tableHeight;i.autoFilterRef=h.encode(o,n,o+u-1,n+a-1),i.tableRef=h.encode(o,n,o+f-1,n+a-1),i.columns.forEach(function(y,w){t(y.name,"Column ".concat(w," must have a name")),w===0?e(y,"totalsRowLabel","Total"):(e(y,"totalsRowFunction","none"),y.totalsRowFormula=s.getFormula(y))})}},{key:"store",value:function(){var s=this,i=function(y,w){w&&Object.keys(w).forEach(function(R){y[R]=w[R]})},e=this.worksheet,t=this.table,r=t.tl,o=r.row,n=r.col,a=0;if(t.headerRow){var u=e.getRow(o+a++);t.columns.forEach(function(y,w){var R=y.style,E=y.name,M=u.getCell(n+w);M.value=E,i(M,R)})}if(t.rows.forEach(function(y){var w=e.getRow(o+a++);y.forEach(function(R,E){var M=w.getCell(n+E);M.value=R,i(M,t.columns[E].style)})}),t.totalsRow){var f=e.getRow(o+a++);t.columns.forEach(function(y,w){var R=f.getCell(n+w);if(w===0)R.value=y.totalsRowLabel;else{var E=s.getFormula(y);R.value=E?{formula:y.totalsRowFormula,result:y.totalsRowResult}:null}i(R,y.style)})}}},{key:"load",value:function(s){var i=this,e=this.table,t=e.tl,r=t.row,o=t.col,n=0;if(e.headerRow){var a=s.getRow(r+n++);e.columns.forEach(function(f,y){a.getCell(o+y).value=f.name})}if(e.rows.forEach(function(f){var y=s.getRow(r+n++);f.forEach(function(w,R){y.getCell(o+R).value=w})}),e.totalsRow){var u=s.getRow(r+n++);e.columns.forEach(function(f,y){var w=u.getCell(o+y);y===0?w.value=f.totalsRowLabel:i.getFormula(f)&&(w.value={formula:f.totalsRowFormula,result:f.totalsRowResult})})}}},{key:"cacheState",value:function(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}},{key:"commit",value:function(){if(this._cache){this.validate();var s=h.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(s,i)}},{key:"getColumn",value:function(s){var i=this.table.columns[s];return new p(this,i,s)}},{key:"addColumn",value:function(s,i,e){this.cacheState(),e===void 0?(this.table.columns.push(s),this.table.rows.forEach(function(t,r){t.push(i[r])})):(this.table.columns.splice(e,0,s),this.table.rows.forEach(function(t,r){t.splice(e,0,i[r])}))}},{key:"removeColumns",value:function(s){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(s,i),this.table.rows.forEach(function(e){e.splice(s,i)})}},{key:"_assign",value:function(s,i,e){this.cacheState(),s[i]=e}},{key:"width",get:function(){return this.table.columns.length}},{key:"height",get:function(){return this.table.rows.length}},{key:"filterHeight",get:function(){return this.height+(this.table.headerRow?1:0)}},{key:"tableHeight",get:function(){return this.filterHeight+(this.table.totalsRow?1:0)}},{key:"model",get:function(){return this.table},set:function(s){this.table=s}},{key:"ref",get:function(){return this.table.ref},set:function(s){this._assign(this.table,"ref",s)}},{key:"name",get:function(){return this.table.name},set:function(s){this.table.name=s}},{key:"displayName",get:function(){return this.table.displyName||this.table.name}},{key:"displayNamename",set:function(s){this.table.displayName=s}},{key:"headerRow",get:function(){return this.table.headerRow},set:function(s){this._assign(this.table,"headerRow",s)}},{key:"totalsRow",get:function(){return this.table.totalsRow},set:function(s){this._assign(this.table,"totalsRow",s)}},{key:"theme",get:function(){return this.table.style.name},set:function(s){this.table.style.name=s}},{key:"showFirstColumn",get:function(){return this.table.style.showFirstColumn},set:function(s){this.table.style.showFirstColumn=s}},{key:"showLastColumn",get:function(){return this.table.style.showLastColumn},set:function(s){this.table.style.showLastColumn=s}},{key:"showRowStripes",get:function(){return this.table.style.showRowStripes},set:function(s){this.table.style.showRowStripes=s}},{key:"showColumnStripes",get:function(){return this.table.style.showColumnStripes},set:function(s){this.table.style.showColumnStripes=s}}]),l}();I.exports=c},{"../utils/col-cache":19}],13:[function(d,I,T){function b(l,s){for(var i=0;i31&&console.warn("Worksheet name ".concat(e," exceeds 31 chars. This will be truncated")),/[*?:/\\[\]]/.test(e))throw new Error("Worksheet name ".concat(e," cannot include any of the following characters: * ? : \\ / [ ]"));if(/(^')|('$)/.test(e))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: ".concat(e));if(e=(e||"sheet".concat(r)).substring(0,31),this._worksheets.find(function(u){return u&&u.name.toLowerCase()===e.toLowerCase()}))throw new Error("Worksheet name already exists: ".concat(e));t&&(typeof t=="string"?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),t={properties:{tabColor:{argb:t}}}):(t.argb||t.theme||t.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),t={properties:{tabColor:t}}));var o=this._worksheets.reduce(function(u,f){return(f&&f.orderNo)>u?f.orderNo:u},0),n=Object.assign({},t,{id:r,name:e,orderNo:o+1,workbook:this}),a=new m(n);return this._worksheets[r]=a,a}},{key:"removeWorksheetEx",value:function(e){delete this._worksheets[e.id]}},{key:"removeWorksheet",value:function(e){var t=this.getWorksheet(e);t&&t.destroy()}},{key:"getWorksheet",value:function(e){return e===void 0?this._worksheets.find(Boolean):typeof e=="number"?this._worksheets[e]:typeof e=="string"?this._worksheets.find(function(t){return t&&t.name===e}):void 0}},{key:"eachSheet",value:function(e){this.worksheets.forEach(function(t){e(t,t.id)})}},{key:"clearThemes",value:function(){this._themes=void 0}},{key:"addImage",value:function(e){var t=this.media.length;return this.media.push(Object.assign({},e,{type:"image"})),t}},{key:"getImage",value:function(e){return this.media[e]}},{key:"xlsx",get:function(){return this._xlsx||(this._xlsx=new h(this)),this._xlsx}},{key:"csv",get:function(){return this._csv||(this._csv=new p(this)),this._csv}},{key:"nextId",get:function(){for(var e=1;e2&&arguments[2]!==void 0?arguments[2]:0;if(b(this,p),e)if(typeof e=="string"){var r=v.decodeAddress(e);this.nativeCol=r.col+t,this.nativeColOff=0,this.nativeRow=r.row+t,this.nativeRowOff=0}else e.nativeCol!==void 0?(this.nativeCol=e.nativeCol||0,this.nativeColOff=e.nativeColOff||0,this.nativeRow=e.nativeRow||0,this.nativeRowOff=e.nativeRowOff||0):e.col!==void 0?(this.col=e.col+t,this.row=e.row+t):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;this.worksheet=i}var c,l,s;return c=p,s=[{key:"asInstance",value:function(i){return i instanceof p||i==null?i:new p(i)}}],(l=[{key:"col",get:function(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth},set:function(i){this.nativeCol=Math.floor(i),this.nativeColOff=Math.floor((i-this.nativeCol)*this.colWidth)}},{key:"row",get:function(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight},set:function(i){this.nativeRow=Math.floor(i),this.nativeRowOff=Math.floor((i-this.nativeRow)*this.rowHeight)}},{key:"colWidth",get:function(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}},{key:"rowHeight",get:function(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}},{key:"model",get:function(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}},set:function(i){this.nativeCol=i.nativeCol,this.nativeColOff=i.nativeColOff,this.nativeRow=i.nativeRow,this.nativeRowOff=i.nativeRowOff}}])&&m(c.prototype,l),s&&m(c,s),p}();I.exports=h},{"../utils/col-cache":19}],3:[function(d,I,T){function b(O,P){if(!(O instanceof P))throw new TypeError("Cannot call a class as a function")}function m(O,P){for(var _=0;_0||this.type===O.Types.Merge}},{key:"master",get:function(){return this.type===O.Types.Merge?this._value.master:this}},{key:"isHyperlink",get:function(){return this._value.type===O.Types.Hyperlink}},{key:"hyperlink",get:function(){return this._value.hyperlink}},{key:"value",get:function(){return this._value.value},set:function(P){this.type!==O.Types.Merge?(this._value.release(),this._value=M.create(M.getType(P),this,P)):this._value.master.value=P}},{key:"note",get:function(){return this._comment&&this._comment.note},set:function(P){this._comment=new s(P)}},{key:"text",get:function(){return this._value.toString()}},{key:"html",get:function(){return p.escapeHtml(this.text)}},{key:"formula",get:function(){return this._value.formula}},{key:"result",get:function(){return this._value.result}},{key:"formulaType",get:function(){return this._value.formulaType}},{key:"fullAddress",get:function(){return{sheetName:this._row.worksheet.name,address:this.address,row:this.row,col:this.col}}},{key:"name",get:function(){return this.names[0]},set:function(P){this.names=[P]}},{key:"names",get:function(){return this.workbook.definedNames.getNamesEx(this.fullAddress)},set:function(P){var _=this,S=this.workbook.definedNames;S.removeAllNames(this.fullAddress),P.forEach(function(g){S.addEx(_.fullAddress,g)})}},{key:"_dataValidations",get:function(){return this.worksheet.dataValidations}},{key:"dataValidation",get:function(){return this._dataValidations.find(this.address)},set:function(P){this._dataValidations.add(this.address,P)}},{key:"model",get:function(){var P=this._value.model;return P.style=this.style,this._comment&&(P.comment=this._comment.model),P},set:function(P){if(this._value.release(),this._value=M.create(P.type,this),this._value.model=P,P.comment)switch(P.comment.type){case"note":this._comment=s.fromModel(P.comment)}P.style?this.style=P.style:this.style={}}}]),O}();i.Types=c.ValueType;var e=function(){function O(P){b(this,O),this.model={address:P.address,type:i.Types.Null}}return v(O,[{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){}},{key:"toString",value:function(){return""}},{key:"value",get:function(){return null},set:function(P){}},{key:"type",get:function(){return i.Types.Null}},{key:"effectiveType",get:function(){return i.Types.Null}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),t=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Number,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.Number}},{key:"effectiveType",get:function(){return i.Types.Number}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),r=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.String,value:_}}return v(O,[{key:"toCsvString",value:function(){return'"'.concat(this.model.value.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.String}},{key:"effectiveType",get:function(){return i.Types.String}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),o=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.String,value:_}}return v(O,[{key:"toString",value:function(){return this.model.value.richText.map(function(P){return P.text}).join("")}},{key:"toCsvString",value:function(){return'"'.concat(this.text.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.RichText}},{key:"effectiveType",get:function(){return i.Types.RichText}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),n=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Date,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value.toISOString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.Date}},{key:"effectiveType",get:function(){return i.Types.Date}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),a=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Hyperlink,text:_?_.text:void 0,hyperlink:_?_.hyperlink:void 0},_&&_.tooltip&&(this.model.tooltip=_.tooltip)}return v(O,[{key:"toCsvString",value:function(){return this.model.hyperlink}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.text}},{key:"value",get:function(){var P={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(P.tooltip=this.model.tooltip),P},set:function(P){this.model={text:P.text,hyperlink:P.hyperlink},P.tooltip&&(this.model.tooltip=P.tooltip)}},{key:"text",get:function(){return this.model.text},set:function(P){this.model.text=P}},{key:"hyperlink",get:function(){return this.model.hyperlink},set:function(P){this.model.hyperlink=P}},{key:"type",get:function(){return i.Types.Hyperlink}},{key:"effectiveType",get:function(){return i.Types.Hyperlink}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),u=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Merge,master:_?_.address:void 0},this._master=_,_&&_.addMergeRef()}return v(O,[{key:"isMergedTo",value:function(P){return P===this._master}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){this._master.releaseMergeRef()}},{key:"toString",value:function(){return this.value.toString()}},{key:"value",get:function(){return this._master.value},set:function(P){P instanceof i?(this._master&&this._master.releaseMergeRef(),P.addMergeRef(),this._master=P):this._master.value=P}},{key:"master",get:function(){return this._master}},{key:"type",get:function(){return i.Types.Merge}},{key:"effectiveType",get:function(){return this._master.effectiveType}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),f=function(){function O(P,_){b(this,O),this.cell=P,this.model={address:P.address,type:i.Types.Formula,shareType:_?_.shareType:void 0,ref:_?_.ref:void 0,formula:_?_.formula:void 0,sharedFormula:_?_.sharedFormula:void 0,result:_?_.result:void 0}}return v(O,[{key:"_copyModel",value:function(P){var _={},S=function(g){var j=P[g];j&&(_[g]=j)};return S("formula"),S("result"),S("ref"),S("shareType"),S("sharedFormula"),_}},{key:"validate",value:function(P){switch(M.getType(P)){case i.Types.Null:case i.Types.String:case i.Types.Number:case i.Types.Date:break;case i.Types.Hyperlink:case i.Types.Formula:default:throw new Error("Cannot process that type of result value")}}},{key:"_getTranslatedFormula",value:function(){if(!this._translatedFormula&&this.model.sharedFormula){var P=this.cell.worksheet.findCell(this.model.sharedFormula);this._translatedFormula=P&&l(P.formula,P.address,this.model.address)}return this._translatedFormula}},{key:"toCsvString",value:function(){return"".concat(this.model.result||"")}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.result?this.model.result.toString():""}},{key:"value",get:function(){return this._copyModel(this.model)},set:function(P){this.model=this._copyModel(P)}},{key:"dependencies",get:function(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}},{key:"formula",get:function(){return this.model.formula||this._getTranslatedFormula()},set:function(P){this.model.formula=P}},{key:"formulaType",get:function(){return this.model.formula?c.FormulaType.Master:this.model.sharedFormula?c.FormulaType.Shared:c.FormulaType.None}},{key:"result",get:function(){return this.model.result},set:function(P){this.model.result=P}},{key:"type",get:function(){return i.Types.Formula}},{key:"effectiveType",get:function(){var P=this.model.result;return P==null?c.ValueType.Null:P instanceof String||typeof P=="string"?c.ValueType.String:typeof P=="number"?c.ValueType.Number:P instanceof Date?c.ValueType.Date:P.text&&P.hyperlink?c.ValueType.Hyperlink:P.formula?c.ValueType.Formula:c.ValueType.Null}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),y=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.SharedString,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.SharedString}},{key:"effectiveType",get:function(){return i.Types.SharedString}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),w=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Boolean,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value?1:0}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.Boolean}},{key:"effectiveType",get:function(){return i.Types.Boolean}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),R=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.Error,value:_}}return v(O,[{key:"toCsvString",value:function(){return this.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.error.toString()}},{key:"value",get:function(){return this.model.value},set:function(P){this.model.value=P}},{key:"type",get:function(){return i.Types.Error}},{key:"effectiveType",get:function(){return i.Types.Error}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),E=function(){function O(P,_){b(this,O),this.model={address:P.address,type:i.Types.String,value:JSON.stringify(_),rawValue:_}}return v(O,[{key:"toCsvString",value:function(){return this.model.value}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.rawValue},set:function(P){this.model.rawValue=P,this.model.value=JSON.stringify(P)}},{key:"type",get:function(){return i.Types.String}},{key:"effectiveType",get:function(){return i.Types.String}},{key:"address",get:function(){return this.model.address},set:function(P){this.model.address=P}}]),O}(),M={getType:function(O){return O==null?i.Types.Null:O instanceof String||typeof O=="string"?i.Types.String:typeof O=="number"?i.Types.Number:typeof O=="boolean"?i.Types.Boolean:O instanceof Date?i.Types.Date:O.text&&O.hyperlink?i.Types.Hyperlink:O.formula||O.sharedFormula?i.Types.Formula:O.richText?i.Types.RichText:O.sharedString?i.Types.SharedString:O.error?i.Types.Error:i.Types.JSON},types:[{t:i.Types.Null,f:e},{t:i.Types.Number,f:t},{t:i.Types.String,f:r},{t:i.Types.Date,f:n},{t:i.Types.Hyperlink,f:a},{t:i.Types.Formula,f},{t:i.Types.Merge,f:u},{t:i.Types.JSON,f:E},{t:i.Types.SharedString,f:y},{t:i.Types.RichText,f:o},{t:i.Types.Boolean,f:w},{t:i.Types.Error,f:R}].reduce(function(O,P){return O[P.t]=P.f,O},[]),create:function(O,P,_){var S=this.types[O];if(!S)throw new Error("Could not create Value of type ".concat(O));return new S(P,_)}};I.exports=i},{"../utils/col-cache":19,"../utils/shared-formula":22,"../utils/under-dash":25,"./enums":7,"./note":9}],4:[function(d,I,T){function b(c,l){for(var s=0;s=this._worksheet.properties.outlineLevelCol)}},{key:"isDefault",get:function(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;var e=this.style;return!e||!(e.font||e.numFmt||e.alignment||e.border||e.fill||e.protection)}},{key:"headerCount",get:function(){return this.headers.length}},{key:"values",get:function(){var e=[];return this.eachCell(function(t,r){t&&t.type!==v.ValueType.Null&&(e[r]=t.value)}),e},set:function(e){var t=this;if(e){var r=this.number,o=0;e.hasOwnProperty("0")&&(o=1),e.forEach(function(n,a){t._worksheet.getCell(a+o,r).value=n})}}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(e){this._applyStyle("numFmt",e)}},{key:"font",get:function(){return this.style.font},set:function(e){this._applyStyle("font",e)}},{key:"alignment",get:function(){return this.style.alignment},set:function(e){this._applyStyle("alignment",e)}},{key:"protection",get:function(){return this.style.protection},set:function(e){this._applyStyle("protection",e)}},{key:"border",get:function(){return this.style.border},set:function(e){this._applyStyle("border",e)}},{key:"fill",get:function(){return this.style.fill},set:function(e){this._applyStyle("fill",e)}}])&&b(l.prototype,s),i&&b(l,i),c}();I.exports=p},{"../utils/col-cache":19,"../utils/under-dash":25,"./enums":7}],5:[function(d,I,T){function b(v,h){for(var p=0;pthis.bottom)&&(this.bottom=e),(!this.model.right||t>this.right)&&(this.right=t)}},{key:"expandRow",value:function(s){if(s){var i=s.dimensions,e=s.number;i&&this.expand(e,i.min,e,i.max)}}},{key:"expandToAddress",value:function(s){var i=v.decodeEx(s);this.expand(i.row,i.col,i.row,i.col)}},{key:"toString",value:function(){return this.range}},{key:"intersects",value:function(s){return!(s.sheetName&&this.sheetName&&s.sheetName!==this.sheetName||s.bottomthis.bottom||s.rightthis.right)}},{key:"contains",value:function(s){var i=v.decodeEx(s);return this.containsEx(i)}},{key:"containsEx",value:function(s){return(!s.sheetName||!this.sheetName||s.sheetName===this.sheetName)&&s.row>=this.top&&s.row<=this.bottom&&s.col>=this.left&&s.col<=this.right}},{key:"forEachAddress",value:function(s){for(var i=this.left;i<=this.right;i++)for(var e=this.top;e<=this.bottom;e++)s(v.encodeAddress(e,i),e,i)}},{key:"top",get:function(){return this.model.top||1},set:function(s){this.model.top=s}},{key:"left",get:function(){return this.model.left||1},set:function(s){this.model.left=s}},{key:"bottom",get:function(){return this.model.bottom||1},set:function(s){this.model.bottom=s}},{key:"right",get:function(){return this.model.right||1},set:function(s){this.model.right=s}},{key:"sheetName",get:function(){return this.model.sheetName},set:function(s){this.model.sheetName=s}},{key:"_serialisedSheetName",get:function(){var s=this.model.sheetName;return s?/^[a-zA-Z0-9]*$/.test(s)?"".concat(s,"!"):"'".concat(s,"'!"):""}},{key:"tl",get:function(){return v.n2l(this.left)+this.top}},{key:"$t$l",get:function(){return"$".concat(v.n2l(this.left),"$").concat(this.top)}},{key:"br",get:function(){return v.n2l(this.right)+this.bottom}},{key:"$b$r",get:function(){return"$".concat(v.n2l(this.right),"$").concat(this.bottom)}},{key:"range",get:function(){return"".concat(this._serialisedSheetName+this.tl,":").concat(this.br)}},{key:"$range",get:function(){return"".concat(this._serialisedSheetName+this.$t$l,":").concat(this.$b$r)}},{key:"shortRange",get:function(){return this.count>1?this.range:this._serialisedSheetName+this.tl}},{key:"$shortRange",get:function(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}},{key:"count",get:function(){return(1+this.bottom-this.top)*(1+this.right-this.left)}}])&&m(c.prototype,l),p}();I.exports=h},{"../utils/col-cache":19}],11:[function(d,I,T){function b(l,s){for(var i=0;i2?o-2:0),a=2;a0)for(u=R;u>=r;u--)(f=this._cells[u-1])?((y=this.getCell(u+w)).value=f.value,y.style=f.style,y._comment=f._comment):this._cells[u+w-1]=void 0;for(u=0;ur.col)&&(e=r.col),t0?{min:e,max:t}:null}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(e){this._applyStyle("numFmt",e)}},{key:"font",get:function(){return this.style.font},set:function(e){this._applyStyle("font",e)}},{key:"alignment",get:function(){return this.style.alignment},set:function(e){this._applyStyle("alignment",e)}},{key:"protection",get:function(){return this.style.protection},set:function(e){this._applyStyle("protection",e)}},{key:"border",get:function(){return this.style.border},set:function(e){this._applyStyle("border",e)}},{key:"fill",get:function(){return this.style.fill},set:function(e){this._applyStyle("fill",e)}},{key:"hidden",get:function(){return!!this._hidden},set:function(e){this._hidden=e}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(e){this._outlineLevel=e}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}},{key:"model",get:function(){var e=[],t=0,r=0;return this._cells.forEach(function(o){if(o){var n=o.model;n&&((!t||t>o.col)&&(t=o.col),r0,"Table must be on valid row"),t(n>0,"Table must be on valid col");var a=this.width,u=this.filterHeight,f=this.tableHeight;i.autoFilterRef=h.encode(o,n,o+u-1,n+a-1),i.tableRef=h.encode(o,n,o+f-1,n+a-1),i.columns.forEach(function(y,w){t(y.name,"Column ".concat(w," must have a name")),w===0?e(y,"totalsRowLabel","Total"):(e(y,"totalsRowFunction","none"),y.totalsRowFormula=s.getFormula(y))})}},{key:"store",value:function(){var s=this,i=function(y,w){w&&Object.keys(w).forEach(function(R){y[R]=w[R]})},e=this.worksheet,t=this.table,r=t.tl,o=r.row,n=r.col,a=0;if(t.headerRow){var u=e.getRow(o+a++);t.columns.forEach(function(y,w){var R=y.style,E=y.name,M=u.getCell(n+w);M.value=E,i(M,R)})}if(t.rows.forEach(function(y){var w=e.getRow(o+a++);y.forEach(function(R,E){var M=w.getCell(n+E);M.value=R,i(M,t.columns[E].style)})}),t.totalsRow){var f=e.getRow(o+a++);t.columns.forEach(function(y,w){var R=f.getCell(n+w);if(w===0)R.value=y.totalsRowLabel;else{var E=s.getFormula(y);R.value=E?{formula:y.totalsRowFormula,result:y.totalsRowResult}:null}i(R,y.style)})}}},{key:"load",value:function(s){var i=this,e=this.table,t=e.tl,r=t.row,o=t.col,n=0;if(e.headerRow){var a=s.getRow(r+n++);e.columns.forEach(function(f,y){a.getCell(o+y).value=f.name})}if(e.rows.forEach(function(f){var y=s.getRow(r+n++);f.forEach(function(w,R){y.getCell(o+R).value=w})}),e.totalsRow){var u=s.getRow(r+n++);e.columns.forEach(function(f,y){var w=u.getCell(o+y);y===0?w.value=f.totalsRowLabel:i.getFormula(f)&&(w.value={formula:f.totalsRowFormula,result:f.totalsRowResult})})}}},{key:"cacheState",value:function(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}},{key:"commit",value:function(){if(this._cache){this.validate();var s=h.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(s,i)}},{key:"getColumn",value:function(s){var i=this.table.columns[s];return new p(this,i,s)}},{key:"addColumn",value:function(s,i,e){this.cacheState(),e===void 0?(this.table.columns.push(s),this.table.rows.forEach(function(t,r){t.push(i[r])})):(this.table.columns.splice(e,0,s),this.table.rows.forEach(function(t,r){t.splice(e,0,i[r])}))}},{key:"removeColumns",value:function(s){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(s,i),this.table.rows.forEach(function(e){e.splice(s,i)})}},{key:"_assign",value:function(s,i,e){this.cacheState(),s[i]=e}},{key:"width",get:function(){return this.table.columns.length}},{key:"height",get:function(){return this.table.rows.length}},{key:"filterHeight",get:function(){return this.height+(this.table.headerRow?1:0)}},{key:"tableHeight",get:function(){return this.filterHeight+(this.table.totalsRow?1:0)}},{key:"model",get:function(){return this.table},set:function(s){this.table=s}},{key:"ref",get:function(){return this.table.ref},set:function(s){this._assign(this.table,"ref",s)}},{key:"name",get:function(){return this.table.name},set:function(s){this.table.name=s}},{key:"displayName",get:function(){return this.table.displyName||this.table.name}},{key:"displayNamename",set:function(s){this.table.displayName=s}},{key:"headerRow",get:function(){return this.table.headerRow},set:function(s){this._assign(this.table,"headerRow",s)}},{key:"totalsRow",get:function(){return this.table.totalsRow},set:function(s){this._assign(this.table,"totalsRow",s)}},{key:"theme",get:function(){return this.table.style.name},set:function(s){this.table.style.name=s}},{key:"showFirstColumn",get:function(){return this.table.style.showFirstColumn},set:function(s){this.table.style.showFirstColumn=s}},{key:"showLastColumn",get:function(){return this.table.style.showLastColumn},set:function(s){this.table.style.showLastColumn=s}},{key:"showRowStripes",get:function(){return this.table.style.showRowStripes},set:function(s){this.table.style.showRowStripes=s}},{key:"showColumnStripes",get:function(){return this.table.style.showColumnStripes},set:function(s){this.table.style.showColumnStripes=s}}]),l}();I.exports=c},{"../utils/col-cache":19}],13:[function(d,I,T){function b(l,s){for(var i=0;i31&&console.warn("Worksheet name ".concat(e," exceeds 31 chars. This will be truncated")),/[*?:/\\[\]]/.test(e))throw new Error("Worksheet name ".concat(e," cannot include any of the following characters: * ? : \\ / [ ]"));if(/(^')|('$)/.test(e))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: ".concat(e));if(e=(e||"sheet".concat(r)).substring(0,31),this._worksheets.find(function(u){return u&&u.name.toLowerCase()===e.toLowerCase()}))throw new Error("Worksheet name already exists: ".concat(e));t&&(typeof t=="string"?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),t={properties:{tabColor:{argb:t}}}):(t.argb||t.theme||t.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),t={properties:{tabColor:t}}));var o=this._worksheets.reduce(function(u,f){return(f&&f.orderNo)>u?f.orderNo:u},0),n=Object.assign({},t,{id:r,name:e,orderNo:o+1,workbook:this}),a=new m(n);return this._worksheets[r]=a,a}},{key:"removeWorksheetEx",value:function(e){delete this._worksheets[e.id]}},{key:"removeWorksheet",value:function(e){var t=this.getWorksheet(e);t&&t.destroy()}},{key:"getWorksheet",value:function(e){return e===void 0?this._worksheets.find(Boolean):typeof e=="number"?this._worksheets[e]:typeof e=="string"?this._worksheets.find(function(t){return t&&t.name===e}):void 0}},{key:"eachSheet",value:function(e){this.worksheets.forEach(function(t){e(t,t.id)})}},{key:"clearThemes",value:function(){this._themes=void 0}},{key:"addImage",value:function(e){var t=this.media.length;return this.media.push(Object.assign({},e,{type:"image"})),t}},{key:"getImage",value:function(e){return this.media[e]}},{key:"xlsx",get:function(){return this._xlsx||(this._xlsx=new h(this)),this._xlsx}},{key:"csv",get:function(){return this._csv||(this._csv=new p(this)),this._csv}},{key:"nextId",get:function(){for(var e=1;ey.length)&&(w=y.length);for(var R=0,E=new Array(w);Rthis._columns.length)for(var O=this._columns.length+1;O<=E;)this._columns.push(new t(this,O++));return this._columns[E-1]}},{key:"spliceColumns",value:function(E,M){for(var O=this,P=this._rows,_=P.length,S=arguments.length,g=new Array(S>2?S-2:0),j=2;j0)for(var k=function(V){var q=[E,M];g.forEach(function(L){q.push(L[V]||null)});var $=O.getRow(V+1);$.splice.apply($,q)},x=0;x<_;x++)k(x);else this._rows.forEach(function(V){V&&V.splice(E,M)});var C=g.length-M,D=E+M,F=this._columns.length;if(C<0)for(var B=E+g.length;B<=F;B++)this.getColumn(B).defn=this.getColumn(B-C).defn;else if(C>0)for(var U=F;U>=D;U--)this.getColumn(U+C).defn=this.getColumn(U).defn;for(var H=E;H1&&arguments[1]!==void 0?arguments[1]:"n",O=this._nextRow,P=this.getRow(O);return P.values=E,this._setStyleOption(O,M[0]==="i"?M:"n"),P}},{key:"addRows",value:function(E){var M=this,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",P=[];return E.forEach(function(_){P.push(M.addRow(_,O))}),P}},{key:"insertRow",value:function(E,M){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";return this.spliceRows(E,0,M),this._setStyleOption(E,O),this.getRow(E)}},{key:"insertRows",value:function(E,M){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";if(this.spliceRows.apply(this,[E,0].concat(h(M))),O!=="n")for(var P=0;P1&&arguments[1]!==void 0?arguments[1]:"n";M[0]==="o"&&this.findRow(E+1)!==void 0?this._copyStyle(E+1,E,M[1]==="+"):M[0]==="i"&&this.findRow(E-1)!==void 0&&this._copyStyle(E-1,E,M[1]==="+")}},{key:"_copyStyle",value:function(E,M){var O=arguments.length>2&&arguments[2]!==void 0&&arguments[2],P=this.getRow(E),_=this.getRow(M);_.style=Object.freeze(m({},P.style)),P.eachCell({includeEmpty:O},function(S,g){_.getCell(g).style=Object.freeze(m({},S.style))}),_.height=P.height}},{key:"duplicateRow",value:function(E,M){var O=this,P=arguments.length>2&&arguments[2]!==void 0&&arguments[2],_=this._rows[E-1],S=new Array(M).fill(_.values);this.spliceRows.apply(this,[E+1,P?0:M].concat(h(S)));for(var g=function(k){var x=O._rows[E+k];x.style=_.style,x.height=_.height,_.eachCell({includeEmpty:!0},function(C,D){x.getCell(D).style=C.style})},j=0;j2?_-2:0),g=2;g<_;g++)S[g-2]=arguments[g];var j,k,x=S.length,C=x-M,D=this._rows.length;if(C<0)for(j=P;j<=D;j++)(k=this._rows[j-1])?function(){var B=O.getRow(j+C);B.values=k.values,B.style=k.style,B.height=k.height,k.eachCell({includeEmpty:!0},function(U,H){B.getCell(H).style=U.style}),O._rows[j-1]=void 0}():this._rows[j+C-1]=void 0;else if(C>0)for(j=D;j>=P;j--)(k=this._rows[j-1])?function(){var B=O.getRow(j+C);B.values=k.values,B.style=k.style,B.height=k.height,k.eachCell({includeEmpty:!0},function(U,H){if(B.getCell(H).style=U.style,U._value.constructor.name==="MergeValue"){var V=O.getRow(U._row._number+x).getCell(H),q=U._value._master,$=O.getRow(q._row._number+x).getCell(q._column._number);V.merge($)}})}():this._rows[j+C-1]=void 0;for(j=0;jE.top||_>E.left)&&this.getCell(P,_).merge(O,M);this._merges[O.address]=E}},{key:"_unMergeMaster",value:function(E){var M=this._merges[E.address];if(M){for(var O=M.top;O<=M.bottom;O++)for(var P=M.left;P<=M.right;P++)this.getCell(O,P).unmerge();delete this._merges[E.address]}}},{key:"unMergeCells",value:function(){for(var E=arguments.length,M=new Array(E),O=0;O3&&arguments[3]!==void 0?arguments[3]:"shared",S=s.decode(E),g=S.top,j=S.left,k=S.bottom,x=S.right,C=x-j+1,D=s.encodeAddress(g,j),F=_==="shared";P=typeof O=="function"?O:Array.isArray(O)?Array.isArray(O[0])?function(V,q){return O[V-g][q-j]}:function(V,q){return O[(V-g)*C+(q-j)]}:function(){};for(var B=!0,U=g;U<=k;U++)for(var H=j;H<=x;H++)B?(this.getCell(U,H).value={shareType:_,formula:M,ref:E,result:P(U,H)},B=!1):this.getCell(U,H).value=F?{sharedFormula:D,result:P(U,H)}:P(U,H)}},{key:"addImage",value:function(E,M){var O={type:"image",imageId:E,range:M};this._media.push(new o(this,O))}},{key:"getImages",value:function(){return this._media.filter(function(E){return E.type==="image"})}},{key:"addBackgroundImage",value:function(E){var M={type:"background",imageId:E};this._media.push(new o(this,M))}},{key:"getBackgroundImageId",value:function(){var E=this._media.find(function(M){return M.type==="background"});return E&&E.imageId}},{key:"protect",value:function(E,M){var O=this;return new Promise(function(P){O.sheetProtection={sheet:!0},M&&"spinCount"in M&&(M.spinCount=Number.isFinite(M.spinCount)?Math.round(Math.max(0,M.spinCount)):1e5),E&&(O.sheetProtection.algorithmName="SHA-512",O.sheetProtection.saltValue=u.randomBytes(16).toString("base64"),O.sheetProtection.spinCount=M&&"spinCount"in M?M.spinCount:1e5,O.sheetProtection.hashValue=u.convertPasswordToHash(E,"SHA512",O.sheetProtection.saltValue,O.sheetProtection.spinCount)),M&&(O.sheetProtection=Object.assign(O.sheetProtection,M),!E&&"spinCount"in M&&delete O.sheetProtection.spinCount),P()})}},{key:"unprotect",value:function(){this.sheetProtection=null}},{key:"addTable",value:function(E){var M=new n(this,E);return this.tables[E.name]=M,M}},{key:"getTable",value:function(E){return this.tables[E]}},{key:"removeTable",value:function(E){delete this.tables[E]}},{key:"getTables",value:function(){return Object.values(this.tables)}},{key:"addConditionalFormatting",value:function(E){this.conditionalFormattings.push(E)}},{key:"removeConditionalFormatting",value:function(E){typeof E=="number"?this.conditionalFormattings.splice(E,1):this.conditionalFormattings=E instanceof Function?this.conditionalFormattings.filter(E):[]}},{key:"_parseRows",value:function(E){var M=this;this._rows=[],E.rows.forEach(function(O){var P=new e(M,O.number);M._rows[P.number-1]=P,P.model=O})}},{key:"_parseMergeCells",value:function(E){var M=this;l.each(E.mergeCells,function(O){M.mergeCellsWithoutStyle(O)})}},{key:"workbook",get:function(){return this._workbook}},{key:"dimensions",get:function(){var E=new i;return this._rows.forEach(function(M){if(M){var O=M.dimensions;O&&E.expand(M.number,O.min,M.number,O.max)}}),E}},{key:"columns",get:function(){return this._columns},set:function(E){var M=this;this._headerRowCount=E.reduce(function(_,S){var g=(S.header?1:S.headers&&S.headers.length)||0;return Math.max(_,g)},0);var O=1,P=this._columns=[];E.forEach(function(_){var S=new t(M,O++,!1);P.push(S),S.defn=_})}},{key:"lastColumn",get:function(){return this.getColumn(this.columnCount)}},{key:"columnCount",get:function(){var E=0;return this.eachRow(function(M){E=Math.max(E,M.cellCount)}),E}},{key:"actualColumnCount",get:function(){var E=[],M=0;return this.eachRow(function(O){O.eachCell(function(P){var _=P.col;E[_]||(E[_]=!0,M++)})}),M}},{key:"_lastRowNumber",get:function(){for(var E=this._rows,M=E.length;M>0&&E[M-1]===void 0;)M--;return M}},{key:"_nextRow",get:function(){return this._lastRowNumber+1}},{key:"lastRow",get:function(){if(this._rows.length)return this._rows[this._rows.length-1]}},{key:"rowCount",get:function(){return this._lastRowNumber}},{key:"actualRowCount",get:function(){var E=0;return this.eachRow(function(){E++}),E}},{key:"hasMerges",get:function(){return l.some(this._merges,Boolean)}},{key:"tabColor",get:function(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor},set:function(E){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=E}},{key:"model",get:function(){var E={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(function(P){return P.model}),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(function(P){return P.model}),conditionalFormattings:this.conditionalFormattings};E.cols=t.toModel(this.columns);var M=E.rows=[],O=E.dimensions=new i;return this._rows.forEach(function(P){var _=P&&P.model;_&&(O.expand(_.number,_.min,_.number,_.max),M.push(_))}),E.merges=[],l.each(this._merges,function(P){E.merges.push(P.range)}),E},set:function(E){var M=this;this.name=E.name,this._columns=t.fromModel(this,E.cols),this._parseRows(E),this._parseMergeCells(E),this.dataValidations=new a(E.dataValidations),this.properties=E.properties,this.pageSetup=E.pageSetup,this.headerFooter=E.headerFooter,this.views=E.views,this.autoFilter=E.autoFilter,this._media=E.media.map(function(O){return new o(M,O)}),this.sheetProtection=E.sheetProtection,this.tables=E.tables.reduce(function(O,P){var _=new n;return _.model=P,O[P.name]=_,O},{}),this.conditionalFormattings=E.conditionalFormattings}}])&&c(w.prototype,R),y}();I.exports=f},{"../utils/col-cache":19,"../utils/encryptor":20,"../utils/under-dash":25,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(d,I,T){d("core-js/modules/es.promise"),d("core-js/modules/es.object.assign"),d("core-js/modules/es.object.keys"),d("core-js/modules/es.object.values"),d("core-js/modules/es.symbol"),d("core-js/modules/es.symbol.async-iterator"),d("core-js/modules/es.array.iterator"),d("core-js/modules/es.array.includes"),d("core-js/modules/es.array.find-index"),d("core-js/modules/es.array.find"),d("core-js/modules/es.string.from-code-point"),d("core-js/modules/es.string.includes"),d("core-js/modules/es.number.is-nan"),d("regenerator-runtime/runtime");var b={Workbook:d("./doc/workbook")},m=d("./doc/enums");Object.keys(m).forEach(function(v){b[v]=m[v]}),I.exports=b},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":316,"core-js/modules/es.array.find-index":315,"core-js/modules/es.array.includes":317,"core-js/modules/es.array.iterator":318,"core-js/modules/es.number.is-nan":319,"core-js/modules/es.object.assign":320,"core-js/modules/es.object.keys":321,"core-js/modules/es.object.values":322,"core-js/modules/es.promise":323,"core-js/modules/es.string.from-code-point":324,"core-js/modules/es.string.includes":325,"core-js/modules/es.symbol":327,"core-js/modules/es.symbol.async-iterator":326,"regenerator-runtime/runtime":492}],16:[function(d,I,T){var b=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");T.bufferToString=function(m){return typeof m=="string"?m:b?b.decode(m):m.toString()}},{}],17:[function(d,I,T){var b=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),m=d("buffer").Buffer;T.stringToBuffer=function(v){return typeof v!="string"?v:b?m.from(b.encode(v).buffer):m.from(v)}},{buffer:216}],18:[function(d,I,T){function b(p,c){for(var l=0;l"u"||!(Symbol.iterator in Object(i)))){var t=[],r=!0,o=!1,n=void 0;try{for(var a,u=i[Symbol.iterator]();!(r=(a=u.next()).done)&&(t.push(a.value),!e||t.length!==e);r=!0);}catch(f){o=!0,n=f}finally{try{r||u.return==null||u.return()}finally{if(o)throw n}}return t}}(l,s)||function(i,e){if(!!i){if(typeof i=="string")return m(i,e);var t=Object.prototype.toString.call(i).slice(8,-1);if(t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set")return Array.from(i);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(i,e)}}(l,s)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function m(l,s){(s==null||s>l.length)&&(s=l.length);for(var i=0,e=new Array(s);i=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&l>=1){for(;o<=26;)s=this._dictionary[o-1],this._n2l[o]=s,this._l2n[s]=o,o++;this._l2nFill=1}if(this._l2nFill<2&&l>=2){for(o=27;o<=702;)e=(i=o-27)%26,t=Math.floor(i/26),s=this._dictionary[t]+this._dictionary[e],this._n2l[o]=s,this._l2n[s]=o,o++;this._l2nFill=2}if(this._l2nFill<3&&l>=3){for(o=703;o<=16384;)e=(i=o-703)%26,t=Math.floor(i/26)%26,r=Math.floor(i/676),s=this._dictionary[r]+this._dictionary[t]+this._dictionary[e],this._n2l[o]=s,this._l2n[s]=o,o++;this._l2nFill=3}},l2n:function(l){if(this._l2n[l]||this._fill(l.length),!this._l2n[l])throw new Error("Out of bounds. Invalid column letter: ".concat(l));return this._l2n[l]},n2l:function(l){if(l<1||l>16384)throw new Error("".concat(l," is out of bounds. Excel supports columns from 1 to 16384"));return this._n2l[l]||this._fill(this._level(l)),this._n2l[l]},_hash:{},validateAddress:function(l){if(!p.test(l))throw new Error("Invalid Address: ".concat(l));return!0},decodeAddress:function(l){var s=l.length<5&&this._hash[l];if(s)return s;for(var i,e=!1,t="",r=0,o=!1,n="",a=0,u=0;u=65&&i<=90)e=!0,t+=l[u],r=26*r+i-64;else if(i>=48&&i<=57)o=!0,n+=l[u],a=10*a+i-48;else if(o&&e&&i!==36)break;if(e){if(r>16384)throw new Error("Out of bounds. Invalid column letter: ".concat(t))}else r=void 0;o||(a=void 0);var f={address:l=t+n,col:r,row:a,$col$row:"$".concat(t,"$").concat(n)};return r<=100&&a<=100&&(this._hash[l]=f,this._hash[f.$col$row]=f),f},getAddress:function(l,s){if(s){var i=this.n2l(s)+l;return this.decodeAddress(i)}return this.decodeAddress(l)},decode:function(l){var s=l.split(":");if(s.length===2){var i=this.decodeAddress(s[0]),e=this.decodeAddress(s[1]),t={top:Math.min(i.row,e.row),left:Math.min(i.col,e.col),bottom:Math.max(i.row,e.row),right:Math.max(i.col,e.col)};return t.tl=this.n2l(t.left)+t.top,t.br=this.n2l(t.right)+t.bottom,t.dimensions="".concat(t.tl,":").concat(t.br),t}return this.decodeAddress(l)},decodeEx:function(l){var s=l.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),i=s[1]||s[2],e=s[3],t=e.split(":");if(t.length>1){var r=this.decodeAddress(t[0]),o=this.decodeAddress(t[1]),n=Math.min(r.row,o.row),a=Math.min(r.col,o.col),u=Math.max(r.row,o.row),f=Math.max(r.col,o.col);return r=this.n2l(a)+n,o=this.n2l(f)+u,{top:n,left:a,bottom:u,right:f,sheetName:i,tl:{address:r,col:a,row:n,$col$row:"$".concat(this.n2l(a),"$").concat(n),sheetName:i},br:{address:o,col:f,row:u,$col$row:"$".concat(this.n2l(f),"$").concat(u),sheetName:i},dimensions:"".concat(r,":").concat(o)}}if(e.startsWith("#"))return i?{sheetName:i,error:e}:{error:e};var y=this.decodeAddress(e);return i?function(w){for(var R=1;R=e&&a<=r&&u>=t&&u<=o}};I.exports=c},{}],20:[function(d,I,T){(function(b){var m=d("crypto"),v={hash:function(h){for(var p=m.createHash(h),c=arguments.length,l=new Array(c>1?c-1:0),s=1;s3||u.length===3&&u>"XFD")return i;var w=b.l2n(u),R=parseInt(y,10);return a||(w+=s.col-l.col),f||(R+=s.row-l.row),(e||"")+(a||"")+b.n2l(w)+(f||"")+R}return i})}}},{"./col-cache":19}],23:[function(d,I,T){(function(b,m){function v(u,f,y,w,R,E,M){try{var O=u[E](M),P=O.value}catch(_){return void y(_)}O.done?f(P):Promise.resolve(P).then(w,R)}function h(u){return function(){var f=this,y=arguments;return new Promise(function(w,R){var E=u.apply(f,y);function M(P){v(E,w,R,M,O,"next",P)}function O(P){v(E,w,R,M,O,"throw",P)}M(void 0)})}}function p(u,f){if(!(u instanceof f))throw new TypeError("Cannot call a class as a function")}function c(u,f){for(var y=0;y=this.length?(y=this.toBuffer(),this.iRead=this.iWrite,y):(y=m.alloc(f),this.buffer.copy(y,0,this.iRead,f),this.iRead+=f,y)}},{key:"write",value:function(f,y,w){var R=Math.min(w,this.size-this.iWrite);return f.copy(this.buffer,this.iWrite,y,y+R),this.iWrite+=R,R}},{key:"length",get:function(){return this.iWrite-this.iRead}},{key:"eod",get:function(){return this.iRead===this.iWrite}},{key:"full",get:function(){return this.iWrite===this.size}}]),u}(),a=function(u){u=u||{},this.bufSize=u.bufSize||1048576,this.buffers=[],this.batch=u.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};i.inherits(a,s.Duplex,{toBuffer:function(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return m.concat(this.buffers.map(function(u){return u.toBuffer()}))}},_getWritableBuffer:function(){if(this.buffers.length){var u=this.buffers[this.buffers.length-1];if(!u.full)return u}var f=new n(this.bufSize);return this.buffers.push(f),f},_pipe:function(u){var f=this;return h(regeneratorRuntime.mark(function y(){var w;return regeneratorRuntime.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return w=function(E){return new Promise(function(M){E.write(u.toBuffer(),function(){M()})})},R.next=3,Promise.all(f.pipes.map(w));case 3:case"end":return R.stop()}},y)}))()},_writeToBuffers:function(u){for(var f=0,y=u.length;f1;)w._pipe(w.buffers.shift());M.next=29;break;case 21:if(w.corked){M.next=27;break}return M.next=24,w._pipe(E);case 24:y(),M.next=29;break;case 27:w._writeToBuffers(E),b.nextTick(y);case 29:M.next=34;break;case 31:w.paused||w.emit("data",E.toBuffer()),w._writeToBuffers(E),w.emit("readable");case 34:return M.abrupt("return",!0);case 35:case"end":return M.stop()}},R)}))()},cork:function(){this.corked=!0},_flush:function(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork:function(){this.corked=!1,this._flush()},end:function(u,f,y){var w=this,R=function(E){E?y(E):(w._flush(),w.pipes.forEach(function(M){M.end()}),w.emit("finish"))};u?this.write(u,f,R):R()},read:function(u){var f;if(u){for(f=[];u&&this.buffers.length&&!this.buffers[0].eod;){var y=this.buffers[0],w=y.read(u);u-=w.length,f.push(w),y.eod&&y.full&&this.buffers.shift()}return m.concat(f)}return f=this.buffers.map(function(R){return R.toBuffer()}).filter(Boolean),this.buffers=[],m.concat(f)},setEncoding:function(u){this.encoding=u},pause:function(){this.paused=!0},resume:function(){this.paused=!1},isPaused:function(){return!!this.paused},pipe:function(u){this.pipes.push(u),!this.paused&&this.buffers.length&&this.end()},unpipe:function(u){this.pipes=this.pipes.filter(function(f){return f!==u})},unshift:function(){throw new Error("Not Implemented")},wrap:function(){throw new Error("Not Implemented")}}),I.exports=a}).call(this,d("_process"),d("buffer").Buffer)},{"./string-buf":24,"./utils":26,_process:467,buffer:216,"readable-stream":491}],24:[function(d,I,T){(function(b){function m(h,p){for(var c=0;c=this._buf.length-4;)this._grow(this._inPos+l.length),s=this._inPos+this._buf.write(l,this._inPos,this._encoding);this._inPos=s}},{key:"addStringBuf",value:function(l){l.length&&(this._buffer=void 0,this.length+l.length>this.capacity&&this._grow(this.length+l.length),l._buf.copy(this._buf,this._inPos,0,l.length),this._inPos+=l.length)}},{key:"length",get:function(){return this._inPos}},{key:"capacity",get:function(){return this._buf.length}},{key:"buffer",get:function(){return this._buf}}])&&m(p.prototype,c),h}();I.exports=v}).call(this,d("buffer").Buffer)},{buffer:216}],25:[function(d,I,T){function b(p){return(b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(p)}var m=Object.prototype.toString,v=/["&<>]/,h={each:function(p,c){p&&(Array.isArray(p)?p.forEach(c):Object.keys(p).forEach(function(l){c(p[l],l)}))},some:function(p,c){return!!p&&(Array.isArray(p)?p.some(c):Object.keys(p).some(function(l){return c(p[l],l)}))},every:function(p,c){return!p||(Array.isArray(p)?p.every(c):Object.keys(p).every(function(l){return c(p[l],l)}))},map:function(p,c){return p?Array.isArray(p)?p.map(c):Object.keys(p).map(function(l){return c(p[l],l)}):[]},keyBy:function(p,c){return p.reduce(function(l,s){return l[s[c]]=s,l},{})},isEqual:function(p,c){var l=b(p),s=b(c),i=Array.isArray(p),e=Array.isArray(c);if(l!==s)return!1;switch(b(p)){case"object":return i||e?!(!i||!e)&&p.length===c.length&&p.every(function(t,r){var o=c[r];return h.isEqual(t,o)}):h.every(p,function(t,r){var o=c[r];return h.isEqual(t,o)});default:return p===c}},escapeHtml:function(p){var c=v.exec(p);if(!c)return p;for(var l="",s="",i=0,e=c.index;e":s=">";break;default:continue}i!==e&&(l+=p.substring(i,e)),i=e+1,l+=s}return i!==e?l+p.substring(i,e):l},strcmp:function(p,c){return pc?1:0},isUndefined:function(p){return m.call(p)==="[object Undefined]"},isObject:function(p){return m.call(p)==="[object Object]"},deepMerge:function(){var p,c,l,s=arguments[0]||{},i=arguments.length;function e(r,o){p=s[o],l=Array.isArray(r),h.isObject(r)||l?(l?(l=!1,c=p&&Array.isArray(p)?p:[]):c=p&&h.isObject(p)?p:{},s[o]=h.deepMerge(c,r)):h.isUndefined(r)||(s[o]=r)}for(var t=0;t&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,p={nop:function(){},promiseImmediate:function(c){return new Promise(function(l){b.setImmediate?m(function(){l(c)}):setTimeout(function(){l(c)},1)})},inherits:function(c,l,s,i){c.super_=l,i||(i=s,s=null),s&&Object.keys(s).forEach(function(t){Object.defineProperty(c,t,Object.getOwnPropertyDescriptor(s,t))});var e={constructor:{value:c,enumerable:!1,writable:!1,configurable:!0}};i&&Object.keys(i).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(i,t)}),c.prototype=Object.create(l.prototype,e)},dateToExcel:function(c,l){return 25569+c.getTime()/864e5-(l?1462:0)},excelToDate:function(c,l){var s=Math.round(24*(c-25569+(l?1462:0))*3600*1e3);return new Date(s)},parsePath:function(c){var l=c.lastIndexOf("/");return{path:c.substring(0,l),name:c.substring(l+1)}},getRelsPath:function(c){var l=p.parsePath(c);return"".concat(l.path,"/_rels/").concat(l.name,".rels")},xmlEncode:function(c){var l=h.exec(c);if(!l)return c;for(var s="",i="",e=0,t=l.index;t=11&&r!==13)){i="";break}continue}e!==t&&(s+=c.substring(e,t)),e=t+1,i&&(s+=i)}return e!==t?s+c.substring(e,t):s},xmlDecode:function(c){return c.replace(/&([a-z]*);/g,function(l){switch(l){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return l}})},validInt:function(c){var l=parseInt(c,10);return Number.isNaN(l)?0:l},isDateFmt:function(c){return!!c&&(c=(c=c.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)!==null},fs:{exists:function(c){return new Promise(function(l){v.access(c,v.constants.F_OK,function(s){l(!s)})})}},toIsoDateString:function(c){return c.toIsoString().subsstr(0,10)}};I.exports=p}).call(this,typeof Qe<"u"?Qe:typeof self<"u"?self:typeof window<"u"?window:{},d("timers").setImmediate)},{fs:215,timers:521}],27:[function(d,I,T){function b(l,s){for(var i=0;i `)}},{key:"openNode",value:function(e,t){var r=this.tos,o=this._xml;r&&this.open&&o.push(">"),this._stack.push(e),o.push("<"),o.push(e),p(o,t),this.leaf=!0,this.open=!0}},{key:"addAttribute",value:function(e,t){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");t!==void 0&&h(this._xml,e,t)}},{key:"addAttributes",value:function(e){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");p(this._xml,e)}},{key:"writeText",value:function(e){var t=this._xml;this.open&&(t.push(">"),this.open=!1),this.leaf=!1,t.push(v.xmlEncode(e.toString()))}},{key:"writeXml",value:function(e){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(e)}},{key:"closeNode",value:function(){var e=this._stack.pop(),t=this._xml;this.leaf?t.push("/>"):(t.push("")),this.open=!1,this.leaf=!1}},{key:"leafNode",value:function(e,t,r){this.openNode(e,t),r!==void 0&&this.writeText(r),this.closeNode()}},{key:"closeAll",value:function(){for(;this._stack.length;)this.closeNode()}},{key:"addRollback",value:function(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}},{key:"commit",value:function(){this._rollbacks.pop()}},{key:"rollback",value:function(){var e=this._rollbacks.pop();this._xml.length>e.xml&&this._xml.splice(e.xml,this._xml.length-e.xml),this._stack.length>e.stack&&this._stack.splice(e.stack,this._stack.length-e.stack),this.leaf=e.leaf,this.open=e.open}},{key:"tos",get:function(){return this._stack.length?this._stack[this._stack.length-1]:void 0}},{key:"cursor",get:function(){return this._xml.length}},{key:"xml",get:function(){return this.closeAll(),this._xml.join("")}}])&&b(s.prototype,i),l}();c.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},I.exports=c},{"./under-dash":25,"./utils":26}],28:[function(d,I,T){(function(b){function m(n){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(n)}function v(n,a,u,f,y,w,R){try{var E=n[w](R),M=E.value}catch(O){return void u(O)}E.done?a(M):Promise.resolve(M).then(f,y)}function h(n,a){for(var u=0;u"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var u,f=s(n);if(a){var y=s(this).constructor;u=Reflect.construct(f,arguments,y)}else u=f.apply(this,arguments);return l(this,u)}}function l(n,a){return!a||m(a)!=="object"&&typeof a!="function"?function(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}(n):a}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)})(n)}var i=d("events"),e=d("jszip"),t=d("./stream-buf"),r=d("./browser-buffer-encode").stringToBuffer,o=function(n){(function(E,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(M&&M.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),M&&p(E,M)})(R,n);var a,u,f,y,w=c(R);function R(E){var M;return function(O,P){if(!(O instanceof P))throw new TypeError("Cannot call a class as a function")}(this,R),(M=w.call(this)).options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},E),M.zip=new e,M.stream=new t,M}return a=R,(u=[{key:"append",value:function(E,M){M.hasOwnProperty("base64")&&M.base64?this.zip.file(M.name,E,{base64:!0}):(b.browser&&typeof E=="string"&&(E=r(E)),this.zip.file(M.name,E))}},{key:"finalize",value:(f=regeneratorRuntime.mark(function E(){var M;return regeneratorRuntime.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,this.zip.generateAsync(this.options);case 2:M=O.sent,this.stream.end(M),this.emit("finish");case 5:case"end":return O.stop()}},E,this)}),y=function(){var E=this,M=arguments;return new Promise(function(O,P){var _=f.apply(E,M);function S(j){v(_,O,P,S,g,"next",j)}function g(j){v(_,O,P,S,g,"throw",j)}S(void 0)})},function(){return y.apply(this,arguments)})},{key:"read",value:function(E){return this.stream.read(E)}},{key:"setEncoding",value:function(E){return this.stream.setEncoding(E)}},{key:"pause",value:function(){return this.stream.pause()}},{key:"resume",value:function(){return this.stream.resume()}},{key:"isPaused",value:function(){return this.stream.isPaused()}},{key:"pipe",value:function(E,M){return this.stream.pipe(E,M)}},{key:"unpipe",value:function(E){return this.stream.unpipe(E)}},{key:"unshift",value:function(E){return this.stream.unshift(E)}},{key:"wrap",value:function(E){return this.stream.wrap(E)}}])&&h(a.prototype,u),R}(i.EventEmitter);I.exports={ZipWriter:o}}).call(this,d("_process"))},{"./browser-buffer-encode":17,"./stream-buf":23,_process:467,events:367,jszip:399}],29:[function(d,I,T){I.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5E74" mm"\u6708" dd"\u65E5"'},28:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'yyyy"\u5E74"m"\u6708"d"\u65E5"',"ja-jp":'yyyy"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":'yyyy"\uB144" mm"\uC6D4" dd"\uC77C"'},32:{"zh-tw":'hh"\u6642"mm"\u5206"',"zh-cn":'h"\u65F6"mm"\u5206"',"ja-jp":'h"\u6642"mm"\u5206"',"ko-kr":'h"\uC2DC" mm"\uBD84"'},33:{"zh-tw":'hh"\u6642"mm"\u5206"ss"\u79D2"',"zh-cn":'h"\u65F6"mm"\u5206"ss"\u79D2"',"ja-jp":'h"\u6642"mm"\u5206"ss"\u79D2"',"ko-kr":'h"\uC2DC" mm"\uBD84" ss"\uCD08"'},34:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4E0A\u5348/\u4E0B\u5348 h"\u65F6"mm"\u5206"',"ja-jp":'yyyy"\u5E74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"ss"\u79D2"',"zh-cn":'\u4E0A\u5348/\u4E0B\u5348 h"\u65F6"mm"\u5206"ss"\u79D2"',"ja-jp":'m"\u6708"d"\u65E5"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5E74" mm"\u6708" dd"\u65E5"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5E74" mm"\u6708" dd"\u65E5"'},51:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},52:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":'yyyy"\u5E74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"ss"\u79D2"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'m"\u6708"d"\u65E5"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},55:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4E0A\u5348/\u4E0B\u5348 h"\u65F6"mm"\u5206"',"ja-jp":'yyyy"\u5E74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"ss"\u79D2"',"zh-cn":'\u4E0A\u5348/\u4E0B\u5348 h"\u65F6"mm"\u5206"ss"\u79D2"',"ja-jp":'m"\u6708"d"\u65E5"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5E74" mm"\u6708" dd"\u65E5"'},58:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],30:[function(d,I,T){I.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],31:[function(d,I,T){function b(e,t){var r;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(r=function(y,w){if(!!y){if(typeof y=="string")return m(y,w);var R=Object.prototype.toString.call(y).slice(8,-1);if(R==="Object"&&y.constructor&&(R=y.constructor.name),R==="Map"||R==="Set")return Array.from(y);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return m(y,w)}}(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(y){throw y},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. diff --git a/docs/assets/exceljs.min.1781a218.js.gz b/docs/assets/exceljs.min.1781a218.js.gz new file mode 100644 index 0000000..c6b6b2d Binary files /dev/null and b/docs/assets/exceljs.min.1781a218.js.gz differ diff --git a/docs/assets/exceljs.min.ee80950b.js.gz b/docs/assets/exceljs.min.ee80950b.js.gz deleted file mode 100644 index 171abc3..0000000 Binary files a/docs/assets/exceljs.min.ee80950b.js.gz and /dev/null differ diff --git a/docs/assets/exprotExcel.30cae770.js b/docs/assets/exprotExcel.a89d1fae.js similarity index 97% rename from docs/assets/exprotExcel.30cae770.js rename to docs/assets/exprotExcel.a89d1fae.js index 6dbbd5a..e1367d1 100644 --- a/docs/assets/exprotExcel.30cae770.js +++ b/docs/assets/exprotExcel.a89d1fae.js @@ -1 +1 @@ -import{E as k}from"./exceljs.min.ee80950b.js";const h=(a,n=10)=>(a==null?n=10:a.toString().charCodeAt(0)>255?n=a.toString().length*2:n=a.toString().length,n),g=async({column:a,data:n,filename:s,autoWidth:u,format:c})=>{const e=new k.Workbook;e.creator="Me",e.title=s,e.created=new Date,e.modified=new Date;const i=e.addWorksheet(s),l=[];a.forEach((o,t)=>{const w={header:o.label,key:o.name,width:null};if(u){const d=[h(o.label)];n.forEach(f=>{const x=f[o.name]||"";x&&d.push(h(x))}),w.width=Math.max(...d)+5}l.push(w)}),i.columns=l,i.addRows(n);const b=c==="xlsx"?await e.xlsx.writeBuffer():await e.csv.writeBuffer(),r=new Blob([b],{type:"application/octet-binary"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,s+`.${c}`);else{const o=document.createElement("a");o.href=window.URL.createObjectURL(r),o.download=s+`.${c}`,o.click(),window.URL.revokeObjectURL(o.href)}};function E(a,n){const{color:s,fontSize:u,horizontal:c,bold:e}=n||{};a.fill={type:"pattern",pattern:"solid",fgColor:{argb:s}},a.font={bold:e!=null?e:!0,size:u!=null?u:11,color:{argb:"ff0000"}},a.alignment={vertical:"middle",wrapText:!0,horizontal:c!=null?c:"left"}}const R=async({column:a,data:n,filename:s,autoWidth:u,format:c})=>{const e=new k.Workbook;e.creator="Me",e.title=s,e.created=new Date,e.modified=new Date;const i=e.addWorksheet(s),l=[];a.forEach((t,w)=>{const d={header:t.label,key:t.name,width:null};if(u){const f=[h(t.label)];n.forEach(x=>{const p=x[t.name]||"";p&&f.push(h(p))}),d.width=Math.max(...f)+5}l.push(d)}),i.columns=l,i.addRows(n),i.getRow(1).eachCell(t=>E(t,{color:"dff8ff",fontSize:12,horizontal:"left"}));const r=c==="xlsx"?await e.xlsx.writeBuffer():await e.csv.writeBuffer(),o=new Blob([r],{type:"application/octet-binary"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(o,s+`.${c}`);else{const t=document.createElement("a");t.href=window.URL.createObjectURL(o),t.download=s+`.${c}`,t.click(),window.URL.revokeObjectURL(t.href)}},v=({column:a,data:n,filename:s,autoWidth:u})=>{const c=new k.Workbook,e=c.addWorksheet("sheet1");e.getRow(1).values=["\u5E8F\u53F7","\u65E5\u671F","\u5730\u5740","\u914D\u9001\u6D88\u606F",,,],e.getRow(2).values=["\u5E8F\u53F7","\u65E5\u671F","\u5730\u5740","\u7701\u4EFD","\u57CE\u5E02","\u90AE\u7F16"];const i=[];a.forEach((l,b)=>{if(l.children)l.children.forEach(r=>{const o={key:r.name,width:null},t=[h(r.label)];n.forEach(w=>{const d=w[r.name]||"";d&&t.push(h(d))}),o.width=Math.max(...t)+5,i.push(o)});else{const r={key:l.name,width:null},o=[h(l.label)];n.forEach(t=>{const w=t[l.name]||"";w&&o.push(h(w))}),r.width=Math.max(...o)+5,i.push(r)}}),e.columns=i,e.addRows(n),e.mergeCells("D1:F1"),e.mergeCells("A1:A2"),e.mergeCells("B1:B2"),e.mergeCells("C1:C2"),c.xlsx.writeBuffer().then(l=>{const b=new Blob([l,{type:"application/vnd.ms-excel"}]);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(b,s+".xlsx");else{const r=document.createElement("a");r.href=window.URL.createObjectURL(b),r.download=s+".xlsx",r.click(),window.URL.revokeObjectURL(r.href)}})};export{v as a,R as b,g as e}; +import{E as k}from"./exceljs.min.1781a218.js";const h=(a,n=10)=>(a==null?n=10:a.toString().charCodeAt(0)>255?n=a.toString().length*2:n=a.toString().length,n),g=async({column:a,data:n,filename:s,autoWidth:u,format:c})=>{const e=new k.Workbook;e.creator="Me",e.title=s,e.created=new Date,e.modified=new Date;const i=e.addWorksheet(s),l=[];a.forEach((o,t)=>{const w={header:o.label,key:o.name,width:null};if(u){const d=[h(o.label)];n.forEach(f=>{const x=f[o.name]||"";x&&d.push(h(x))}),w.width=Math.max(...d)+5}l.push(w)}),i.columns=l,i.addRows(n);const b=c==="xlsx"?await e.xlsx.writeBuffer():await e.csv.writeBuffer(),r=new Blob([b],{type:"application/octet-binary"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,s+`.${c}`);else{const o=document.createElement("a");o.href=window.URL.createObjectURL(r),o.download=s+`.${c}`,o.click(),window.URL.revokeObjectURL(o.href)}};function E(a,n){const{color:s,fontSize:u,horizontal:c,bold:e}=n||{};a.fill={type:"pattern",pattern:"solid",fgColor:{argb:s}},a.font={bold:e!=null?e:!0,size:u!=null?u:11,color:{argb:"ff0000"}},a.alignment={vertical:"middle",wrapText:!0,horizontal:c!=null?c:"left"}}const R=async({column:a,data:n,filename:s,autoWidth:u,format:c})=>{const e=new k.Workbook;e.creator="Me",e.title=s,e.created=new Date,e.modified=new Date;const i=e.addWorksheet(s),l=[];a.forEach((t,w)=>{const d={header:t.label,key:t.name,width:null};if(u){const f=[h(t.label)];n.forEach(x=>{const p=x[t.name]||"";p&&f.push(h(p))}),d.width=Math.max(...f)+5}l.push(d)}),i.columns=l,i.addRows(n),i.getRow(1).eachCell(t=>E(t,{color:"dff8ff",fontSize:12,horizontal:"left"}));const r=c==="xlsx"?await e.xlsx.writeBuffer():await e.csv.writeBuffer(),o=new Blob([r],{type:"application/octet-binary"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(o,s+`.${c}`);else{const t=document.createElement("a");t.href=window.URL.createObjectURL(o),t.download=s+`.${c}`,t.click(),window.URL.revokeObjectURL(t.href)}},v=({column:a,data:n,filename:s,autoWidth:u})=>{const c=new k.Workbook,e=c.addWorksheet("sheet1");e.getRow(1).values=["\u5E8F\u53F7","\u65E5\u671F","\u5730\u5740","\u914D\u9001\u6D88\u606F",,,],e.getRow(2).values=["\u5E8F\u53F7","\u65E5\u671F","\u5730\u5740","\u7701\u4EFD","\u57CE\u5E02","\u90AE\u7F16"];const i=[];a.forEach((l,b)=>{if(l.children)l.children.forEach(r=>{const o={key:r.name,width:null},t=[h(r.label)];n.forEach(w=>{const d=w[r.name]||"";d&&t.push(h(d))}),o.width=Math.max(...t)+5,i.push(o)});else{const r={key:l.name,width:null},o=[h(l.label)];n.forEach(t=>{const w=t[l.name]||"";w&&o.push(h(w))}),r.width=Math.max(...o)+5,i.push(r)}}),e.columns=i,e.addRows(n),e.mergeCells("D1:F1"),e.mergeCells("A1:A2"),e.mergeCells("B1:B2"),e.mergeCells("C1:C2"),c.xlsx.writeBuffer().then(l=>{const b=new Blob([l,{type:"application/vnd.ms-excel"}]);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(b,s+".xlsx");else{const r=document.createElement("a");r.href=window.URL.createObjectURL(b),r.download=s+".xlsx",r.click(),window.URL.revokeObjectURL(r.href)}})};export{v as a,R as b,g as e}; diff --git a/docs/assets/index.048a73c8.js b/docs/assets/index.034c045c.js similarity index 99% rename from docs/assets/index.048a73c8.js rename to docs/assets/index.034c045c.js index e67bc88..df07692 100644 --- a/docs/assets/index.048a73c8.js +++ b/docs/assets/index.034c045c.js @@ -80,5 +80,5 @@ function y7(e,t){for(var n=0;n++Y_,ln={UNEXPECTED_RETURN_TYPE:Y_,INVALID_ARGUMENT:Fn(),MUST_BE_CALL_SETUP_TOP:Fn(),NOT_INSLALLED:Fn(),NOT_AVAILABLE_IN_LEGACY_MODE:Fn(),REQUIRED_VALUE:Fn(),INVALID_VALUE:Fn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Fn(),NOT_INSLALLED_WITH_PROVIDE:Fn(),UNEXPECTED_ERROR:Fn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Fn(),BRIDGE_SUPPORT_VUE_2_ONLY:Fn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Fn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Fn(),__EXTEND_POINT__:Fn()};function cn(e,...t){return S0(e,null,void 0)}const X2=fl("__transrateVNode"),Z2=fl("__datetimeParts"),J2=fl("__numberParts"),G_=fl("__setPluralRules");fl("__intlifyMeta");const X_=fl("__injectWithOption");function Q2(e){if(!qt(e))return e;for(const t in e)if(!!s4(e,t))if(!t.includes("."))qt(e[t])&&Q2(e[t]);else{const n=t.split("."),o=n.length-1;let r=e;for(let l=0;l{if("locale"in s&&"resource"in s){const{locale:i,resource:c}=s;i?(a[i]=a[i]||{},Ys(c,a[i])):Ys(c,a)}else Je(s)&&Ys(JSON.parse(s),a)}),r==null&&l)for(const s in a)s4(a,s)&&Q2(a[s]);return a}const xu=e=>!qt(e)||Ut(e);function Ys(e,t){if(xu(e)||xu(t))throw cn(ln.INVALID_VALUE);for(const n in e)s4(e,n)&&(xu(e[n])||xu(t[n])?t[n]=e[n]:Ys(e[n],t[n]))}function Z_(e){return e.type}function J_(e,t,n){let o=qt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=M0(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(l=>{e.mergeLocaleMessage(l,o[l])});{if(qt(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(qt(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function k6(e){return B(el,null,e,0)}const S6="__INTLIFY_META__";let E6=0;function M6(e){return(t,n,o,r)=>e(n,o,Qe()||void 0,r)}const p$e=()=>{const e=Qe();let t=null;return e&&(t=Z_(e)[S6])?{[S6]:t}:null};function d4(e={},t){const{__root:n}=e,o=n===void 0;let r=At(e.inheritLocale)?e.inheritLocale:!0;const l=z(n&&r?n.locale.value:Je(e.locale)?e.locale:nu),a=z(n&&r?n.fallbackLocale.value:Je(e.fallbackLocale)||Ut(e.fallbackLocale)||wt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),s=z(M0(l.value,e)),i=z(wt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),c=z(wt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let f=n?n.missingWarn:At(e.missingWarn)||il(e.missingWarn)?e.missingWarn:!0,d=n?n.fallbackWarn:At(e.fallbackWarn)||il(e.fallbackWarn)?e.fallbackWarn:!0,p=n?n.fallbackRoot:At(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,h=en(e.missing)?e.missing:null,m=en(e.missing)?M6(e.missing):null,_=en(e.postTranslation)?e.postTranslation:null,g=n?n.warnHtmlMessage:At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const b=n?n.modifiers:wt(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,$;$=(()=>{o&&v6(null);const ee={version:d$e,locale:l.value,fallbackLocale:a.value,messages:s.value,modifiers:b,pluralRules:C,missing:m===null?void 0:m,missingWarn:f,fallbackWarn:d,fallbackFormat:v,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:g,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};ee.datetimeFormats=i.value,ee.numberFormats=c.value,ee.__datetimeFormatters=wt($)?$.__datetimeFormatters:void 0,ee.__numberFormatters=wt($)?$.__numberFormatters:void 0;const me=r$e(ee);return o&&v6(me),me})(),ks($,l.value,a.value);function x(){return[l.value,a.value,s.value,i.value,c.value]}const T=E({get:()=>l.value,set:ee=>{l.value=ee,$.locale=l.value}}),I=E({get:()=>a.value,set:ee=>{a.value=ee,$.fallbackLocale=a.value,ks($,l.value,ee)}}),L=E(()=>s.value),K=E(()=>i.value),H=E(()=>c.value);function R(){return en(_)?_:null}function P(ee){_=ee,$.postTranslation=ee}function W(){return h}function j(ee){ee!==null&&(m=M6(ee)),h=ee,$.missing=m}const N=(ee,me,Ne,He,Ze,ot)=>{x();let je;if(__INTLIFY_PROD_DEVTOOLS__)try{h6(p$e()),o||($.fallbackContext=n?o$e():void 0),je=ee($)}finally{h6(null),o||($.fallbackContext=void 0)}else je=ee($);if(un(je)&&je===E0){const[Z,he]=me();return n&&p?He(n):Ze(Z)}else{if(ot(je))return je;throw cn(ln.UNEXPECTED_RETURN_TYPE)}};function F(...ee){return N(me=>Reflect.apply(b6,null,[me,...ee]),()=>q2(...ee),"translate",me=>Reflect.apply(me.t,me,[...ee]),me=>me,me=>Je(me))}function V(...ee){const[me,Ne,He]=ee;if(He&&!qt(He))throw cn(ln.INVALID_ARGUMENT);return F(me,Ne,gn({resolvedMessage:!0},He||{}))}function X(...ee){return N(me=>Reflect.apply(y6,null,[me,...ee]),()=>Y2(...ee),"datetime format",me=>Reflect.apply(me.d,me,[...ee]),()=>f6,me=>Je(me))}function se(...ee){return N(me=>Reflect.apply(C6,null,[me,...ee]),()=>G2(...ee),"number format",me=>Reflect.apply(me.n,me,[...ee]),()=>f6,me=>Je(me))}function G(ee){return ee.map(me=>Je(me)||un(me)||At(me)?k6(String(me)):me)}const Ce={normalize:G,interpolate:ee=>ee,type:"vnode"};function oe(...ee){return N(me=>{let Ne;const He=me;try{He.processor=Ce,Ne=Reflect.apply(b6,null,[He,...ee])}finally{He.processor=null}return Ne},()=>q2(...ee),"translate",me=>me[X2](...ee),me=>[k6(me)],me=>Ut(me))}function pe(...ee){return N(me=>Reflect.apply(C6,null,[me,...ee]),()=>G2(...ee),"number format",me=>me[J2](...ee),()=>[],me=>Je(me)||Ut(me))}function te(...ee){return N(me=>Reflect.apply(y6,null,[me,...ee]),()=>Y2(...ee),"datetime format",me=>me[Z2](...ee),()=>[],me=>Je(me)||Ut(me))}function Q(ee){C=ee,$.pluralRules=C}function ce(ee,me){const Ne=Je(me)?me:l.value,He=Y(Ne);return $.messageResolver(He,ee)!==null}function ge(ee){let me=null;const Ne=R_($,a.value,l.value);for(let He=0;He{r&&(l.value=ee,$.locale=ee,ks($,l.value,a.value))}),we(n.fallbackLocale,ee=>{r&&(a.value=ee,$.fallbackLocale=ee,ks($,l.value,a.value))}));const be={id:E6,locale:T,fallbackLocale:I,get inheritLocale(){return r},set inheritLocale(ee){r=ee,ee&&n&&(l.value=n.locale.value,a.value=n.fallbackLocale.value,ks($,l.value,a.value))},get availableLocales(){return Object.keys(s.value).sort()},messages:L,get modifiers(){return b},get pluralRules(){return C||{}},get isGlobal(){return o},get missingWarn(){return f},set missingWarn(ee){f=ee,$.missingWarn=f},get fallbackWarn(){return d},set fallbackWarn(ee){d=ee,$.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(ee){p=ee},get fallbackFormat(){return v},set fallbackFormat(ee){v=ee,$.fallbackFormat=v},get warnHtmlMessage(){return g},set warnHtmlMessage(ee){g=ee,$.warnHtmlMessage=ee},get escapeParameter(){return y},set escapeParameter(ee){y=ee,$.escapeParameter=ee},t:F,getLocaleMessage:Y,setLocaleMessage:O,mergeLocaleMessage:D,getPostTranslationHandler:R,setPostTranslationHandler:P,getMissingHandler:W,setMissingHandler:j,[G_]:Q};return be.datetimeFormats=K,be.numberFormats=H,be.rt=V,be.te=ce,be.tm=Le,be.d=X,be.n=se,be.getDateTimeFormat=ne,be.setDateTimeFormat=ve,be.mergeDateTimeFormat=de,be.getNumberFormat=$e,be.setNumberFormat=_e,be.mergeNumberFormat=xe,be[X_]=e.__injectWithOption,be[X2]=oe,be[Z2]=te,be[J2]=pe,be}function h$e(e){const t=Je(e.locale)?e.locale:nu,n=Je(e.fallbackLocale)||Ut(e.fallbackLocale)||wt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=en(e.missing)?e.missing:void 0,r=At(e.silentTranslationWarn)||il(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=At(e.silentFallbackWarn)||il(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=At(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,i=wt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,f=en(e.postTranslation)?e.postTranslation:void 0,d=Je(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,p=!!e.escapeParameterHtml,v=At(e.sync)?e.sync:!0;let h=e.messages;if(wt(e.sharedMessages)){const $=e.sharedMessages;h=Object.keys($).reduce((x,T)=>{const I=x[T]||(x[T]={});return gn(I,$[T]),x},h||{})}const{__i18n:m,__root:_,__injectWithOption:g}=e,y=e.datetimeFormats,b=e.numberFormats,C=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:C,datetimeFormats:y,numberFormats:b,missing:o,missingWarn:r,fallbackWarn:l,fallbackRoot:a,fallbackFormat:s,modifiers:i,pluralRules:c,postTranslation:f,warnHtmlMessage:d,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:v,__i18n:m,__root:_,__injectWithOption:g}}function e1(e={},t){{const n=d4(h$e(e)),o={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return At(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=At(r)?!r:r},get silentFallbackWarn(){return At(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=At(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[l,a,s]=r,i={};let c=null,f=null;if(!Je(l))throw cn(ln.INVALID_ARGUMENT);const d=l;return Je(a)?i.locale=a:Ut(a)?c=a:wt(a)&&(f=a),Ut(s)?c=s:wt(s)&&(f=s),Reflect.apply(n.t,n,[d,c||f||{},i])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[l,a,s]=r,i={plural:1};let c=null,f=null;if(!Je(l))throw cn(ln.INVALID_ARGUMENT);const d=l;return Je(a)?i.locale=a:un(a)?i.plural=a:Ut(a)?c=a:wt(a)&&(f=a),Je(s)?i.locale=s:Ut(s)?c=s:wt(s)&&(f=s),Reflect.apply(n.t,n,[d,c||f||{},i])},te(r,l){return n.te(r,l)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,l){n.setLocaleMessage(r,l)},mergeLocaleMessage(r,l){n.mergeLocaleMessage(r,l)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,l){n.setDateTimeFormat(r,l)},mergeDateTimeFormat(r,l){n.mergeDateTimeFormat(r,l)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,l){n.setNumberFormat(r,l)},mergeNumberFormat(r,l){n.mergeNumberFormat(r,l)},getChoiceIndex(r,l){return-1},__onComponentInstanceCreated(r){const{componentInstanceCreatedListener:l}=e;l&&l(r,o)}};return o}}const f4={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function v$e({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>o=[...o,...Ut(r.children)?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function Q_(e){return Re}const T6={name:"i18n-t",props:gn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>un(e)||!isNaN(e)}},f4),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||T0({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Je(e.plural)?+e.plural:e.plural);const s=v$e(t,l),i=r[X2](e.keypath,s,a),c=gn({},o),f=Je(e.tag)||qt(e.tag)?e.tag:Q_();return Ke(f,c,i)}}};function m$e(e){return Ut(e)&&!Je(e[0])}function e7(e,t,n,o){const{slots:r,attrs:l}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Je(e.format)?a.key=e.format:qt(e.format)&&(Je(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((p,v)=>n.includes(v)?gn({},p,{[v]:e.format[v]}):p,{}));const i=o(e.value,a,s);let c=[a.key];Ut(i)?c=i.map((p,v)=>{const h=r[p.type],m=h?h({[p.type]:p.value,index:v,parts:i}):[p.value];return m$e(m)&&(m[0].key=`${p.type}-${v}`),m}):Je(i)&&(c=[i]);const f=gn({},l),d=Je(e.tag)||qt(e.tag)?e.tag:Q_();return Ke(d,f,c)}}const x6={name:"i18n-n",props:gn({value:{type:Number,required:!0},format:{type:[String,Object]}},f4),setup(e,t){const n=e.i18n||T0({useScope:"parent",__useComponent:!0});return e7(e,t,q_,(...o)=>n[J2](...o))}},A6={name:"i18n-d",props:gn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},f4),setup(e,t){const n=e.i18n||T0({useScope:"parent",__useComponent:!0});return e7(e,t,U_,(...o)=>n[Z2](...o))}};function g$e(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function _$e(e){const t=a=>{const{instance:s,modifiers:i,value:c}=a;if(!s||!s.$)throw cn(ln.UNEXPECTED_ERROR);const f=g$e(e,s.$),d=L6(c);return[Reflect.apply(f.t,f,[...I6(d)]),f]};return{created:(a,s)=>{const[i,c]=t(s);j2&&e.global===c&&(a.__i18nWatcher=we(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=i},unmounted:a=>{j2&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const i=a.__composer,c=L6(s);a.textContent=Reflect.apply(i.t,i,[...I6(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function L6(e){if(Je(e))return{path:e};if(wt(e)){if(!("path"in e))throw cn(ln.REQUIRED_VALUE,"path");return e}else throw cn(ln.INVALID_VALUE)}function I6(e){const{path:t,locale:n,args:o,choice:r,plural:l}=e,a={},s=o||{};return Je(n)&&(a.locale=n),un(r)&&(a.plural=r),un(l)&&(a.plural=l),[t,s,a]}function b$e(e,t,...n){const o=wt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(At(o.globalInstall)?o.globalInstall:!0)&&(e.component(r?"i18n":T6.name,T6),e.component(x6.name,x6),e.component(A6.name,A6)),e.directive("t",_$e(t))}function y$e(e,t,n){return{beforeCreate(){const o=Qe();if(!o)throw cn(ln.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const l=r.i18n;r.__i18n&&(l.__i18n=r.__i18n),l.__root=t,this===this.$root?this.$i18n=z6(e,l):(l.__injectWithOption=!0,this.$i18n=e1(l))}else r.__i18n?this===this.$root?this.$i18n=z6(e,r):this.$i18n=e1({__i18n:r.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;r.__i18nGlobal&&J_(t,r,r),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(o,this.$i18n),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$tc=(...l)=>this.$i18n.tc(...l),this.$te=(l,a)=>this.$i18n.te(l,a),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l)},mounted(){},unmounted(){const o=Qe();if(!o)throw cn(ln.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(o),delete this.$i18n}}}function z6(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[G_](t.pluralizationRules||e.pluralizationRules);const n=M0(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const w$e=fl("global-vue-i18n");function C$e(e={},t){const n=__VUE_I18N_LEGACY_API__&&At(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=At(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,l=new Map,[a,s]=$$e(e,n),i=fl("");function c(p){return l.get(p)||null}function f(p,v){l.set(p,v)}function d(p){l.delete(p)}{const p={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(v,...h){v.__VUE_I18N_SYMBOL__=i,v.provide(v.__VUE_I18N_SYMBOL__,p),!n&&o&&I$e(v,p.global),__VUE_I18N_FULL_INSTALL__&&b$e(v,p,...h),__VUE_I18N_LEGACY_API__&&n&&v.mixin(y$e(s,s.__composer,p));const m=v.unmount;v.unmount=()=>{p.dispose(),m()}},get global(){return s},dispose(){a.stop()},__instances:l,__getInstance:c,__setInstance:f,__deleteInstance:d};return p}}function T0(e={}){const t=Qe();if(t==null)throw cn(ln.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw cn(ln.NOT_INSLALLED);const n=k$e(t),o=E$e(n),r=Z_(t),l=S$e(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw cn(ln.NOT_AVAILABLE_IN_LEGACY_MODE);return x$e(t,l,o,e)}if(l==="global")return J_(o,e,r),o;if(l==="parent"){let i=M$e(n,t,e.__useComponent);return i==null&&(i=o),i}const a=n;let s=a.__getInstance(t);if(s==null){const i=gn({},e);"__i18n"in r&&(i.__i18n=r.__i18n),o&&(i.__root=o),s=d4(i),T$e(a,t),a.__setInstance(t,s)}return s}function $$e(e,t,n){const o=Pc();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>e1(e)):o.run(()=>d4(e));if(r==null)throw cn(ln.UNEXPECTED_ERROR);return[o,r]}}function k$e(e){{const t=Ve(e.isCE?w$e:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw cn(e.isCE?ln.NOT_INSLALLED_WITH_PROVIDE:ln.UNEXPECTED_ERROR);return t}}function S$e(e,t){return k0(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function E$e(e){return e.mode==="composition"?e.global:e.global.__composer}function M$e(e,t,n=!1){let o=null;const r=t.root;let l=t.parent;for(;l!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(l);s!=null&&(o=s.__composer,n&&o&&!o[X_]&&(o=null))}if(o!=null||r===l)break;l=l.parent}return o}function T$e(e,t,n){tt(()=>{},t),xo(()=>{e.__deleteInstance(t)},t)}function x$e(e,t,n,o={}){const r=t==="local",l=zt(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw cn(ln.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=At(o.inheritLocale)?o.inheritLocale:!0,s=z(r&&a?n.locale.value:Je(o.locale)?o.locale:nu),i=z(r&&a?n.fallbackLocale.value:Je(o.fallbackLocale)||Ut(o.fallbackLocale)||wt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=z(M0(s.value,o)),f=z(wt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=z(wt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),p=r?n.missingWarn:At(o.missingWarn)||il(o.missingWarn)?o.missingWarn:!0,v=r?n.fallbackWarn:At(o.fallbackWarn)||il(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:At(o.fallbackRoot)?o.fallbackRoot:!0,m=!!o.fallbackFormat,_=en(o.missing)?o.missing:null,g=en(o.postTranslation)?o.postTranslation:null,y=r?n.warnHtmlMessage:At(o.warnHtmlMessage)?o.warnHtmlMessage:!0,b=!!o.escapeParameter,C=r?n.modifiers:wt(o.modifiers)?o.modifiers:{},$=o.pluralRules||r&&n.pluralRules;function S(){return[s.value,i.value,c.value,f.value,d.value]}const x=E({get:()=>l.value?l.value.locale.value:s.value,set:D=>{l.value&&(l.value.locale.value=D),s.value=D}}),T=E({get:()=>l.value?l.value.fallbackLocale.value:i.value,set:D=>{l.value&&(l.value.fallbackLocale.value=D),i.value=D}}),I=E(()=>l.value?l.value.messages.value:c.value),L=E(()=>f.value),K=E(()=>d.value);function H(){return l.value?l.value.getPostTranslationHandler():g}function R(D){l.value&&l.value.setPostTranslationHandler(D)}function P(){return l.value?l.value.getMissingHandler():_}function W(D){l.value&&l.value.setMissingHandler(D)}function j(D){return S(),D()}function N(...D){return l.value?j(()=>Reflect.apply(l.value.t,null,[...D])):j(()=>"")}function F(...D){return l.value?Reflect.apply(l.value.rt,null,[...D]):""}function V(...D){return l.value?j(()=>Reflect.apply(l.value.d,null,[...D])):j(()=>"")}function X(...D){return l.value?j(()=>Reflect.apply(l.value.n,null,[...D])):j(()=>"")}function se(D){return l.value?l.value.tm(D):{}}function G(D,ne){return l.value?l.value.te(D,ne):!1}function le(D){return l.value?l.value.getLocaleMessage(D):{}}function Ce(D,ne){l.value&&(l.value.setLocaleMessage(D,ne),c.value[D]=ne)}function oe(D,ne){l.value&&l.value.mergeLocaleMessage(D,ne)}function pe(D){return l.value?l.value.getDateTimeFormat(D):{}}function te(D,ne){l.value&&(l.value.setDateTimeFormat(D,ne),f.value[D]=ne)}function Q(D,ne){l.value&&l.value.mergeDateTimeFormat(D,ne)}function ce(D){return l.value?l.value.getNumberFormat(D):{}}function ge(D,ne){l.value&&(l.value.setNumberFormat(D,ne),d.value[D]=ne)}function Le(D,ne){l.value&&l.value.mergeNumberFormat(D,ne)}const Y={get id(){return l.value?l.value.id:-1},locale:x,fallbackLocale:T,messages:I,datetimeFormats:L,numberFormats:K,get inheritLocale(){return l.value?l.value.inheritLocale:a},set inheritLocale(D){l.value&&(l.value.inheritLocale=D)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(c.value)},get modifiers(){return l.value?l.value.modifiers:C},get pluralRules(){return l.value?l.value.pluralRules:$},get isGlobal(){return l.value?l.value.isGlobal:!1},get missingWarn(){return l.value?l.value.missingWarn:p},set missingWarn(D){l.value&&(l.value.missingWarn=D)},get fallbackWarn(){return l.value?l.value.fallbackWarn:v},set fallbackWarn(D){l.value&&(l.value.missingWarn=D)},get fallbackRoot(){return l.value?l.value.fallbackRoot:h},set fallbackRoot(D){l.value&&(l.value.fallbackRoot=D)},get fallbackFormat(){return l.value?l.value.fallbackFormat:m},set fallbackFormat(D){l.value&&(l.value.fallbackFormat=D)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:y},set warnHtmlMessage(D){l.value&&(l.value.warnHtmlMessage=D)},get escapeParameter(){return l.value?l.value.escapeParameter:b},set escapeParameter(D){l.value&&(l.value.escapeParameter=D)},t:N,getPostTranslationHandler:H,setPostTranslationHandler:R,getMissingHandler:P,setMissingHandler:W,rt:F,d:V,n:X,tm:se,te:G,getLocaleMessage:le,setLocaleMessage:Ce,mergeLocaleMessage:oe,getDateTimeFormat:pe,setDateTimeFormat:te,mergeDateTimeFormat:Q,getNumberFormat:ce,setNumberFormat:ge,mergeNumberFormat:Le};function O(D){D.locale.value=s.value,D.fallbackLocale.value=i.value,Object.keys(c.value).forEach(ne=>{D.mergeLocaleMessage(ne,c.value[ne])}),Object.keys(f.value).forEach(ne=>{D.mergeDateTimeFormat(ne,f.value[ne])}),Object.keys(d.value).forEach(ne=>{D.mergeNumberFormat(ne,d.value[ne])}),D.escapeParameter=b,D.fallbackFormat=m,D.fallbackRoot=h,D.fallbackWarn=v,D.missingWarn=p,D.warnHtmlMessage=y}return Oi(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw cn(ln.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const D=l.value=e.proxy.$i18n.__composer;t==="global"?(s.value=D.locale.value,i.value=D.fallbackLocale.value,c.value=D.messages.value,f.value=D.datetimeFormats.value,d.value=D.numberFormats.value):r&&O(D)}),Y}const A$e=["locale","fallbackLocale","availableLocales"],L$e=["t","rt","d","n","tm"];function I$e(e,t){const n=Object.create(null);A$e.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw cn(ln.UNEXPECTED_ERROR);const l=kt(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,l)}),e.config.globalProperties.$i18n=n,L$e.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw cn(ln.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)})}QCe(a$e);e$e(OCe);t$e(R_);f$e();if(__INTLIFY_PROD_DEVTOOLS__){const e=qs();e.__INTLIFY__=!0,KCe(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const z$e={home:{nickName:"\u6635\u79F0",job:"\u804C\u4E1A",company:"\u516C\u53F8",age:"\u5E74\u9F84",sex:"\u6027\u522B",currentAddress:"\u73B0\u4F4F\u5740",mail:"\u90AE\u7BB1",WeChat:"\u5FAE\u4FE1",technologyStack:"\u6280\u672F\u6808",PersonalityLabel:"\u4E2A\u6027\u6807\u7B7E",favoriteSentence:"\u6700\u559C\u6B22\u7684\u4E00\u53E5\u8BDD",happy:"\u5F00\u5FC3\u6700\u91CD\u8981",male:"\u7537",web:"\u524D\u7AEF",Wolf:"\u5C0F\u72FC",trouble:"\u6015\u9EBB\u70E6",fitness:"\u5065\u8EAB\u8FD0\u52A8",sleep:"\u7761\u89C9",Marvel:"\u6F2B\u5A01",yearn:"\u5411\u5F80",impression:"\u5982\u679C\u5BF9\u4F60\u6709\u5E2E\u52A9\u7684\u8BDD\uFF0C\u53EF\u4EE5\u9EBB\u70E6\u70B9\u4E00\u9897 star\u3001fork\u3001watch! \u4F60\u7684\u9F13\u52B1\u662F\u6211\u7EE7\u7EED\u4F18\u5316\u7684\u52A8\u529B~~"},route:{home:"\u9996\u9875",visualizationChart:"\u53EF\u89C6\u5316\u56FE\u8868",Table:"\u8D85\u7EA7\u8868\u683C",chatBox:"\u804A\u5929\u6846",expansionComponents:"\u6269\u5C55\u7EC4\u4EF6",nested:"\u8DEF\u7531\u5D4C\u5957",excel:"Excel&Zip",zip:"Zip",errorPages:"\u9519\u8BEF\u9875\u9762",clipboardIndex:"\u526A\u8D34\u677F",SystemManagement:"\u526A\u8D34\u677F"},tagsView:{refresh:"\u5237\u65B0\u5F53\u9875",more:"\u66F4\u591A",closeCurrent:"\u5173\u95ED\u5F53\u524D",closeOther:"\u5173\u95ED\u5176\u5B83",closeAll:"\u5173\u95ED\u6240\u6709"},header:{changePassword:"\u4FEE\u6539\u5BC6\u7801",logout:"\u9000\u51FA\u767B\u5F55"}},O$e={home:{nickName:"Nick name",job:"Job",company:"Company",age:"Age",sex:"Sex",currentAddress:"Current address",mail:"Mail",WeChat:"WeChat",technologyStack:"Technology stack",PersonalityLabel:"Personality label",favoriteSentence:"Favorite sentence",happy:"Being happy is the most important",male:"Man",web:"Web",Wolf:"Wolf",trouble:"Afraid of trouble",fitness:"Fitness",sleep:"Sleep",Marvel:"Marvel",yearn:"Yearn",impression:"If it helps you, please give me a star! Your encouragement is the motivation for me to continue to optimize~~"},route:{home:"Home",visualizationChart:"Visualization Chart",Table:"Super Table",chatBox:"Chat Box",expansionComponents:"Components",nested:"Nested Routes",excel:"Excel",zip:"Zip",errorPages:"Error Pages",clipboardIndex:"Clipboard",SystemManagement:"System Management"},tagsView:{refresh:"Refresh Current",more:"More",closeCurrent:"Close current",closeOther:"Close other",closeAll:"Close All"},header:{changePassword:"Change Password",logout:"Logout"}},t1=C$e({legacy:!1,locale:"zh",globalInjection:!0,messages:{zh:z$e,en:O$e}});function O6(e){return t1.global.te("route."+e.name)?t1.global.t("route."+e.name):e.meta.title}function n1(e){return/^(https?:|mailto:|tel:)/.test(e)}function UEe(e){return!!/^((12[0-9])|(13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0|1,5-9]))\d{8}$/.test(e)}function qEe(e,t="",n="red"){return t.replace(new RegExp(e,"gi"),`${e}`)}function YEe(e){return/(^\d{8}(0\d|10|11|12)([0-2]\d|30|31)\d{3}$)|(^\d{6}(18|19|20)\d{2}(0\d|10|11|12)([0-2]\d|30|31)\d{3}(\d|X|x)$)/.test(e)}function GEe(e){return/^((https?|ftp):\/\/)?([\da-z.-]+)\.([a-z.]{2,6})(\/\w\.-]*)*\/?/.test(e)}function XEe(e){return/<(.*)>.*<\/\1>|<(.*) \/>/.test(e)}function ZEe(e){return/^(?:(?!0000)[0-9]{4}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)-02-29)$/.test(e)}function JEe(e){return/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)}function QEe(e,t){return(n,o,r)=>{e(o)?r():r(new Error(t))}}const N$e={props:{to:{type:String,required:!0}},computed:{isExternal(){return n1(this.to)},type(){return this.isExternal?"a":"router-link"}},methods:{linkProps(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}};function P$e(e,t,n,o,r,l){return w(),ie(st(l.type),so(Pi(l.linkProps(n.to))),{default:q(()=>[ye(e.$slots,"default",{},void 0,!0)]),_:3},16)}const R$e=Zt(N$e,[["render",P$e],["__scopeId","data-v-5ec88982"]]);function Ro(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function N6(e,t){for(var n="",o=0,r=-1,l=0,a,s=0;s<=e.length;++s){if(s2){var i=n.lastIndexOf("/");if(i!==n.length-1){i===-1?(n="",o=0):(n=n.slice(0,i),o=n.length-1-n.lastIndexOf("/")),r=s,l=0;continue}}else if(n.length===2||n.length===1){n="",o=0,r=s,l=0;continue}}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(r+1,s):n=e.slice(r+1,s),o=s-r-1;r=s,l=0}else a===46&&l!==-1?++l:l=-1}return n}function V$e(e,t){var n=t.dir||t.root,o=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+o:n+e+o:o}var Oa={resolve:function(){for(var t="",n=!1,o,r=arguments.length-1;r>=-1&&!n;r--){var l;r>=0?l=arguments[r]:(o===void 0&&(o=process.cwd()),l=o),Ro(l),l.length!==0&&(t=l+"/"+t,n=l.charCodeAt(0)===47)}return t=N6(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(Ro(t),t.length===0)return".";var n=t.charCodeAt(0)===47,o=t.charCodeAt(t.length-1)===47;return t=N6(t,!n),t.length===0&&!n&&(t="."),t.length>0&&o&&(t+="/"),n?"/"+t:t},isAbsolute:function(t){return Ro(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,n=0;n0&&(t===void 0?t=o:t+="/"+o)}return t===void 0?".":Oa.normalize(t)},relative:function(t,n){if(Ro(t),Ro(n),t===n||(t=Oa.resolve(t),n=Oa.resolve(n),t===n))return"";for(var o=1;oc){if(n.charCodeAt(a+d)===47)return n.slice(a+d+1);if(d===0)return n.slice(a+d)}else l>c&&(t.charCodeAt(o+d)===47?f=d:d===0&&(f=0));break}var p=t.charCodeAt(o+d),v=n.charCodeAt(a+d);if(p!==v)break;p===47&&(f=d)}var h="";for(d=o+f+1;d<=r;++d)(d===r||t.charCodeAt(d)===47)&&(h.length===0?h+="..":h+="/..");return h.length>0?h+n.slice(a+f):(a+=f,n.charCodeAt(a)===47&&++a,n.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(Ro(t),t.length===0)return".";for(var n=t.charCodeAt(0),o=n===47,r=-1,l=!0,a=t.length-1;a>=1;--a)if(n=t.charCodeAt(a),n===47){if(!l){r=a;break}}else l=!1;return r===-1?o?"/":".":o&&r===1?"//":t.slice(0,r)},basename:function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Ro(t);var o=0,r=-1,l=!0,a;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var s=n.length-1,i=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!l){o=a+1;break}}else i===-1&&(l=!1,i=a+1),s>=0&&(c===n.charCodeAt(s)?--s===-1&&(r=a):(s=-1,r=i))}return o===r?r=i:r===-1&&(r=t.length),t.slice(o,r)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!l){o=a+1;break}}else r===-1&&(l=!1,r=a+1);return r===-1?"":t.slice(o,r)}},extname:function(t){Ro(t);for(var n=-1,o=0,r=-1,l=!0,a=0,s=t.length-1;s>=0;--s){var i=t.charCodeAt(s);if(i===47){if(!l){o=s+1;break}continue}r===-1&&(l=!1,r=s+1),i===46?n===-1?n=s:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===o+1?"":t.slice(n,r)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return V$e("/",t)},parse:function(t){Ro(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var o=t.charCodeAt(0),r=o===47,l;r?(n.root="/",l=1):l=0;for(var a=-1,s=0,i=-1,c=!0,f=t.length-1,d=0;f>=l;--f){if(o=t.charCodeAt(f),o===47){if(!c){s=f+1;break}continue}i===-1&&(c=!1,i=f+1),o===46?a===-1?a=f:d!==1&&(d=1):a!==-1&&(d=-1)}return a===-1||i===-1||d===0||d===1&&a===i-1&&a===s+1?i!==-1&&(s===0&&r?n.base=n.name=t.slice(1,i):n.base=n.name=t.slice(s,i)):(s===0&&r?(n.name=t.slice(1,a),n.base=t.slice(1,i)):(n.name=t.slice(s,a),n.base=t.slice(s,i)),n.ext=t.slice(a,i)),s>0?n.dir=t.slice(0,s-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Oa.posix=Oa;var p4=Oa;const H$e=J({name:"subItem"}),t7=J({...H$e,props:{item:{type:Object,required:!0},basePath:{type:String,default:""}},setup(e){const t=e,n=z(null),o=(l=[],a)=>{const s=l.filter(i=>i.hidden?!1:(n.value=i,!0));return s.length===1?!0:s.length===0?(n.value={...a,path:"",noShowingChildren:!0},!0):!1},r=l=>n1(l)?l:n1(t.basePath)?t.basePath:p4.resolve(t.basePath,l);return(l,a)=>{const s=Ie("el-icon"),i=Ie("el-menu-item"),c=Ie("sub-item",!0),f=Ie("el-sub-menu");return e.item.hidden?ue("",!0):(w(),M(Re,{key:0},[!e.item.alwaysShow&&o(e.item.children,e.item)?(w(),M(Re,{key:0},[n.value.meta?(w(),ie(R$e,{key:0,to:r(n.value.path)},{default:q(()=>[B(i,{index:r(n.value.path)},{title:q(()=>[et(Ee(u(O6)(n.value)),1)]),default:q(()=>[B(s,{size:20},{default:q(()=>{var d;return[(w(),ie(st((d=n.value)==null?void 0:d.meta.icon)))]}),_:1})]),_:1},8,["index"])]),_:1},8,["to"])):ue("",!0)],64)):(w(),ie(f,{key:1,index:r(e.item.path),"popper-append-to-body":""},{title:q(()=>[B(s,{size:20},{default:q(()=>{var d;return[(w(),ie(st((d=e.item.meta)==null?void 0:d.icon)))]}),_:1}),k("span",null,Ee(u(O6)(e.item)),1)]),default:q(()=>[(w(!0),M(Re,null,ct(e.item.children,d=>(w(),ie(c,{key:d.path,item:d,"base-path":r(d.path)},null,8,["item","base-path"]))),128))]),_:1},8,["index"]))],64))}}});function n7(e,t){const n=[];return e.forEach(o=>{const r={...o};F$e(t,r)&&(r.children&&(r.children=n7(r.children,t)),n.push(r))}),n}function F$e(e,t){return t.meta&&t.meta.roles?e.some(n=>t.meta.roles.includes(n)):!1}function P6(e){let t=[],n=o=>{o.forEach(r=>{var l;((l=r.meta)==null?void 0:l.keepAlive)&&r.name&&t.push(r.name),r.children&&r.children.length&&n(r.children)})};return n(e),t}const ra=Ri({id:"permissionState",state:()=>({routes:[],addRoutes:[],cacheRoutes:{}}),getters:{permission_routes:e=>e.routes,keepAliveRoutes:e=>P6(Lu)},actions:{generateRoutes(e){return new Promise(t=>{let n;e&&e.length&&!e.includes("admin")?n=n7(Lu,e):n=Lu||[],n=n.concat(GSe),this.routes=g7.concat(n),this.addRoutes=n,t(n)})},clearRoutes(){this.routes=[],this.addRoutes=[],this.cacheRoutes=[]},getCacheRoutes(){return this.cacheRoutes=P6(Lu),this.cacheRoutes}}}),B$e=J({__name:"index",setup(e){const t=ss(),n=ra(),o=Tn(),r=E(()=>!o.isCollapse),l=E(()=>o.themeConfig),a=E(()=>n.permission_routes),s=E(()=>{const{meta:i,path:c}=t;return i.activeMenu?i.activeMenu:c});return(i,c)=>{const f=Ie("el-menu"),d=Ie("el-scrollbar");return w(),M("div",{class:A(["sidebar-container",{"has-logo":u(l).showLogo}])},[u(l).showLogo?(w(),ie(Jwe,{key:0,isCollapse:u(r)},null,8,["isCollapse"])):ue("",!0),B(d,{"wrap-class":"scrollbar-wrapper"},{default:q(()=>[B(f,{"default-active":u(s),"background-color":"#304156","text-color":"#bfcbd9","unique-opened":u(o).themeConfig.uniqueOpened,"collapse-transition":!1,class:"el-menu-vertical-demo",collapse:u(r)},{default:q(()=>[(w(!0),M(Re,null,ct(u(a),p=>(w(),ie(t7,{key:p.path,item:p,"base-path":p.path},null,8,["item","base-path"]))),128))]),_:1},8,["default-active","unique-opened","collapse"])]),_:1})],2)}}});const o7=J({__name:"Height",setup(e){const t=Tn(),n=E(()=>t.themeConfig);return(o,r)=>u(n).fixedHeader?(w(),M("div",{key:0,style:De({height:`${u(n).showTag?90:50}px`})},null,4)):ue("",!0)}}),D$e=J({__name:"Language",setup(e){const t=Tn(),n=T0(),o=E(()=>t.themeConfig.language),r=l=>{n.locale.value=l,t.setThemeConfig({key:"language",val:l})};return(l,a)=>{const s=Ie("svg-icon"),i=Ie("el-dropdown-item"),c=Ie("el-dropdown-menu"),f=Ie("el-dropdown");return w(),ie(f,{trigger:"hover",onCommand:r},{dropdown:q(()=>[B(c,null,{default:q(()=>[B(c,null,{default:q(()=>[B(i,{disabled:u(o)&&u(o)==="zh",command:"zh"},{default:q(()=>[et("\u7B80\u4F53\u4E2D\u6587")]),_:1},8,["disabled"]),B(i,{disabled:u(o)==="en",command:"en"},{default:q(()=>[et("English")]),_:1},8,["disabled"])]),_:1})]),_:1})]),default:q(()=>[B(s,{"class-name":"size-icon header-icon","icon-class":"language",style:{"font-size":"22px",cursor:"pointer"}})]),_:1})}}});const K$e=Zt(D$e,[["__scopeId","data-v-e831bf54"]]),W$e=J({__name:"globalComSize",setup(e){const t=Tn(),n=E(()=>t.themeConfig.globalComSize),o=_t({default:"\u9ED8\u8BA4",large:"\u5927\u578B",small:"\u5C0F\u578B"}),r=_t(["default","large","small"]),l=a=>{n.value!==a&&t.setThemeConfig({key:"globalComSize",val:a})};return(a,s)=>{const i=Ie("svg-icon"),c=Ie("el-dropdown-item"),f=Ie("el-dropdown-menu"),d=Ie("el-dropdown");return w(),ie(d,{trigger:"hover",onCommand:l},{dropdown:q(()=>[B(f,null,{default:q(()=>[(w(!0),M(Re,null,ct(r,p=>(w(),ie(c,{key:p,disabled:u(n)===p,command:p},{default:q(()=>[et(Ee(o[p]),1)]),_:2},1032,["disabled","command"]))),128))]),_:1})]),default:q(()=>[B(i,{"class-name":"size-icon header-icon","icon-class":"size",style:{"font-size":"20px",cursor:"pointer"}})]),_:1})}}});const j$e=Zt(W$e,[["__scopeId","data-v-a6deb1e9"]]);function yr(e){return Array.isArray?Array.isArray(e):a7(e)==="[object Array]"}const U$e=1/0;function q$e(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-U$e?"-0":t}function Y$e(e){return e==null?"":q$e(e)}function Uo(e){return typeof e=="string"}function r7(e){return typeof e=="number"}function G$e(e){return e===!0||e===!1||X$e(e)&&a7(e)=="[object Boolean]"}function l7(e){return typeof e=="object"}function X$e(e){return l7(e)&&e!==null}function Qn(e){return e!=null}function md(e){return!e.trim().length}function a7(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Z$e="Incorrect 'index' type",J$e=e=>`Invalid value for key ${e}`,Q$e=e=>`Pattern length exceeds max of ${e}.`,eke=e=>`Missing ${e} property in key`,tke=e=>`Property 'weight' in key '${e}' must be a positive integer`,R6=Object.prototype.hasOwnProperty;class nke{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(o=>{let r=s7(o);n+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(o=>{o.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function s7(e){let t=null,n=null,o=null,r=1,l=null;if(Uo(e)||yr(e))o=e,t=V6(e),n=o1(e);else{if(!R6.call(e,"name"))throw new Error(eke("name"));const a=e.name;if(o=a,R6.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(tke(a));t=V6(a),n=o1(a),l=e.getFn}return{path:t,id:n,weight:r,src:o,getFn:l}}function V6(e){return yr(e)?e:e.split(".")}function o1(e){return yr(e)?e.join("."):e}function oke(e,t){let n=[],o=!1;const r=(l,a,s)=>{if(!!Qn(l))if(!a[s])n.push(l);else{let i=a[s];const c=l[i];if(!Qn(c))return;if(s===a.length-1&&(Uo(c)||r7(c)||G$e(c)))n.push(Y$e(c));else if(yr(c)){o=!0;for(let f=0,d=c.length;fe.score===t.score?e.idx{this._keysMap[n.id]=o})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Uo(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Uo(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,o=this.size();n{let a=r.getFn?r.getFn(t):this.getFn(t,r.path);if(!!Qn(a)){if(yr(a)){let s=[];const i=[{nestedArrIndex:-1,value:a}];for(;i.length;){const{nestedArrIndex:c,value:f}=i.pop();if(!!Qn(f))if(Uo(f)&&!md(f)){let d={v:f,i:c,n:this.norm.get(f)};s.push(d)}else yr(f)&&f.forEach((d,p)=>{i.push({nestedArrIndex:p,value:d})})}o.$[l]=s}else if(Uo(a)&&!md(a)){let s={v:a,n:this.norm.get(a)};o.$[l]=s}}}),this.records.push(o)}toJSON(){return{keys:this.keys,records:this.records}}}function i7(e,t,{getFn:n=bt.getFn,fieldNormWeight:o=bt.fieldNormWeight}={}){const r=new h4({getFn:n,fieldNormWeight:o});return r.setKeys(e.map(s7)),r.setSources(t),r.create(),r}function cke(e,{getFn:t=bt.getFn,fieldNormWeight:n=bt.fieldNormWeight}={}){const{keys:o,records:r}=e,l=new h4({getFn:t,fieldNormWeight:n});return l.setKeys(o),l.setIndexRecords(r),l}function Au(e,{errors:t=0,currentLocation:n=0,expectedLocation:o=0,distance:r=bt.distance,ignoreLocation:l=bt.ignoreLocation}={}){const a=t/e.length;if(l)return a;const s=Math.abs(o-n);return r?a+s/r:s?1:a}function dke(e=[],t=bt.minMatchCharLength){let n=[],o=-1,r=-1,l=0;for(let a=e.length;l=t&&n.push([o,r]),o=-1)}return e[l-1]&&l-o>=t&&n.push([o,l-1]),n}const Sl=32;function fke(e,t,n,{location:o=bt.location,distance:r=bt.distance,threshold:l=bt.threshold,findAllMatches:a=bt.findAllMatches,minMatchCharLength:s=bt.minMatchCharLength,includeMatches:i=bt.includeMatches,ignoreLocation:c=bt.ignoreLocation}={}){if(t.length>Sl)throw new Error(Q$e(Sl));const f=t.length,d=e.length,p=Math.max(0,Math.min(o,d));let v=l,h=p;const m=s>1||i,_=m?Array(d):[];let g;for(;(g=e.indexOf(t,h))>-1;){let x=Au(t,{currentLocation:g,expectedLocation:p,distance:r,ignoreLocation:c});if(v=Math.min(x,v),h=g+f,m){let T=0;for(;T=L;P-=1){let W=P-1,j=n[e.charAt(W)];if(m&&(_[W]=+!!j),H[P]=(H[P+1]<<1|1)&j,x&&(H[P]|=(y[P+1]|y[P])<<1|1|y[P+1]),H[P]&$&&(b=Au(t,{errors:x,currentLocation:W,expectedLocation:p,distance:r,ignoreLocation:c}),b<=v)){if(v=b,h=W,h<=p)break;L=Math.max(1,2*p-h)}}if(Au(t,{errors:x+1,currentLocation:p,expectedLocation:p,distance:r,ignoreLocation:c})>v)break;y=H}const S={isMatch:h>=0,score:Math.max(.001,b)};if(m){const x=dke(_,s);x.length?i&&(S.indices=x):S.isMatch=!1}return S}function pke(e){let t={};for(let n=0,o=e.length;n{this.chunks.push({pattern:p,alphabet:pke(p),startIndex:v})},d=this.pattern.length;if(d>Sl){let p=0;const v=d%Sl,h=d-v;for(;p{const{isMatch:g,score:y,indices:b}=fke(t,h,m,{location:r+_,distance:l,threshold:a,findAllMatches:s,minMatchCharLength:i,includeMatches:o,ignoreLocation:c});g&&(p=!0),d+=y,g&&b&&(f=[...f,...b])});let v={isMatch:p,score:p?d/this.chunks.length:1};return p&&o&&(v.indices=f),v}}class hl{constructor(t){this.pattern=t}static isMultiMatch(t){return H6(t,this.multiRegex)}static isSingleMatch(t){return H6(t,this.singleRegex)}search(){}}function H6(e,t){const n=e.match(t);return n?n[1]:null}class hke extends hl{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class vke extends hl{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const o=t.indexOf(this.pattern)===-1;return{isMatch:o,score:o?0:1,indices:[0,t.length-1]}}}class mke extends hl{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class gke extends hl{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class _ke extends hl{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class bke extends hl{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class c7 extends hl{constructor(t,{location:n=bt.location,threshold:o=bt.threshold,distance:r=bt.distance,includeMatches:l=bt.includeMatches,findAllMatches:a=bt.findAllMatches,minMatchCharLength:s=bt.minMatchCharLength,isCaseSensitive:i=bt.isCaseSensitive,ignoreLocation:c=bt.ignoreLocation}={}){super(t),this._bitapSearch=new u7(t,{location:n,threshold:o,distance:r,includeMatches:l,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:i,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class d7 extends hl{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,o;const r=[],l=this.pattern.length;for(;(o=t.indexOf(this.pattern,n))>-1;)n=o+l,r.push([o,n-1]);const a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}}const r1=[hke,d7,mke,gke,bke,_ke,vke,c7],F6=r1.length,yke=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,wke="|";function Cke(e,t={}){return e.split(wke).map(n=>{let o=n.trim().split(yke).filter(l=>l&&!!l.trim()),r=[];for(let l=0,a=o.length;l!!(e[Ic.AND]||e[Ic.OR]),Eke=e=>!!e[s1.PATH],Mke=e=>!yr(e)&&l7(e)&&!i1(e),B6=e=>({[Ic.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function f7(e,t,{auto:n=!0}={}){const o=r=>{let l=Object.keys(r);const a=Eke(r);if(!a&&l.length>1&&!i1(r))return o(B6(r));if(Mke(r)){const i=a?r[s1.PATH]:l[0],c=a?r[s1.PATTERN]:r[i];if(!Uo(c))throw new Error(J$e(i));const f={keyId:o1(i),pattern:c};return n&&(f.searcher=a1(c,t)),f}let s={children:[],operator:l[0]};return l.forEach(i=>{const c=r[i];yr(c)&&c.forEach(f=>{s.children.push(o(f))})}),s};return i1(e)||(e=B6(e)),o(e)}function Tke(e,{ignoreFieldNorm:t=bt.ignoreFieldNorm}){e.forEach(n=>{let o=1;n.matches.forEach(({key:r,norm:l,score:a})=>{const s=r?r.weight:null;o*=Math.pow(a===0&&s?Number.EPSILON:a,(s||1)*(t?1:l))}),n.score=o})}function xke(e,t){const n=e.matches;t.matches=[],Qn(n)&&n.forEach(o=>{if(!Qn(o.indices)||!o.indices.length)return;const{indices:r,value:l}=o;let a={indices:r,value:l};o.key&&(a.key=o.key.src),o.idx>-1&&(a.refIndex=o.idx),t.matches.push(a)})}function Ake(e,t){t.score=e.score}function Lke(e,t,{includeMatches:n=bt.includeMatches,includeScore:o=bt.includeScore}={}){const r=[];return n&&r.push(xke),o&&r.push(Ake),e.map(l=>{const{idx:a}=l,s={item:t[a],refIndex:a};return r.length&&r.forEach(i=>{i(l,s)}),s})}class ps{constructor(t,n={},o){this.options={...bt,...n},this.options.useExtendedSearch,this._keyStore=new nke(this.options.keys),this.setCollection(t,o)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof h4))throw new Error(Z$e);this._myIndex=n||i7(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){!Qn(t)||(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let o=0,r=this._docs.length;o-1&&(i=i.slice(0,n)),Lke(i,this._docs,{includeMatches:o,includeScore:r})}_searchStringList(t){const n=a1(t,this.options),{records:o}=this._myIndex,r=[];return o.forEach(({v:l,i:a,n:s})=>{if(!Qn(l))return;const{isMatch:i,score:c,indices:f}=n.searchIn(l);i&&r.push({item:l,idx:a,matches:[{score:c,value:l,norm:s,indices:f}]})}),r}_searchLogical(t){const n=f7(t,this.options),o=(s,i,c)=>{if(!s.children){const{keyId:d,searcher:p}=s,v=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(i,d),searcher:p});return v&&v.length?[{idx:c,item:i,matches:v}]:[]}const f=[];for(let d=0,p=s.children.length;d{if(Qn(s)){let c=o(n,s,i);c.length&&(l[i]||(l[i]={idx:i,item:s,matches:[]},a.push(l[i])),c.forEach(({matches:f})=>{l[i].matches.push(...f)}))}}),a}_searchObjectList(t){const n=a1(t,this.options),{keys:o,records:r}=this._myIndex,l=[];return r.forEach(({$:a,i:s})=>{if(!Qn(a))return;let i=[];o.forEach((c,f)=>{i.push(...this._findMatches({key:c,value:a[f],searcher:n}))}),i.length&&l.push({idx:s,item:a,matches:i})}),l}_findMatches({key:t,value:n,searcher:o}){if(!Qn(n))return[];let r=[];if(yr(n))n.forEach(({v:l,i:a,n:s})=>{if(!Qn(l))return;const{isMatch:i,score:c,indices:f}=o.searchIn(l);i&&r.push({score:c,key:t,value:l,idx:a,norm:s,indices:f})});else{const{v:l,n:a}=n,{isMatch:s,score:i,indices:c}=o.searchIn(l);s&&r.push({score:i,key:t,value:l,norm:a,indices:c})}return r}}ps.version="6.6.2";ps.createIndex=i7;ps.parseIndex=cke;ps.config=bt;ps.parseQuery=f7;Ske(kke);const Ike={class:"m-headerSearch"},zke=J({__name:"HeaderSearch",setup(e){const t=Vi(),n=z(!1),o=z([]),r=z([]),l=z(""),a=z(null),s=ra(),i=E(()=>s.routes),c=()=>{n.value=!0},f=h=>{a.value=new ps(h,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})};we(r,h=>{f(h)});const d=(h,m="/",_=[])=>{let g=[];for(const y of h){if(y.hidden)continue;const b={path:p4.resolve(m,y.path),title:[..._]};if(y.meta&&y.meta.title&&(b.title=[...b.title,y.meta.title],y.redirect!=="noRedirect"&&g.push(b)),y.children){const C=d(y.children,b.path,b.title);C.length>=1&&(g=[...g,...C])}}return g},p=h=>{h&&t.push({path:h}),o.value=[],l.value="",n.value=!1};tt(()=>{r.value=d(JSON.parse(JSON.stringify(i.value)))});const v=h=>{h!==""?o.value=a.value.search(h):o.value=[]};return(h,m)=>{const _=Ie("Search"),g=Ie("el-icon"),y=Ie("el-tooltip"),b=Ie("el-option"),C=Ie("el-select"),$=Ie("el-dialog");return w(),M("div",Ike,[B(y,{effect:"dark",content:"\u83DC\u5355\u641C\u7D22",placement:"bottom"},{default:q(()=>[B(g,{class:"bell header-icon",style:{"font-size":"22px"},onClick:c},{default:q(()=>[B(_)]),_:1})]),_:1}),B($,{modelValue:n.value,"onUpdate:modelValue":m[1]||(m[1]=S=>n.value=S),width:"600px","destroy-on-close":"","show-close":!1},{default:q(()=>[B(C,{style:{width:"100%"},ref:"headerSearchSelect",modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=S=>l.value=S),"remote-method":v,filterable:"","default-first-option":"",remote:"",placeholder:"\u83DC\u5355\u641C\u7D22 \uFF1A\u652F\u6301\u83DC\u5355\u540D\u79F0\u3001\u8DEF\u5F84",class:"header-search-select",onChange:p},{default:q(()=>[(w(!0),M(Re,null,ct(o.value,S=>(w(),ie(b,{key:S.item.path,value:S.item.path,label:S&&S.item.title&&S.item.title.length&&S.item.title.join(" > ")},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])}}});const Oke=Zt(zke,[["__scopeId","data-v-1e11e770"]]),Nke={class:"m-info"},Pke={class:"item-child"},Rke={class:"item-child"},Vke={class:"item-child"},Hke=J({__name:"Remind",setup(e){const t=z("first"),n=r=>{window.open(r)},o=(r,l)=>{console.log(r,l)};return(r,l)=>{const a=Ie("Bell"),s=Ie("el-icon"),i=Ie("el-badge"),c=Ie("el-button"),f=Ie("el-divider"),d=Ie("el-tab-pane"),p=Ie("el-tabs"),v=Ie("el-popover");return w(),M("div",Nke,[B(v,{width:"200px",placement:"bottom"},{reference:q(()=>[B(i,{value:3,class:"item-info-pop"},{default:q(()=>[B(s,{class:"bell header-icon",style:{"font-size":"20px"}},{default:q(()=>[B(a)]),_:1})]),_:1})]),default:q(()=>[k("div",null,[B(p,{modelValue:t.value,"onUpdate:modelValue":l[3]||(l[3]=h=>t.value=h),class:"demo-tabs",onTabClick:o},{default:q(()=>[B(d,{label:"\u901A\u77E5",name:"first"},{default:q(()=>[k("div",Pke,[et(" GitHub\u5F00\u6E90\u5730\u5740\uFF1A"),B(c,{type:"primary",link:"",onClick:l[0]||(l[0]=h=>n("https://github.com/zouzhibin/vue-admin-perfect"))},{default:q(()=>[et("\u70B9\u6211")]),_:1})]),B(f,{style:{"margin-bottom":"15px"}}),k("div",Rke,[et(" Gitee\u5F00\u6E90\u5730\u5740\uFF1A"),B(c,{type:"primary",link:"",onClick:l[1]||(l[1]=h=>n("https://gitee.com/yuanzbz/vue-admin-perfect"))},{default:q(()=>[et("\u70B9\u6211")]),_:1})]),B(f),k("div",Vke,[et(" github\u5F00\u6E90\u5730\u5740\uFF1A"),B(c,{type:"primary",link:"",onClick:l[2]||(l[2]=h=>n("https://github.com/zouzhibin/vue-admin-perfect"))},{default:q(()=>[et("\u70B9\u6211")]),_:1})])]),_:1})]),_:1},8,["modelValue"])])]),_:1})])}}});const Fke=Zt(Hke,[["__scopeId","data-v-5d8c37a6"]]),Bke={class:"m-screenful"},Dke=J({__name:"ScreenFull",setup(e){const{toggle:t,isFullscreen:n}=WT();return(o,r)=>{const l=Ie("svg-icon"),a=Ie("el-tooltip");return w(),M("div",Bke,[B(a,{effect:"dark",content:"\u5168\u5C4F",placement:"bottom"},{default:q(()=>[B(l,{"icon-class":u(n)?"exit-fullscreen":"fullscreen",onClick:u(t),className:"header-icon"},null,8,["icon-class","onClick"])]),_:1})])}}});const Kke=Zt(Dke,[["__scopeId","data-v-9ae0d4a8"]]),Wke={class:"m-setting"},jke=J({__name:"Setting",setup(e){const t=Tn(),n=(o,r)=>{t.setThemeConfig({key:o,val:r})};return(o,r)=>{const l=Ie("Setting",!0),a=Ie("el-icon"),s=Ie("el-tooltip");return w(),M("div",Wke,[B(s,{effect:"dark",content:"\u4E3B\u9898\u8BBE\u7F6E",placement:"bottom"},{default:q(()=>[B(a,{style:{"font-size":"20px"},class:"bell header-icon"},{default:q(()=>[B(l,{onClick:r[0]||(r[0]=i=>n("showSetting",!0))})]),_:1})]),_:1})])}}});const Uke=Zt(jke,[["__scopeId","data-v-dbf1a90e"]]),qke="/vue-admin-perfect/assets/avatar.31e95fb7.png",v4=Ri({id:"userState",state:()=>({token:null,userInfo:{},roles:localStorage.roles?JSON.parse(localStorage.roles):[]}),getters:{},actions:{login(e){const{username:t,password:n}=e;return new Promise(async(o,r)=>{this.token=t,this.userInfo=e,await this.getRoles(),o(t)})},getRoles(){return new Promise((e,t)=>{this.roles=["admin"],localStorage.roles=JSON.stringify(this.roles),e(this.roles)})},getInfo(e){return new Promise((t,n)=>{this.roles=e,t(e)})},logout(){return new Promise((e,t)=>{this.token=null,this.userInfo={},this.roles=[],e(null)})}},persist:{key:"userState",storage:window.localStorage}}),m4=Ri({id:"tagsViewState",state:()=>({activeTabsValue:"/home",visitedViews:[],cachedViews:[]}),getters:{},actions:{setTabsMenuValue(e){this.activeTabsValue=e},addView(e){this.addVisitedView(e)},removeView(e){return new Promise((t,n)=>{this.visitedViews=this.visitedViews.filter(o=>!e.includes(o.path)),t(null)})},addVisitedView(e){this.setTabsMenuValue(e.path),!this.visitedViews.some(t=>t.path===e.path)&&(this.visitedViews.push(Object.assign({},e,{title:e.meta.title||"no-name"})),e.meta.keepAlive&&this.cachedViews.push(e.name))},delView(e){return new Promise(t=>{this.delVisitedView(e),this.delCachedView(e),t({visitedViews:[...this.visitedViews],cachedViews:[...this.cachedViews]})})},toLastView(e){let t=this.visitedViews.findIndex(o=>o.path===e);const n=this.visitedViews[t+1]||this.visitedViews[t-1];!n||(rs.push(n.path),this.addVisitedView(n))},delVisitedView(e){return new Promise(t=>{this.visitedViews=this.visitedViews.filter(n=>n.path!==e||n.meta.affix),this.cachedViews=this.cachedViews.filter(n=>n.path!==e||n.meta.affix),t([...this.visitedViews])})},delCachedView(e){return new Promise(t=>{const n=this.cachedViews.indexOf(e.name);n>-1&&this.cachedViews.splice(n,1),t([...this.cachedViews])})},clearVisitedView(){this.delAllViews()},delAllViews(){return new Promise(e=>{this.visitedViews=this.visitedViews.filter(t=>t.meta.affix),this.cachedViews=this.visitedViews.filter(t=>t.meta.affix),e([...this.visitedViews])})},delOtherViews(e){this.visitedViews=this.visitedViews.filter(t=>t.path===e||t.meta.affix),this.cachedViews=this.visitedViews.filter(t=>t.path===e||t.meta.affix)},goHome(){this.activeTabsValue="/home",rs.push({path:"/home"})},updateVisitedView(e){for(let t of this.visitedViews)if(t.path===e.path){t=Object.assign(t,e);break}}}}),Yke={class:"dialog-footer"},Gke=J({__name:"PersonalDialog",setup(e,{expose:t}){const n=z(!1),o=v4(),r=()=>{n.value=!0},l=z(""),a=z(),s=_t({name:o.userInfo.username,password:o.userInfo.password,configPassword:""}),i=_t({configPassword:[{required:!0,message:"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801",trigger:"blur"}]}),c=f=>{!f||f.validate(d=>{if(d)console.log("submit!");else return console.log("error submit!"),!1})};return t({show:r}),(f,d)=>{const p=Ie("el-input"),v=Ie("el-form-item"),h=Ie("el-form"),m=Ie("el-button"),_=Ie("el-dialog");return w(),ie(_,{modelValue:n.value,"onUpdate:modelValue":d[5]||(d[5]=g=>n.value=g),title:"\u4FEE\u6539\u5BC6\u7801",width:"40%"},{footer:q(()=>[k("span",Yke,[B(m,{onClick:d[3]||(d[3]=g=>n.value=!1)},{default:q(()=>[et("\u53D6\u6D88")]),_:1}),B(m,{type:"primary",onClick:d[4]||(d[4]=g=>c(a.value))},{default:q(()=>[et("\u786E\u5B9A")]),_:1})])]),default:q(()=>[B(h,{ref_key:"ruleFormRef",ref:a,model:s,rules:i,"label-width":"120px",class:"demo-ruleForm",size:l.value},{default:q(()=>[B(v,{label:"\u59D3\u540D"},{default:q(()=>[B(p,{modelValue:s.name,"onUpdate:modelValue":d[0]||(d[0]=g=>s.name=g),disabled:""},null,8,["modelValue"])]),_:1}),B(v,{label:"\u65E7\u7684\u5BC6\u7801",prop:"password"},{default:q(()=>[B(p,{modelValue:s.password,"onUpdate:modelValue":d[1]||(d[1]=g=>s.password=g),type:"password"},null,8,["modelValue"])]),_:1}),B(v,{label:"\u65B0\u7684\u5BC6\u7801",prop:"configPassword"},{default:q(()=>[B(p,{modelValue:s.configPassword,"onUpdate:modelValue":d[2]||(d[2]=g=>s.configPassword=g),type:"password"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","size"])]),_:1},8,["modelValue"])}}});const Xke=Zt(Gke,[["__scopeId","data-v-845d83a3"]]),Zke={class:"el-dropdown-link"},Jke=J({__name:"Avatar",setup(e){const t=Vi(),n=v4(),o=m4(),r=ra(),l=E({get(){return n.roles[0]},set(d){(async()=>(await n.getInfo([d]),t.push({path:"/"}),location.reload()))()}}),a=d=>{d!==l.value&&(l.value=l.value==="admin"?"other":"admin")},s=E(()=>n.userInfo),i=z(),c=async()=>{L_.confirm("\u60A8\u662F\u5426\u786E\u8BA4\u9000\u51FA\u767B\u5F55?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{await n.logout(),await t.push({path:"/login"}),o.clearVisitedView(),r.clearRoutes(),l4({type:"success",message:"\u9000\u51FA\u767B\u5F55\u6210\u529F\uFF01"})}).catch(()=>{})},f=()=>{i.value.show()};return(d,p)=>{const v=Ie("el-avatar"),h=Ie("arrow-down"),m=Ie("el-icon"),_=Ie("el-dropdown-item"),g=Ie("Edit"),y=Ie("SwitchButton"),b=Ie("el-dropdown-menu"),C=Ie("el-dropdown");return w(),M(Re,null,[B(C,null,{dropdown:q(()=>[B(b,null,{default:q(()=>[B(_,{command:0,onClick:p[0]||(p[0]=$=>a("admin"))},{default:q(()=>[et(Ee(u(l)==="admin"?"\u5F53\u524D\u89D2\u8272":"\u5207\u6362\u89D2\u8272")+"\uFF1A\u7BA1\u7406\u5458 ",1)]),_:1}),B(_,{command:0,divided:"",onClick:p[1]||(p[1]=$=>a("other"))},{default:q(()=>[et(Ee(u(l)==="other"?"\u5F53\u524D\u89D2\u8272":"\u5207\u6362\u89D2\u8272")+"\uFF1A\u666E\u901A\u7528\u6237 ",1)]),_:1}),B(_,{command:3,divided:"",onClick:f},{default:q(()=>[B(m,null,{default:q(()=>[B(g)]),_:1}),et("\u4FEE\u6539\u5BC6\u7801 ")]),_:1}),B(_,{command:4,divided:"",onClick:c},{default:q(()=>[B(m,null,{default:q(()=>[B(y)]),_:1}),et("\u9000\u51FA\u767B\u5F55 ")]),_:1})]),_:1})]),default:q(()=>[k("span",Zke,[B(v,{size:30,class:"avatar",src:u(qke)},null,8,["src"]),et(" "+Ee(u(s).username)+" ",1),B(m,{class:"header-icon el-icon--right"},{default:q(()=>[B(h)]),_:1})])]),_:1}),B(Xke,{ref_key:"person",ref:i},null,512)],64)}}});const Qke=Zt(Jke,[["__scopeId","data-v-65f0c517"]]),eSe={class:"m-tool-right"},tSe=J({__name:"ToolRight",setup(e){return(t,n)=>(w(),M("div",eSe,[B(K$e,{class:"item-children"}),B(j$e,{class:"item-children"}),B(Oke,{class:"item-children"}),B(Fke,{class:"item-children"}),B(Kke,{class:"item-children"}),B(Uke,{class:"item-children"}),B(Qke)]))}});const p7=Zt(tSe,[["__scopeId","data-v-12f00dee"]]),nSe=J({__name:"CollapseIcon",setup(e){const t=Tn(),n=E(()=>!t.isCollapse),o=()=>{t.setCollapse(n.value)};return(r,l)=>{const a=Ie("expand"),s=Ie("el-icon"),i=Ie("fold");return w(),M("div",{class:"hamburger-container",onClick:o},[u(n)?(w(),ie(s,{key:0,class:"icon"},{default:q(()=>[B(a)]),_:1})):(w(),ie(s,{key:1,class:"icon"},{default:q(()=>[B(i)]),_:1}))])}}});const oSe=Zt(nSe,[["__scopeId","data-v-431b683b"]]),rSe=k("div",{class:"breadcrumb-item"},[k("span",{class:"breadcrumb-title"},"\u9996\u9875")],-1),lSe={key:0,class:"no-redirect"},aSe=["onClick"],sSe=J({__name:"Hamburger",setup(e){const t=ss(),n=Vi(),o=l=>{n.push({path:l.path})},r=E(()=>t.matched.filter(l=>l.meta&&l.meta.title&&l.meta.breadcrumb!==!1));return(l,a)=>{const s=Ie("el-breadcrumb-item"),i=Ie("el-breadcrumb");return w(),ie(i,{class:"app-breadcrumb",separator:"/"},{default:q(()=>[B(rv,{name:"breadcrumb",mode:"out-in"},{default:q(()=>[u(r)[0].meta.title!=="\u9996\u9875"?(w(),ie(s,{to:{path:"/"},key:"home"},{default:q(()=>[rSe]),_:1})):ue("",!0),(w(!0),M(Re,null,ct(u(r),(c,f)=>(w(),ie(s,{key:c.name},{default:q(()=>[c.redirect==="noRedirect"||f==u(r).length-1?(w(),M("span",lSe,Ee(c.meta.title),1)):(w(),M("a",{key:1,onClick:Ye(d=>o(c),["prevent"])},Ee(c.meta.title),9,aSe))]),_:2},1024))),128))]),_:1})]),_:1})}}}),iSe={class:"m-tool-left"},uSe=J({__name:"ToolLeft",setup(e){return(t,n)=>(w(),M("div",iSe,[B(oSe),B(sSe)]))}});const cSe=Zt(uSe,[["__scopeId","data-v-01e7e18a"]]),dSe=J({__name:"MoreButton",setup(e){Vi();const t=ss(),n=Tn(),o=m4();E(()=>o.visitedViews);const r=()=>{n.setReload()},l=i=>{o.toLastView(t.path),o.delView(t.path)},a=async()=>{o.delOtherViews(t.path)},s=async()=>{await o.delAllViews(),o.goHome()};return(i,c)=>{const f=Ie("arrow-down"),d=Ie("el-icon"),p=Ie("el-button"),v=Ie("Refresh"),h=Ie("el-dropdown-item"),m=Ie("FolderRemove"),_=Ie("Close"),g=Ie("FolderDelete"),y=Ie("el-dropdown-menu"),b=Ie("el-dropdown");return w(),ie(b,{trigger:"hover"},{dropdown:q(()=>[B(y,null,{default:q(()=>[B(h,{onClick:r},{default:q(()=>[B(d,{size:14},{default:q(()=>[B(v)]),_:1}),et(" "+Ee(i.$t("tagsView.refresh")),1)]),_:1}),B(h,{onClick:l},{default:q(()=>[B(d,{size:14},{default:q(()=>[B(m)]),_:1}),et(" "+Ee(i.$t("tagsView.closeCurrent")),1)]),_:1}),B(h,{onClick:a},{default:q(()=>[B(d,{size:14},{default:q(()=>[B(_)]),_:1}),et(Ee(i.$t("tagsView.closeOther")),1)]),_:1}),B(h,{onClick:s},{default:q(()=>[B(d,{size:14},{default:q(()=>[B(g)]),_:1}),et(Ee(i.$t("tagsView.closeAll")),1)]),_:1})]),_:1})]),default:q(()=>[B(p,{size:"small",type:"primary"},{default:q(()=>[k("span",null,Ee(i.$t("tagsView.more")),1),B(d,{class:"el-icon--right"},{default:q(()=>[B(f)]),_:1})]),_:1})]),_:1})}}});const fSe=Zt(dSe,[["__scopeId","data-v-a5aa8461"]]),pSe={class:"m-tags-view"},hSe={class:"tags-view"},vSe={class:"right-btn"},mSe=J({__name:"index",setup(e){const t=ss(),n=Vi(),o=m4(),r=ra(),l=E(()=>o.visitedViews),a=E(()=>r.routes),s=()=>{const{name:_}=t;if(_!=="Login")return _&&o.addView(t),!1};let i=z([]);function c(_,g="/"){let y=[];return _.forEach(b=>{if(b.meta&&b.meta.affix){const C=p4.resolve(g,b.path);y.push({fullPath:C,path:C,name:b.name,meta:{...b.meta}})}if(b.children){const C=c(b.children,b.path);C.length>=1&&(y=[...y,...C])}}),y}const f=()=>{let _=a.value,g=i.value=c(_);for(const y of g)y.name&&o.addVisitedView(y)};tt(()=>{f(),s()}),we(t,()=>{s()});const d=E({get:()=>o.activeTabsValue,set:_=>{o.setTabsMenuValue(_)}});function p(_){let g=l.value.findIndex(b=>b.path===_);const y=l.value[g+1]||l.value[g-1];!y||(n.push(y.path),o.addVisitedView(y))}const v=_=>{let g=_.props.name;n.push(g)},h=_=>_===t.path,m=async _=>{h(_)&&p(_),await o.delView(_)};return(_,g)=>{const y=Ie("el-icon"),b=Ie("el-tab-pane"),C=Ie("el-tabs");return w(),M("div",pSe,[k("div",hSe,[B(C,{modelValue:u(d),"onUpdate:modelValue":g[0]||(g[0]=$=>kt(d)?d.value=$:null),type:"card",onTabClick:v,onTabRemove:m},{default:q(()=>[(w(!0),M(Re,null,ct(u(l),$=>(w(),ie(b,{key:$.path,path:$.path,label:$.title,name:$.path,closable:!($.meta&&$.meta.affix)},{label:q(()=>[$.icon?(w(),ie(y,{key:0,class:"tabs-icon"},{default:q(()=>[(w(),ie(st($.icon)))]),_:2},1024)):ue("",!0),et(" "+Ee($.title),1)]),_:2},1032,["path","label","name","closable"]))),128))]),_:1},8,["modelValue"])]),k("div",vSe,[B(u(fSe))])])}}});const h7=Zt(mSe,[["__scopeId","data-v-59e8e7ea"]]),gSe={class:"header-inner"},_Se=J({__name:"index",setup(e){const t=Tn(),n=E(()=>t.themeConfig),o=E(()=>!t.isCollapse);return(r,l)=>(w(),M(Re,null,[B(o7),k("div",{class:A(["m-layout-header",{"fixed-header":u(n).fixedHeader,collapse:u(n).fixedHeader&&u(o),"no-collapse":u(n).fixedHeader&&!u(o)}])},[k("div",gSe,[B(cSe),B(p7)]),u(n).showTag?(w(),ie(h7,{key:0})):ue("",!0)],2)],64))}});const bSe=Zt(_Se,[["__scopeId","data-v-1f82c6f9"]]),gd=new Map,ySe=(e,t)=>{let n;if(e){const o=t.name;return gd.has(o)?n=gd.get(o):(n={name:o,render(){return Ke("div",{className:"app-main-inner"},e)}},gd.set(o,n)),Ke(n)}},wSe={class:"app-main"},CSe=J({__name:"index",setup(e){const t=Tn(),n=ra(),o=E(()=>n.keepAliveRoutes),r=E(()=>t.isReload);return(l,a)=>{const s=Ie("router-view");return w(),M("div",wSe,[B(s,null,{default:q(({Component:i,route:c})=>[B(Xt,{name:"fade-slide",mode:"out-in",appear:""},{default:q(()=>[u(r)?(w(),ie(Rb,{key:0,include:u(o)},[(w(),ie(st(u(ySe)(i,c)),{key:c.path}))],1032,["include"])):ue("",!0)]),_:2},1024)]),_:1})])}}});const v7=Zt(CSe,[["__scopeId","data-v-c5f43f7d"]]);const $Se={},kSe=e=>(g1("data-v-85f8336d"),e=e(),_1(),e),SSe={class:"footer-layout"},ESe=kSe(()=>k("span",{href:"/",target:"_blank"}," 2022 \xA9 VUE-ADMIN-PERFECT By ZB Technology. ",-1)),MSe=[ESe];function TSe(e,t){return w(),M("div",SSe,MSe)}const m7=Zt($Se,[["render",TSe],["__scopeId","data-v-85f8336d"]]),xSe={class:"main-container"},ASe=J({__name:"index",setup(e){return(t,n)=>(w(),M(Re,null,[B(B$e),k("div",xSe,[B(bSe),B(v7),B(m7)])],64))}});const D6=Zt(ASe,[["__scopeId","data-v-0191c8cb"]]),LSe={class:"header-inner"},ISe=J({__name:"index",setup(e){const t=ra(),n=ss(),o=E(()=>t.permission_routes),r=Tn(),l=E(()=>{const{meta:s,path:i}=n;return s.activeMenu?s.activeMenu:i}),a=E(()=>r.themeConfig);return E(()=>!r.isCollapse),(s,i)=>{const c=Ie("el-menu");return w(),M(Re,null,[B(o7),k("div",{class:A(["m-layout-header",{"fixed-header":u(a).fixedHeader}])},[k("div",LSe,[B(c,{mode:"horizontal","default-active":u(l),"background-color":"#304156","text-color":"#bfcbd9","unique-opened":u(r).themeConfig.uniqueOpened,"collapse-transition":!1,class:"menu-horizontal"},{default:q(()=>[(w(!0),M(Re,null,ct(u(o),f=>(w(),ie(t7,{key:f.path,item:f,"base-path":f.path},null,8,["item","base-path"]))),128))]),_:1},8,["default-active","unique-opened"]),B(p7)]),u(a).showTag?(w(),ie(h7,{key:0})):ue("",!0)],2)],64)}}});const zSe=Zt(ISe,[["__scopeId","data-v-d4d95de6"]]),OSe={class:"main-container"},NSe=J({__name:"index",setup(e){return(t,n)=>(w(),M("div",OSe,[B(zSe),B(v7),B(m7)]))}});const PSe=Zt(NSe,[["__scopeId","data-v-9bfbe65d"]]),RSe=J({__name:"index",setup(e){const t=Tn(),n=E(()=>t.themeConfig),o={horizontal:PSe,vertical:D6};E(()=>!t.isCollapse);let{device:r}=z_();we(()=>r.value,a=>{let s=a==="mobile"?"vertical":n.value.mode;document.body.setAttribute("class",`layout-${s}`)},{immediate:!0});const l=E(()=>({hideSidebar:!t.isCollapse,openSidebar:t.isCollapse,withoutAnimation:t.withoutAnimation,mobile:r.value==="mobile"}));return(a,s)=>(w(),M("div",{class:A(["g-container-layout",u(l)])},[B(Uwe),u(r)==="mobile"?(w(),ie(D6,{key:0})):(w(),ie(st(o[u(n).mode]),{key:1})),B(Kwe)],2))}});const zo=Zt(RSe,[["__scopeId","data-v-5c3baaf2"]]),VSe=[{path:"/table",component:zo,redirect:"/table/comprehensive",name:"table",meta:{title:"\u8D85\u7EA7\u8868\u683C",icon:"School"},children:[{path:"comprehensive",component:()=>ut(()=>import("./index.63a015b4.js"),["assets/index.63a015b4.js","assets/index.ee732d38.css"]),name:"comprehensive",meta:{title:"\u7EFC\u5408\u8868\u683C",keepAlive:!0,icon:"MenuIcon"}},{path:"inline-table",component:()=>ut(()=>import("./index.91723afd.js"),["assets/index.91723afd.js","assets/index.85258979.css"]),name:"inline-table",meta:{title:"\u884C\u5185\u7F16\u8F91",keepAlive:!0,icon:"MenuIcon"}},{path:"editableProTable",component:()=>ut(()=>import("./index.92f25605.js"),["assets/index.92f25605.js","assets/index.df27b91b.css","assets/index.5be08a55.js"]),name:"edit-table",meta:{title:"\u53EF\u7F16\u8F91\u8868\u683C",keepAlive:!0,icon:"MenuIcon"}}]}],HSe=[{path:"/dataScreen",name:"dataScreen",meta:{title:"\u53EF\u89C6\u5316\u5927\u5C4F",icon:"Histogram"},component:()=>ut(()=>import("./index.4f40a22c.js"),["assets/index.4f40a22c.js","assets/index.386c25cb.css","assets/index.c24c70a5.js","assets/index.201c3aba.js","assets/index.vue_vue_type_script_setup_true_lang.c3cd7d59.js"])}],FSe=[{path:"/excel",component:zo,redirect:"/excel/export-excel",name:"excel",meta:{title:"Excel&Zip",icon:"School"},children:[{path:"export-excel",component:()=>ut(()=>import("./index.d7f6bf17.js"),["assets/index.d7f6bf17.js","assets/index.a6563d0e.css","assets/exprotExcel.30cae770.js","assets/exceljs.min.ee80950b.js"]),name:"export-excel",meta:{title:"\u5BFC\u51FA Excel",icon:"MenuIcon"}},{path:"export-merge-header",component:()=>ut(()=>import("./index.b212ad21.js"),["assets/index.b212ad21.js","assets/index.df380b98.css","assets/exprotExcel.30cae770.js","assets/exceljs.min.ee80950b.js"]),name:"export-merge-header",meta:{title:"\u5BFC\u51FA \u591A\u7EA7\u8868\u5934",icon:"MenuIcon"}},{path:"upload-style-excel",component:()=>ut(()=>import("./index.3b541407.js"),["assets/index.3b541407.js","assets/index.1879c92d.css","assets/exprotExcel.30cae770.js","assets/exceljs.min.ee80950b.js"]),name:"upload-style-excel",meta:{title:"\u81EA\u5B9A\u4E49\u6837\u5F0F\u5BFC\u51FA Excel",icon:"MenuIcon"}},{path:"upload-excel",component:()=>ut(()=>import("./index.6ac8e37b.js"),["assets/index.6ac8e37b.js","assets/index.77032e84.css","assets/exceljs.min.ee80950b.js"]),name:"upload-excel",meta:{title:"\u4E0A\u4F20 Excel",icon:"MenuIcon"}},{path:"zip",component:()=>ut(()=>import("./index.696b3ae6.js"),["assets/index.696b3ae6.js","assets/index.bdd8079d.css","assets/exceljs.min.ee80950b.js"]),name:"Zip",meta:{title:"\u5BFC\u51FA Zip",roles:["other"],icon:"MenuIcon"}}]}],BSe=[{path:"/nested",component:zo,redirect:"/form/menu1",name:"nested",meta:{title:"\u8DEF\u7531\u5D4C\u5957",icon:"HelpFilled"},children:[{path:"menu1",component:()=>ut(()=>import("./index.735095b4.js"),[]),name:"menu1",meta:{title:"\u83DC\u53551",icon:"MenuIcon"},alwaysShow:!0,children:[{path:"menu1-1",component:()=>ut(()=>import("./index.e0b2f51b.js"),[]),name:"menu1-1",meta:{title:"\u83DC\u5355 1-1",icon:"MenuIcon"}},{path:"menu1-2",component:()=>ut(()=>import("./index.47ebdf78.js"),[]),name:"menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:"\u83DC\u5355 1-2",icon:"MenuIcon"},children:[{path:"menu1-2-1",component:()=>ut(()=>import("./index.1af220c7.js"),[]),name:"menu1-2-1",meta:{title:"\u83DC\u5355 1-2-1",icon:"MenuIcon"}},{path:"menu1-2-2",component:()=>ut(()=>import("./index.f695f769.js"),[]),name:"menu1-2-2",meta:{title:"\u83DC\u5355 1-2-2",icon:"MenuIcon"}}]},{path:"menu1-3",component:()=>ut(()=>import("./index.45a3c1dc.js"),[]),name:"menu1-3",meta:{title:"\u83DC\u5355 1-3",icon:"MenuIcon"}}]},{path:"menu2",component:()=>ut(()=>import("./index.6ed55069.js"),[]),name:"nested-menu2",meta:{title:"\u83DC\u53552",icon:"MenuIcon"}}]}],DSe=[{path:"/system",component:zo,redirect:"/system/page",name:"system",meta:{title:"\u7CFB\u7EDF\u7BA1\u7406",icon:"Setting"},children:[{path:"user",component:()=>ut(()=>import("./index.473996a5.js"),["assets/index.473996a5.js","assets/index.da76a7e9.css","assets/system.79236d81.js"]),name:"user",meta:{title:"\u7528\u6237\u7BA1\u7406",icon:"MenuIcon"}},{path:"dept",component:()=>ut(()=>import("./index.a3314aae.js"),["assets/index.a3314aae.js","assets/index.a834a9a7.css","assets/system.79236d81.js"]),name:"dept",meta:{title:"\u90E8\u95E8\u7BA1\u7406",icon:"MenuIcon"}},{path:"role",component:()=>ut(()=>import("./index.98ffd9c0.js"),["assets/index.98ffd9c0.js","assets/index.bccec156.css","assets/system.79236d81.js"]),name:"role",meta:{title:"\u89D2\u8272\u7BA1\u7406",icon:"MenuIcon"}},{path:"menu",component:()=>ut(()=>import("./index.ddf6c1ec.js"),["assets/index.ddf6c1ec.js","assets/index.d38a94fa.css","assets/system.79236d81.js"]),name:"menu",meta:{title:"\u83DC\u5355\u7BA1\u7406",icon:"MenuIcon"}},{path:"dictionary",component:()=>ut(()=>import("./index.e89d5f33.js"),["assets/index.e89d5f33.js","assets/index.a228bc1c.css","assets/system.79236d81.js"]),name:"dictionary",meta:{title:"\u5B57\u5178\u7BA1\u7406",icon:"MenuIcon"}}]}],KSe=[{path:"/echarts",component:zo,redirect:"/echarts/migration",name:"echarts",meta:{title:"Echarts",icon:"trend-charts",roles:["other"]},children:[{path:"migration",component:()=>ut(()=>import("./index.bb5388a0.js"),["assets/index.bb5388a0.js","assets/index.7c5448ac.css","assets/index.vue_vue_type_script_setup_true_lang.c3cd7d59.js","assets/index.201c3aba.js"]),name:"migration",meta:{title:"\u8FC1\u5F99\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"bar",component:()=>ut(()=>import("./index.9f1c23fa.js"),["assets/index.9f1c23fa.js","assets/index.ae81d83b.css","assets/index.201c3aba.js"]),name:"bar",meta:{title:"\u67F1\u72B6\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"graph",component:()=>ut(()=>import("./index.bd6cc042.js"),["assets/index.bd6cc042.js","assets/index.dea02a2d.css","assets/index.201c3aba.js"]),name:"graph",meta:{title:"\u96F7\u8FBE\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"pie",component:()=>ut(()=>import("./index.f535e55f.js"),["assets/index.f535e55f.js","assets/index.4f0b808a.css","assets/index.201c3aba.js"]),name:"pie",meta:{title:"\u997C\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"simple",component:()=>ut(()=>import("./index.6535d4ca.js"),["assets/index.6535d4ca.js","assets/index.470808bd.css","assets/index.201c3aba.js","assets/bar.vue_vue_type_script_setup_true_lang.59811325.js"]),name:"echarts-simple",meta:{title:"\u7B80\u5355\u56FE\u8868",roles:["other"],icon:"MenuIcon"}}]}],WSe=[{path:"/chat",component:zo,redirect:"/charts/index",name:"chat",meta:{title:"\u804A\u5929\u6846",icon:"chat-square"},children:[{path:"index",component:()=>ut(()=>import("./index.39508d0f.js"),["assets/index.39508d0f.js","assets/index.d55ee797.css"]),name:"chatBox",meta:{title:"\u804A\u5929\u6846",icon:"chat-square"}}]}],jSe=[{path:"/other",component:zo,redirect:"/other/clipboard",name:"other",meta:{title:"\u5E38\u7528\u7EC4\u4EF6",icon:"management"},children:[{path:"clipboard",component:()=>ut(()=>import("./index.35edcba8.js"),[]),name:"clipboard",meta:{title:"\u526A\u8D34\u677F",roles:["other"],icon:"MenuIcon"}},{path:"editor",component:()=>ut(()=>import("./index.6352a6e1.js"),["assets/index.6352a6e1.js","assets/index.9ff4e7fe.css"]),name:"editor",meta:{title:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",roles:["other"],icon:"MenuIcon"}},{path:"code-mirror",component:()=>ut(()=>import("./index.fb671bc4.js"),["assets/index.fb671bc4.js","assets/index.1b75285b.css"]),name:"code-mirror",meta:{title:"\u4EE3\u7801\u7F16\u8F91\u5668",roles:["other"],icon:"MenuIcon"}},{path:"mark-down",component:()=>ut(()=>import("./index.4380035e.js"),["assets/index.4380035e.js","assets/index.6ee8dfa0.css"]),name:"mark-down",meta:{title:"markDown",roles:["other"],icon:"MenuIcon"}},{path:"print",component:()=>ut(()=>import("./index.82fbc83f.js"),[]),name:"print",meta:{title:"\u6253\u5370",icon:"MenuIcon"}},{path:"cropper",component:()=>ut(()=>import("./index.cbae27bb.js"),["assets/index.cbae27bb.js","assets/index.53e5ddc1.css"]),name:"cropper",meta:{title:"\u5934\u50CF\u88C1\u526A",icon:"MenuIcon"}},{path:"card-drag",component:()=>ut(()=>import("./index.0737fe3b.js"),["assets/index.0737fe3b.js","assets/index.6f9042fc.css","assets/index.5be08a55.js"]),name:"card-drag",meta:{title:"\u5361\u7247\u62D6\u62FD",icon:"MenuIcon"}},{path:"upload",component:()=>ut(()=>import("./index.b8f99a26.js"),["assets/index.b8f99a26.js","assets/index.c6612b83.css"]),name:"upload",meta:{title:"\u4E0A\u4F20\u56FE\u7247",icon:"MenuIcon"}},{path:"qrcode",component:()=>ut(()=>import("./index.9a238e2e.js"),["assets/index.9a238e2e.js","assets/vue-qr.fbb19789.js","assets/index.5be08a55.js"]),name:"qrcode",meta:{title:"\u751F\u6210\u4E8C\u7EF4\u7801",icon:"MenuIcon"}},{path:"svgIcon",component:()=>ut(()=>import("./index.37779a13.js"),["assets/index.37779a13.js","assets/index.05456e02.css"]),name:"svgIcon",meta:{title:"svg \u56FE\u6807",icon:"MenuIcon"}},{path:"iconfont",component:()=>ut(()=>import("./index.4c5e2966.js"),["assets/index.4c5e2966.js","assets/index.19b422fb.css"]),name:"iconfont",meta:{title:"\u963F\u91CC\u56FE\u6807\u5E93",icon:"MenuIcon"}},{path:"water-marker",component:()=>ut(()=>import("./index.198fbab8.js"),["assets/index.198fbab8.js","assets/index.5fb67817.css","assets/index.5be08a55.js"]),name:"water-marker",meta:{title:"\u751F\u6210\u6C34\u5370",icon:"MenuIcon"}},{path:"right-menu",component:()=>ut(()=>import("./index.23771fd6.js"),["assets/index.23771fd6.js","assets/index.109e9ac9.css"]),name:"right-menu",meta:{title:"\u53F3\u952E\u83DC\u5355",icon:"MenuIcon"}},{path:"count",component:()=>ut(()=>import("./index.430b664c.js"),["assets/index.430b664c.js","assets/index.fd80bebf.css","assets/index.c24c70a5.js"]),name:"count",meta:{title:"\u6570\u5B57\u52A8\u753B",icon:"MenuIcon"}},{path:"text-clamp",component:()=>ut(()=>import("./index.c531920c.js"),["assets/index.c531920c.js","assets/index.5a29b4a8.css"]),name:"text-clamp",meta:{title:"\u591A\u884C\u6587\u672C\u7701\u7565",icon:"MenuIcon"}}]}],USe=[{path:"/external-link",component:zo,redirect:"noRedirect",name:"external-link",meta:{title:"\u5916\u90E8\u94FE\u63A5",icon:"link"},children:[{path:"wechat",name:"wechat",component:()=>ut(()=>import("./index.aaa08644.js"),[]),meta:{title:"\u52A0\u5FAE\u4FE1\u7FA4",icon:"MenuIcon"}},{path:"https://github.com/zouzhibin/vue-admin-perfect",name:"github",meta:{title:"Github \u5730\u5740",icon:"MenuIcon"}},{path:"https://gitee.com/yuanzbz/vue-admin-perfect?_from=gitee_search",name:"github",meta:{title:"Gitee \u5730\u5740",icon:"MenuIcon"}},{path:"http://182.61.5.190:8890/#/login",name:"simple",meta:{title:"\u7B80\u6613\u7248\u672C",icon:"MenuIcon"},component:()=>ut(()=>import("./index.437dac93.js"),[])},{path:"iframe",component:()=>ut(()=>import("./index.6043017c.js"),["assets/index.6043017c.js","assets/index.a5f4d127.css"]),name:"iframe",meta:{title:"\u5185\u5D4C iframe",icon:"MenuIcon"}}]}],qSe=[{path:"/form",component:zo,redirect:"/form/validateForm",name:"form",alwaysShow:!0,meta:{title:"\u8D85\u7EA7\u8868\u5355",icon:"Grape"},children:[{path:"validateForm",component:()=>ut(()=>import("./index.8f39252e.js"),[]),name:"validateForm",meta:{title:"\u6821\u9A8C Form",keepAlive:!0,icon:"MenuIcon"}},{path:"advancedForm",component:()=>ut(()=>import("./index.37e02752.js"),["assets/index.37e02752.js","assets/index.cd87b3e1.css"]),name:"advancedForm",meta:{title:"\u6536\u7F29 Form",icon:"MenuIcon"}},{path:"appendForm",component:()=>ut(()=>import("./index.4b486991.js"),["assets/index.4b486991.js","assets/index.6d827c07.css"]),name:"appendForm",meta:{title:"\u589E\u5220 Form",keepAlive:!0,icon:"MenuIcon"}},{path:"moreForm",component:()=>ut(()=>import("./index.82b2dc7c.js"),["assets/index.82b2dc7c.js","assets/index.395373ae.css"]),name:"moreForm",meta:{title:"\u591A\u8868\u5355\u9A8C\u8BC1",keepAlive:!0,icon:"MenuIcon"}}]}],YSe=[{path:"/function-page",component:zo,redirect:"/function-page/404",name:"function-page",meta:{title:"\u529F\u80FD\u9875\u9762",icon:"ElementPlus"},children:[{path:"tools",component:()=>ut(()=>import("./index.a2103400.js"),["assets/index.a2103400.js","assets/index.ba6e134e.css"]),name:"tools",meta:{title:"\u5DE5\u5177\u94FE\u96C6\u5408",keepAlive:!0,icon:"MenuIcon"}},{path:"404",component:()=>ut(()=>import("./404.13883056.js"),["assets/404.13883056.js","assets/404.4ec2c0d6.css"]),name:"function-404",meta:{title:"404 \u9875\u9762",keepAlive:!0,icon:"MenuIcon"}},{path:"403",component:()=>ut(()=>import("./403.0ed9eeb7.js"),["assets/403.0ed9eeb7.js","assets/403.df292cdf.css"]),name:"function-403",meta:{title:"403 \u9875\u9762",keepAlive:!0,icon:"MenuIcon"}},{path:"fullscreen",component:()=>ut(()=>import("./index.db3b52d0.js"),["assets/index.db3b52d0.js","assets/index.aa7b49db.css"]),name:"fullscreen",meta:{title:"\u5143\u7D20 \u5168\u5C4F",keepAlive:!0,icon:"MenuIcon"}},{path:"information-list",component:()=>ut(()=>import("./index.5ac29daf.js"),["assets/index.5ac29daf.js","assets/index.4512a2c6.css"]),name:"informationList",meta:{title:"\u4FE1\u606F\u5217\u8868",keepAlive:!0,icon:"MenuIcon"}}]}],Lu=[...HSe,...KSe,...VSe,...qSe,...jSe,...YSe,...WSe,...BSe,...FSe,...USe,...DSe],g7=[{path:"/404",name:"404",component:()=>ut(()=>import("./404.13883056.js"),["assets/404.13883056.js","assets/404.4ec2c0d6.css"]),hidden:!0},{path:"/403",name:"403",component:()=>ut(()=>import("./403.0ed9eeb7.js"),["assets/403.0ed9eeb7.js","assets/403.df292cdf.css"]),hidden:!0},{path:"/login",name:"Login",component:()=>ut(()=>import("./index.38a2c0ba.js"),["assets/index.38a2c0ba.js","assets/index.8c98cc8e.css","assets/index.5be08a55.js","assets/vue-qr.fbb19789.js"]),hidden:!0,meta:{title:"\u767B\u5F55"}},{path:"/",name:"layout",component:zo,redirect:"/home",children:[{path:"/home",component:()=>ut(()=>import("./index.336ad7cd.js"),["assets/index.336ad7cd.js","assets/index.0a328272.css","assets/index.c24c70a5.js","assets/bar.vue_vue_type_script_setup_true_lang.59811325.js","assets/index.201c3aba.js"]),name:"home",meta:{title:"\u9996\u9875",icon:"House",affix:!0,role:["other"]}}]}],GSe={path:"/:pathMatch(.*)",name:"notFound",redirect:"/404"},rs=_C({history:Ow("/vue-admin-perfect/"),routes:g7});function XSe(e){return typeof e=="object"&&e!==null}function K6(e,t){return e=XSe(e)?e:Object.create(null),new Proxy(e,{get(n,o,r){return Reflect.get(n,o,r)||Reflect.get(t,o,r)}})}function ZSe(e,t){return t.reduce((n,o)=>n==null?void 0:n[o],e)}function JSe(e,t,n){return t.slice(0,-1).reduce((o,r)=>/^(__proto__)$/.test(r)?{}:o[r]=o[r]||{},e)[t[t.length-1]]=n,e}function QSe(e,t){return t.reduce((n,o)=>{const r=o.split(".");return JSe(n,r,ZSe(e,r))},{})}function W6(e,t,n,o){try{const r=t==null?void 0:t.getItem(o);r&&e.$patch(n==null?void 0:n.deserialize(r))}catch{}}function eEe(e={}){return t=>{const{options:{persist:n},store:o}=t;if(!n)return;const r=(Array.isArray(n)?n.map(l=>K6(l,e)):[K6(n,e)]).map(({storage:l=localStorage,beforeRestore:a=null,afterRestore:s=null,serializer:i={serialize:JSON.stringify,deserialize:JSON.parse},key:c=o.$id,paths:f=null})=>({storage:l,beforeRestore:a,afterRestore:s,serializer:i,key:c,paths:f}));r.forEach(l=>{const{storage:a,serializer:s,key:i,paths:c,beforeRestore:f,afterRestore:d}=l;f==null||f(t),W6(o,a,s,i),d==null||d(t),o.$subscribe((p,v)=>{try{const h=Array.isArray(c)?QSe(v,c):v;a.setItem(i,s.serialize(h))}catch{}},{detached:!0})}),o.$hydrate=({runHooks:l=!0}={})=>{r.forEach(a=>{const{beforeRestore:s,afterRestore:i,storage:c,serializer:f,key:d}=a;l&&(s==null||s(t)),W6(o,c,f,d),l&&(i==null||i(t))})}}}var tEe=eEe();Ri({id:"globalState",state:()=>({}),getters:{},actions:{},persist:{key:"globalState",storage:window.sessionStorage}});const _7=sw();_7.use(tEe);const nEe=e=>{Object.keys(j0).forEach(t=>{t!=="Menu"?e.component(t,j0[t]):e.component(t+"Icon",j0[t])})};const oEe={},rEe={class:"m-container-layout"},lEe={class:"m-container-layout-inner"};function aEe(e,t){return w(),M("div",rEe,[k("div",lEe,[ye(e.$slots,"default",{},void 0,!0)])])}const sEe=Zt(oEe,[["render",aEe],["__scopeId","data-v-c600760e"]]);var b7={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + */const d$e="9.2.2";function f$e(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(qs().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(qs().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(qs().__INTLIFY_PROD_DEVTOOLS__=!1)}qCe.__EXTEND_POINT__;let Y_=It.__EXTEND_POINT__;const Fn=()=>++Y_,ln={UNEXPECTED_RETURN_TYPE:Y_,INVALID_ARGUMENT:Fn(),MUST_BE_CALL_SETUP_TOP:Fn(),NOT_INSLALLED:Fn(),NOT_AVAILABLE_IN_LEGACY_MODE:Fn(),REQUIRED_VALUE:Fn(),INVALID_VALUE:Fn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Fn(),NOT_INSLALLED_WITH_PROVIDE:Fn(),UNEXPECTED_ERROR:Fn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Fn(),BRIDGE_SUPPORT_VUE_2_ONLY:Fn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Fn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Fn(),__EXTEND_POINT__:Fn()};function cn(e,...t){return S0(e,null,void 0)}const X2=fl("__transrateVNode"),Z2=fl("__datetimeParts"),J2=fl("__numberParts"),G_=fl("__setPluralRules");fl("__intlifyMeta");const X_=fl("__injectWithOption");function Q2(e){if(!qt(e))return e;for(const t in e)if(!!s4(e,t))if(!t.includes("."))qt(e[t])&&Q2(e[t]);else{const n=t.split("."),o=n.length-1;let r=e;for(let l=0;l{if("locale"in s&&"resource"in s){const{locale:i,resource:c}=s;i?(a[i]=a[i]||{},Ys(c,a[i])):Ys(c,a)}else Je(s)&&Ys(JSON.parse(s),a)}),r==null&&l)for(const s in a)s4(a,s)&&Q2(a[s]);return a}const xu=e=>!qt(e)||Ut(e);function Ys(e,t){if(xu(e)||xu(t))throw cn(ln.INVALID_VALUE);for(const n in e)s4(e,n)&&(xu(e[n])||xu(t[n])?t[n]=e[n]:Ys(e[n],t[n]))}function Z_(e){return e.type}function J_(e,t,n){let o=qt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=M0(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(l=>{e.mergeLocaleMessage(l,o[l])});{if(qt(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(qt(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function k6(e){return B(el,null,e,0)}const S6="__INTLIFY_META__";let E6=0;function M6(e){return(t,n,o,r)=>e(n,o,Qe()||void 0,r)}const p$e=()=>{const e=Qe();let t=null;return e&&(t=Z_(e)[S6])?{[S6]:t}:null};function d4(e={},t){const{__root:n}=e,o=n===void 0;let r=At(e.inheritLocale)?e.inheritLocale:!0;const l=z(n&&r?n.locale.value:Je(e.locale)?e.locale:nu),a=z(n&&r?n.fallbackLocale.value:Je(e.fallbackLocale)||Ut(e.fallbackLocale)||wt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),s=z(M0(l.value,e)),i=z(wt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),c=z(wt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let f=n?n.missingWarn:At(e.missingWarn)||il(e.missingWarn)?e.missingWarn:!0,d=n?n.fallbackWarn:At(e.fallbackWarn)||il(e.fallbackWarn)?e.fallbackWarn:!0,p=n?n.fallbackRoot:At(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,h=en(e.missing)?e.missing:null,m=en(e.missing)?M6(e.missing):null,_=en(e.postTranslation)?e.postTranslation:null,g=n?n.warnHtmlMessage:At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const b=n?n.modifiers:wt(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,$;$=(()=>{o&&v6(null);const ee={version:d$e,locale:l.value,fallbackLocale:a.value,messages:s.value,modifiers:b,pluralRules:C,missing:m===null?void 0:m,missingWarn:f,fallbackWarn:d,fallbackFormat:v,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:g,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};ee.datetimeFormats=i.value,ee.numberFormats=c.value,ee.__datetimeFormatters=wt($)?$.__datetimeFormatters:void 0,ee.__numberFormatters=wt($)?$.__numberFormatters:void 0;const me=r$e(ee);return o&&v6(me),me})(),ks($,l.value,a.value);function x(){return[l.value,a.value,s.value,i.value,c.value]}const T=E({get:()=>l.value,set:ee=>{l.value=ee,$.locale=l.value}}),I=E({get:()=>a.value,set:ee=>{a.value=ee,$.fallbackLocale=a.value,ks($,l.value,ee)}}),L=E(()=>s.value),K=E(()=>i.value),H=E(()=>c.value);function R(){return en(_)?_:null}function P(ee){_=ee,$.postTranslation=ee}function W(){return h}function j(ee){ee!==null&&(m=M6(ee)),h=ee,$.missing=m}const N=(ee,me,Ne,He,Ze,ot)=>{x();let je;if(__INTLIFY_PROD_DEVTOOLS__)try{h6(p$e()),o||($.fallbackContext=n?o$e():void 0),je=ee($)}finally{h6(null),o||($.fallbackContext=void 0)}else je=ee($);if(un(je)&&je===E0){const[Z,he]=me();return n&&p?He(n):Ze(Z)}else{if(ot(je))return je;throw cn(ln.UNEXPECTED_RETURN_TYPE)}};function F(...ee){return N(me=>Reflect.apply(b6,null,[me,...ee]),()=>q2(...ee),"translate",me=>Reflect.apply(me.t,me,[...ee]),me=>me,me=>Je(me))}function V(...ee){const[me,Ne,He]=ee;if(He&&!qt(He))throw cn(ln.INVALID_ARGUMENT);return F(me,Ne,gn({resolvedMessage:!0},He||{}))}function X(...ee){return N(me=>Reflect.apply(y6,null,[me,...ee]),()=>Y2(...ee),"datetime format",me=>Reflect.apply(me.d,me,[...ee]),()=>f6,me=>Je(me))}function se(...ee){return N(me=>Reflect.apply(C6,null,[me,...ee]),()=>G2(...ee),"number format",me=>Reflect.apply(me.n,me,[...ee]),()=>f6,me=>Je(me))}function G(ee){return ee.map(me=>Je(me)||un(me)||At(me)?k6(String(me)):me)}const Ce={normalize:G,interpolate:ee=>ee,type:"vnode"};function oe(...ee){return N(me=>{let Ne;const He=me;try{He.processor=Ce,Ne=Reflect.apply(b6,null,[He,...ee])}finally{He.processor=null}return Ne},()=>q2(...ee),"translate",me=>me[X2](...ee),me=>[k6(me)],me=>Ut(me))}function pe(...ee){return N(me=>Reflect.apply(C6,null,[me,...ee]),()=>G2(...ee),"number format",me=>me[J2](...ee),()=>[],me=>Je(me)||Ut(me))}function te(...ee){return N(me=>Reflect.apply(y6,null,[me,...ee]),()=>Y2(...ee),"datetime format",me=>me[Z2](...ee),()=>[],me=>Je(me)||Ut(me))}function Q(ee){C=ee,$.pluralRules=C}function ce(ee,me){const Ne=Je(me)?me:l.value,He=Y(Ne);return $.messageResolver(He,ee)!==null}function ge(ee){let me=null;const Ne=R_($,a.value,l.value);for(let He=0;He{r&&(l.value=ee,$.locale=ee,ks($,l.value,a.value))}),we(n.fallbackLocale,ee=>{r&&(a.value=ee,$.fallbackLocale=ee,ks($,l.value,a.value))}));const be={id:E6,locale:T,fallbackLocale:I,get inheritLocale(){return r},set inheritLocale(ee){r=ee,ee&&n&&(l.value=n.locale.value,a.value=n.fallbackLocale.value,ks($,l.value,a.value))},get availableLocales(){return Object.keys(s.value).sort()},messages:L,get modifiers(){return b},get pluralRules(){return C||{}},get isGlobal(){return o},get missingWarn(){return f},set missingWarn(ee){f=ee,$.missingWarn=f},get fallbackWarn(){return d},set fallbackWarn(ee){d=ee,$.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(ee){p=ee},get fallbackFormat(){return v},set fallbackFormat(ee){v=ee,$.fallbackFormat=v},get warnHtmlMessage(){return g},set warnHtmlMessage(ee){g=ee,$.warnHtmlMessage=ee},get escapeParameter(){return y},set escapeParameter(ee){y=ee,$.escapeParameter=ee},t:F,getLocaleMessage:Y,setLocaleMessage:O,mergeLocaleMessage:D,getPostTranslationHandler:R,setPostTranslationHandler:P,getMissingHandler:W,setMissingHandler:j,[G_]:Q};return be.datetimeFormats=K,be.numberFormats=H,be.rt=V,be.te=ce,be.tm=Le,be.d=X,be.n=se,be.getDateTimeFormat=ne,be.setDateTimeFormat=ve,be.mergeDateTimeFormat=de,be.getNumberFormat=$e,be.setNumberFormat=_e,be.mergeNumberFormat=xe,be[X_]=e.__injectWithOption,be[X2]=oe,be[Z2]=te,be[J2]=pe,be}function h$e(e){const t=Je(e.locale)?e.locale:nu,n=Je(e.fallbackLocale)||Ut(e.fallbackLocale)||wt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=en(e.missing)?e.missing:void 0,r=At(e.silentTranslationWarn)||il(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=At(e.silentFallbackWarn)||il(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=At(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,i=wt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,f=en(e.postTranslation)?e.postTranslation:void 0,d=Je(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,p=!!e.escapeParameterHtml,v=At(e.sync)?e.sync:!0;let h=e.messages;if(wt(e.sharedMessages)){const $=e.sharedMessages;h=Object.keys($).reduce((x,T)=>{const I=x[T]||(x[T]={});return gn(I,$[T]),x},h||{})}const{__i18n:m,__root:_,__injectWithOption:g}=e,y=e.datetimeFormats,b=e.numberFormats,C=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:C,datetimeFormats:y,numberFormats:b,missing:o,missingWarn:r,fallbackWarn:l,fallbackRoot:a,fallbackFormat:s,modifiers:i,pluralRules:c,postTranslation:f,warnHtmlMessage:d,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:v,__i18n:m,__root:_,__injectWithOption:g}}function e1(e={},t){{const n=d4(h$e(e)),o={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return At(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=At(r)?!r:r},get silentFallbackWarn(){return At(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=At(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[l,a,s]=r,i={};let c=null,f=null;if(!Je(l))throw cn(ln.INVALID_ARGUMENT);const d=l;return Je(a)?i.locale=a:Ut(a)?c=a:wt(a)&&(f=a),Ut(s)?c=s:wt(s)&&(f=s),Reflect.apply(n.t,n,[d,c||f||{},i])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[l,a,s]=r,i={plural:1};let c=null,f=null;if(!Je(l))throw cn(ln.INVALID_ARGUMENT);const d=l;return Je(a)?i.locale=a:un(a)?i.plural=a:Ut(a)?c=a:wt(a)&&(f=a),Je(s)?i.locale=s:Ut(s)?c=s:wt(s)&&(f=s),Reflect.apply(n.t,n,[d,c||f||{},i])},te(r,l){return n.te(r,l)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,l){n.setLocaleMessage(r,l)},mergeLocaleMessage(r,l){n.mergeLocaleMessage(r,l)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,l){n.setDateTimeFormat(r,l)},mergeDateTimeFormat(r,l){n.mergeDateTimeFormat(r,l)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,l){n.setNumberFormat(r,l)},mergeNumberFormat(r,l){n.mergeNumberFormat(r,l)},getChoiceIndex(r,l){return-1},__onComponentInstanceCreated(r){const{componentInstanceCreatedListener:l}=e;l&&l(r,o)}};return o}}const f4={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function v$e({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>o=[...o,...Ut(r.children)?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function Q_(e){return Re}const T6={name:"i18n-t",props:gn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>un(e)||!isNaN(e)}},f4),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||T0({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Je(e.plural)?+e.plural:e.plural);const s=v$e(t,l),i=r[X2](e.keypath,s,a),c=gn({},o),f=Je(e.tag)||qt(e.tag)?e.tag:Q_();return Ke(f,c,i)}}};function m$e(e){return Ut(e)&&!Je(e[0])}function e7(e,t,n,o){const{slots:r,attrs:l}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Je(e.format)?a.key=e.format:qt(e.format)&&(Je(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((p,v)=>n.includes(v)?gn({},p,{[v]:e.format[v]}):p,{}));const i=o(e.value,a,s);let c=[a.key];Ut(i)?c=i.map((p,v)=>{const h=r[p.type],m=h?h({[p.type]:p.value,index:v,parts:i}):[p.value];return m$e(m)&&(m[0].key=`${p.type}-${v}`),m}):Je(i)&&(c=[i]);const f=gn({},l),d=Je(e.tag)||qt(e.tag)?e.tag:Q_();return Ke(d,f,c)}}const x6={name:"i18n-n",props:gn({value:{type:Number,required:!0},format:{type:[String,Object]}},f4),setup(e,t){const n=e.i18n||T0({useScope:"parent",__useComponent:!0});return e7(e,t,q_,(...o)=>n[J2](...o))}},A6={name:"i18n-d",props:gn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},f4),setup(e,t){const n=e.i18n||T0({useScope:"parent",__useComponent:!0});return e7(e,t,U_,(...o)=>n[Z2](...o))}};function g$e(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function _$e(e){const t=a=>{const{instance:s,modifiers:i,value:c}=a;if(!s||!s.$)throw cn(ln.UNEXPECTED_ERROR);const f=g$e(e,s.$),d=L6(c);return[Reflect.apply(f.t,f,[...I6(d)]),f]};return{created:(a,s)=>{const[i,c]=t(s);j2&&e.global===c&&(a.__i18nWatcher=we(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=i},unmounted:a=>{j2&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const i=a.__composer,c=L6(s);a.textContent=Reflect.apply(i.t,i,[...I6(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function L6(e){if(Je(e))return{path:e};if(wt(e)){if(!("path"in e))throw cn(ln.REQUIRED_VALUE,"path");return e}else throw cn(ln.INVALID_VALUE)}function I6(e){const{path:t,locale:n,args:o,choice:r,plural:l}=e,a={},s=o||{};return Je(n)&&(a.locale=n),un(r)&&(a.plural=r),un(l)&&(a.plural=l),[t,s,a]}function b$e(e,t,...n){const o=wt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(At(o.globalInstall)?o.globalInstall:!0)&&(e.component(r?"i18n":T6.name,T6),e.component(x6.name,x6),e.component(A6.name,A6)),e.directive("t",_$e(t))}function y$e(e,t,n){return{beforeCreate(){const o=Qe();if(!o)throw cn(ln.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const l=r.i18n;r.__i18n&&(l.__i18n=r.__i18n),l.__root=t,this===this.$root?this.$i18n=z6(e,l):(l.__injectWithOption=!0,this.$i18n=e1(l))}else r.__i18n?this===this.$root?this.$i18n=z6(e,r):this.$i18n=e1({__i18n:r.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;r.__i18nGlobal&&J_(t,r,r),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(o,this.$i18n),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$tc=(...l)=>this.$i18n.tc(...l),this.$te=(l,a)=>this.$i18n.te(l,a),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l)},mounted(){},unmounted(){const o=Qe();if(!o)throw cn(ln.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(o),delete this.$i18n}}}function z6(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[G_](t.pluralizationRules||e.pluralizationRules);const n=M0(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const w$e=fl("global-vue-i18n");function C$e(e={},t){const n=__VUE_I18N_LEGACY_API__&&At(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=At(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,l=new Map,[a,s]=$$e(e,n),i=fl("");function c(p){return l.get(p)||null}function f(p,v){l.set(p,v)}function d(p){l.delete(p)}{const p={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(v,...h){v.__VUE_I18N_SYMBOL__=i,v.provide(v.__VUE_I18N_SYMBOL__,p),!n&&o&&I$e(v,p.global),__VUE_I18N_FULL_INSTALL__&&b$e(v,p,...h),__VUE_I18N_LEGACY_API__&&n&&v.mixin(y$e(s,s.__composer,p));const m=v.unmount;v.unmount=()=>{p.dispose(),m()}},get global(){return s},dispose(){a.stop()},__instances:l,__getInstance:c,__setInstance:f,__deleteInstance:d};return p}}function T0(e={}){const t=Qe();if(t==null)throw cn(ln.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw cn(ln.NOT_INSLALLED);const n=k$e(t),o=E$e(n),r=Z_(t),l=S$e(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw cn(ln.NOT_AVAILABLE_IN_LEGACY_MODE);return x$e(t,l,o,e)}if(l==="global")return J_(o,e,r),o;if(l==="parent"){let i=M$e(n,t,e.__useComponent);return i==null&&(i=o),i}const a=n;let s=a.__getInstance(t);if(s==null){const i=gn({},e);"__i18n"in r&&(i.__i18n=r.__i18n),o&&(i.__root=o),s=d4(i),T$e(a,t),a.__setInstance(t,s)}return s}function $$e(e,t,n){const o=Pc();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>e1(e)):o.run(()=>d4(e));if(r==null)throw cn(ln.UNEXPECTED_ERROR);return[o,r]}}function k$e(e){{const t=Ve(e.isCE?w$e:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw cn(e.isCE?ln.NOT_INSLALLED_WITH_PROVIDE:ln.UNEXPECTED_ERROR);return t}}function S$e(e,t){return k0(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function E$e(e){return e.mode==="composition"?e.global:e.global.__composer}function M$e(e,t,n=!1){let o=null;const r=t.root;let l=t.parent;for(;l!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(l);s!=null&&(o=s.__composer,n&&o&&!o[X_]&&(o=null))}if(o!=null||r===l)break;l=l.parent}return o}function T$e(e,t,n){tt(()=>{},t),xo(()=>{e.__deleteInstance(t)},t)}function x$e(e,t,n,o={}){const r=t==="local",l=zt(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw cn(ln.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=At(o.inheritLocale)?o.inheritLocale:!0,s=z(r&&a?n.locale.value:Je(o.locale)?o.locale:nu),i=z(r&&a?n.fallbackLocale.value:Je(o.fallbackLocale)||Ut(o.fallbackLocale)||wt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=z(M0(s.value,o)),f=z(wt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=z(wt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),p=r?n.missingWarn:At(o.missingWarn)||il(o.missingWarn)?o.missingWarn:!0,v=r?n.fallbackWarn:At(o.fallbackWarn)||il(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:At(o.fallbackRoot)?o.fallbackRoot:!0,m=!!o.fallbackFormat,_=en(o.missing)?o.missing:null,g=en(o.postTranslation)?o.postTranslation:null,y=r?n.warnHtmlMessage:At(o.warnHtmlMessage)?o.warnHtmlMessage:!0,b=!!o.escapeParameter,C=r?n.modifiers:wt(o.modifiers)?o.modifiers:{},$=o.pluralRules||r&&n.pluralRules;function S(){return[s.value,i.value,c.value,f.value,d.value]}const x=E({get:()=>l.value?l.value.locale.value:s.value,set:D=>{l.value&&(l.value.locale.value=D),s.value=D}}),T=E({get:()=>l.value?l.value.fallbackLocale.value:i.value,set:D=>{l.value&&(l.value.fallbackLocale.value=D),i.value=D}}),I=E(()=>l.value?l.value.messages.value:c.value),L=E(()=>f.value),K=E(()=>d.value);function H(){return l.value?l.value.getPostTranslationHandler():g}function R(D){l.value&&l.value.setPostTranslationHandler(D)}function P(){return l.value?l.value.getMissingHandler():_}function W(D){l.value&&l.value.setMissingHandler(D)}function j(D){return S(),D()}function N(...D){return l.value?j(()=>Reflect.apply(l.value.t,null,[...D])):j(()=>"")}function F(...D){return l.value?Reflect.apply(l.value.rt,null,[...D]):""}function V(...D){return l.value?j(()=>Reflect.apply(l.value.d,null,[...D])):j(()=>"")}function X(...D){return l.value?j(()=>Reflect.apply(l.value.n,null,[...D])):j(()=>"")}function se(D){return l.value?l.value.tm(D):{}}function G(D,ne){return l.value?l.value.te(D,ne):!1}function le(D){return l.value?l.value.getLocaleMessage(D):{}}function Ce(D,ne){l.value&&(l.value.setLocaleMessage(D,ne),c.value[D]=ne)}function oe(D,ne){l.value&&l.value.mergeLocaleMessage(D,ne)}function pe(D){return l.value?l.value.getDateTimeFormat(D):{}}function te(D,ne){l.value&&(l.value.setDateTimeFormat(D,ne),f.value[D]=ne)}function Q(D,ne){l.value&&l.value.mergeDateTimeFormat(D,ne)}function ce(D){return l.value?l.value.getNumberFormat(D):{}}function ge(D,ne){l.value&&(l.value.setNumberFormat(D,ne),d.value[D]=ne)}function Le(D,ne){l.value&&l.value.mergeNumberFormat(D,ne)}const Y={get id(){return l.value?l.value.id:-1},locale:x,fallbackLocale:T,messages:I,datetimeFormats:L,numberFormats:K,get inheritLocale(){return l.value?l.value.inheritLocale:a},set inheritLocale(D){l.value&&(l.value.inheritLocale=D)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(c.value)},get modifiers(){return l.value?l.value.modifiers:C},get pluralRules(){return l.value?l.value.pluralRules:$},get isGlobal(){return l.value?l.value.isGlobal:!1},get missingWarn(){return l.value?l.value.missingWarn:p},set missingWarn(D){l.value&&(l.value.missingWarn=D)},get fallbackWarn(){return l.value?l.value.fallbackWarn:v},set fallbackWarn(D){l.value&&(l.value.missingWarn=D)},get fallbackRoot(){return l.value?l.value.fallbackRoot:h},set fallbackRoot(D){l.value&&(l.value.fallbackRoot=D)},get fallbackFormat(){return l.value?l.value.fallbackFormat:m},set fallbackFormat(D){l.value&&(l.value.fallbackFormat=D)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:y},set warnHtmlMessage(D){l.value&&(l.value.warnHtmlMessage=D)},get escapeParameter(){return l.value?l.value.escapeParameter:b},set escapeParameter(D){l.value&&(l.value.escapeParameter=D)},t:N,getPostTranslationHandler:H,setPostTranslationHandler:R,getMissingHandler:P,setMissingHandler:W,rt:F,d:V,n:X,tm:se,te:G,getLocaleMessage:le,setLocaleMessage:Ce,mergeLocaleMessage:oe,getDateTimeFormat:pe,setDateTimeFormat:te,mergeDateTimeFormat:Q,getNumberFormat:ce,setNumberFormat:ge,mergeNumberFormat:Le};function O(D){D.locale.value=s.value,D.fallbackLocale.value=i.value,Object.keys(c.value).forEach(ne=>{D.mergeLocaleMessage(ne,c.value[ne])}),Object.keys(f.value).forEach(ne=>{D.mergeDateTimeFormat(ne,f.value[ne])}),Object.keys(d.value).forEach(ne=>{D.mergeNumberFormat(ne,d.value[ne])}),D.escapeParameter=b,D.fallbackFormat=m,D.fallbackRoot=h,D.fallbackWarn=v,D.missingWarn=p,D.warnHtmlMessage=y}return Oi(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw cn(ln.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const D=l.value=e.proxy.$i18n.__composer;t==="global"?(s.value=D.locale.value,i.value=D.fallbackLocale.value,c.value=D.messages.value,f.value=D.datetimeFormats.value,d.value=D.numberFormats.value):r&&O(D)}),Y}const A$e=["locale","fallbackLocale","availableLocales"],L$e=["t","rt","d","n","tm"];function I$e(e,t){const n=Object.create(null);A$e.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw cn(ln.UNEXPECTED_ERROR);const l=kt(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,l)}),e.config.globalProperties.$i18n=n,L$e.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw cn(ln.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)})}QCe(a$e);e$e(OCe);t$e(R_);f$e();if(__INTLIFY_PROD_DEVTOOLS__){const e=qs();e.__INTLIFY__=!0,KCe(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const z$e={home:{nickName:"\u6635\u79F0",job:"\u804C\u4E1A",company:"\u516C\u53F8",age:"\u5E74\u9F84",sex:"\u6027\u522B",currentAddress:"\u73B0\u4F4F\u5740",mail:"\u90AE\u7BB1",WeChat:"\u5FAE\u4FE1",technologyStack:"\u6280\u672F\u6808",PersonalityLabel:"\u4E2A\u6027\u6807\u7B7E",favoriteSentence:"\u6700\u559C\u6B22\u7684\u4E00\u53E5\u8BDD",happy:"\u5F00\u5FC3\u6700\u91CD\u8981",male:"\u7537",web:"\u524D\u7AEF",Wolf:"\u5C0F\u72FC",trouble:"\u6015\u9EBB\u70E6",fitness:"\u5065\u8EAB\u8FD0\u52A8",sleep:"\u7761\u89C9",Marvel:"\u6F2B\u5A01",yearn:"\u5411\u5F80",impression:"\u5982\u679C\u5BF9\u4F60\u6709\u5E2E\u52A9\u7684\u8BDD\uFF0C\u53EF\u4EE5\u9EBB\u70E6\u70B9\u4E00\u9897 star\u3001fork\u3001watch! \u4F60\u7684\u9F13\u52B1\u662F\u6211\u7EE7\u7EED\u4F18\u5316\u7684\u52A8\u529B~~"},route:{home:"\u9996\u9875",visualizationChart:"\u53EF\u89C6\u5316\u56FE\u8868",Table:"\u8D85\u7EA7\u8868\u683C",chatBox:"\u804A\u5929\u6846",expansionComponents:"\u6269\u5C55\u7EC4\u4EF6",nested:"\u8DEF\u7531\u5D4C\u5957",excel:"Excel&Zip",zip:"Zip",errorPages:"\u9519\u8BEF\u9875\u9762",clipboardIndex:"\u526A\u8D34\u677F",SystemManagement:"\u526A\u8D34\u677F"},tagsView:{refresh:"\u5237\u65B0\u5F53\u9875",more:"\u66F4\u591A",closeCurrent:"\u5173\u95ED\u5F53\u524D",closeOther:"\u5173\u95ED\u5176\u5B83",closeAll:"\u5173\u95ED\u6240\u6709"},header:{changePassword:"\u4FEE\u6539\u5BC6\u7801",logout:"\u9000\u51FA\u767B\u5F55"}},O$e={home:{nickName:"Nick name",job:"Job",company:"Company",age:"Age",sex:"Sex",currentAddress:"Current address",mail:"Mail",WeChat:"WeChat",technologyStack:"Technology stack",PersonalityLabel:"Personality label",favoriteSentence:"Favorite sentence",happy:"Being happy is the most important",male:"Man",web:"Web",Wolf:"Wolf",trouble:"Afraid of trouble",fitness:"Fitness",sleep:"Sleep",Marvel:"Marvel",yearn:"Yearn",impression:"If it helps you, please give me a star! Your encouragement is the motivation for me to continue to optimize~~"},route:{home:"Home",visualizationChart:"Visualization Chart",Table:"Super Table",chatBox:"Chat Box",expansionComponents:"Components",nested:"Nested Routes",excel:"Excel",zip:"Zip",errorPages:"Error Pages",clipboardIndex:"Clipboard",SystemManagement:"System Management"},tagsView:{refresh:"Refresh Current",more:"More",closeCurrent:"Close current",closeOther:"Close other",closeAll:"Close All"},header:{changePassword:"Change Password",logout:"Logout"}},t1=C$e({legacy:!1,locale:"zh",globalInjection:!0,messages:{zh:z$e,en:O$e}});function O6(e){return t1.global.te("route."+e.name)?t1.global.t("route."+e.name):e.meta.title}function n1(e){return/^(https?:|mailto:|tel:)/.test(e)}function UEe(e){return!!/^((12[0-9])|(13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0|1,5-9]))\d{8}$/.test(e)}function qEe(e,t="",n="red"){return t.replace(new RegExp(e,"gi"),`${e}`)}function YEe(e){return/(^\d{8}(0\d|10|11|12)([0-2]\d|30|31)\d{3}$)|(^\d{6}(18|19|20)\d{2}(0\d|10|11|12)([0-2]\d|30|31)\d{3}(\d|X|x)$)/.test(e)}function GEe(e){return/^((https?|ftp):\/\/)?([\da-z.-]+)\.([a-z.]{2,6})(\/\w\.-]*)*\/?/.test(e)}function XEe(e){return/<(.*)>.*<\/\1>|<(.*) \/>/.test(e)}function ZEe(e){return/^(?:(?!0000)[0-9]{4}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)-02-29)$/.test(e)}function JEe(e){return/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)}function QEe(e,t){return(n,o,r)=>{e(o)?r():r(new Error(t))}}const N$e={props:{to:{type:String,required:!0}},computed:{isExternal(){return n1(this.to)},type(){return this.isExternal?"a":"router-link"}},methods:{linkProps(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}};function P$e(e,t,n,o,r,l){return w(),ie(st(l.type),so(Pi(l.linkProps(n.to))),{default:q(()=>[ye(e.$slots,"default",{},void 0,!0)]),_:3},16)}const R$e=Zt(N$e,[["render",P$e],["__scopeId","data-v-5ec88982"]]);function Ro(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function N6(e,t){for(var n="",o=0,r=-1,l=0,a,s=0;s<=e.length;++s){if(s2){var i=n.lastIndexOf("/");if(i!==n.length-1){i===-1?(n="",o=0):(n=n.slice(0,i),o=n.length-1-n.lastIndexOf("/")),r=s,l=0;continue}}else if(n.length===2||n.length===1){n="",o=0,r=s,l=0;continue}}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(r+1,s):n=e.slice(r+1,s),o=s-r-1;r=s,l=0}else a===46&&l!==-1?++l:l=-1}return n}function V$e(e,t){var n=t.dir||t.root,o=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+o:n+e+o:o}var Oa={resolve:function(){for(var t="",n=!1,o,r=arguments.length-1;r>=-1&&!n;r--){var l;r>=0?l=arguments[r]:(o===void 0&&(o=process.cwd()),l=o),Ro(l),l.length!==0&&(t=l+"/"+t,n=l.charCodeAt(0)===47)}return t=N6(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(Ro(t),t.length===0)return".";var n=t.charCodeAt(0)===47,o=t.charCodeAt(t.length-1)===47;return t=N6(t,!n),t.length===0&&!n&&(t="."),t.length>0&&o&&(t+="/"),n?"/"+t:t},isAbsolute:function(t){return Ro(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,n=0;n0&&(t===void 0?t=o:t+="/"+o)}return t===void 0?".":Oa.normalize(t)},relative:function(t,n){if(Ro(t),Ro(n),t===n||(t=Oa.resolve(t),n=Oa.resolve(n),t===n))return"";for(var o=1;oc){if(n.charCodeAt(a+d)===47)return n.slice(a+d+1);if(d===0)return n.slice(a+d)}else l>c&&(t.charCodeAt(o+d)===47?f=d:d===0&&(f=0));break}var p=t.charCodeAt(o+d),v=n.charCodeAt(a+d);if(p!==v)break;p===47&&(f=d)}var h="";for(d=o+f+1;d<=r;++d)(d===r||t.charCodeAt(d)===47)&&(h.length===0?h+="..":h+="/..");return h.length>0?h+n.slice(a+f):(a+=f,n.charCodeAt(a)===47&&++a,n.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(Ro(t),t.length===0)return".";for(var n=t.charCodeAt(0),o=n===47,r=-1,l=!0,a=t.length-1;a>=1;--a)if(n=t.charCodeAt(a),n===47){if(!l){r=a;break}}else l=!1;return r===-1?o?"/":".":o&&r===1?"//":t.slice(0,r)},basename:function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Ro(t);var o=0,r=-1,l=!0,a;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var s=n.length-1,i=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!l){o=a+1;break}}else i===-1&&(l=!1,i=a+1),s>=0&&(c===n.charCodeAt(s)?--s===-1&&(r=a):(s=-1,r=i))}return o===r?r=i:r===-1&&(r=t.length),t.slice(o,r)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!l){o=a+1;break}}else r===-1&&(l=!1,r=a+1);return r===-1?"":t.slice(o,r)}},extname:function(t){Ro(t);for(var n=-1,o=0,r=-1,l=!0,a=0,s=t.length-1;s>=0;--s){var i=t.charCodeAt(s);if(i===47){if(!l){o=s+1;break}continue}r===-1&&(l=!1,r=s+1),i===46?n===-1?n=s:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===o+1?"":t.slice(n,r)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return V$e("/",t)},parse:function(t){Ro(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var o=t.charCodeAt(0),r=o===47,l;r?(n.root="/",l=1):l=0;for(var a=-1,s=0,i=-1,c=!0,f=t.length-1,d=0;f>=l;--f){if(o=t.charCodeAt(f),o===47){if(!c){s=f+1;break}continue}i===-1&&(c=!1,i=f+1),o===46?a===-1?a=f:d!==1&&(d=1):a!==-1&&(d=-1)}return a===-1||i===-1||d===0||d===1&&a===i-1&&a===s+1?i!==-1&&(s===0&&r?n.base=n.name=t.slice(1,i):n.base=n.name=t.slice(s,i)):(s===0&&r?(n.name=t.slice(1,a),n.base=t.slice(1,i)):(n.name=t.slice(s,a),n.base=t.slice(s,i)),n.ext=t.slice(a,i)),s>0?n.dir=t.slice(0,s-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Oa.posix=Oa;var p4=Oa;const H$e=J({name:"subItem"}),t7=J({...H$e,props:{item:{type:Object,required:!0},basePath:{type:String,default:""}},setup(e){const t=e,n=z(null),o=(l=[],a)=>{const s=l.filter(i=>i.hidden?!1:(n.value=i,!0));return s.length===1?!0:s.length===0?(n.value={...a,path:"",noShowingChildren:!0},!0):!1},r=l=>n1(l)?l:n1(t.basePath)?t.basePath:p4.resolve(t.basePath,l);return(l,a)=>{const s=Ie("el-icon"),i=Ie("el-menu-item"),c=Ie("sub-item",!0),f=Ie("el-sub-menu");return e.item.hidden?ue("",!0):(w(),M(Re,{key:0},[!e.item.alwaysShow&&o(e.item.children,e.item)?(w(),M(Re,{key:0},[n.value.meta?(w(),ie(R$e,{key:0,to:r(n.value.path)},{default:q(()=>[B(i,{index:r(n.value.path)},{title:q(()=>[et(Ee(u(O6)(n.value)),1)]),default:q(()=>[B(s,{size:20},{default:q(()=>{var d;return[(w(),ie(st((d=n.value)==null?void 0:d.meta.icon)))]}),_:1})]),_:1},8,["index"])]),_:1},8,["to"])):ue("",!0)],64)):(w(),ie(f,{key:1,index:r(e.item.path),"popper-append-to-body":""},{title:q(()=>[B(s,{size:20},{default:q(()=>{var d;return[(w(),ie(st((d=e.item.meta)==null?void 0:d.icon)))]}),_:1}),k("span",null,Ee(u(O6)(e.item)),1)]),default:q(()=>[(w(!0),M(Re,null,ct(e.item.children,d=>(w(),ie(c,{key:d.path,item:d,"base-path":r(d.path)},null,8,["item","base-path"]))),128))]),_:1},8,["index"]))],64))}}});function n7(e,t){const n=[];return e.forEach(o=>{const r={...o};F$e(t,r)&&(r.children&&(r.children=n7(r.children,t)),n.push(r))}),n}function F$e(e,t){return t.meta&&t.meta.roles?e.some(n=>t.meta.roles.includes(n)):!1}function P6(e){let t=[],n=o=>{o.forEach(r=>{var l;((l=r.meta)==null?void 0:l.keepAlive)&&r.name&&t.push(r.name),r.children&&r.children.length&&n(r.children)})};return n(e),t}const ra=Ri({id:"permissionState",state:()=>({routes:[],addRoutes:[],cacheRoutes:{}}),getters:{permission_routes:e=>e.routes,keepAliveRoutes:e=>P6(Lu)},actions:{generateRoutes(e){return new Promise(t=>{let n;e&&e.length&&!e.includes("admin")?n=n7(Lu,e):n=Lu||[],n=n.concat(GSe),this.routes=g7.concat(n),this.addRoutes=n,t(n)})},clearRoutes(){this.routes=[],this.addRoutes=[],this.cacheRoutes=[]},getCacheRoutes(){return this.cacheRoutes=P6(Lu),this.cacheRoutes}}}),B$e=J({__name:"index",setup(e){const t=ss(),n=ra(),o=Tn(),r=E(()=>!o.isCollapse),l=E(()=>o.themeConfig),a=E(()=>n.permission_routes),s=E(()=>{const{meta:i,path:c}=t;return i.activeMenu?i.activeMenu:c});return(i,c)=>{const f=Ie("el-menu"),d=Ie("el-scrollbar");return w(),M("div",{class:A(["sidebar-container",{"has-logo":u(l).showLogo}])},[u(l).showLogo?(w(),ie(Jwe,{key:0,isCollapse:u(r)},null,8,["isCollapse"])):ue("",!0),B(d,{"wrap-class":"scrollbar-wrapper"},{default:q(()=>[B(f,{"default-active":u(s),"background-color":"#304156","text-color":"#bfcbd9","unique-opened":u(o).themeConfig.uniqueOpened,"collapse-transition":!1,class:"el-menu-vertical-demo",collapse:u(r)},{default:q(()=>[(w(!0),M(Re,null,ct(u(a),p=>(w(),ie(t7,{key:p.path,item:p,"base-path":p.path},null,8,["item","base-path"]))),128))]),_:1},8,["default-active","unique-opened","collapse"])]),_:1})],2)}}});const o7=J({__name:"Height",setup(e){const t=Tn(),n=E(()=>t.themeConfig);return(o,r)=>u(n).fixedHeader?(w(),M("div",{key:0,style:De({height:`${u(n).showTag?90:50}px`})},null,4)):ue("",!0)}}),D$e=J({__name:"Language",setup(e){const t=Tn(),n=T0(),o=E(()=>t.themeConfig.language),r=l=>{n.locale.value=l,t.setThemeConfig({key:"language",val:l})};return(l,a)=>{const s=Ie("svg-icon"),i=Ie("el-dropdown-item"),c=Ie("el-dropdown-menu"),f=Ie("el-dropdown");return w(),ie(f,{trigger:"hover",onCommand:r},{dropdown:q(()=>[B(c,null,{default:q(()=>[B(c,null,{default:q(()=>[B(i,{disabled:u(o)&&u(o)==="zh",command:"zh"},{default:q(()=>[et("\u7B80\u4F53\u4E2D\u6587")]),_:1},8,["disabled"]),B(i,{disabled:u(o)==="en",command:"en"},{default:q(()=>[et("English")]),_:1},8,["disabled"])]),_:1})]),_:1})]),default:q(()=>[B(s,{"class-name":"size-icon header-icon","icon-class":"language",style:{"font-size":"22px",cursor:"pointer"}})]),_:1})}}});const K$e=Zt(D$e,[["__scopeId","data-v-e831bf54"]]),W$e=J({__name:"globalComSize",setup(e){const t=Tn(),n=E(()=>t.themeConfig.globalComSize),o=_t({default:"\u9ED8\u8BA4",large:"\u5927\u578B",small:"\u5C0F\u578B"}),r=_t(["default","large","small"]),l=a=>{n.value!==a&&t.setThemeConfig({key:"globalComSize",val:a})};return(a,s)=>{const i=Ie("svg-icon"),c=Ie("el-dropdown-item"),f=Ie("el-dropdown-menu"),d=Ie("el-dropdown");return w(),ie(d,{trigger:"hover",onCommand:l},{dropdown:q(()=>[B(f,null,{default:q(()=>[(w(!0),M(Re,null,ct(r,p=>(w(),ie(c,{key:p,disabled:u(n)===p,command:p},{default:q(()=>[et(Ee(o[p]),1)]),_:2},1032,["disabled","command"]))),128))]),_:1})]),default:q(()=>[B(i,{"class-name":"size-icon header-icon","icon-class":"size",style:{"font-size":"20px",cursor:"pointer"}})]),_:1})}}});const j$e=Zt(W$e,[["__scopeId","data-v-a6deb1e9"]]);function yr(e){return Array.isArray?Array.isArray(e):a7(e)==="[object Array]"}const U$e=1/0;function q$e(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-U$e?"-0":t}function Y$e(e){return e==null?"":q$e(e)}function Uo(e){return typeof e=="string"}function r7(e){return typeof e=="number"}function G$e(e){return e===!0||e===!1||X$e(e)&&a7(e)=="[object Boolean]"}function l7(e){return typeof e=="object"}function X$e(e){return l7(e)&&e!==null}function Qn(e){return e!=null}function md(e){return!e.trim().length}function a7(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Z$e="Incorrect 'index' type",J$e=e=>`Invalid value for key ${e}`,Q$e=e=>`Pattern length exceeds max of ${e}.`,eke=e=>`Missing ${e} property in key`,tke=e=>`Property 'weight' in key '${e}' must be a positive integer`,R6=Object.prototype.hasOwnProperty;class nke{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(o=>{let r=s7(o);n+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(o=>{o.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function s7(e){let t=null,n=null,o=null,r=1,l=null;if(Uo(e)||yr(e))o=e,t=V6(e),n=o1(e);else{if(!R6.call(e,"name"))throw new Error(eke("name"));const a=e.name;if(o=a,R6.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(tke(a));t=V6(a),n=o1(a),l=e.getFn}return{path:t,id:n,weight:r,src:o,getFn:l}}function V6(e){return yr(e)?e:e.split(".")}function o1(e){return yr(e)?e.join("."):e}function oke(e,t){let n=[],o=!1;const r=(l,a,s)=>{if(!!Qn(l))if(!a[s])n.push(l);else{let i=a[s];const c=l[i];if(!Qn(c))return;if(s===a.length-1&&(Uo(c)||r7(c)||G$e(c)))n.push(Y$e(c));else if(yr(c)){o=!0;for(let f=0,d=c.length;fe.score===t.score?e.idx{this._keysMap[n.id]=o})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Uo(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Uo(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,o=this.size();n{let a=r.getFn?r.getFn(t):this.getFn(t,r.path);if(!!Qn(a)){if(yr(a)){let s=[];const i=[{nestedArrIndex:-1,value:a}];for(;i.length;){const{nestedArrIndex:c,value:f}=i.pop();if(!!Qn(f))if(Uo(f)&&!md(f)){let d={v:f,i:c,n:this.norm.get(f)};s.push(d)}else yr(f)&&f.forEach((d,p)=>{i.push({nestedArrIndex:p,value:d})})}o.$[l]=s}else if(Uo(a)&&!md(a)){let s={v:a,n:this.norm.get(a)};o.$[l]=s}}}),this.records.push(o)}toJSON(){return{keys:this.keys,records:this.records}}}function i7(e,t,{getFn:n=bt.getFn,fieldNormWeight:o=bt.fieldNormWeight}={}){const r=new h4({getFn:n,fieldNormWeight:o});return r.setKeys(e.map(s7)),r.setSources(t),r.create(),r}function cke(e,{getFn:t=bt.getFn,fieldNormWeight:n=bt.fieldNormWeight}={}){const{keys:o,records:r}=e,l=new h4({getFn:t,fieldNormWeight:n});return l.setKeys(o),l.setIndexRecords(r),l}function Au(e,{errors:t=0,currentLocation:n=0,expectedLocation:o=0,distance:r=bt.distance,ignoreLocation:l=bt.ignoreLocation}={}){const a=t/e.length;if(l)return a;const s=Math.abs(o-n);return r?a+s/r:s?1:a}function dke(e=[],t=bt.minMatchCharLength){let n=[],o=-1,r=-1,l=0;for(let a=e.length;l=t&&n.push([o,r]),o=-1)}return e[l-1]&&l-o>=t&&n.push([o,l-1]),n}const Sl=32;function fke(e,t,n,{location:o=bt.location,distance:r=bt.distance,threshold:l=bt.threshold,findAllMatches:a=bt.findAllMatches,minMatchCharLength:s=bt.minMatchCharLength,includeMatches:i=bt.includeMatches,ignoreLocation:c=bt.ignoreLocation}={}){if(t.length>Sl)throw new Error(Q$e(Sl));const f=t.length,d=e.length,p=Math.max(0,Math.min(o,d));let v=l,h=p;const m=s>1||i,_=m?Array(d):[];let g;for(;(g=e.indexOf(t,h))>-1;){let x=Au(t,{currentLocation:g,expectedLocation:p,distance:r,ignoreLocation:c});if(v=Math.min(x,v),h=g+f,m){let T=0;for(;T=L;P-=1){let W=P-1,j=n[e.charAt(W)];if(m&&(_[W]=+!!j),H[P]=(H[P+1]<<1|1)&j,x&&(H[P]|=(y[P+1]|y[P])<<1|1|y[P+1]),H[P]&$&&(b=Au(t,{errors:x,currentLocation:W,expectedLocation:p,distance:r,ignoreLocation:c}),b<=v)){if(v=b,h=W,h<=p)break;L=Math.max(1,2*p-h)}}if(Au(t,{errors:x+1,currentLocation:p,expectedLocation:p,distance:r,ignoreLocation:c})>v)break;y=H}const S={isMatch:h>=0,score:Math.max(.001,b)};if(m){const x=dke(_,s);x.length?i&&(S.indices=x):S.isMatch=!1}return S}function pke(e){let t={};for(let n=0,o=e.length;n{this.chunks.push({pattern:p,alphabet:pke(p),startIndex:v})},d=this.pattern.length;if(d>Sl){let p=0;const v=d%Sl,h=d-v;for(;p{const{isMatch:g,score:y,indices:b}=fke(t,h,m,{location:r+_,distance:l,threshold:a,findAllMatches:s,minMatchCharLength:i,includeMatches:o,ignoreLocation:c});g&&(p=!0),d+=y,g&&b&&(f=[...f,...b])});let v={isMatch:p,score:p?d/this.chunks.length:1};return p&&o&&(v.indices=f),v}}class hl{constructor(t){this.pattern=t}static isMultiMatch(t){return H6(t,this.multiRegex)}static isSingleMatch(t){return H6(t,this.singleRegex)}search(){}}function H6(e,t){const n=e.match(t);return n?n[1]:null}class hke extends hl{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class vke extends hl{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const o=t.indexOf(this.pattern)===-1;return{isMatch:o,score:o?0:1,indices:[0,t.length-1]}}}class mke extends hl{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class gke extends hl{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class _ke extends hl{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class bke extends hl{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class c7 extends hl{constructor(t,{location:n=bt.location,threshold:o=bt.threshold,distance:r=bt.distance,includeMatches:l=bt.includeMatches,findAllMatches:a=bt.findAllMatches,minMatchCharLength:s=bt.minMatchCharLength,isCaseSensitive:i=bt.isCaseSensitive,ignoreLocation:c=bt.ignoreLocation}={}){super(t),this._bitapSearch=new u7(t,{location:n,threshold:o,distance:r,includeMatches:l,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:i,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class d7 extends hl{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,o;const r=[],l=this.pattern.length;for(;(o=t.indexOf(this.pattern,n))>-1;)n=o+l,r.push([o,n-1]);const a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}}const r1=[hke,d7,mke,gke,bke,_ke,vke,c7],F6=r1.length,yke=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,wke="|";function Cke(e,t={}){return e.split(wke).map(n=>{let o=n.trim().split(yke).filter(l=>l&&!!l.trim()),r=[];for(let l=0,a=o.length;l!!(e[Ic.AND]||e[Ic.OR]),Eke=e=>!!e[s1.PATH],Mke=e=>!yr(e)&&l7(e)&&!i1(e),B6=e=>({[Ic.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function f7(e,t,{auto:n=!0}={}){const o=r=>{let l=Object.keys(r);const a=Eke(r);if(!a&&l.length>1&&!i1(r))return o(B6(r));if(Mke(r)){const i=a?r[s1.PATH]:l[0],c=a?r[s1.PATTERN]:r[i];if(!Uo(c))throw new Error(J$e(i));const f={keyId:o1(i),pattern:c};return n&&(f.searcher=a1(c,t)),f}let s={children:[],operator:l[0]};return l.forEach(i=>{const c=r[i];yr(c)&&c.forEach(f=>{s.children.push(o(f))})}),s};return i1(e)||(e=B6(e)),o(e)}function Tke(e,{ignoreFieldNorm:t=bt.ignoreFieldNorm}){e.forEach(n=>{let o=1;n.matches.forEach(({key:r,norm:l,score:a})=>{const s=r?r.weight:null;o*=Math.pow(a===0&&s?Number.EPSILON:a,(s||1)*(t?1:l))}),n.score=o})}function xke(e,t){const n=e.matches;t.matches=[],Qn(n)&&n.forEach(o=>{if(!Qn(o.indices)||!o.indices.length)return;const{indices:r,value:l}=o;let a={indices:r,value:l};o.key&&(a.key=o.key.src),o.idx>-1&&(a.refIndex=o.idx),t.matches.push(a)})}function Ake(e,t){t.score=e.score}function Lke(e,t,{includeMatches:n=bt.includeMatches,includeScore:o=bt.includeScore}={}){const r=[];return n&&r.push(xke),o&&r.push(Ake),e.map(l=>{const{idx:a}=l,s={item:t[a],refIndex:a};return r.length&&r.forEach(i=>{i(l,s)}),s})}class ps{constructor(t,n={},o){this.options={...bt,...n},this.options.useExtendedSearch,this._keyStore=new nke(this.options.keys),this.setCollection(t,o)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof h4))throw new Error(Z$e);this._myIndex=n||i7(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){!Qn(t)||(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let o=0,r=this._docs.length;o-1&&(i=i.slice(0,n)),Lke(i,this._docs,{includeMatches:o,includeScore:r})}_searchStringList(t){const n=a1(t,this.options),{records:o}=this._myIndex,r=[];return o.forEach(({v:l,i:a,n:s})=>{if(!Qn(l))return;const{isMatch:i,score:c,indices:f}=n.searchIn(l);i&&r.push({item:l,idx:a,matches:[{score:c,value:l,norm:s,indices:f}]})}),r}_searchLogical(t){const n=f7(t,this.options),o=(s,i,c)=>{if(!s.children){const{keyId:d,searcher:p}=s,v=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(i,d),searcher:p});return v&&v.length?[{idx:c,item:i,matches:v}]:[]}const f=[];for(let d=0,p=s.children.length;d{if(Qn(s)){let c=o(n,s,i);c.length&&(l[i]||(l[i]={idx:i,item:s,matches:[]},a.push(l[i])),c.forEach(({matches:f})=>{l[i].matches.push(...f)}))}}),a}_searchObjectList(t){const n=a1(t,this.options),{keys:o,records:r}=this._myIndex,l=[];return r.forEach(({$:a,i:s})=>{if(!Qn(a))return;let i=[];o.forEach((c,f)=>{i.push(...this._findMatches({key:c,value:a[f],searcher:n}))}),i.length&&l.push({idx:s,item:a,matches:i})}),l}_findMatches({key:t,value:n,searcher:o}){if(!Qn(n))return[];let r=[];if(yr(n))n.forEach(({v:l,i:a,n:s})=>{if(!Qn(l))return;const{isMatch:i,score:c,indices:f}=o.searchIn(l);i&&r.push({score:c,key:t,value:l,idx:a,norm:s,indices:f})});else{const{v:l,n:a}=n,{isMatch:s,score:i,indices:c}=o.searchIn(l);s&&r.push({score:i,key:t,value:l,norm:a,indices:c})}return r}}ps.version="6.6.2";ps.createIndex=i7;ps.parseIndex=cke;ps.config=bt;ps.parseQuery=f7;Ske(kke);const Ike={class:"m-headerSearch"},zke=J({__name:"HeaderSearch",setup(e){const t=Vi(),n=z(!1),o=z([]),r=z([]),l=z(""),a=z(null),s=ra(),i=E(()=>s.routes),c=()=>{n.value=!0},f=h=>{a.value=new ps(h,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})};we(r,h=>{f(h)});const d=(h,m="/",_=[])=>{let g=[];for(const y of h){if(y.hidden)continue;const b={path:p4.resolve(m,y.path),title:[..._]};if(y.meta&&y.meta.title&&(b.title=[...b.title,y.meta.title],y.redirect!=="noRedirect"&&g.push(b)),y.children){const C=d(y.children,b.path,b.title);C.length>=1&&(g=[...g,...C])}}return g},p=h=>{h&&t.push({path:h}),o.value=[],l.value="",n.value=!1};tt(()=>{r.value=d(JSON.parse(JSON.stringify(i.value)))});const v=h=>{h!==""?o.value=a.value.search(h):o.value=[]};return(h,m)=>{const _=Ie("Search"),g=Ie("el-icon"),y=Ie("el-tooltip"),b=Ie("el-option"),C=Ie("el-select"),$=Ie("el-dialog");return w(),M("div",Ike,[B(y,{effect:"dark",content:"\u83DC\u5355\u641C\u7D22",placement:"bottom"},{default:q(()=>[B(g,{class:"bell header-icon",style:{"font-size":"22px"},onClick:c},{default:q(()=>[B(_)]),_:1})]),_:1}),B($,{modelValue:n.value,"onUpdate:modelValue":m[1]||(m[1]=S=>n.value=S),width:"600px","destroy-on-close":"","show-close":!1},{default:q(()=>[B(C,{style:{width:"100%"},ref:"headerSearchSelect",modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=S=>l.value=S),"remote-method":v,filterable:"","default-first-option":"",remote:"",placeholder:"\u83DC\u5355\u641C\u7D22 \uFF1A\u652F\u6301\u83DC\u5355\u540D\u79F0\u3001\u8DEF\u5F84",class:"header-search-select",onChange:p},{default:q(()=>[(w(!0),M(Re,null,ct(o.value,S=>(w(),ie(b,{key:S.item.path,value:S.item.path,label:S&&S.item.title&&S.item.title.length&&S.item.title.join(" > ")},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])}}});const Oke=Zt(zke,[["__scopeId","data-v-1e11e770"]]),Nke={class:"m-info"},Pke={class:"item-child"},Rke={class:"item-child"},Vke={class:"item-child"},Hke=J({__name:"Remind",setup(e){const t=z("first"),n=r=>{window.open(r)},o=(r,l)=>{console.log(r,l)};return(r,l)=>{const a=Ie("Bell"),s=Ie("el-icon"),i=Ie("el-badge"),c=Ie("el-button"),f=Ie("el-divider"),d=Ie("el-tab-pane"),p=Ie("el-tabs"),v=Ie("el-popover");return w(),M("div",Nke,[B(v,{width:"200px",placement:"bottom"},{reference:q(()=>[B(i,{value:3,class:"item-info-pop"},{default:q(()=>[B(s,{class:"bell header-icon",style:{"font-size":"20px"}},{default:q(()=>[B(a)]),_:1})]),_:1})]),default:q(()=>[k("div",null,[B(p,{modelValue:t.value,"onUpdate:modelValue":l[3]||(l[3]=h=>t.value=h),class:"demo-tabs",onTabClick:o},{default:q(()=>[B(d,{label:"\u901A\u77E5",name:"first"},{default:q(()=>[k("div",Pke,[et(" GitHub\u5F00\u6E90\u5730\u5740\uFF1A"),B(c,{type:"primary",link:"",onClick:l[0]||(l[0]=h=>n("https://github.com/zouzhibin/vue-admin-perfect"))},{default:q(()=>[et("\u70B9\u6211")]),_:1})]),B(f,{style:{"margin-bottom":"15px"}}),k("div",Rke,[et(" Gitee\u5F00\u6E90\u5730\u5740\uFF1A"),B(c,{type:"primary",link:"",onClick:l[1]||(l[1]=h=>n("https://gitee.com/yuanzbz/vue-admin-perfect"))},{default:q(()=>[et("\u70B9\u6211")]),_:1})]),B(f),k("div",Vke,[et(" github\u5F00\u6E90\u5730\u5740\uFF1A"),B(c,{type:"primary",link:"",onClick:l[2]||(l[2]=h=>n("https://github.com/zouzhibin/vue-admin-perfect"))},{default:q(()=>[et("\u70B9\u6211")]),_:1})])]),_:1})]),_:1},8,["modelValue"])])]),_:1})])}}});const Fke=Zt(Hke,[["__scopeId","data-v-5d8c37a6"]]),Bke={class:"m-screenful"},Dke=J({__name:"ScreenFull",setup(e){const{toggle:t,isFullscreen:n}=WT();return(o,r)=>{const l=Ie("svg-icon"),a=Ie("el-tooltip");return w(),M("div",Bke,[B(a,{effect:"dark",content:"\u5168\u5C4F",placement:"bottom"},{default:q(()=>[B(l,{"icon-class":u(n)?"exit-fullscreen":"fullscreen",onClick:u(t),className:"header-icon"},null,8,["icon-class","onClick"])]),_:1})])}}});const Kke=Zt(Dke,[["__scopeId","data-v-9ae0d4a8"]]),Wke={class:"m-setting"},jke=J({__name:"Setting",setup(e){const t=Tn(),n=(o,r)=>{t.setThemeConfig({key:o,val:r})};return(o,r)=>{const l=Ie("Setting",!0),a=Ie("el-icon"),s=Ie("el-tooltip");return w(),M("div",Wke,[B(s,{effect:"dark",content:"\u4E3B\u9898\u8BBE\u7F6E",placement:"bottom"},{default:q(()=>[B(a,{style:{"font-size":"20px"},class:"bell header-icon"},{default:q(()=>[B(l,{onClick:r[0]||(r[0]=i=>n("showSetting",!0))})]),_:1})]),_:1})])}}});const Uke=Zt(jke,[["__scopeId","data-v-dbf1a90e"]]),qke="/vue-admin-perfect/assets/avatar.31e95fb7.png",v4=Ri({id:"userState",state:()=>({token:null,userInfo:{},roles:localStorage.roles?JSON.parse(localStorage.roles):[]}),getters:{},actions:{login(e){const{username:t,password:n}=e;return new Promise(async(o,r)=>{this.token=t,this.userInfo=e,await this.getRoles(),o(t)})},getRoles(){return new Promise((e,t)=>{this.roles=["admin"],localStorage.roles=JSON.stringify(this.roles),e(this.roles)})},getInfo(e){return new Promise((t,n)=>{this.roles=e,t(e)})},logout(){return new Promise((e,t)=>{this.token=null,this.userInfo={},this.roles=[],e(null)})}},persist:{key:"userState",storage:window.localStorage}}),m4=Ri({id:"tagsViewState",state:()=>({activeTabsValue:"/home",visitedViews:[],cachedViews:[]}),getters:{},actions:{setTabsMenuValue(e){this.activeTabsValue=e},addView(e){this.addVisitedView(e)},removeView(e){return new Promise((t,n)=>{this.visitedViews=this.visitedViews.filter(o=>!e.includes(o.path)),t(null)})},addVisitedView(e){this.setTabsMenuValue(e.path),!this.visitedViews.some(t=>t.path===e.path)&&(this.visitedViews.push(Object.assign({},e,{title:e.meta.title||"no-name"})),e.meta.keepAlive&&this.cachedViews.push(e.name))},delView(e){return new Promise(t=>{this.delVisitedView(e),this.delCachedView(e),t({visitedViews:[...this.visitedViews],cachedViews:[...this.cachedViews]})})},toLastView(e){let t=this.visitedViews.findIndex(o=>o.path===e);const n=this.visitedViews[t+1]||this.visitedViews[t-1];!n||(rs.push(n.path),this.addVisitedView(n))},delVisitedView(e){return new Promise(t=>{this.visitedViews=this.visitedViews.filter(n=>n.path!==e||n.meta.affix),this.cachedViews=this.cachedViews.filter(n=>n.path!==e||n.meta.affix),t([...this.visitedViews])})},delCachedView(e){return new Promise(t=>{const n=this.cachedViews.indexOf(e.name);n>-1&&this.cachedViews.splice(n,1),t([...this.cachedViews])})},clearVisitedView(){this.delAllViews()},delAllViews(){return new Promise(e=>{this.visitedViews=this.visitedViews.filter(t=>t.meta.affix),this.cachedViews=this.visitedViews.filter(t=>t.meta.affix),e([...this.visitedViews])})},delOtherViews(e){this.visitedViews=this.visitedViews.filter(t=>t.path===e||t.meta.affix),this.cachedViews=this.visitedViews.filter(t=>t.path===e||t.meta.affix)},goHome(){this.activeTabsValue="/home",rs.push({path:"/home"})},updateVisitedView(e){for(let t of this.visitedViews)if(t.path===e.path){t=Object.assign(t,e);break}}}}),Yke={class:"dialog-footer"},Gke=J({__name:"PersonalDialog",setup(e,{expose:t}){const n=z(!1),o=v4(),r=()=>{n.value=!0},l=z(""),a=z(),s=_t({name:o.userInfo.username,password:o.userInfo.password,configPassword:""}),i=_t({configPassword:[{required:!0,message:"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801",trigger:"blur"}]}),c=f=>{!f||f.validate(d=>{if(d)console.log("submit!");else return console.log("error submit!"),!1})};return t({show:r}),(f,d)=>{const p=Ie("el-input"),v=Ie("el-form-item"),h=Ie("el-form"),m=Ie("el-button"),_=Ie("el-dialog");return w(),ie(_,{modelValue:n.value,"onUpdate:modelValue":d[5]||(d[5]=g=>n.value=g),title:"\u4FEE\u6539\u5BC6\u7801",width:"40%"},{footer:q(()=>[k("span",Yke,[B(m,{onClick:d[3]||(d[3]=g=>n.value=!1)},{default:q(()=>[et("\u53D6\u6D88")]),_:1}),B(m,{type:"primary",onClick:d[4]||(d[4]=g=>c(a.value))},{default:q(()=>[et("\u786E\u5B9A")]),_:1})])]),default:q(()=>[B(h,{ref_key:"ruleFormRef",ref:a,model:s,rules:i,"label-width":"120px",class:"demo-ruleForm",size:l.value},{default:q(()=>[B(v,{label:"\u59D3\u540D"},{default:q(()=>[B(p,{modelValue:s.name,"onUpdate:modelValue":d[0]||(d[0]=g=>s.name=g),disabled:""},null,8,["modelValue"])]),_:1}),B(v,{label:"\u65E7\u7684\u5BC6\u7801",prop:"password"},{default:q(()=>[B(p,{modelValue:s.password,"onUpdate:modelValue":d[1]||(d[1]=g=>s.password=g),type:"password"},null,8,["modelValue"])]),_:1}),B(v,{label:"\u65B0\u7684\u5BC6\u7801",prop:"configPassword"},{default:q(()=>[B(p,{modelValue:s.configPassword,"onUpdate:modelValue":d[2]||(d[2]=g=>s.configPassword=g),type:"password"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","size"])]),_:1},8,["modelValue"])}}});const Xke=Zt(Gke,[["__scopeId","data-v-845d83a3"]]),Zke={class:"el-dropdown-link"},Jke=J({__name:"Avatar",setup(e){const t=Vi(),n=v4(),o=m4(),r=ra(),l=E({get(){return n.roles[0]},set(d){(async()=>(await n.getInfo([d]),t.push({path:"/"}),location.reload()))()}}),a=d=>{d!==l.value&&(l.value=l.value==="admin"?"other":"admin")},s=E(()=>n.userInfo),i=z(),c=async()=>{L_.confirm("\u60A8\u662F\u5426\u786E\u8BA4\u9000\u51FA\u767B\u5F55?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{await n.logout(),await t.push({path:"/login"}),o.clearVisitedView(),r.clearRoutes(),l4({type:"success",message:"\u9000\u51FA\u767B\u5F55\u6210\u529F\uFF01"})}).catch(()=>{})},f=()=>{i.value.show()};return(d,p)=>{const v=Ie("el-avatar"),h=Ie("arrow-down"),m=Ie("el-icon"),_=Ie("el-dropdown-item"),g=Ie("Edit"),y=Ie("SwitchButton"),b=Ie("el-dropdown-menu"),C=Ie("el-dropdown");return w(),M(Re,null,[B(C,null,{dropdown:q(()=>[B(b,null,{default:q(()=>[B(_,{command:0,onClick:p[0]||(p[0]=$=>a("admin"))},{default:q(()=>[et(Ee(u(l)==="admin"?"\u5F53\u524D\u89D2\u8272":"\u5207\u6362\u89D2\u8272")+"\uFF1A\u7BA1\u7406\u5458 ",1)]),_:1}),B(_,{command:0,divided:"",onClick:p[1]||(p[1]=$=>a("other"))},{default:q(()=>[et(Ee(u(l)==="other"?"\u5F53\u524D\u89D2\u8272":"\u5207\u6362\u89D2\u8272")+"\uFF1A\u666E\u901A\u7528\u6237 ",1)]),_:1}),B(_,{command:3,divided:"",onClick:f},{default:q(()=>[B(m,null,{default:q(()=>[B(g)]),_:1}),et("\u4FEE\u6539\u5BC6\u7801 ")]),_:1}),B(_,{command:4,divided:"",onClick:c},{default:q(()=>[B(m,null,{default:q(()=>[B(y)]),_:1}),et("\u9000\u51FA\u767B\u5F55 ")]),_:1})]),_:1})]),default:q(()=>[k("span",Zke,[B(v,{size:30,class:"avatar",src:u(qke)},null,8,["src"]),et(" "+Ee(u(s).username)+" ",1),B(m,{class:"header-icon el-icon--right"},{default:q(()=>[B(h)]),_:1})])]),_:1}),B(Xke,{ref_key:"person",ref:i},null,512)],64)}}});const Qke=Zt(Jke,[["__scopeId","data-v-65f0c517"]]),eSe={class:"m-tool-right"},tSe=J({__name:"ToolRight",setup(e){return(t,n)=>(w(),M("div",eSe,[B(K$e,{class:"item-children"}),B(j$e,{class:"item-children"}),B(Oke,{class:"item-children"}),B(Fke,{class:"item-children"}),B(Kke,{class:"item-children"}),B(Uke,{class:"item-children"}),B(Qke)]))}});const p7=Zt(tSe,[["__scopeId","data-v-12f00dee"]]),nSe=J({__name:"CollapseIcon",setup(e){const t=Tn(),n=E(()=>!t.isCollapse),o=()=>{t.setCollapse(n.value)};return(r,l)=>{const a=Ie("expand"),s=Ie("el-icon"),i=Ie("fold");return w(),M("div",{class:"hamburger-container",onClick:o},[u(n)?(w(),ie(s,{key:0,class:"icon"},{default:q(()=>[B(a)]),_:1})):(w(),ie(s,{key:1,class:"icon"},{default:q(()=>[B(i)]),_:1}))])}}});const oSe=Zt(nSe,[["__scopeId","data-v-431b683b"]]),rSe=k("div",{class:"breadcrumb-item"},[k("span",{class:"breadcrumb-title"},"\u9996\u9875")],-1),lSe={key:0,class:"no-redirect"},aSe=["onClick"],sSe=J({__name:"Hamburger",setup(e){const t=ss(),n=Vi(),o=l=>{n.push({path:l.path})},r=E(()=>t.matched.filter(l=>l.meta&&l.meta.title&&l.meta.breadcrumb!==!1));return(l,a)=>{const s=Ie("el-breadcrumb-item"),i=Ie("el-breadcrumb");return w(),ie(i,{class:"app-breadcrumb",separator:"/"},{default:q(()=>[B(rv,{name:"breadcrumb",mode:"out-in"},{default:q(()=>[u(r)[0].meta.title!=="\u9996\u9875"?(w(),ie(s,{to:{path:"/"},key:"home"},{default:q(()=>[rSe]),_:1})):ue("",!0),(w(!0),M(Re,null,ct(u(r),(c,f)=>(w(),ie(s,{key:c.name},{default:q(()=>[c.redirect==="noRedirect"||f==u(r).length-1?(w(),M("span",lSe,Ee(c.meta.title),1)):(w(),M("a",{key:1,onClick:Ye(d=>o(c),["prevent"])},Ee(c.meta.title),9,aSe))]),_:2},1024))),128))]),_:1})]),_:1})}}}),iSe={class:"m-tool-left"},uSe=J({__name:"ToolLeft",setup(e){return(t,n)=>(w(),M("div",iSe,[B(oSe),B(sSe)]))}});const cSe=Zt(uSe,[["__scopeId","data-v-01e7e18a"]]),dSe=J({__name:"MoreButton",setup(e){Vi();const t=ss(),n=Tn(),o=m4();E(()=>o.visitedViews);const r=()=>{n.setReload()},l=i=>{o.toLastView(t.path),o.delView(t.path)},a=async()=>{o.delOtherViews(t.path)},s=async()=>{await o.delAllViews(),o.goHome()};return(i,c)=>{const f=Ie("arrow-down"),d=Ie("el-icon"),p=Ie("el-button"),v=Ie("Refresh"),h=Ie("el-dropdown-item"),m=Ie("FolderRemove"),_=Ie("Close"),g=Ie("FolderDelete"),y=Ie("el-dropdown-menu"),b=Ie("el-dropdown");return w(),ie(b,{trigger:"hover"},{dropdown:q(()=>[B(y,null,{default:q(()=>[B(h,{onClick:r},{default:q(()=>[B(d,{size:14},{default:q(()=>[B(v)]),_:1}),et(" "+Ee(i.$t("tagsView.refresh")),1)]),_:1}),B(h,{onClick:l},{default:q(()=>[B(d,{size:14},{default:q(()=>[B(m)]),_:1}),et(" "+Ee(i.$t("tagsView.closeCurrent")),1)]),_:1}),B(h,{onClick:a},{default:q(()=>[B(d,{size:14},{default:q(()=>[B(_)]),_:1}),et(Ee(i.$t("tagsView.closeOther")),1)]),_:1}),B(h,{onClick:s},{default:q(()=>[B(d,{size:14},{default:q(()=>[B(g)]),_:1}),et(Ee(i.$t("tagsView.closeAll")),1)]),_:1})]),_:1})]),default:q(()=>[B(p,{size:"small",type:"primary"},{default:q(()=>[k("span",null,Ee(i.$t("tagsView.more")),1),B(d,{class:"el-icon--right"},{default:q(()=>[B(f)]),_:1})]),_:1})]),_:1})}}});const fSe=Zt(dSe,[["__scopeId","data-v-a5aa8461"]]),pSe={class:"m-tags-view"},hSe={class:"tags-view"},vSe={class:"right-btn"},mSe=J({__name:"index",setup(e){const t=ss(),n=Vi(),o=m4(),r=ra(),l=E(()=>o.visitedViews),a=E(()=>r.routes),s=()=>{const{name:_}=t;if(_!=="Login")return _&&o.addView(t),!1};let i=z([]);function c(_,g="/"){let y=[];return _.forEach(b=>{if(b.meta&&b.meta.affix){const C=p4.resolve(g,b.path);y.push({fullPath:C,path:C,name:b.name,meta:{...b.meta}})}if(b.children){const C=c(b.children,b.path);C.length>=1&&(y=[...y,...C])}}),y}const f=()=>{let _=a.value,g=i.value=c(_);for(const y of g)y.name&&o.addVisitedView(y)};tt(()=>{f(),s()}),we(t,()=>{s()});const d=E({get:()=>o.activeTabsValue,set:_=>{o.setTabsMenuValue(_)}});function p(_){let g=l.value.findIndex(b=>b.path===_);const y=l.value[g+1]||l.value[g-1];!y||(n.push(y.path),o.addVisitedView(y))}const v=_=>{let g=_.props.name;n.push(g)},h=_=>_===t.path,m=async _=>{h(_)&&p(_),await o.delView(_)};return(_,g)=>{const y=Ie("el-icon"),b=Ie("el-tab-pane"),C=Ie("el-tabs");return w(),M("div",pSe,[k("div",hSe,[B(C,{modelValue:u(d),"onUpdate:modelValue":g[0]||(g[0]=$=>kt(d)?d.value=$:null),type:"card",onTabClick:v,onTabRemove:m},{default:q(()=>[(w(!0),M(Re,null,ct(u(l),$=>(w(),ie(b,{key:$.path,path:$.path,label:$.title,name:$.path,closable:!($.meta&&$.meta.affix)},{label:q(()=>[$.icon?(w(),ie(y,{key:0,class:"tabs-icon"},{default:q(()=>[(w(),ie(st($.icon)))]),_:2},1024)):ue("",!0),et(" "+Ee($.title),1)]),_:2},1032,["path","label","name","closable"]))),128))]),_:1},8,["modelValue"])]),k("div",vSe,[B(u(fSe))])])}}});const h7=Zt(mSe,[["__scopeId","data-v-59e8e7ea"]]),gSe={class:"header-inner"},_Se=J({__name:"index",setup(e){const t=Tn(),n=E(()=>t.themeConfig),o=E(()=>!t.isCollapse);return(r,l)=>(w(),M(Re,null,[B(o7),k("div",{class:A(["m-layout-header",{"fixed-header":u(n).fixedHeader,collapse:u(n).fixedHeader&&u(o),"no-collapse":u(n).fixedHeader&&!u(o)}])},[k("div",gSe,[B(cSe),B(p7)]),u(n).showTag?(w(),ie(h7,{key:0})):ue("",!0)],2)],64))}});const bSe=Zt(_Se,[["__scopeId","data-v-1f82c6f9"]]),gd=new Map,ySe=(e,t)=>{let n;if(e){const o=t.name;return gd.has(o)?n=gd.get(o):(n={name:o,render(){return Ke("div",{className:"app-main-inner"},e)}},gd.set(o,n)),Ke(n)}},wSe={class:"app-main"},CSe=J({__name:"index",setup(e){const t=Tn(),n=ra(),o=E(()=>n.keepAliveRoutes),r=E(()=>t.isReload);return(l,a)=>{const s=Ie("router-view");return w(),M("div",wSe,[B(s,null,{default:q(({Component:i,route:c})=>[B(Xt,{name:"fade-slide",mode:"out-in",appear:""},{default:q(()=>[u(r)?(w(),ie(Rb,{key:0,include:u(o)},[(w(),ie(st(u(ySe)(i,c)),{key:c.path}))],1032,["include"])):ue("",!0)]),_:2},1024)]),_:1})])}}});const v7=Zt(CSe,[["__scopeId","data-v-c5f43f7d"]]);const $Se={},kSe=e=>(g1("data-v-85f8336d"),e=e(),_1(),e),SSe={class:"footer-layout"},ESe=kSe(()=>k("span",{href:"/",target:"_blank"}," 2022 \xA9 VUE-ADMIN-PERFECT By ZB Technology. ",-1)),MSe=[ESe];function TSe(e,t){return w(),M("div",SSe,MSe)}const m7=Zt($Se,[["render",TSe],["__scopeId","data-v-85f8336d"]]),xSe={class:"main-container"},ASe=J({__name:"index",setup(e){return(t,n)=>(w(),M(Re,null,[B(B$e),k("div",xSe,[B(bSe),B(v7),B(m7)])],64))}});const D6=Zt(ASe,[["__scopeId","data-v-0191c8cb"]]),LSe={class:"header-inner"},ISe=J({__name:"index",setup(e){const t=ra(),n=ss(),o=E(()=>t.permission_routes),r=Tn(),l=E(()=>{const{meta:s,path:i}=n;return s.activeMenu?s.activeMenu:i}),a=E(()=>r.themeConfig);return E(()=>!r.isCollapse),(s,i)=>{const c=Ie("el-menu");return w(),M(Re,null,[B(o7),k("div",{class:A(["m-layout-header",{"fixed-header":u(a).fixedHeader}])},[k("div",LSe,[B(c,{mode:"horizontal","default-active":u(l),"background-color":"#304156","text-color":"#bfcbd9","unique-opened":u(r).themeConfig.uniqueOpened,"collapse-transition":!1,class:"menu-horizontal"},{default:q(()=>[(w(!0),M(Re,null,ct(u(o),f=>(w(),ie(t7,{key:f.path,item:f,"base-path":f.path},null,8,["item","base-path"]))),128))]),_:1},8,["default-active","unique-opened"]),B(p7)]),u(a).showTag?(w(),ie(h7,{key:0})):ue("",!0)],2)],64)}}});const zSe=Zt(ISe,[["__scopeId","data-v-d4d95de6"]]),OSe={class:"main-container"},NSe=J({__name:"index",setup(e){return(t,n)=>(w(),M("div",OSe,[B(zSe),B(v7),B(m7)]))}});const PSe=Zt(NSe,[["__scopeId","data-v-9bfbe65d"]]),RSe=J({__name:"index",setup(e){const t=Tn(),n=E(()=>t.themeConfig),o={horizontal:PSe,vertical:D6};E(()=>!t.isCollapse);let{device:r}=z_();we(()=>r.value,a=>{let s=a==="mobile"?"vertical":n.value.mode;document.body.setAttribute("class",`layout-${s}`)},{immediate:!0});const l=E(()=>({hideSidebar:!t.isCollapse,openSidebar:t.isCollapse,withoutAnimation:t.withoutAnimation,mobile:r.value==="mobile"}));return(a,s)=>(w(),M("div",{class:A(["g-container-layout",u(l)])},[B(Uwe),u(r)==="mobile"?(w(),ie(D6,{key:0})):(w(),ie(st(o[u(n).mode]),{key:1})),B(Kwe)],2))}});const zo=Zt(RSe,[["__scopeId","data-v-5c3baaf2"]]),VSe=[{path:"/table",component:zo,redirect:"/table/comprehensive",name:"table",meta:{title:"\u8D85\u7EA7\u8868\u683C",icon:"School"},children:[{path:"comprehensive",component:()=>ut(()=>import("./index.f4ab959e.js"),["assets/index.f4ab959e.js","assets/index.ee732d38.css"]),name:"comprehensive",meta:{title:"\u7EFC\u5408\u8868\u683C",keepAlive:!0,icon:"MenuIcon"}},{path:"inline-table",component:()=>ut(()=>import("./index.7c116f58.js"),["assets/index.7c116f58.js","assets/index.85258979.css"]),name:"inline-table",meta:{title:"\u884C\u5185\u7F16\u8F91",keepAlive:!0,icon:"MenuIcon"}},{path:"editableProTable",component:()=>ut(()=>import("./index.e0bf1acf.js"),["assets/index.e0bf1acf.js","assets/index.df27b91b.css","assets/index.5be08a55.js"]),name:"edit-table",meta:{title:"\u53EF\u7F16\u8F91\u8868\u683C",keepAlive:!0,icon:"MenuIcon"}}]}],HSe=[{path:"/dataScreen",name:"dataScreen",meta:{title:"\u53EF\u89C6\u5316\u5927\u5C4F",icon:"Histogram"},component:()=>ut(()=>import("./index.e74b5c16.js"),["assets/index.e74b5c16.js","assets/index.386c25cb.css","assets/index.6a4bd455.js","assets/index.201c3aba.js","assets/index.vue_vue_type_script_setup_true_lang.0cc6321a.js"])}],FSe=[{path:"/excel",component:zo,redirect:"/excel/export-excel",name:"excel",meta:{title:"Excel&Zip",icon:"School"},children:[{path:"export-excel",component:()=>ut(()=>import("./index.881fef6a.js"),["assets/index.881fef6a.js","assets/index.a6563d0e.css","assets/exprotExcel.a89d1fae.js","assets/exceljs.min.1781a218.js"]),name:"export-excel",meta:{title:"\u5BFC\u51FA Excel",icon:"MenuIcon"}},{path:"export-merge-header",component:()=>ut(()=>import("./index.42a8764e.js"),["assets/index.42a8764e.js","assets/index.df380b98.css","assets/exprotExcel.a89d1fae.js","assets/exceljs.min.1781a218.js"]),name:"export-merge-header",meta:{title:"\u5BFC\u51FA \u591A\u7EA7\u8868\u5934",icon:"MenuIcon"}},{path:"upload-style-excel",component:()=>ut(()=>import("./index.bc5fe196.js"),["assets/index.bc5fe196.js","assets/index.1879c92d.css","assets/exprotExcel.a89d1fae.js","assets/exceljs.min.1781a218.js"]),name:"upload-style-excel",meta:{title:"\u81EA\u5B9A\u4E49\u6837\u5F0F\u5BFC\u51FA Excel",icon:"MenuIcon"}},{path:"upload-excel",component:()=>ut(()=>import("./index.17e84012.js"),["assets/index.17e84012.js","assets/index.77032e84.css","assets/exceljs.min.1781a218.js"]),name:"upload-excel",meta:{title:"\u4E0A\u4F20 Excel",icon:"MenuIcon"}},{path:"zip",component:()=>ut(()=>import("./index.7869187d.js"),["assets/index.7869187d.js","assets/index.bdd8079d.css","assets/exceljs.min.1781a218.js"]),name:"Zip",meta:{title:"\u5BFC\u51FA Zip",roles:["other"],icon:"MenuIcon"}}]}],BSe=[{path:"/nested",component:zo,redirect:"/form/menu1",name:"nested",meta:{title:"\u8DEF\u7531\u5D4C\u5957",icon:"HelpFilled"},children:[{path:"menu1",component:()=>ut(()=>import("./index.92e1b7b4.js"),[]),name:"menu1",meta:{title:"\u83DC\u53551",icon:"MenuIcon"},alwaysShow:!0,children:[{path:"menu1-1",component:()=>ut(()=>import("./index.e7f13c3c.js"),[]),name:"menu1-1",meta:{title:"\u83DC\u5355 1-1",icon:"MenuIcon"}},{path:"menu1-2",component:()=>ut(()=>import("./index.4449c3e2.js"),[]),name:"menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:"\u83DC\u5355 1-2",icon:"MenuIcon"},children:[{path:"menu1-2-1",component:()=>ut(()=>import("./index.07dd4ef3.js"),[]),name:"menu1-2-1",meta:{title:"\u83DC\u5355 1-2-1",icon:"MenuIcon"}},{path:"menu1-2-2",component:()=>ut(()=>import("./index.f4f147c3.js"),[]),name:"menu1-2-2",meta:{title:"\u83DC\u5355 1-2-2",icon:"MenuIcon"}}]},{path:"menu1-3",component:()=>ut(()=>import("./index.8efd975c.js"),[]),name:"menu1-3",meta:{title:"\u83DC\u5355 1-3",icon:"MenuIcon"}}]},{path:"menu2",component:()=>ut(()=>import("./index.1a753fb1.js"),[]),name:"nested-menu2",meta:{title:"\u83DC\u53552",icon:"MenuIcon"}}]}],DSe=[{path:"/system",component:zo,redirect:"/system/page",name:"system",meta:{title:"\u7CFB\u7EDF\u7BA1\u7406",icon:"Setting"},children:[{path:"user",component:()=>ut(()=>import("./index.770265ee.js"),["assets/index.770265ee.js","assets/index.da76a7e9.css","assets/system.79236d81.js"]),name:"user",meta:{title:"\u7528\u6237\u7BA1\u7406",icon:"MenuIcon"}},{path:"dept",component:()=>ut(()=>import("./index.ba2d34e6.js"),["assets/index.ba2d34e6.js","assets/index.a834a9a7.css","assets/system.79236d81.js"]),name:"dept",meta:{title:"\u90E8\u95E8\u7BA1\u7406",icon:"MenuIcon"}},{path:"role",component:()=>ut(()=>import("./index.7b6c24b5.js"),["assets/index.7b6c24b5.js","assets/index.bccec156.css","assets/system.79236d81.js"]),name:"role",meta:{title:"\u89D2\u8272\u7BA1\u7406",icon:"MenuIcon"}},{path:"menu",component:()=>ut(()=>import("./index.a034a620.js"),["assets/index.a034a620.js","assets/index.d38a94fa.css","assets/system.79236d81.js"]),name:"menu",meta:{title:"\u83DC\u5355\u7BA1\u7406",icon:"MenuIcon"}},{path:"dictionary",component:()=>ut(()=>import("./index.c9faabf1.js"),["assets/index.c9faabf1.js","assets/index.a228bc1c.css","assets/system.79236d81.js"]),name:"dictionary",meta:{title:"\u5B57\u5178\u7BA1\u7406",icon:"MenuIcon"}}]}],KSe=[{path:"/echarts",component:zo,redirect:"/echarts/migration",name:"echarts",meta:{title:"Echarts",icon:"trend-charts",roles:["other"]},children:[{path:"migration",component:()=>ut(()=>import("./index.580bf7d6.js"),["assets/index.580bf7d6.js","assets/index.7c5448ac.css","assets/index.vue_vue_type_script_setup_true_lang.0cc6321a.js","assets/index.201c3aba.js"]),name:"migration",meta:{title:"\u8FC1\u5F99\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"bar",component:()=>ut(()=>import("./index.ced757da.js"),["assets/index.ced757da.js","assets/index.ae81d83b.css","assets/index.201c3aba.js"]),name:"bar",meta:{title:"\u67F1\u72B6\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"graph",component:()=>ut(()=>import("./index.9bb02df8.js"),["assets/index.9bb02df8.js","assets/index.dea02a2d.css","assets/index.201c3aba.js"]),name:"graph",meta:{title:"\u96F7\u8FBE\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"pie",component:()=>ut(()=>import("./index.4174e264.js"),["assets/index.4174e264.js","assets/index.4f0b808a.css","assets/index.201c3aba.js"]),name:"pie",meta:{title:"\u997C\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"simple",component:()=>ut(()=>import("./index.e0f57b3a.js"),["assets/index.e0f57b3a.js","assets/index.470808bd.css","assets/index.201c3aba.js","assets/bar.vue_vue_type_script_setup_true_lang.1158016e.js"]),name:"echarts-simple",meta:{title:"\u7B80\u5355\u56FE\u8868",roles:["other"],icon:"MenuIcon"}}]}],WSe=[{path:"/chat",component:zo,redirect:"/charts/index",name:"chat",meta:{title:"\u804A\u5929\u6846",icon:"chat-square"},children:[{path:"index",component:()=>ut(()=>import("./index.86ddf174.js"),["assets/index.86ddf174.js","assets/index.d55ee797.css"]),name:"chatBox",meta:{title:"\u804A\u5929\u6846",icon:"chat-square"}}]}],jSe=[{path:"/other",component:zo,redirect:"/other/clipboard",name:"other",meta:{title:"\u5E38\u7528\u7EC4\u4EF6",icon:"management"},children:[{path:"clipboard",component:()=>ut(()=>import("./index.71db70c1.js"),[]),name:"clipboard",meta:{title:"\u526A\u8D34\u677F",roles:["other"],icon:"MenuIcon"}},{path:"editor",component:()=>ut(()=>import("./index.2b3d8507.js"),["assets/index.2b3d8507.js","assets/index.9ff4e7fe.css"]),name:"editor",meta:{title:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",roles:["other"],icon:"MenuIcon"}},{path:"code-mirror",component:()=>ut(()=>import("./index.6d214c4d.js"),["assets/index.6d214c4d.js","assets/index.1b75285b.css"]),name:"code-mirror",meta:{title:"\u4EE3\u7801\u7F16\u8F91\u5668",roles:["other"],icon:"MenuIcon"}},{path:"mark-down",component:()=>ut(()=>import("./index.09fa350f.js"),["assets/index.09fa350f.js","assets/index.6ee8dfa0.css"]),name:"mark-down",meta:{title:"markDown",roles:["other"],icon:"MenuIcon"}},{path:"print",component:()=>ut(()=>import("./index.6bf634c3.js"),[]),name:"print",meta:{title:"\u6253\u5370",icon:"MenuIcon"}},{path:"cropper",component:()=>ut(()=>import("./index.e67eda32.js"),["assets/index.e67eda32.js","assets/index.53e5ddc1.css"]),name:"cropper",meta:{title:"\u5934\u50CF\u88C1\u526A",icon:"MenuIcon"}},{path:"card-drag",component:()=>ut(()=>import("./index.14f3bcc2.js"),["assets/index.14f3bcc2.js","assets/index.6f9042fc.css","assets/index.5be08a55.js"]),name:"card-drag",meta:{title:"\u5361\u7247\u62D6\u62FD",icon:"MenuIcon"}},{path:"upload",component:()=>ut(()=>import("./index.55cda1e9.js"),["assets/index.55cda1e9.js","assets/index.c6612b83.css"]),name:"upload",meta:{title:"\u4E0A\u4F20\u56FE\u7247",icon:"MenuIcon"}},{path:"qrcode",component:()=>ut(()=>import("./index.ac1f0d12.js"),["assets/index.ac1f0d12.js","assets/vue-qr.019531fb.js","assets/index.5be08a55.js"]),name:"qrcode",meta:{title:"\u751F\u6210\u4E8C\u7EF4\u7801",icon:"MenuIcon"}},{path:"svgIcon",component:()=>ut(()=>import("./index.cbcf715c.js"),["assets/index.cbcf715c.js","assets/index.05456e02.css"]),name:"svgIcon",meta:{title:"svg \u56FE\u6807",icon:"MenuIcon"}},{path:"iconfont",component:()=>ut(()=>import("./index.a0346396.js"),["assets/index.a0346396.js","assets/index.19b422fb.css"]),name:"iconfont",meta:{title:"\u963F\u91CC\u56FE\u6807\u5E93",icon:"MenuIcon"}},{path:"water-marker",component:()=>ut(()=>import("./index.a048a65f.js"),["assets/index.a048a65f.js","assets/index.5fb67817.css","assets/index.5be08a55.js"]),name:"water-marker",meta:{title:"\u751F\u6210\u6C34\u5370",icon:"MenuIcon"}},{path:"right-menu",component:()=>ut(()=>import("./index.3a4efdc2.js"),["assets/index.3a4efdc2.js","assets/index.109e9ac9.css"]),name:"right-menu",meta:{title:"\u53F3\u952E\u83DC\u5355",icon:"MenuIcon"}},{path:"count",component:()=>ut(()=>import("./index.66a9e482.js"),["assets/index.66a9e482.js","assets/index.fd80bebf.css","assets/index.6a4bd455.js"]),name:"count",meta:{title:"\u6570\u5B57\u52A8\u753B",icon:"MenuIcon"}},{path:"text-clamp",component:()=>ut(()=>import("./index.b8aaeec6.js"),["assets/index.b8aaeec6.js","assets/index.5a29b4a8.css"]),name:"text-clamp",meta:{title:"\u591A\u884C\u6587\u672C\u7701\u7565",icon:"MenuIcon"}}]}],USe=[{path:"/external-link",component:zo,redirect:"noRedirect",name:"external-link",meta:{title:"\u5916\u90E8\u94FE\u63A5",icon:"link"},children:[{path:"wechat",name:"wechat",component:()=>ut(()=>import("./index.7aadd274.js"),["assets/index.7aadd274.js","assets/we.9f0d4da4.js"]),meta:{title:"\u52A0\u5FAE\u4FE1\u7FA4",icon:"MenuIcon"}},{path:"https://github.com/zouzhibin/vue-admin-perfect",name:"github",meta:{title:"Github \u5730\u5740",icon:"MenuIcon"}},{path:"https://gitee.com/yuanzbz/vue-admin-perfect?_from=gitee_search",name:"github",meta:{title:"Gitee \u5730\u5740",icon:"MenuIcon"}},{path:"http://182.61.5.190:8890/#/login",name:"simple",meta:{title:"\u7B80\u6613\u7248\u672C",icon:"MenuIcon"},component:()=>ut(()=>import("./index.f5622438.js"),[])},{path:"iframe",component:()=>ut(()=>import("./index.e7ca893f.js"),["assets/index.e7ca893f.js","assets/index.a5f4d127.css"]),name:"iframe",meta:{title:"\u5185\u5D4C iframe",icon:"MenuIcon"}}]}],qSe=[{path:"/form",component:zo,redirect:"/form/validateForm",name:"form",alwaysShow:!0,meta:{title:"\u8D85\u7EA7\u8868\u5355",icon:"Grape"},children:[{path:"validateForm",component:()=>ut(()=>import("./index.3a8610c0.js"),[]),name:"validateForm",meta:{title:"\u6821\u9A8C Form",keepAlive:!0,icon:"MenuIcon"}},{path:"advancedForm",component:()=>ut(()=>import("./index.1d2a28f5.js"),["assets/index.1d2a28f5.js","assets/index.cd87b3e1.css"]),name:"advancedForm",meta:{title:"\u6536\u7F29 Form",icon:"MenuIcon"}},{path:"appendForm",component:()=>ut(()=>import("./index.4ab27b5d.js"),["assets/index.4ab27b5d.js","assets/index.6d827c07.css"]),name:"appendForm",meta:{title:"\u589E\u5220 Form",keepAlive:!0,icon:"MenuIcon"}},{path:"moreForm",component:()=>ut(()=>import("./index.0cf5bbab.js"),["assets/index.0cf5bbab.js","assets/index.395373ae.css"]),name:"moreForm",meta:{title:"\u591A\u8868\u5355\u9A8C\u8BC1",keepAlive:!0,icon:"MenuIcon"}}]}],YSe=[{path:"/function-page",component:zo,redirect:"/function-page/404",name:"function-page",meta:{title:"\u529F\u80FD\u9875\u9762",icon:"ElementPlus"},children:[{path:"tools",component:()=>ut(()=>import("./index.5f10335e.js"),["assets/index.5f10335e.js","assets/index.ba6e134e.css"]),name:"tools",meta:{title:"\u5DE5\u5177\u94FE\u96C6\u5408",keepAlive:!0,icon:"MenuIcon"}},{path:"404",component:()=>ut(()=>import("./404.56cf6640.js"),["assets/404.56cf6640.js","assets/404.4ec2c0d6.css"]),name:"function-404",meta:{title:"404 \u9875\u9762",keepAlive:!0,icon:"MenuIcon"}},{path:"403",component:()=>ut(()=>import("./403.30fc5977.js"),["assets/403.30fc5977.js","assets/403.df292cdf.css"]),name:"function-403",meta:{title:"403 \u9875\u9762",keepAlive:!0,icon:"MenuIcon"}},{path:"fullscreen",component:()=>ut(()=>import("./index.b8be7f4f.js"),["assets/index.b8be7f4f.js","assets/index.aa7b49db.css"]),name:"fullscreen",meta:{title:"\u5143\u7D20 \u5168\u5C4F",keepAlive:!0,icon:"MenuIcon"}},{path:"information-list",component:()=>ut(()=>import("./index.43ccaf73.js"),["assets/index.43ccaf73.js","assets/index.4512a2c6.css"]),name:"informationList",meta:{title:"\u4FE1\u606F\u5217\u8868",keepAlive:!0,icon:"MenuIcon"}}]}],Lu=[...HSe,...KSe,...VSe,...qSe,...jSe,...YSe,...WSe,...BSe,...FSe,...USe,...DSe],g7=[{path:"/404",name:"404",component:()=>ut(()=>import("./404.56cf6640.js"),["assets/404.56cf6640.js","assets/404.4ec2c0d6.css"]),hidden:!0},{path:"/403",name:"403",component:()=>ut(()=>import("./403.30fc5977.js"),["assets/403.30fc5977.js","assets/403.df292cdf.css"]),hidden:!0},{path:"/login",name:"Login",component:()=>ut(()=>import("./index.5f9c0b4d.js"),["assets/index.5f9c0b4d.js","assets/index.8c98cc8e.css","assets/index.5be08a55.js","assets/vue-qr.019531fb.js"]),hidden:!0,meta:{title:"\u767B\u5F55"}},{path:"/",name:"layout",component:zo,redirect:"/home",children:[{path:"/home",component:()=>ut(()=>import("./index.86261a1b.js"),["assets/index.86261a1b.js","assets/index.772cc20c.css","assets/we.9f0d4da4.js","assets/index.6a4bd455.js","assets/bar.vue_vue_type_script_setup_true_lang.1158016e.js","assets/index.201c3aba.js"]),name:"home",meta:{title:"\u9996\u9875",icon:"House",affix:!0,role:["other"]}}]}],GSe={path:"/:pathMatch(.*)",name:"notFound",redirect:"/404"},rs=_C({history:Ow("/vue-admin-perfect/"),routes:g7});function XSe(e){return typeof e=="object"&&e!==null}function K6(e,t){return e=XSe(e)?e:Object.create(null),new Proxy(e,{get(n,o,r){return Reflect.get(n,o,r)||Reflect.get(t,o,r)}})}function ZSe(e,t){return t.reduce((n,o)=>n==null?void 0:n[o],e)}function JSe(e,t,n){return t.slice(0,-1).reduce((o,r)=>/^(__proto__)$/.test(r)?{}:o[r]=o[r]||{},e)[t[t.length-1]]=n,e}function QSe(e,t){return t.reduce((n,o)=>{const r=o.split(".");return JSe(n,r,ZSe(e,r))},{})}function W6(e,t,n,o){try{const r=t==null?void 0:t.getItem(o);r&&e.$patch(n==null?void 0:n.deserialize(r))}catch{}}function eEe(e={}){return t=>{const{options:{persist:n},store:o}=t;if(!n)return;const r=(Array.isArray(n)?n.map(l=>K6(l,e)):[K6(n,e)]).map(({storage:l=localStorage,beforeRestore:a=null,afterRestore:s=null,serializer:i={serialize:JSON.stringify,deserialize:JSON.parse},key:c=o.$id,paths:f=null})=>({storage:l,beforeRestore:a,afterRestore:s,serializer:i,key:c,paths:f}));r.forEach(l=>{const{storage:a,serializer:s,key:i,paths:c,beforeRestore:f,afterRestore:d}=l;f==null||f(t),W6(o,a,s,i),d==null||d(t),o.$subscribe((p,v)=>{try{const h=Array.isArray(c)?QSe(v,c):v;a.setItem(i,s.serialize(h))}catch{}},{detached:!0})}),o.$hydrate=({runHooks:l=!0}={})=>{r.forEach(a=>{const{beforeRestore:s,afterRestore:i,storage:c,serializer:f,key:d}=a;l&&(s==null||s(t)),W6(o,c,f,d),l&&(i==null||i(t))})}}}var tEe=eEe();Ri({id:"globalState",state:()=>({}),getters:{},actions:{},persist:{key:"globalState",storage:window.sessionStorage}});const _7=sw();_7.use(tEe);const nEe=e=>{Object.keys(j0).forEach(t=>{t!=="Menu"?e.component(t,j0[t]):e.component(t+"Icon",j0[t])})};const oEe={},rEe={class:"m-container-layout"},lEe={class:"m-container-layout-inner"};function aEe(e,t){return w(),M("div",rEe,[k("div",lEe,[ye(e.$slots,"default",{},void 0,!0)])])}const sEe=Zt(oEe,[["render",aEe],["__scopeId","data-v-c600760e"]]);var b7={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT */(function(e,t){(function(n,o){e.exports=o()})(Qo,function(){var n={};n.version="0.2.0";var o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};n.configure=function(h){var m,_;for(m in h)_=h[m],_!==void 0&&h.hasOwnProperty(m)&&(o[m]=_);return this},n.status=null,n.set=function(h){var m=n.isStarted();h=r(h,o.minimum,1),n.status=h===1?null:h;var _=n.render(!m),g=_.querySelector(o.barSelector),y=o.speed,b=o.easing;return _.offsetWidth,s(function(C){o.positionUsing===""&&(o.positionUsing=n.getPositioningCSS()),i(g,a(h,y,b)),h===1?(i(_,{transition:"none",opacity:1}),_.offsetWidth,setTimeout(function(){i(_,{transition:"all "+y+"ms linear",opacity:0}),setTimeout(function(){n.remove(),C()},y)},y)):setTimeout(C,y)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var h=function(){setTimeout(function(){!n.status||(n.trickle(),h())},o.trickleSpeed)};return o.trickle&&h(),this},n.done=function(h){return!h&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(h){var m=n.status;return m?(typeof h!="number"&&(h=(1-m)*r(Math.random()*m,.1,.95)),m=r(m+h,0,.994),n.set(m)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},function(){var h=0,m=0;n.promise=function(_){return!_||_.state()==="resolved"?this:(m===0&&n.start(),h++,m++,_.always(function(){m--,m===0?(h=0,n.done()):n.set((h-m)/h)}),this)}}(),n.render=function(h){if(n.isRendered())return document.getElementById("nprogress");f(document.documentElement,"nprogress-busy");var m=document.createElement("div");m.id="nprogress",m.innerHTML=o.template;var _=m.querySelector(o.barSelector),g=h?"-100":l(n.status||0),y=document.querySelector(o.parent),b;return i(_,{transition:"all 0 linear",transform:"translate3d("+g+"%,0,0)"}),o.showSpinner||(b=m.querySelector(o.spinnerSelector),b&&v(b)),y!=document.body&&f(y,"nprogress-custom-parent"),y.appendChild(m),m},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(o.parent),"nprogress-custom-parent");var h=document.getElementById("nprogress");h&&v(h)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var h=document.body.style,m="WebkitTransform"in h?"Webkit":"MozTransform"in h?"Moz":"msTransform"in h?"ms":"OTransform"in h?"O":"";return m+"Perspective"in h?"translate3d":m+"Transform"in h?"translate":"margin"};function r(h,m,_){return h_?_:h}function l(h){return(-1+h)*100}function a(h,m,_){var g;return o.positionUsing==="translate3d"?g={transform:"translate3d("+l(h)+"%,0,0)"}:o.positionUsing==="translate"?g={transform:"translate("+l(h)+"%,0)"}:g={"margin-left":l(h)+"%"},g.transition="all "+m+"ms "+_,g}var s=function(){var h=[];function m(){var _=h.shift();_&&_(m)}return function(_){h.push(_),h.length==1&&m()}}(),i=function(){var h=["Webkit","O","Moz","ms"],m={};function _(C){return C.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function($,S){return S.toUpperCase()})}function g(C){var $=document.body.style;if(C in $)return C;for(var S=h.length,x=C.charAt(0).toUpperCase()+C.slice(1),T;S--;)if(T=h[S]+x,T in $)return T;return C}function y(C){return C=_(C),m[C]||(m[C]=g(C))}function b(C,$,S){$=y($),C.style[$]=S}return function(C,$){var S=arguments,x,T;if(S.length==2)for(x in $)T=$[x],T!==void 0&&$.hasOwnProperty(x)&&b(C,x,T);else b(C,S[1],S[2])}}();function c(h,m){var _=typeof h=="string"?h:p(h);return _.indexOf(" "+m+" ")>=0}function f(h,m){var _=p(h),g=_+m;c(_,m)||(h.className=g.substring(1))}function d(h,m){var _=p(h),g;!c(h,m)||(g=_.replace(" "+m+" "," "),h.className=g.substring(1,g.length-1))}function p(h){return(" "+(h.className||"")+" ").replace(/\s+/gi," ")}function v(h){h&&h.parentNode&&h.parentNode.removeChild(h)}return n})})(b7);const g4=b7.exports;g4.configure({showSpinner:!1});const iEe=["/login","/auth-redirect"];let uEe=!0;rs.beforeEach(async(e,t,n)=>{g4.start(),typeof e.meta.title=="string"&&(document.title=e.meta.title||"vue-admin-perfect");const o=v4();if(o.token)if(e.path==="/login")n({path:"/"});else try{const l=ra();if(l.routes.length)n();else{const a=await l.generateRoutes(o.roles);uEe=!1,a.forEach(s=>rs.addRoute(s)),n({...e,replace:!0})}}catch{n(`/login?redirect=${e.path}`)}else iEe.indexOf(e.path)!==-1?n():n(`/login?redirect=${e.path}`)});rs.afterEach(()=>{g4.done()});if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const cEe={name:"baseSvgIcon",props:{iconClass:{type:String},className:{type:String}},setup(e){const t=E(()=>e.iconClass?`#icon-${e.iconClass}`:"#icon"),n=E(()=>e.className?"svg-icon "+e.className:"svg-icon");return{iconName:t,svgClass:n}}};const dEe=["xlink:href"];function fEe(e,t,n,o,r,l){return w(),M("svg",{class:A(o.svgClass),"aria-hidden":"true"},[k("use",{"xlink:href":o.iconName},null,8,dEe)],2)}const pEe=Zt(cEe,[["render",fEe],["__scopeId","data-v-fe205699"]]);window._iconfont_svg_string_3641732='',function(e){var n=(n=document.getElementsByTagName("script"))[n.length-1],t=n.getAttribute("data-injectcss"),n=n.getAttribute("data-disable-injectsvg");if(!n){var o,r,l,a,s,i=function(d,p){p.parentNode.insertBefore(d,p)};if(t&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(d){console&&console.log(d)}}o=function(){var d,p=document.createElement("div");p.innerHTML=e._iconfont_svg_string_3641732,(p=p.getElementsByTagName("svg")[0])&&(p.setAttribute("aria-hidden","true"),p.style.position="absolute",p.style.width=0,p.style.height=0,p.style.overflow="hidden",p=p,(d=document.body).firstChild?i(p,d.firstChild):d.appendChild(p))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(o,0):(r=function(){document.removeEventListener("DOMContentLoaded",r,!1),o()},document.addEventListener("DOMContentLoaded",r,!1)):document.attachEvent&&(l=o,a=e.document,s=!1,f(),a.onreadystatechange=function(){a.readyState=="complete"&&(a.onreadystatechange=null,c())})}function c(){s||(s=!0,l())}function f(){try{a.documentElement.doScroll("left")}catch{return void setTimeout(f,50)}c()}}(window);const la=cv(pw);nEe(la);la.component("svg-icon",pEe);la.component("PageWrapLayout",sEe);la.use(t1);la.use(_7);la.use(rs);la.use(gwe).mount("#app");export{to as $,qke as A,E as B,ni as C,ct as D,vwe as E,Re as F,nt as G,yt as H,Nm as I,ye as J,Fe as K,jEe as L,l4 as M,L_ as N,we as O,Dt as P,Qo as Q,KEe as R,Nle as S,st as T,Oi as U,hbe as V,Ye as W,FB as X,rt as Y,zt as Z,Zt as _,k as a,Db as a$,St as a0,kt as a1,on as a2,Yo as a3,Ve as a4,pt as a5,ft as a6,Kt as a7,G6 as a8,Rc as a9,el as aA,uo as aB,pr as aC,REe as aD,sy as aE,AEe as aF,ay as aG,mr as aH,wEe as aI,EEe as aJ,MEe as aK,SEe as aL,vs as aM,Qe as aN,w1 as aO,Pi as aP,Ke as aQ,ls as aR,zEe as aS,Cy as aT,kEe as aU,Nt as aV,xEe as aW,Vb as aX,L8 as aY,x8 as aZ,Kb as a_,gEe as aa,hEe as ab,Pc as ac,P7 as ad,d8 as ae,Yr as af,Ra as ag,sc as ah,Co as ai,Z6 as aj,p8 as ak,Li as al,c8 as am,mEe as an,vEe as ao,hs as ap,Yn as aq,Ai as ar,so as as,zu as at,M8 as au,vn as av,Rb as aw,Ta as ax,bEe as ay,Ni as az,B as b,Bb as b0,Fb as b1,xo as b2,Jo as b3,y8 as b4,$Ee as b5,PEe as b6,ti as b7,H4 as b8,Cb as b9,ol as bA,HEe as bB,FEe as bC,Ba as bD,Qy as bE,Gc as bF,Jy as bG,Fa as bH,WEe as bI,J1 as bJ,pEe as bK,QEe as bL,qEe as bM,UEe as bN,YEe as bO,GEe as bP,XEe as bQ,ZEe as bR,JEe as bS,WT as bT,Va as ba,wy as bb,NEe as bc,jb as bd,CEe as be,as as bf,IEe as bg,_n as bh,E8 as bi,$y as bj,m8 as bk,zb as bl,yEe as bm,LEe as bn,TEe as bo,OEe as bp,_Ee as bq,Xt as br,rv as bs,T1 as bt,cv as bu,BEe as bv,By as bw,VEe as bx,lw as by,DEe as bz,M as c,et as d,py as e,_1 as f,J as g,v4 as h,z as i,_t as j,gt as k,O_ as l,wwe as m,ie as n,w as o,g1 as p,ue as q,Ie as r,u as s,Ee as t,Vi as u,Qle as v,q as w,tt as x,A as y,De as z}; diff --git a/docs/assets/index.048a73c8.js.gz b/docs/assets/index.034c045c.js.gz similarity index 91% rename from docs/assets/index.048a73c8.js.gz rename to docs/assets/index.034c045c.js.gz index aef933a..ecdc6bc 100644 Binary files a/docs/assets/index.048a73c8.js.gz and b/docs/assets/index.034c045c.js.gz differ diff --git a/docs/assets/index.0737fe3b.js.gz b/docs/assets/index.0737fe3b.js.gz deleted file mode 100644 index 0afb140..0000000 Binary files a/docs/assets/index.0737fe3b.js.gz and /dev/null differ diff --git a/docs/assets/index.1af220c7.js b/docs/assets/index.07dd4ef3.js similarity index 75% rename from docs/assets/index.1af220c7.js rename to docs/assets/index.07dd4ef3.js index 607d53f..40ff60f 100644 --- a/docs/assets/index.1af220c7.js +++ b/docs/assets/index.07dd4ef3.js @@ -1 +1 @@ -import{_ as t,r as n,o,c,b as s}from"./index.048a73c8.js";const a={},r={style:{padding:"30px"}};function l(_,d){const e=n("el-alert");return o(),c("div",r,[s(e,{title:"menu 1-2-1",type:"warning",closable:!1})])}const p=t(a,[["render",l]]);export{p as default}; +import{_ as t,r as n,o,c,b as s}from"./index.034c045c.js";const a={},r={style:{padding:"30px"}};function l(_,d){const e=n("el-alert");return o(),c("div",r,[s(e,{title:"menu 1-2-1",type:"warning",closable:!1})])}const p=t(a,[["render",l]]);export{p as default}; diff --git a/docs/assets/index.4380035e.js b/docs/assets/index.09fa350f.js similarity index 99% rename from docs/assets/index.4380035e.js rename to docs/assets/index.09fa350f.js index 50ef1db..816b173 100644 --- a/docs/assets/index.4380035e.js +++ b/docs/assets/index.09fa350f.js @@ -1,4 +1,4 @@ -import{g as j,b as o,j as H,i as I,O,x as R,P as ne,a3 as wt,K as ee,a4 as _,B as N,a5 as xt,F as dt,a6 as U,a7 as oe,r as ue,o as $t,n as Ct,w as Ke,a as Ve,s as St,d as _t,M as Et}from"./index.048a73c8.js";var Tt=Object.defineProperty,It=Object.defineProperties,Dt=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Je=(l,t,e)=>t in l?Tt(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e,te=(l,t)=>{for(var e in t||(t={}))Ft.call(t,e)&&Je(l,e,t[e]);if(Ze)for(var e of Ze(t))Lt.call(t,e)&&Je(l,e,t[e]);return l},fe=(l,t)=>It(l,Dt(t));const c="md",Rt="https://at.alicdn.com/t/font_2605852_pqekijay2ij.js",ie={atom:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/atom-one-dark.css",github:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github.css",githubDark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github-dark.css",js:"https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.2.0/build/highlight.min.js"},We={main:"https://cdn.jsdelivr.net/npm/prettier@2.4.0/standalone.js",markdown:"https://cdn.jsdelivr.net/npm/prettier@2.4.0/parser-markdown.js"},Ge={css:"https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.css",js:"https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.js"},At="https://cdn.jsdelivr.net/npm/screenfull@5.1.0/dist/screenfull.js",ht=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],Qe={"zh-CN":{toolbarTips:{bold:"\u52A0\u7C97",underline:"\u4E0B\u5212\u7EBF",italic:"\u659C\u4F53",strikeThrough:"\u5220\u9664\u7EBF",title:"\u6807\u9898",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",quote:"\u5F15\u7528",unorderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868",codeRow:"\u884C\u5185\u4EE3\u7801",code:"\u5757\u7EA7\u4EE3\u7801",link:"\u94FE\u63A5",image:"\u56FE\u7247",table:"\u8868\u683C",mermaid:"mermaid\u56FE",katex:"katex\u516C\u5F0F",revoke:"\u540E\u9000",next:"\u524D\u8FDB",save:"\u4FDD\u5B58",prettier:"\u7F8E\u5316",pageFullscreen:"\u6D4F\u89C8\u5668\u5168\u5C4F",fullscreen:"\u5C4F\u5E55\u5168\u5C4F",preview:"\u9884\u89C8",htmlPreview:"html\u4EE3\u7801\u9884\u89C8",catalog:"\u76EE\u5F55",github:"\u6E90\u7801\u5730\u5740"},titleItem:{h1:"\u4E00\u7EA7\u6807\u9898",h2:"\u4E8C\u7EA7\u6807\u9898",h3:"\u4E09\u7EA7\u6807\u9898",h4:"\u56DB\u7EA7\u6807\u9898",h5:"\u4E94\u7EA7\u6807\u9898",h6:"\u516D\u7EA7\u6807\u9898"},imgTitleItem:{link:"\u6DFB\u52A0\u94FE\u63A5",upload:"\u4E0A\u4F20\u56FE\u7247",clip2upload:"\u88C1\u526A\u4E0A\u4F20"},linkModalTips:{title:"\u6DFB\u52A0",descLable:"\u94FE\u63A5\u63CF\u8FF0\uFF1A",descLablePlaceHolder:"\u8BF7\u8F93\u5165\u63CF\u8FF0...",urlLable:"\u94FE\u63A5\u5730\u5740\uFF1A",UrlLablePlaceHolder:"\u8BF7\u8F93\u5165\u94FE\u63A5...",buttonOK:"\u786E\u5B9A"},clipModalTips:{title:"\u88C1\u526A\u56FE\u7247\u4E0A\u4F20",buttonUpload:"\u4E0A\u4F20"},copyCode:{text:"\u590D\u5236\u4EE3\u7801",tips:"\u5DF2\u590D\u5236\uFF01"},mermaid:{flow:"\u6D41\u7A0B\u56FE",sequence:"\u65F6\u5E8F\u56FE",gantt:"\u7518\u7279\u56FE",class:"\u7C7B\u56FE",state:"\u72B6\u6001\u56FE",pie:"\u997C\u56FE",relationship:"\u5173\u7CFB\u56FE",journey:"\u65C5\u7A0B\u56FE"},katex:{inline:"\u884C\u5185\u516C\u5F0F",block:"\u5757\u7EA7\u516C\u5F0F"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{title:"Add ",descLable:"Desc:",descLablePlaceHolder:"Enter a description...",urlLable:"Link:",UrlLablePlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",tips:"Copied!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"}}},zt="https://cdn.jsdelivr.net/npm/mermaid@8.13.5/dist/mermaid.min.js",jt="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.js",Ot="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css";class Pt{constructor(){this.pools={}}remove(t,e,n){const r=this.pools[t]&&this.pools[t][e];r&&(this.pools[t][e]=r.filter(s=>s===n))}clear(t){this.pools[t]={}}on(t,e){return this.pools[t]||(this.pools[t]={}),this.pools[t][e.name]||(this.pools[t][e.name]=[]),this.pools[t][e.name].push(e.callback),this.pools[t][e.name].includes(e.callback)}emit(t,e,...n){this.pools[t]||(this.pools[t]={});const r=this.pools[t][e];r&&r.forEach(s=>{try{s(...n)}catch(a){console.error(`${e} monitor event exception\uFF01`,a)}})}}var v=new Pt;const Xe=(l,t)=>{const e=n=>{const i=l.parentElement||document.body,r=i.offsetWidth,s=i.offsetHeight,{clientWidth:a}=document.documentElement,{clientHeight:u}=document.documentElement,p=n.offsetX,d=n.offsetY,g=h=>{let b=h.x+document.body.scrollLeft-document.body.clientLeft-p,k=h.y+document.body.scrollTop-document.body.clientTop-d;b=b<1?1:b{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return l.addEventListener("mousedown",e),()=>{l.removeEventListener("mousedown",e)}},B=(l,t="")=>{const e=document.getElementById(l.id);e?t!==""&&l.onload instanceof Function&&(Reflect.get(window,t)?l.onload(new Event("load")):e.addEventListener("load",l.onload)):document.head.appendChild(l)},Bt=(l,t)=>{const{editorId:e}=l,n=r=>{var s,a;return((s=l.toolbars)==null?void 0:s.includes(r))&&!((a=l.toolbarsExclude)!=null&&a.includes(r))},i=r=>{if(r.target===document.querySelector(`#${l.editorId}-textarea`))if(v.emit(e,"selectTextChange"),r.ctrlKey||r.metaKey)switch(r.code){case"KeyS":{r.shiftKey?n("strikeThrough")&&v.emit(e,"replace","strikeThrough"):n("save")&&(v.emit(e,"onSave",l.modelValue),r.preventDefault());break}case"KeyB":{n("bold")&&(v.emit(e,"replace","bold"),r.preventDefault());break}case"KeyU":{r.shiftKey?n("unorderedList")&&(v.emit(e,"replace","unorderedList"),r.preventDefault()):n("underline")&&(v.emit(e,"replace","underline"),r.preventDefault());break}case"KeyI":{r.shiftKey?n("image")&&(v.emit(e,"openModals","image"),r.preventDefault()):n("italic")&&(v.emit(e,"replace","italic"),r.preventDefault());break}case"Digit1":{n("title")&&(v.emit(e,"replace","h1"),r.preventDefault());break}case"Digit2":{n("title")&&(v.emit(e,"replace","h2"),r.preventDefault());break}case"Digit3":{n("title")&&(v.emit(e,"replace","h3"),r.preventDefault());break}case"Digit4":{n("title")&&(v.emit(e,"replace","h4"),r.preventDefault());break}case"Digit5":{n("title")&&(v.emit(e,"replace","h5"),r.preventDefault());break}case"Digit6":{n("title")&&(v.emit(e,"replace","h6"),r.preventDefault());break}case"ArrowUp":{n("sup")&&(v.emit(e,"replace","sup"),r.preventDefault());break}case"ArrowDown":{n("sub")&&(v.emit(e,"replace","sub"),r.preventDefault());break}case"KeyQ":{if(r.key==="a"){r.target.select();return}v.emit(e,"replace","quote"),r.preventDefault();break}case"KeyA":if(r.key==="q"){v.emit(e,"replace","quote"),r.preventDefault();break}else return;case"KeyO":{n("orderedList")&&(v.emit(e,"replace","orderedList"),r.preventDefault());break}case"KeyC":{if(r.shiftKey)n("code")&&(v.emit(e,"replace","code"),r.preventDefault());else if(r.altKey)n("codeRow")&&(v.emit(e,"replace","codeRow"),r.preventDefault());else{r.preventDefault(),v.emit(e,"replace","ctrlC");break}break}case"KeyL":{n("link")&&(v.emit(e,"openModals","link"),r.preventDefault());break}case"KeyZ":{if(r.key==="w")return;r.shiftKey?n("next")&&(v.emit(e,"ctrlShiftZ"),r.preventDefault()):n("revoke")&&(v.emit(e,"ctrlZ"),r.preventDefault());break}case"KeyW":if(r.key==="z"){r.shiftKey?n("next")&&(v.emit(e,"ctrlShiftZ"),r.preventDefault()):n("revoke")&&(v.emit(e,"ctrlZ"),r.preventDefault());break}else return;case"KeyF":{r.shiftKey&&n("prettier")&&(v.emit(e,"replace","prettier"),r.preventDefault());break}case"KeyT":{r.altKey&&r.shiftKey&&n("table")&&(v.emit(e,"replace","table"),r.preventDefault());break}case"KeyX":{v.emit(e,"replace","ctrlX"),r.preventDefault();break}case"KeyD":{r.preventDefault(),v.emit(e,"replace","ctrlD");break}}else r.code==="Tab"&&(r.preventDefault(),r.shiftKey?v.emit(e,"replace","shiftTab"):v.emit(e,"replace","tab"))};R(()=>{l.previewOnly||(window.addEventListener("keydown",i),v.on(e,{name:"onSave",callback(){l.onSave?l.onSave(l.modelValue):t.emit("onSave",l.modelValue)}}))}),ne(()=>{l.previewOnly||window.removeEventListener("keydown",i)})},Ht=l=>{const{editorId:t}=l;U("editorId",t),U("tabWidth",l.tabWidth),U("theme",N(()=>l.theme));const e=N(()=>{let i=ie.atom;if(l.highlightCss)i=l.highlightCss;else switch(l.previewTheme){case"github":{l.theme==="dark"?i=ie.githubDark:i=ie.github;break}}return{js:l.highlightJs,css:i}});U("highlight",e),U("historyLength",l.historyLength),U("previewOnly",l.previewOnly),U("showCodeRowNumber",l.showCodeRowNumber);const n=N(()=>{const i=te(te({},Qe),l.languageUserDefined);return i[l.language]?i[l.language]:Qe["zh-CN"]});U("usedLanguageText",n),U("Cropper",l.Cropper),U("previewTheme",N(()=>l.previewTheme))},Mt=l=>{const{iconfontJs:t,prettier:e,prettierCDN:n,prettierMDCDN:i,previewOnly:r,cropperCss:s,cropperJs:a}=l;R(()=>{const u=document.createElement("script");u.src=t,u.id=`${c}-icon`;const p=document.createElement("script"),d=document.createElement("script");p.src=n,p.id=`${c}-prettier`,d.src=i,d.id=`${c}-prettierMD`;const g=document.createElement("link");g.rel="stylesheet",g.href=s,g.id=`${c}-cropperCss`;const f=document.createElement("script");f.src=a,f.id=`${c}-cropper`,r||(B(u),l.Cropper||(B(g),B(f)),e&&(B(p),B(d)))})};var Ut=j({setup(){return()=>o("div",{class:`${c}-divider`},null)}});const Z=({instance:l,ctx:t,props:e={}},n="default")=>{const i=(l==null?void 0:l.$slots[n])||(t==null?void 0:t.slots[n]);return(i?i(l):"")||e[n]};var G=j({props:{trigger:{type:String,default:"hover"},overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}},relative:{type:String,default:"html"}},setup(l,t){const e=`${c}-dropdown-hidden`,n=H({overlayClass:[e],overlayStyle:{},triggerHover:!1,overlayHover:!1}),i=I(),r=I(),s=()=>{var g;l.trigger==="hover"&&(n.triggerHover=!0);const f=i.value,h=r.value,b=f.getBoundingClientRect(),k=f.offsetTop,C=f.offsetLeft,x=b.height,$=b.width,A=((g=document.querySelector(l.relative))==null?void 0:g.scrollLeft)||0;n.overlayStyle=fe(te({},n.overlayStyle),{top:k+x+"px",left:C-h.offsetWidth/2+$/2-A+"px"}),l.onChange(!0)},a=()=>{n.overlayHover=!0};O(()=>l.visible,g=>{g?n.overlayClass=n.overlayClass.filter(f=>f!==e):n.overlayClass.push(e)});const u=g=>{const f=i.value,h=r.value;!f.contains(g.target)&&!h.contains(g.target)&&l.onChange(!1)};let p=-1;const d=g=>{i.value===g.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(p),p=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&l.onChange(!1)},10)};return R(()=>{l.trigger==="click"?(i.value.addEventListener("click",s),document.addEventListener("click",u)):(i.value.addEventListener("mouseenter",s),i.value.addEventListener("mouseleave",d),r.value.addEventListener("mouseenter",a),r.value.addEventListener("mouseleave",d))}),ne(()=>{l.trigger==="click"?(i.value.removeEventListener("click",s),document.removeEventListener("click",u)):(i.value.removeEventListener("mouseenter",s),i.value.removeEventListener("mouseleave",d),r.value.removeEventListener("mouseenter",a),r.value.removeEventListener("mouseleave",d))}),()=>{const g=Z({ctx:t}),f=Z({props:l,ctx:t},"overlay"),h=wt(g instanceof Array?g[0]:g,{ref:i}),b=o("div",{class:[`${c}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[o("div",{class:`${c}-dropdown-overlay`},[f instanceof Array?f[0]:f])]);return[h,b]}}});const q=(l,t=0,e=t)=>{l.setSelectionRange?setTimeout(()=>{l.setSelectionRange(t,e),l.focus()},0):console.error("can not reset position!")},ce=(l,t,e)=>{const{deviationStart:n=0,deviationEnd:i=0,direct:r=!1,select:s=!1}=e;let a="";if(l.selectionStart||l.selectionStart===0){const u=l.selectionStart,p=l.selectionEnd||0,{prefixVal:d=l.value.substring(0,u),subfixVal:g=l.value.substring(p,l.value.length)}=e;a=d+t+g,q(l,s?u+n:u+t.length+i,u+t.length+i)}else a+=t;return r&&(l.value=a),a},qt=(l,t={newWindow:!0,nofollow:!0})=>{l||console.error("error link!");const e=document.createElement("a");e.href=l,e.style.display="none",t.newWindow&&(e.target="_blank"),t.nofollow&&(e.rel="noopener noreferrer"),document.body.appendChild(e),e.click(),document.body.removeChild(e)},Ye=(l,t)=>{const e=ft(()=>{l.removeEventListener("scroll",n),l.addEventListener("scroll",n),t.removeEventListener("scroll",n),t.addEventListener("scroll",n)},50),n=i=>{const r=l.clientHeight,s=t.clientHeight,a=l.scrollHeight,u=t.scrollHeight,p=(a-r)/(u-s);i.target===l?(t.removeEventListener("scroll",n),t.scrollTo({top:l.scrollTop/p}),e()):(l.removeEventListener("scroll",n),l.scrollTo({top:t.scrollTop*p}),e())};return[e,()=>{l.removeEventListener("scroll",n),t.removeEventListener("scroll",n)}]},Nt=(l,t="image.png")=>{const e=l.split(","),n=e[0].match(/:(.*?);/);if(n){const i=n[1],r=atob(e[1]);let s=r.length;const a=new Uint8Array(s);for(;s--;)a[s]=r.charCodeAt(s);return new File([a],t,{type:i})}return null},et=l=>{if(!l.trim())return l;const t=l.split(` +import{g as j,b as o,j as H,i as I,O,x as R,P as ne,a3 as wt,K as ee,a4 as _,B as N,a5 as xt,F as dt,a6 as U,a7 as oe,r as ue,o as $t,n as Ct,w as Ke,a as Ve,s as St,d as _t,M as Et}from"./index.034c045c.js";var Tt=Object.defineProperty,It=Object.defineProperties,Dt=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Je=(l,t,e)=>t in l?Tt(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e,te=(l,t)=>{for(var e in t||(t={}))Ft.call(t,e)&&Je(l,e,t[e]);if(Ze)for(var e of Ze(t))Lt.call(t,e)&&Je(l,e,t[e]);return l},fe=(l,t)=>It(l,Dt(t));const c="md",Rt="https://at.alicdn.com/t/font_2605852_pqekijay2ij.js",ie={atom:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/atom-one-dark.css",github:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github.css",githubDark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github-dark.css",js:"https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.2.0/build/highlight.min.js"},We={main:"https://cdn.jsdelivr.net/npm/prettier@2.4.0/standalone.js",markdown:"https://cdn.jsdelivr.net/npm/prettier@2.4.0/parser-markdown.js"},Ge={css:"https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.css",js:"https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.js"},At="https://cdn.jsdelivr.net/npm/screenfull@5.1.0/dist/screenfull.js",ht=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],Qe={"zh-CN":{toolbarTips:{bold:"\u52A0\u7C97",underline:"\u4E0B\u5212\u7EBF",italic:"\u659C\u4F53",strikeThrough:"\u5220\u9664\u7EBF",title:"\u6807\u9898",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",quote:"\u5F15\u7528",unorderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868",codeRow:"\u884C\u5185\u4EE3\u7801",code:"\u5757\u7EA7\u4EE3\u7801",link:"\u94FE\u63A5",image:"\u56FE\u7247",table:"\u8868\u683C",mermaid:"mermaid\u56FE",katex:"katex\u516C\u5F0F",revoke:"\u540E\u9000",next:"\u524D\u8FDB",save:"\u4FDD\u5B58",prettier:"\u7F8E\u5316",pageFullscreen:"\u6D4F\u89C8\u5668\u5168\u5C4F",fullscreen:"\u5C4F\u5E55\u5168\u5C4F",preview:"\u9884\u89C8",htmlPreview:"html\u4EE3\u7801\u9884\u89C8",catalog:"\u76EE\u5F55",github:"\u6E90\u7801\u5730\u5740"},titleItem:{h1:"\u4E00\u7EA7\u6807\u9898",h2:"\u4E8C\u7EA7\u6807\u9898",h3:"\u4E09\u7EA7\u6807\u9898",h4:"\u56DB\u7EA7\u6807\u9898",h5:"\u4E94\u7EA7\u6807\u9898",h6:"\u516D\u7EA7\u6807\u9898"},imgTitleItem:{link:"\u6DFB\u52A0\u94FE\u63A5",upload:"\u4E0A\u4F20\u56FE\u7247",clip2upload:"\u88C1\u526A\u4E0A\u4F20"},linkModalTips:{title:"\u6DFB\u52A0",descLable:"\u94FE\u63A5\u63CF\u8FF0\uFF1A",descLablePlaceHolder:"\u8BF7\u8F93\u5165\u63CF\u8FF0...",urlLable:"\u94FE\u63A5\u5730\u5740\uFF1A",UrlLablePlaceHolder:"\u8BF7\u8F93\u5165\u94FE\u63A5...",buttonOK:"\u786E\u5B9A"},clipModalTips:{title:"\u88C1\u526A\u56FE\u7247\u4E0A\u4F20",buttonUpload:"\u4E0A\u4F20"},copyCode:{text:"\u590D\u5236\u4EE3\u7801",tips:"\u5DF2\u590D\u5236\uFF01"},mermaid:{flow:"\u6D41\u7A0B\u56FE",sequence:"\u65F6\u5E8F\u56FE",gantt:"\u7518\u7279\u56FE",class:"\u7C7B\u56FE",state:"\u72B6\u6001\u56FE",pie:"\u997C\u56FE",relationship:"\u5173\u7CFB\u56FE",journey:"\u65C5\u7A0B\u56FE"},katex:{inline:"\u884C\u5185\u516C\u5F0F",block:"\u5757\u7EA7\u516C\u5F0F"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{title:"Add ",descLable:"Desc:",descLablePlaceHolder:"Enter a description...",urlLable:"Link:",UrlLablePlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",tips:"Copied!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"}}},zt="https://cdn.jsdelivr.net/npm/mermaid@8.13.5/dist/mermaid.min.js",jt="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.js",Ot="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css";class Pt{constructor(){this.pools={}}remove(t,e,n){const r=this.pools[t]&&this.pools[t][e];r&&(this.pools[t][e]=r.filter(s=>s===n))}clear(t){this.pools[t]={}}on(t,e){return this.pools[t]||(this.pools[t]={}),this.pools[t][e.name]||(this.pools[t][e.name]=[]),this.pools[t][e.name].push(e.callback),this.pools[t][e.name].includes(e.callback)}emit(t,e,...n){this.pools[t]||(this.pools[t]={});const r=this.pools[t][e];r&&r.forEach(s=>{try{s(...n)}catch(a){console.error(`${e} monitor event exception\uFF01`,a)}})}}var v=new Pt;const Xe=(l,t)=>{const e=n=>{const i=l.parentElement||document.body,r=i.offsetWidth,s=i.offsetHeight,{clientWidth:a}=document.documentElement,{clientHeight:u}=document.documentElement,p=n.offsetX,d=n.offsetY,g=h=>{let b=h.x+document.body.scrollLeft-document.body.clientLeft-p,k=h.y+document.body.scrollTop-document.body.clientTop-d;b=b<1?1:b{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return l.addEventListener("mousedown",e),()=>{l.removeEventListener("mousedown",e)}},B=(l,t="")=>{const e=document.getElementById(l.id);e?t!==""&&l.onload instanceof Function&&(Reflect.get(window,t)?l.onload(new Event("load")):e.addEventListener("load",l.onload)):document.head.appendChild(l)},Bt=(l,t)=>{const{editorId:e}=l,n=r=>{var s,a;return((s=l.toolbars)==null?void 0:s.includes(r))&&!((a=l.toolbarsExclude)!=null&&a.includes(r))},i=r=>{if(r.target===document.querySelector(`#${l.editorId}-textarea`))if(v.emit(e,"selectTextChange"),r.ctrlKey||r.metaKey)switch(r.code){case"KeyS":{r.shiftKey?n("strikeThrough")&&v.emit(e,"replace","strikeThrough"):n("save")&&(v.emit(e,"onSave",l.modelValue),r.preventDefault());break}case"KeyB":{n("bold")&&(v.emit(e,"replace","bold"),r.preventDefault());break}case"KeyU":{r.shiftKey?n("unorderedList")&&(v.emit(e,"replace","unorderedList"),r.preventDefault()):n("underline")&&(v.emit(e,"replace","underline"),r.preventDefault());break}case"KeyI":{r.shiftKey?n("image")&&(v.emit(e,"openModals","image"),r.preventDefault()):n("italic")&&(v.emit(e,"replace","italic"),r.preventDefault());break}case"Digit1":{n("title")&&(v.emit(e,"replace","h1"),r.preventDefault());break}case"Digit2":{n("title")&&(v.emit(e,"replace","h2"),r.preventDefault());break}case"Digit3":{n("title")&&(v.emit(e,"replace","h3"),r.preventDefault());break}case"Digit4":{n("title")&&(v.emit(e,"replace","h4"),r.preventDefault());break}case"Digit5":{n("title")&&(v.emit(e,"replace","h5"),r.preventDefault());break}case"Digit6":{n("title")&&(v.emit(e,"replace","h6"),r.preventDefault());break}case"ArrowUp":{n("sup")&&(v.emit(e,"replace","sup"),r.preventDefault());break}case"ArrowDown":{n("sub")&&(v.emit(e,"replace","sub"),r.preventDefault());break}case"KeyQ":{if(r.key==="a"){r.target.select();return}v.emit(e,"replace","quote"),r.preventDefault();break}case"KeyA":if(r.key==="q"){v.emit(e,"replace","quote"),r.preventDefault();break}else return;case"KeyO":{n("orderedList")&&(v.emit(e,"replace","orderedList"),r.preventDefault());break}case"KeyC":{if(r.shiftKey)n("code")&&(v.emit(e,"replace","code"),r.preventDefault());else if(r.altKey)n("codeRow")&&(v.emit(e,"replace","codeRow"),r.preventDefault());else{r.preventDefault(),v.emit(e,"replace","ctrlC");break}break}case"KeyL":{n("link")&&(v.emit(e,"openModals","link"),r.preventDefault());break}case"KeyZ":{if(r.key==="w")return;r.shiftKey?n("next")&&(v.emit(e,"ctrlShiftZ"),r.preventDefault()):n("revoke")&&(v.emit(e,"ctrlZ"),r.preventDefault());break}case"KeyW":if(r.key==="z"){r.shiftKey?n("next")&&(v.emit(e,"ctrlShiftZ"),r.preventDefault()):n("revoke")&&(v.emit(e,"ctrlZ"),r.preventDefault());break}else return;case"KeyF":{r.shiftKey&&n("prettier")&&(v.emit(e,"replace","prettier"),r.preventDefault());break}case"KeyT":{r.altKey&&r.shiftKey&&n("table")&&(v.emit(e,"replace","table"),r.preventDefault());break}case"KeyX":{v.emit(e,"replace","ctrlX"),r.preventDefault();break}case"KeyD":{r.preventDefault(),v.emit(e,"replace","ctrlD");break}}else r.code==="Tab"&&(r.preventDefault(),r.shiftKey?v.emit(e,"replace","shiftTab"):v.emit(e,"replace","tab"))};R(()=>{l.previewOnly||(window.addEventListener("keydown",i),v.on(e,{name:"onSave",callback(){l.onSave?l.onSave(l.modelValue):t.emit("onSave",l.modelValue)}}))}),ne(()=>{l.previewOnly||window.removeEventListener("keydown",i)})},Ht=l=>{const{editorId:t}=l;U("editorId",t),U("tabWidth",l.tabWidth),U("theme",N(()=>l.theme));const e=N(()=>{let i=ie.atom;if(l.highlightCss)i=l.highlightCss;else switch(l.previewTheme){case"github":{l.theme==="dark"?i=ie.githubDark:i=ie.github;break}}return{js:l.highlightJs,css:i}});U("highlight",e),U("historyLength",l.historyLength),U("previewOnly",l.previewOnly),U("showCodeRowNumber",l.showCodeRowNumber);const n=N(()=>{const i=te(te({},Qe),l.languageUserDefined);return i[l.language]?i[l.language]:Qe["zh-CN"]});U("usedLanguageText",n),U("Cropper",l.Cropper),U("previewTheme",N(()=>l.previewTheme))},Mt=l=>{const{iconfontJs:t,prettier:e,prettierCDN:n,prettierMDCDN:i,previewOnly:r,cropperCss:s,cropperJs:a}=l;R(()=>{const u=document.createElement("script");u.src=t,u.id=`${c}-icon`;const p=document.createElement("script"),d=document.createElement("script");p.src=n,p.id=`${c}-prettier`,d.src=i,d.id=`${c}-prettierMD`;const g=document.createElement("link");g.rel="stylesheet",g.href=s,g.id=`${c}-cropperCss`;const f=document.createElement("script");f.src=a,f.id=`${c}-cropper`,r||(B(u),l.Cropper||(B(g),B(f)),e&&(B(p),B(d)))})};var Ut=j({setup(){return()=>o("div",{class:`${c}-divider`},null)}});const Z=({instance:l,ctx:t,props:e={}},n="default")=>{const i=(l==null?void 0:l.$slots[n])||(t==null?void 0:t.slots[n]);return(i?i(l):"")||e[n]};var G=j({props:{trigger:{type:String,default:"hover"},overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}},relative:{type:String,default:"html"}},setup(l,t){const e=`${c}-dropdown-hidden`,n=H({overlayClass:[e],overlayStyle:{},triggerHover:!1,overlayHover:!1}),i=I(),r=I(),s=()=>{var g;l.trigger==="hover"&&(n.triggerHover=!0);const f=i.value,h=r.value,b=f.getBoundingClientRect(),k=f.offsetTop,C=f.offsetLeft,x=b.height,$=b.width,A=((g=document.querySelector(l.relative))==null?void 0:g.scrollLeft)||0;n.overlayStyle=fe(te({},n.overlayStyle),{top:k+x+"px",left:C-h.offsetWidth/2+$/2-A+"px"}),l.onChange(!0)},a=()=>{n.overlayHover=!0};O(()=>l.visible,g=>{g?n.overlayClass=n.overlayClass.filter(f=>f!==e):n.overlayClass.push(e)});const u=g=>{const f=i.value,h=r.value;!f.contains(g.target)&&!h.contains(g.target)&&l.onChange(!1)};let p=-1;const d=g=>{i.value===g.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(p),p=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&l.onChange(!1)},10)};return R(()=>{l.trigger==="click"?(i.value.addEventListener("click",s),document.addEventListener("click",u)):(i.value.addEventListener("mouseenter",s),i.value.addEventListener("mouseleave",d),r.value.addEventListener("mouseenter",a),r.value.addEventListener("mouseleave",d))}),ne(()=>{l.trigger==="click"?(i.value.removeEventListener("click",s),document.removeEventListener("click",u)):(i.value.removeEventListener("mouseenter",s),i.value.removeEventListener("mouseleave",d),r.value.removeEventListener("mouseenter",a),r.value.removeEventListener("mouseleave",d))}),()=>{const g=Z({ctx:t}),f=Z({props:l,ctx:t},"overlay"),h=wt(g instanceof Array?g[0]:g,{ref:i}),b=o("div",{class:[`${c}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[o("div",{class:`${c}-dropdown-overlay`},[f instanceof Array?f[0]:f])]);return[h,b]}}});const q=(l,t=0,e=t)=>{l.setSelectionRange?setTimeout(()=>{l.setSelectionRange(t,e),l.focus()},0):console.error("can not reset position!")},ce=(l,t,e)=>{const{deviationStart:n=0,deviationEnd:i=0,direct:r=!1,select:s=!1}=e;let a="";if(l.selectionStart||l.selectionStart===0){const u=l.selectionStart,p=l.selectionEnd||0,{prefixVal:d=l.value.substring(0,u),subfixVal:g=l.value.substring(p,l.value.length)}=e;a=d+t+g,q(l,s?u+n:u+t.length+i,u+t.length+i)}else a+=t;return r&&(l.value=a),a},qt=(l,t={newWindow:!0,nofollow:!0})=>{l||console.error("error link!");const e=document.createElement("a");e.href=l,e.style.display="none",t.newWindow&&(e.target="_blank"),t.nofollow&&(e.rel="noopener noreferrer"),document.body.appendChild(e),e.click(),document.body.removeChild(e)},Ye=(l,t)=>{const e=ft(()=>{l.removeEventListener("scroll",n),l.addEventListener("scroll",n),t.removeEventListener("scroll",n),t.addEventListener("scroll",n)},50),n=i=>{const r=l.clientHeight,s=t.clientHeight,a=l.scrollHeight,u=t.scrollHeight,p=(a-r)/(u-s);i.target===l?(t.removeEventListener("scroll",n),t.scrollTo({top:l.scrollTop/p}),e()):(l.removeEventListener("scroll",n),l.scrollTo({top:t.scrollTop*p}),e())};return[e,()=>{l.removeEventListener("scroll",n),t.removeEventListener("scroll",n)}]},Nt=(l,t="image.png")=>{const e=l.split(","),n=e[0].match(/:(.*?);/);if(n){const i=n[1],r=atob(e[1]);let s=r.length;const a=new Uint8Array(s);for(;s--;)a[s]=r.charCodeAt(s);return new File([a],t,{type:i})}return null},et=l=>{if(!l.trim())return l;const t=l.split(` `),e=['"),`${l}${e.join("")}`},ft=(l,t=200)=>{let e=0;return(...n)=>{e&&clearTimeout(e),e=window.setTimeout(()=>{l.apply(globalThis,n),e=0},t)}},tt=(l,t="$")=>{const e=l.split(t);let n=t,i="";for(let r=1;r{var t;return navigator.userAgent.indexOf("Firefox")>-1?l.value.substring(l.selectionStart,l.selectionEnd):((t=window.getSelection())==null?void 0:t.toString())||""};var pt=j({props:{title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClosed:{type:Function,default:()=>()=>{}},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>()=>{}}},setup(l,t){const e=I(l.visible),n=I([`${c}-modal`]),i=I(),r=I();let s=()=>{};const a=H({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}});return R(()=>{s=Xe(r.value,(u,p)=>{a.initPos.left=u+"px",a.initPos.top=p+"px"})}),ne(()=>{s()}),O(()=>l.isFullscreen,u=>{u?s():s=Xe(r.value,(p,d)=>{a.initPos.left=p+"px",a.initPos.top=d+"px"})}),O(()=>l.visible,u=>{u?(n.value.push("zoom-in"),e.value=u,ee(()=>{const p=i.value.offsetWidth/2,d=i.value.offsetHeight/2,g=document.documentElement.clientWidth/2,f=document.documentElement.clientHeight/2;a.initPos.left=g-p+"px",a.initPos.top=f-d+"px"}),setTimeout(()=>{n.value=n.value.filter(p=>p!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(p=>p!=="zoom-out"),e.value=u},130))}),()=>{const u=Z({ctx:t}),p=Z({props:l,ctx:t},"title");return o("div",{style:{display:e.value?"block":"none"}},[o("div",{class:`${c}-modal-mask`,onClick:l.onClosed},null),o("div",{class:n.value,style:fe(te({},a.initPos),{width:l.width,height:l.height}),ref:i},[o("div",{class:`${c}-modal-header`,ref:r},[p||""]),o("div",{class:`${c}-modal-body`},[u]),o("div",{class:`${c}-modal-func`},[l.showAdjust&&o("div",{class:`${c}-modal-adjust`,onClick:d=>{d.stopPropagation(),l.isFullscreen?a.initPos=a.historyPos:(a.historyPos=a.initPos,a.initPos={left:"0",top:"0"}),l.onAdjust(!l.isFullscreen)}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":`#icon-${l.isFullscreen?"suoxiao":"fangda"}`},null)])]),o("div",{class:`${c}-modal-close`,onClick:d=>{d.stopPropagation(),l.onClosed&&l.onClosed()}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-close"},null)])])])])])}}}),Vt=j({props:{type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(l){const t=_("usedLanguageText"),e=_("editorId"),n=N(()=>{var r,s,a,u;switch(l.type){case"link":return`${(r=t.value.linkModalTips)==null?void 0:r.title}${(s=t.value.toolbarTips)==null?void 0:s.link}`;case"image":return`${(a=t.value.linkModalTips)==null?void 0:a.title}${(u=t.value.toolbarTips)==null?void 0:u.image}`;default:return""}}),i=H({desc:"",url:""});return O(()=>l.visible,r=>{r||setTimeout(()=>{i.desc="",i.url=""},200)}),()=>o(pt,{title:n.value,visible:l.visible,onClosed:l.onCancel},{default:()=>{var r,s,a,u,p;return[o("div",{class:`${c}-form-item`},[o("label",{class:`${c}-lable`,for:`link-desc-${e}`},[(r=t.value.linkModalTips)==null?void 0:r.descLable]),o("input",{placeholder:(s=t.value.linkModalTips)==null?void 0:s.descLablePlaceHolder,class:`${c}-input`,id:`link-desc-${e}`,type:"text",value:i.desc,onChange:d=>{i.desc=d.target.value},autocomplete:"off"},null)]),o("div",{class:`${c}-form-item`},[o("label",{class:`${c}-lable`,for:`link-url-${e}`},[(a=t.value.linkModalTips)==null?void 0:a.urlLable]),o("input",{placeholder:(u=t.value.linkModalTips)==null?void 0:u.UrlLablePlaceHolder,class:`${c}-input`,id:`link-url-${e}`,type:"text",value:i.url,onChange:d=>{i.url=d.target.value},autocomplete:"off"},null)]),o("div",{class:`${c}-form-item`},[o("button",{class:[`${c}-btn`,`${c}-btn-row`],type:"button",onClick:()=>{l.onOk(i),i.desc="",i.url=""}},[(p=t.value.linkModalTips)==null?void 0:p.buttonOK])])]}})}}),Zt=j({props:{visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(l){const t=_("usedLanguageText"),e=_("editorId");let n=_("Cropper");const i=I(),r=I(),s=I(),a=H({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let u=null;O(()=>l.visible,()=>{l.visible&&!a.cropperInited&&(n=n||window.Cropper,i.value.onchange=()=>{if(!n)return;const g=i.value.files||[];if(a.imgSelected=!0,(g==null?void 0:g.length)>0){const f=new FileReader;f.onload=h=>{a.imgSrc=h.target.result,ee(()=>{u=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`})})},f.readAsDataURL(g[0])}})}),O(()=>[a.imgSelected],()=>{s.value.style=""}),O(()=>a.isFullscreen,()=>{ee(()=>{u==null||u.destroy(),s.value.style="",r.value&&(u=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`}))})});const p=N(()=>a.isFullscreen?{width:"100%",height:"100%"}:{width:"668px",height:"421px"}),d=()=>{u.destroy(),i.value.value="",a.imgSelected=!1};return()=>{var g;return o(pt,xt({title:(g=t.value.clipModalTips)==null?void 0:g.title,visible:l.visible,onClosed:l.onCancel,showAdjust:!0,isFullscreen:a.isFullscreen,onAdjust:f=>{a.isFullscreen=f}},p.value),{default:()=>{var f;return[o("div",{class:`${c}-form-item ${c}-clip`},[o("div",{class:`${c}-clip-main`},[a.imgSelected?o("div",{class:`${c}-clip-cropper`},[o("img",{src:a.imgSrc,ref:r,style:{display:"none"}},null),o("div",{class:`${c}-clip-delete`,onClick:d},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-delete"},null)])])]):o("div",{class:`${c}-clip-upload`,onClick:()=>{i.value.click()}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-upload"},null)])])]),o("div",{class:`${c}-clip-preview`},[o("div",{class:`${c}-clip-preview-target`,ref:s},null)])]),o("div",{class:`${c}-form-item`},[o("button",{class:`${c}-btn`,type:"button",onClick:()=>{const h=u.getCroppedCanvas();v.emit(e,"uploadImage",[Nt(h.toDataURL("image/png"))],l.onOk),d()}},[(f=t.value.linkModalTips)==null?void 0:f.buttonOK])]),o("input",{ref:i,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}}),Jt=j({props:{type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(l){return()=>o(dt,null,[o(Vt,{type:l.type,visible:l.linkVisible,onOk:l.onOk,onCancel:l.onCancel},null),o(Zt,{visible:l.clipVisible,onOk:l.onOk,onCancel:l.onCancel},null)])}});const Wt=l=>{const t=_("previewOnly");let{screenfull:e}=l;const n=I(!1),i=()=>{!e||(e.isEnabled?(n.value=!0,e.isFullscreen?e.exit():e.request()):console.error("browser does not support screenfull!"))},r=()=>{e&&e.isEnabled&&e.on("change",()=>{n.value&&(n.value=!1,l.updateSetting(!l.setting.fullscreen,"fullscreen"))})},s=()=>{e=window.screenfull,r()};return R(()=>{if(r(),!t&&l.screenfull===null){const a=document.createElement("script");a.src=l.screenfullJs,a.onload=s,a.id=`${c}-screenfull`,B(a,"screenfull")}}),{fullScreenHandler:i}},Gt=j({name:"TableShape",props:{tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},setup(l){const t=H({x:-1,y:-1});return()=>o("div",{class:`${c}-table-shape`,onMouseleave:()=>{t.x=-1,t.y=-1}},[new Array(l.tableShape[1]).fill("").map((e,n)=>o("div",{class:`${c}-table-shape-row`,key:`table-shape-row-${n}`},[new Array(l.tableShape[0]).fill("").map((i,r)=>o("div",{class:`${c}-table-shape-col`,key:`table-shape-col-${r}`,onMouseenter:()=>{t.x=n,t.y=r},onClick:()=>{l.onSelected(t)}},[o("div",{class:[`${c}-table-shape-col-default`,n<=t.x&&r<=t.y&&`${c}-table-shape-col-include`]},null)]))]))])}});var Qt=j({name:"MDEditorToolbar",props:{prettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object}},setup(l){const t=_("editorId"),e=_("usedLanguageText"),{fullScreenHandler:n}=Wt(l),i=`${t}-toolbar-wrapper`,r=H({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),s=(h,b)=>{v.emit(t,"replace",h,b)},a=H({type:"link",linkVisible:!1,clipVisible:!1}),u=I();R(()=>{v.on(t,{name:"openModals",callback(h){a.type=h,a.linkVisible=!0}})});const p=N(()=>{const h=l.toolbars.filter(x=>!l.toolbarsExclude.includes(x)),b=h.indexOf("="),k=b===-1?h:h.slice(0,b+1),C=b===-1?[]:h.slice(b,Number.MAX_SAFE_INTEGER);return[k,C]}),d=I(),g=()=>{v.emit(t,"uploadImage",Array.from(d.value.files||[])),d.value.value=""};R(()=>{d.value.addEventListener("change",g)});const f=h=>{var b,k,C,x,$,A,D,T,z,F,P,J,me,ve,ke,be,ye,we,xe,$e,Ce,Se,_e,Ee,Te,Ie,De,Fe,Le,Re,Ae,ze,je,Oe,Pe,Be,He,Me,Ue,qe,Ne;if(ht.includes(h))switch(h){case"-":return o(Ut,null,null);case"bold":return o("div",{class:`${c}-toolbar-item`,title:(b=e.value.toolbarTips)==null?void 0:b.bold,onClick:()=>{s("bold")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-bold"},null)])]);case"underline":return o("div",{class:`${c}-toolbar-item`,title:(k=e.value.toolbarTips)==null?void 0:k.underline,onClick:()=>{s("underline")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-underline"},null)])]);case"italic":return o("div",{class:`${c}-toolbar-item`,title:(C=e.value.toolbarTips)==null?void 0:C.italic,onClick:()=>{s("italic")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-italic"},null)])]);case"strikeThrough":return o("div",{class:`${c}-toolbar-item`,title:(x=e.value.toolbarTips)==null?void 0:x.strikeThrough,onClick:()=>{s("strikeThrough")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-strike-through"},null)])]);case"title":return o(G,{relative:`#${i}`,visible:r.title,onChange:S=>{r.title=S},overlay:o("ul",{class:`${c}-menu`,onClick:()=>{r.title=!1}},[o("li",{class:`${c}-menu-item`,onClick:()=>{s("h1")}},[($=e.value.titleItem)==null?void 0:$.h1]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("h2")}},[(A=e.value.titleItem)==null?void 0:A.h2]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("h3")}},[(D=e.value.titleItem)==null?void 0:D.h3]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("h4")}},[(T=e.value.titleItem)==null?void 0:T.h4]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("h5")}},[(z=e.value.titleItem)==null?void 0:z.h5]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("h6")}},[(F=e.value.titleItem)==null?void 0:F.h6])])},{default:()=>{var S;return[o("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.title},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-title"},null)])])]}});case"sub":return o("div",{class:`${c}-toolbar-item`,title:(P=e.value.toolbarTips)==null?void 0:P.sub,onClick:()=>{s("sub")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-sub"},null)])]);case"sup":return o("div",{class:`${c}-toolbar-item`,title:(J=e.value.toolbarTips)==null?void 0:J.sup,onClick:()=>{s("sup")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-sup"},null)])]);case"quote":return o("div",{class:`${c}-toolbar-item`,title:(me=e.value.toolbarTips)==null?void 0:me.quote,onClick:()=>{s("quote")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-quote"},null)])]);case"unorderedList":return o("div",{class:`${c}-toolbar-item`,title:(ve=e.value.toolbarTips)==null?void 0:ve.unorderedList,onClick:()=>{s("unorderedList")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-unordered-list"},null)])]);case"orderedList":return o("div",{class:`${c}-toolbar-item`,title:(ke=e.value.toolbarTips)==null?void 0:ke.orderedList,onClick:()=>{s("orderedList")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-ordered-list"},null)])]);case"codeRow":return o("div",{class:`${c}-toolbar-item`,title:(be=e.value.toolbarTips)==null?void 0:be.codeRow,onClick:()=>{s("codeRow")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-code-row"},null)])]);case"code":return o("div",{class:`${c}-toolbar-item`,title:(ye=e.value.toolbarTips)==null?void 0:ye.code,onClick:()=>{s("code")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-code"},null)])]);case"link":return o("div",{class:`${c}-toolbar-item`,title:(we=e.value.toolbarTips)==null?void 0:we.link,onClick:()=>{a.type="link",a.linkVisible=!0}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-link"},null)])]);case"image":return o(G,{relative:`#${i}`,visible:r.image,onChange:S=>{r.image=S},overlay:o("ul",{class:`${c}-menu`,onClick:()=>{r.title=!1}},[o("li",{class:`${c}-menu-item`,onClick:()=>{a.type="image",a.linkVisible=!0}},[(xe=e.value.imgTitleItem)==null?void 0:xe.link]),o("li",{class:`${c}-menu-item`,onClick:()=>{d.value.click()}},[($e=e.value.imgTitleItem)==null?void 0:$e.upload]),o("li",{class:`${c}-menu-item`,onClick:()=>{a.clipVisible=!0}},[(Ce=e.value.imgTitleItem)==null?void 0:Ce.clip2upload])])},{default:()=>{var S;return[o("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.image},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-image"},null)])])]}});case"table":return o(G,{relative:`#${i}`,visible:r.table,onChange:S=>{r.table=S},key:"bar-table",overlay:o(Gt,{tableShape:l.tableShape,onSelected:S=>{s("table",{selectedShape:S})}},null)},{default:()=>{var S;return[o("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.table},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-table"},null)])])]}});case"revoke":return o("div",{class:`${c}-toolbar-item`,title:(Se=e.value.toolbarTips)==null?void 0:Se.revoke,onClick:()=>{v.emit(t,"ctrlZ")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-revoke"},null)])]);case"next":return o("div",{class:`${c}-toolbar-item`,title:(_e=e.value.toolbarTips)==null?void 0:_e.next,onClick:()=>{v.emit(t,"ctrlShiftZ")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-next"},null)])]);case"save":return o("div",{class:`${c}-toolbar-item`,title:(Ee=e.value.toolbarTips)==null?void 0:Ee.save,onClick:()=>{v.emit(t,"onSave")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-baocun"},null)])]);case"prettier":return l.prettier?o("div",{class:`${c}-toolbar-item`,title:(Te=e.value.toolbarTips)==null?void 0:Te.prettier,onClick:()=>{s("prettier")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-prettier"},null)])]):"";case"pageFullscreen":return!l.setting.fullscreen&&o("div",{class:`${c}-toolbar-item`,title:(Ie=e.value.toolbarTips)==null?void 0:Ie.pageFullscreen,onClick:()=>{l.updateSetting(!l.setting.pageFullScreen,"pageFullScreen")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":`#icon-${l.setting.pageFullScreen?"suoxiao":"fangda"}`},null)])]);case"fullscreen":return o("div",{class:`${c}-toolbar-item`,title:(De=e.value.toolbarTips)==null?void 0:De.fullscreen,onClick:n},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":`#icon-${l.setting.fullscreen?"fullScreen-exit":"fullScreen"}`},null)])]);case"preview":return o("div",{class:`${c}-toolbar-item`,title:(Fe=e.value.toolbarTips)==null?void 0:Fe.preview,onClick:()=>{l.updateSetting(!l.setting.preview,"preview")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-preview"},null)])]);case"htmlPreview":return o("div",{class:`${c}-toolbar-item`,title:(Le=e.value.toolbarTips)==null?void 0:Le.htmlPreview,onClick:()=>{l.updateSetting(!l.setting.htmlPreview,"htmlPreview")}},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-coding"},null)])]);case"catalog":return o("div",{class:`${c}-toolbar-item`,title:(Re=e.value.toolbarTips)==null?void 0:Re.catalog,onClick:()=>{v.emit(t,"catalogShow")},key:"bar-catalog"},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-catalog"},null)])]);case"github":return o("div",{class:`${c}-toolbar-item`,title:(Ae=e.value.toolbarTips)==null?void 0:Ae.github,onClick:()=>qt("https://github.com/imzbf/md-editor-v3")},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-github"},null)])]);case"mermaid":return o(G,{relative:`#${i}`,visible:r.mermaid,onChange:S=>{r.mermaid=S},overlay:o("ul",{class:`${c}-menu`,onClick:()=>{r.mermaid=!1}},[o("li",{class:`${c}-menu-item`,onClick:()=>{s("flow")}},[(ze=e.value.mermaid)==null?void 0:ze.flow]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("sequence")}},[(je=e.value.mermaid)==null?void 0:je.sequence]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("gantt")}},[(Oe=e.value.mermaid)==null?void 0:Oe.gantt]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("class")}},[(Pe=e.value.mermaid)==null?void 0:Pe.class]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("state")}},[(Be=e.value.mermaid)==null?void 0:Be.state]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("pie")}},[(He=e.value.mermaid)==null?void 0:He.pie]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("relationship")}},[(Me=e.value.mermaid)==null?void 0:Me.relationship]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("journey")}},[(Ue=e.value.mermaid)==null?void 0:Ue.journey])]),key:"bar-mermaid"},{default:()=>{var S;return[o("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.mermaid},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-mermaid"},null)])])]}});case"katex":return o(G,{relative:`#${i}`,visible:r.katex,onChange:S=>{r.katex=S},overlay:o("ul",{class:`${c}-menu`,onClick:()=>{r.katex=!1}},[o("li",{class:`${c}-menu-item`,onClick:()=>{s("katexInline")}},[(qe=e.value.katex)==null?void 0:qe.inline]),o("li",{class:`${c}-menu-item`,onClick:()=>{s("katexBlock")}},[(Ne=e.value.katex)==null?void 0:Ne.block])]),key:"bar-katex"},{default:()=>{var S;return[o("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.katex},[o("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o("use",{"xlink:href":"#icon-formula"},null)])])]}})}else return l.defToolbars instanceof Array?l.defToolbars[h]||"":l.defToolbars&&l.defToolbars.children instanceof Array&&l.defToolbars.children[h]||""};return()=>{const h=p.value[0].map(k=>f(k)),b=p.value[1].map(k=>f(k));return o("div",{class:`${c}-toolbar-wrapper`,id:i},[o("div",{class:`${c}-toolbar`,onMouseenter:()=>{v.emit(t,"selectTextChange")}},[o("div",{class:`${c}-toolbar-left`,ref:u},[h]),o("div",{class:`${c}-toolbar-right`},[b])]),o("input",{ref:d,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),o(Jt,{linkVisible:a.linkVisible,clipVisible:a.clipVisible,type:a.type,onCancel:()=>{a.linkVisible=!1,a.clipVisible=!1},onOk:k=>{k&&s(a.type,{desc:k.desc,url:k.url}),a.linkVisible=!1,a.clipVisible=!1}},null)])}}});function gt(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let Q=gt();function Xt(l){Q=l}const Yt=/[&<>"']/,en=/[&<>"']/g,tn=/[<>"']|&(?!#?\w+;)/,nn=/[<>"']|&(?!#?\w+;)/g,ln={"&":"&","<":"<",">":">",'"':""","'":"'"},nt=l=>ln[l];function L(l,t){if(t){if(Yt.test(l))return l.replace(en,nt)}else if(tn.test(l))return l.replace(nn,nt);return l}const rn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function mt(l){return l.replace(rn,(t,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}const sn=/(^|[^\[])\^/g;function E(l,t){l=typeof l=="string"?l:l.source,t=t||"";const e={replace:(n,i)=>(i=i.source||i,i=i.replace(sn,"$1"),l=l.replace(n,i),e),getRegex:()=>new RegExp(l,t)};return e}const an=/[^\w:]/g,on=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function lt(l,t,e){if(l){let n;try{n=decodeURIComponent(mt(e)).replace(an,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}t&&!on.test(e)&&(e=hn(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const le={},un=/^[^:]+:\/*[^/]*$/,cn=/^([^:]+:)[\s\S]*$/,dn=/^([^:]+:\/*[^/]*)[\s\S]*$/;function hn(l,t){le[" "+l]||(un.test(l)?le[" "+l]=l+"/":le[" "+l]=re(l,"/",!0)),l=le[" "+l];const e=l.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:l.replace(cn,"$1")+t:t.charAt(0)==="/"?e?t:l.replace(dn,"$1")+t:l+t}const se={exec:function(){}};function M(l){let t=1,e,n;for(;t{let u=!1,p=s;for(;--p>=0&&a[p]==="\\";)u=!u;return u?"|":" |"}),n=e.split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length1;)t&1&&(e+=l),t>>=1,l+=l;return e+l}function st(l,t,e,n){const i=t.href,r=t.title?L(t.title):null,s=l[1].replace(/\\([\[\]])/g,"$1");if(l[0].charAt(0)!=="!"){n.state.inLink=!0;const a={type:"link",raw:e,href:i,title:r,text:s,tokens:n.inlineTokens(s,[])};return n.state.inLink=!1,a}return{type:"image",raw:e,href:i,title:r,text:L(s)}}function pn(l,t){const e=l.match(/^(\s+)(?:```)/);if(e===null)return t;const n=e[1];return t.split(` `).map(i=>{const r=i.match(/^\s+/);if(r===null)return i;const[s]=r;return s.length>=n.length?i.slice(n.length):i}).join(` `)}class pe{constructor(t){this.options=t||Q}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const n=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:re(n,` diff --git a/docs/assets/index.4380035e.js.gz b/docs/assets/index.09fa350f.js.gz similarity index 99% rename from docs/assets/index.4380035e.js.gz rename to docs/assets/index.09fa350f.js.gz index 4733be7..09d4ef1 100644 Binary files a/docs/assets/index.4380035e.js.gz and b/docs/assets/index.09fa350f.js.gz differ diff --git a/docs/assets/index.0a328272.css b/docs/assets/index.0a328272.css deleted file mode 100644 index c1e1131..0000000 --- a/docs/assets/index.0a328272.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";[data-v-4010222e]:export{menuText:#bfcbd9;menuActiveText:#409eff;subMenuActiveText:#f4f4f5;menuBg:#304156;menuHover:#263445;subMenuBg:#1f2d3d;subMenuHover:#001528;sideBarWidth:210px;primaryColor:var(--el-color-primary)}.layout-vertical .main-container[data-v-4010222e]{min-height:100%;transition:margin-left .28s;margin-left:210px;position:relative}.layout-vertical .hideSliderLayout[data-v-4010222e]{margin-left:0}.layout-vertical .hideSliderLayout .el-menu--horizontal[data-v-4010222e]{border-bottom:none}.layout-vertical .sidebar-container[data-v-4010222e]{transition:width .28s;width:210px!important;background-color:#304156;height:100%;position:fixed;font-size:0px;top:0;bottom:0;left:0;z-index:98;overflow:hidden}.layout-vertical .sidebar-container .horizontal-collapse-transition[data-v-4010222e]{transition:0s width ease-in-out,0s padding-left ease-in-out,0s padding-right ease-in-out}.layout-vertical .sidebar-container .scrollbar-wrapper[data-v-4010222e]{overflow-x:hidden!important}.layout-vertical .sidebar-container .el-scrollbar__bar.is-vertical[data-v-4010222e]{right:0px}.layout-vertical .sidebar-container .el-scrollbar[data-v-4010222e]{height:100%}.layout-vertical .sidebar-container.has-logo .el-scrollbar[data-v-4010222e]{height:calc(100% - 50px)}.layout-vertical .sidebar-container .is-horizontal[data-v-4010222e]{display:none}.layout-vertical .sidebar-container a[data-v-4010222e]{width:100%;overflow:hidden}.layout-vertical .sidebar-container .sub-el-icon[data-v-4010222e]{margin-right:12px;margin-left:-2px}.layout-vertical .sidebar-container .el-menu[data-v-4010222e]{border:none;height:100%;width:100%!important;background:none}.layout-vertical .sidebar-container .sub-menu-title-noDropdown[data-v-4010222e]:hover,.layout-vertical .sidebar-container .el-sub-menu__title[data-v-4010222e]:hover{background-color:#263445!important}.layout-vertical .sidebar-container .is-active>.el-sub-menu__title[data-v-4010222e]{color:#f4f4f5!important}.layout-vertical .sidebar-container .el-menu-item.is-active[data-v-4010222e]:before{position:absolute;top:0;bottom:0;left:0;width:4px;content:"";background:var(--el-color-primary)}.layout-vertical .sidebar-container .nest-menu .el-sub-menu>.el-sub-menu__title[data-v-4010222e],.layout-vertical .sidebar-container .el-sub-menu .el-menu-item[data-v-4010222e]{min-width:210px!important;background-color:#1f2d3d!important}.layout-vertical .sidebar-container .el-menu-item[data-v-4010222e]:not(.is-active):hover{background-color:#001528!important}.layout-vertical .sidebar-container .el-menu-item.is-active[data-v-4010222e]{background-color:#001528!important}.layout-vertical .hideSidebar .sidebar-container[data-v-4010222e]{width:60px!important}.layout-vertical .hideSidebar .main-container[data-v-4010222e]{margin-left:60px}.layout-vertical .hideSidebar .sub-menu-title-noDropdown[data-v-4010222e]{padding:0!important;position:relative}.layout-vertical .hideSidebar .sub-menu-title-noDropdown .el-tooltip[data-v-4010222e]{padding:0!important}.layout-vertical .hideSidebar .sub-menu-title-noDropdown .el-tooltip .svg-icon[data-v-4010222e]{margin-left:20px}.layout-vertical .hideSidebar .sub-menu-title-noDropdown .el-tooltip .sub-el-icon[data-v-4010222e]{margin-left:19px}.layout-vertical .hideSidebar .el-submenu[data-v-4010222e]{overflow:hidden}.layout-vertical .hideSidebar .el-submenu>.el-submenu__title[data-v-4010222e]{padding:0!important}.layout-vertical .hideSidebar .el-submenu>.el-submenu__title .svg-icon[data-v-4010222e]{margin-left:20px}.layout-vertical .hideSidebar .el-submenu>.el-submenu__title .sub-el-icon[data-v-4010222e]{margin-left:19px}.layout-vertical .hideSidebar .el-submenu>.el-submenu__title .el-sub-menu__icon-arrow[data-v-4010222e]{display:none}.layout-vertical .hideSidebar .el-menu--collapse .el-sub-menu>.el-sub-menu__title>span[data-v-4010222e]{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.layout-vertical .el-menu--collapse .el-menu .el-sub-menu[data-v-4010222e]{min-width:210px!important}.layout-vertical .mobile .main-container[data-v-4010222e]{margin-left:0}.layout-vertical .mobile .sidebar-container[data-v-4010222e]{transition:transform .28s;width:210px!important}.layout-vertical .mobile.hideSidebar .sidebar-container[data-v-4010222e]{pointer-events:none;transition-duration:.3s;transform:translate3d(-210px,0,0)}.layout-vertical .withoutAnimation .main-container[data-v-4010222e],.layout-vertical .withoutAnimation .sidebar-container[data-v-4010222e]{transition:none}.layout-vertical .el-menu--vertical>.el-menu .svg-icon[data-v-4010222e]{margin-right:16px}.layout-vertical .el-menu--vertical>.el-menu .sub-el-icon[data-v-4010222e]{margin-right:12px;margin-left:-2px}.layout-vertical .el-menu--vertical .nest-menu .el-sub-menu>.el-sub-menu__title[data-v-4010222e]:hover,.layout-vertical .el-menu--vertical .el-menu-item[data-v-4010222e]:hover{background-color:#263445!important}.layout-vertical .el-menu--vertical>.el-menu--popup[data-v-4010222e]{max-height:100vh;overflow-y:auto}.layout-vertical .el-menu--vertical>.el-menu--popup[data-v-4010222e]::-webkit-scrollbar-track-piece{background:#d3dce6}.layout-vertical .el-menu--vertical>.el-menu--popup[data-v-4010222e]::-webkit-scrollbar{width:6px}.layout-vertical .el-menu--vertical>.el-menu--popup[data-v-4010222e]::-webkit-scrollbar-thumb{background:#99a9bf;border-radius:20px}.fade-enter-active[data-v-4010222e],.fade-leave-active[data-v-4010222e]{transition:opacity .28s}.fade-enter[data-v-4010222e],.fade-leave-active[data-v-4010222e]{opacity:0}.fade-slide-leave-active[data-v-4010222e],.fade-slide-enter-active[data-v-4010222e]{transition:all .3s}.fade-slide-enter-from[data-v-4010222e]{opacity:0;transform:translate(-30px)}.fade-slide-leave-to[data-v-4010222e]{opacity:0;transform:translate(30px)}.sidebarLogoFade-enter-active[data-v-4010222e]{transition:opacity 1.5s}.sidebarLogoFade-enter-from[data-v-4010222e],.sidebarLogoFade-leave-to[data-v-4010222e]{opacity:0}.breadcrumb-enter-active[data-v-4010222e]{transition:all .25s}.breadcrumb-enter-from[data-v-4010222e],.breadcrumb-leave-active[data-v-4010222e]{opacity:0;transform:translate(10px) skew(-10deg)}html[data-v-4010222e],body[data-v-4010222e]{height:100%;width:100%;overflow:visible;overflow-x:hidden;margin:0;padding:0;font-size:14px}body[data-v-4010222e]{background:#f0f2f5}.flex-center[data-v-4010222e]{display:flex;align-items:center;justify-content:center}.flex-justify-between[data-v-4010222e]{display:flex;align-items:center;justify-content:space-between}.flex-align-center[data-v-4010222e]{display:flex;align-items:center}@media screen and (max-width: 540px){.app-breadcrumb[data-v-4010222e]{display:none!important}}[data-v-4010222e]::-webkit-scrollbar{width:7px;height:8px}[data-v-4010222e]::-webkit-scrollbar-track{background-color:#0000000d}[data-v-4010222e]::-webkit-scrollbar-thumb{background-color:#9093994d;border-radius:2px;box-shadow:inset 0 0 6px #0003}#nprogress .bar[data-v-4010222e]{background:var(--el-color-primary)!important}#nprogress .spinner-icon[data-v-4010222e]{border-top-color:var(--el-color-primary)!important;border-left-color:var(--el-color-primary)!important}#nprogress .peg[data-v-4010222e]{box-shadow:0 0 10px var(--el-color-primary),0 0 5px var(--el-color-primary)!important}.app-container[data-v-4010222e]{height:100%;width:100%;padding:10px 12px;box-sizing:border-box;display:flex;flex-direction:column}.app-container-inner[data-v-4010222e]{height:100%;width:100%;box-shadow:0 2px 12px #0000001a;background:white;padding:20px;box-sizing:border-box}.layout-horizontal .header-icon[data-v-4010222e],.layout-horizontal .el-dropdown-link[data-v-4010222e]{color:#bfcbd9!important}.el-pager li[data-v-4010222e]:focus{border:none}.el-dropdown[data-v-4010222e]:focus{border:none;outline:none!important}.svg-icon[data-v-4010222e]:focus{border:none!important;outline:none!important}.el-table__header th[data-v-4010222e]{font-weight:700;color:#252525;background:#fafafa}.el-table .el-table__header th[data-v-4010222e]{background:var(--el-fill-color-light)!important}.personal .name[data-v-4010222e]{margin-top:15px;font-size:24px;font-weight:500;color:#262626}.personal .description[data-v-4010222e]{margin-top:8px}.personal .list[data-v-4010222e]{margin-top:18px;line-height:30px;text-align:left}.card-header[data-v-4010222e]{display:flex;justify-content:space-between;align-items:center}.text[data-v-4010222e]{font-size:14px}.grid-content[data-v-4010222e]{display:flex}.grid-content .left[data-v-4010222e]{width:40%;height:100px;display:flex;align-items:center;justify-content:center;background:#2d8cf0}.grid-content .right[data-v-4010222e]{display:flex;flex-direction:column;padding-left:20px;justify-content:center}.grid-content .right .h2[data-v-4010222e]{font-size:24px;margin-bottom:10px}.custom[data-v-4010222e] .el-card__body{padding:0}.item[data-v-4010222e]{margin-bottom:18px}.box-card[data-v-4010222e]{position:relative;margin-bottom:10px;width:100%}.box-card .wechat[data-v-4010222e]{position:absolute;width:150px;right:0;top:0}.card-item[data-v-4010222e]{background:linear-gradient(50deg,#1890ff,#77e19d)}.home-container[data-v-4010222e]{width:100%;height:100%;display:flex;padding:16px;box-sizing:border-box;font-size:14px} diff --git a/docs/assets/index.82b2dc7c.js b/docs/assets/index.0cf5bbab.js similarity index 99% rename from docs/assets/index.82b2dc7c.js rename to docs/assets/index.0cf5bbab.js index a89d522..71ca289 100644 --- a/docs/assets/index.82b2dc7c.js +++ b/docs/assets/index.0cf5bbab.js @@ -1 +1 @@ -import{g as B,j as i,r,o as b,n as E,w as u,b as e,i as R,c as w,a as h,d as V,M as C,aN as U,_ as A}from"./index.048a73c8.js";const T=B({__name:"FormOne",setup(x){const t=i({name:"",email:"",autograph:"",occupation:""}),l=i({name:{required:!0,message:"\u8BF7\u8F93\u5165\u59D3\u540D",trigger:"blur"},email:{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u90AE\u7BB1",trigger:"blur"},autograph:{required:!0,message:"\u8BF7\u8F93\u5165\u767B\u9646\u8D26\u6237\u540D",trigger:"blur"}});return(c,m)=>{const o=r("el-input"),s=r("el-form-item"),n=r("el-col"),a=r("el-option"),_=r("el-select"),F=r("el-row"),g=r("el-form"),d=r("el-card");return b(),E(d,{header:"\u8868\u5355\u7EC4\u4EF61"},{default:u(()=>[e(g,{model:t,rules:l,ref:"formRuleOneRef","label-width":"100px"},{default:u(()=>[e(F,{gutter:35},{default:u(()=>[e(n,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(s,{label:"\u59D3\u540D",prop:"name"},{default:u(()=>[e(o,{modelValue:t.name,"onUpdate:modelValue":m[0]||(m[0]=p=>t.name=p),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(s,{label:"\u90AE\u7BB1",prop:"email"},{default:u(()=>[e(o,{modelValue:t.email,"onUpdate:modelValue":m[1]||(m[1]=p=>t.email=p),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u90AE\u7BB1",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(s,{label:"\u7528\u6237\u540D",prop:"autograph"},{default:u(()=>[e(o,{modelValue:t.autograph,"onUpdate:modelValue":m[2]||(m[2]=p=>t.autograph=p),placeholder:"\u8BF7\u8F93\u5165\u767B\u9646\u8D26\u6237\u540D",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(s,{label:"\u804C\u52A1",prop:"occupation"},{default:u(()=>[e(_,{modelValue:t.occupation,"onUpdate:modelValue":m[3]||(m[3]=p=>t.occupation=p),placeholder:"\u8BF7\u9009\u62E9\u804C\u52A1",clearable:""},{default:u(()=>[e(a,{label:"\u8BA1\u7B97\u673A / \u4E92\u8054\u7F51 / \u901A\u4FE1",value:"1"}),e(a,{label:"\u751F\u4EA7 / \u5DE5\u827A / \u5236\u9020",value:"2"}),e(a,{label:"\u533B\u7597 / \u62A4\u7406 / \u5236\u836F",value:"3"})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})}}}),D=B({__name:"FormTwo",setup(x){const t=R(),l=i({phone:"",sex:"",password:"",auth:""}),c=i({phone:{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A",trigger:"blur"},password:{required:!0,message:"\u8BF7\u8F93\u5165\u767B\u5F55\u5BC6\u7801",trigger:"blur"},auth:{required:!0,message:"\u8BF7\u8F93\u5165\u6743\u9650\u89D2\u8272",trigger:"blur"}});return(m,o)=>{const s=r("el-input"),n=r("el-form-item"),a=r("el-col"),_=r("el-option"),F=r("el-select"),g=r("el-row"),d=r("el-form"),p=r("el-card");return b(),E(p,{header:"\u8868\u5355\u7EC4\u4EF62"},{default:u(()=>[e(d,{model:l,rules:c,ref_key:"formRuleTwoRef",ref:t,"label-width":"100px"},{default:u(()=>[e(g,{gutter:35},{default:u(()=>[e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u624B\u673A",prop:"phone"},{default:u(()=>[e(s,{modelValue:l.phone,"onUpdate:modelValue":o[0]||(o[0]=f=>l.phone=f),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u6027\u522B"},{default:u(()=>[e(F,{modelValue:l.sex,"onUpdate:modelValue":o[1]||(o[1]=f=>l.sex=f),placeholder:"\u8BF7\u9009\u62E9\u6027\u522B",clearable:"",class:"w100"},{default:u(()=>[e(_,{label:"\u7537",value:"1"}),e(_,{label:"\u5973",value:"2"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u767B\u5F55\u5BC6\u7801",prop:"password"},{default:u(()=>[e(s,{modelValue:l.password,"onUpdate:modelValue":o[2]||(o[2]=f=>l.password=f),placeholder:"\u8BF7\u8F93\u5165\u767B\u5F55\u5BC6\u7801",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u6743\u9650\u89D2\u8272",prop:"auth"},{default:u(()=>[e(s,{modelValue:l.auth,"onUpdate:modelValue":o[3]||(o[3]=f=>l.auth=f),placeholder:"\u8BF7\u8F93\u5165\u6743\u9650\u89D2\u8272",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})}}}),v=B({__name:"FormThree",setup(x){const t=R(),l=i({createUser:"",editUser:"",user:"",department:""}),c=i({createUser:{required:!0,message:"\u8BF7\u8F93\u5165\u521B\u5EFA\u7528\u6237",trigger:"blur"},editUser:{required:!0,message:"\u8BF7\u8F93\u5165\u4FEE\u6539\u7528\u6237",trigger:"blur"},user:{required:!0,message:"\u8BF7\u8F93\u5165\u6240\u5C5E\u7528\u6237",trigger:"blur"},department:{required:!0,message:"\u8BF7\u8F93\u5165\u6240\u5C5E\u90E8\u95E8",trigger:"blur"}});return(m,o)=>{const s=r("el-input"),n=r("el-form-item"),a=r("el-col"),_=r("el-row"),F=r("el-form"),g=r("el-card");return b(),E(g,{header:"\u8868\u5355\u7EC4\u4EF63"},{default:u(()=>[e(F,{model:l,rules:c,ref_key:"formRuleThreeRef",ref:t,"label-width":"100px"},{default:u(()=>[e(_,{gutter:35},{default:u(()=>[e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u521B\u5EFA\u7528\u6237",prop:"createUser"},{default:u(()=>[e(s,{modelValue:l.createUser,"onUpdate:modelValue":o[0]||(o[0]=d=>l.createUser=d),placeholder:"\u8BF7\u8F93\u5165\u521B\u5EFA\u7528\u6237",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u4FEE\u6539\u7528\u6237",prop:"editUser"},{default:u(()=>[e(s,{modelValue:l.editUser,"onUpdate:modelValue":o[1]||(o[1]=d=>l.editUser=d),placeholder:"\u8BF7\u8F93\u5165\u4FEE\u6539\u7528\u6237",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u6240\u5C5E\u7528\u6237",prop:"user"},{default:u(()=>[e(s,{modelValue:l.user,"onUpdate:modelValue":o[2]||(o[2]=d=>l.user=d),placeholder:"\u8BF7\u8F93\u5165\u6240\u5C5E\u7528\u6237",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u6240\u5C5E\u90E8\u95E8",prop:"department"},{default:u(()=>[e(s,{modelValue:l.department,"onUpdate:modelValue":o[3]||(o[3]=d=>l.department=d),placeholder:"\u8BF7\u8F93\u5165\u6240\u5C5E\u90E8\u95E8",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})}}}),$={class:"m-more-form"},q={class:"footer"},k=B({__name:"index",setup(x){const{proxy:t}=U(),l=(s,n)=>new Promise(a=>{t.$refs[s].$refs[n].validate(_=>{_&&a(_)})}),c=()=>{t.$refs.formRuleOne.$refs.formRuleOneRef.resetFields(),t.$refs.formRuleTwo.$refs.formRuleTwoRef.resetFields(),t.$refs.formRuleThree.$refs.formRuleThreeRef.resetFields()},m=()=>{Promise.all([l("formRuleOne","formRuleOneRef"),l("formRuleTwo","formRuleTwoRef"),l("formRuleThree","formRuleThreeRef")]).then(s=>{C.success("\u8868\u5355\u5168\u90E8\u9A8C\u8BC1\u6210\u529F")})},o=()=>{c()};return(s,n)=>{const a=r("el-button");return b(),w("div",$,[e(T,{ref:"formRuleOne"},null,512),e(D,{ref:"formRuleTwo"},null,512),e(v,{ref:"formRuleThree"},null,512),h("div",q,[e(a,{onClick:o},{default:u(()=>[V("\u91CD\u7F6E")]),_:1}),e(a,{type:"primary",onClick:m},{default:u(()=>[V("\u9A8C\u8BC1\u8868\u5355")]),_:1})])])}}});const O=A(k,[["__scopeId","data-v-0f499c76"]]);export{O as default}; +import{g as B,j as i,r,o as b,n as E,w as u,b as e,i as R,c as w,a as h,d as V,M as C,aN as U,_ as A}from"./index.034c045c.js";const T=B({__name:"FormOne",setup(x){const t=i({name:"",email:"",autograph:"",occupation:""}),l=i({name:{required:!0,message:"\u8BF7\u8F93\u5165\u59D3\u540D",trigger:"blur"},email:{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u90AE\u7BB1",trigger:"blur"},autograph:{required:!0,message:"\u8BF7\u8F93\u5165\u767B\u9646\u8D26\u6237\u540D",trigger:"blur"}});return(c,m)=>{const o=r("el-input"),s=r("el-form-item"),n=r("el-col"),a=r("el-option"),_=r("el-select"),F=r("el-row"),g=r("el-form"),d=r("el-card");return b(),E(d,{header:"\u8868\u5355\u7EC4\u4EF61"},{default:u(()=>[e(g,{model:t,rules:l,ref:"formRuleOneRef","label-width":"100px"},{default:u(()=>[e(F,{gutter:35},{default:u(()=>[e(n,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(s,{label:"\u59D3\u540D",prop:"name"},{default:u(()=>[e(o,{modelValue:t.name,"onUpdate:modelValue":m[0]||(m[0]=p=>t.name=p),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(s,{label:"\u90AE\u7BB1",prop:"email"},{default:u(()=>[e(o,{modelValue:t.email,"onUpdate:modelValue":m[1]||(m[1]=p=>t.email=p),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u90AE\u7BB1",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(s,{label:"\u7528\u6237\u540D",prop:"autograph"},{default:u(()=>[e(o,{modelValue:t.autograph,"onUpdate:modelValue":m[2]||(m[2]=p=>t.autograph=p),placeholder:"\u8BF7\u8F93\u5165\u767B\u9646\u8D26\u6237\u540D",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(s,{label:"\u804C\u52A1",prop:"occupation"},{default:u(()=>[e(_,{modelValue:t.occupation,"onUpdate:modelValue":m[3]||(m[3]=p=>t.occupation=p),placeholder:"\u8BF7\u9009\u62E9\u804C\u52A1",clearable:""},{default:u(()=>[e(a,{label:"\u8BA1\u7B97\u673A / \u4E92\u8054\u7F51 / \u901A\u4FE1",value:"1"}),e(a,{label:"\u751F\u4EA7 / \u5DE5\u827A / \u5236\u9020",value:"2"}),e(a,{label:"\u533B\u7597 / \u62A4\u7406 / \u5236\u836F",value:"3"})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})}}}),D=B({__name:"FormTwo",setup(x){const t=R(),l=i({phone:"",sex:"",password:"",auth:""}),c=i({phone:{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A",trigger:"blur"},password:{required:!0,message:"\u8BF7\u8F93\u5165\u767B\u5F55\u5BC6\u7801",trigger:"blur"},auth:{required:!0,message:"\u8BF7\u8F93\u5165\u6743\u9650\u89D2\u8272",trigger:"blur"}});return(m,o)=>{const s=r("el-input"),n=r("el-form-item"),a=r("el-col"),_=r("el-option"),F=r("el-select"),g=r("el-row"),d=r("el-form"),p=r("el-card");return b(),E(p,{header:"\u8868\u5355\u7EC4\u4EF62"},{default:u(()=>[e(d,{model:l,rules:c,ref_key:"formRuleTwoRef",ref:t,"label-width":"100px"},{default:u(()=>[e(g,{gutter:35},{default:u(()=>[e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u624B\u673A",prop:"phone"},{default:u(()=>[e(s,{modelValue:l.phone,"onUpdate:modelValue":o[0]||(o[0]=f=>l.phone=f),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u6027\u522B"},{default:u(()=>[e(F,{modelValue:l.sex,"onUpdate:modelValue":o[1]||(o[1]=f=>l.sex=f),placeholder:"\u8BF7\u9009\u62E9\u6027\u522B",clearable:"",class:"w100"},{default:u(()=>[e(_,{label:"\u7537",value:"1"}),e(_,{label:"\u5973",value:"2"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u767B\u5F55\u5BC6\u7801",prop:"password"},{default:u(()=>[e(s,{modelValue:l.password,"onUpdate:modelValue":o[2]||(o[2]=f=>l.password=f),placeholder:"\u8BF7\u8F93\u5165\u767B\u5F55\u5BC6\u7801",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u6743\u9650\u89D2\u8272",prop:"auth"},{default:u(()=>[e(s,{modelValue:l.auth,"onUpdate:modelValue":o[3]||(o[3]=f=>l.auth=f),placeholder:"\u8BF7\u8F93\u5165\u6743\u9650\u89D2\u8272",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})}}}),v=B({__name:"FormThree",setup(x){const t=R(),l=i({createUser:"",editUser:"",user:"",department:""}),c=i({createUser:{required:!0,message:"\u8BF7\u8F93\u5165\u521B\u5EFA\u7528\u6237",trigger:"blur"},editUser:{required:!0,message:"\u8BF7\u8F93\u5165\u4FEE\u6539\u7528\u6237",trigger:"blur"},user:{required:!0,message:"\u8BF7\u8F93\u5165\u6240\u5C5E\u7528\u6237",trigger:"blur"},department:{required:!0,message:"\u8BF7\u8F93\u5165\u6240\u5C5E\u90E8\u95E8",trigger:"blur"}});return(m,o)=>{const s=r("el-input"),n=r("el-form-item"),a=r("el-col"),_=r("el-row"),F=r("el-form"),g=r("el-card");return b(),E(g,{header:"\u8868\u5355\u7EC4\u4EF63"},{default:u(()=>[e(F,{model:l,rules:c,ref_key:"formRuleThreeRef",ref:t,"label-width":"100px"},{default:u(()=>[e(_,{gutter:35},{default:u(()=>[e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u521B\u5EFA\u7528\u6237",prop:"createUser"},{default:u(()=>[e(s,{modelValue:l.createUser,"onUpdate:modelValue":o[0]||(o[0]=d=>l.createUser=d),placeholder:"\u8BF7\u8F93\u5165\u521B\u5EFA\u7528\u6237",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u4FEE\u6539\u7528\u6237",prop:"editUser"},{default:u(()=>[e(s,{modelValue:l.editUser,"onUpdate:modelValue":o[1]||(o[1]=d=>l.editUser=d),placeholder:"\u8BF7\u8F93\u5165\u4FEE\u6539\u7528\u6237",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u6240\u5C5E\u7528\u6237",prop:"user"},{default:u(()=>[e(s,{modelValue:l.user,"onUpdate:modelValue":o[2]||(o[2]=d=>l.user=d),placeholder:"\u8BF7\u8F93\u5165\u6240\u5C5E\u7528\u6237",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(a,{xs:24,sm:12,md:8,lg:6,xl:4},{default:u(()=>[e(n,{label:"\u6240\u5C5E\u90E8\u95E8",prop:"department"},{default:u(()=>[e(s,{modelValue:l.department,"onUpdate:modelValue":o[3]||(o[3]=d=>l.department=d),placeholder:"\u8BF7\u8F93\u5165\u6240\u5C5E\u90E8\u95E8",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})}}}),$={class:"m-more-form"},q={class:"footer"},k=B({__name:"index",setup(x){const{proxy:t}=U(),l=(s,n)=>new Promise(a=>{t.$refs[s].$refs[n].validate(_=>{_&&a(_)})}),c=()=>{t.$refs.formRuleOne.$refs.formRuleOneRef.resetFields(),t.$refs.formRuleTwo.$refs.formRuleTwoRef.resetFields(),t.$refs.formRuleThree.$refs.formRuleThreeRef.resetFields()},m=()=>{Promise.all([l("formRuleOne","formRuleOneRef"),l("formRuleTwo","formRuleTwoRef"),l("formRuleThree","formRuleThreeRef")]).then(s=>{C.success("\u8868\u5355\u5168\u90E8\u9A8C\u8BC1\u6210\u529F")})},o=()=>{c()};return(s,n)=>{const a=r("el-button");return b(),w("div",$,[e(T,{ref:"formRuleOne"},null,512),e(D,{ref:"formRuleTwo"},null,512),e(v,{ref:"formRuleThree"},null,512),h("div",q,[e(a,{onClick:o},{default:u(()=>[V("\u91CD\u7F6E")]),_:1}),e(a,{type:"primary",onClick:m},{default:u(()=>[V("\u9A8C\u8BC1\u8868\u5355")]),_:1})])])}}});const O=A(k,[["__scopeId","data-v-0f499c76"]]);export{O as default}; diff --git a/docs/assets/index.0737fe3b.js b/docs/assets/index.14f3bcc2.js similarity index 99% rename from docs/assets/index.0737fe3b.js rename to docs/assets/index.14f3bcc2.js index f17bba2..bb71257 100644 --- a/docs/assets/index.0737fe3b.js +++ b/docs/assets/index.14f3bcc2.js @@ -1,4 +1,4 @@ -import{a8 as en,a9 as rn,aa as nn,ab as on,ac as an,ad as sn,ae as ln,af as fn,ag as un,a1 as cn,ah as dn,ai as vn,aj as hn,ak as pn,j as gn,al as mn,i as ur,am as yn,an as Sn,Z as bn,ao as En,a0 as xn,a7 as On,a2 as Tn,ap as In,s as jr,aq as Dn,ar as Pn,y as Cn,as as An,z as Rn,t as Mn,at as Nn,au as Fn,av as jn,F as wn,aw as Ln,ax as Un,ay as Bn,az as Gn,aA as $n,aB as Kn,aC as Hn,a3 as Wn,aD as Vn,B as Xn,n as wr,q as Yn,c as Lr,a as Xe,aE as zn,aF as Jn,aG as Qn,aH as Zn,e as kn,d as cr,b as ie,aI as qn,g as Ur,aJ as _n,aK as to,aL as eo,aM as ro,aN as no,aO as oo,aP as ao,aQ as io,aR as so,aS as lo,a4 as fo,aT as uo,aU as co,aV as vo,aW as ho,a5 as po,K as go,aX as mo,U as yo,P as So,aY as bo,aZ as Eo,a_ as xo,x as Oo,a$ as To,b0 as Io,b1 as Do,b2 as Po,b3 as Co,o as dr,f as Br,a6 as Ao,p as Gr,b4 as Ro,b5 as Mo,D as No,J as Fo,r as Ge,C as jo,T as $r,b6 as wo,b7 as Lo,b8 as Uo,b9 as Bo,ba as Go,bb as $o,bc as Ko,bd as Ho,be as Wo,bf as Vo,bg as Xo,bh as Yo,bi as zo,bj as Jo,bk as Qo,O as Zo,$ as ko,bl as qo,bm as _o,bn as ta,w as se,bo as ea,G as ra,bp as na,bq as oa,br as aa,bs as ia,bt as sa,bu as la,bv as fa,bw as ua,bx as ca,by as da,bz as va,bA as ha,bB as pa,bC as ga,bD as ma,bE as ya,bF as Sa,bG as ba,bH as Ea,H as xa,k as Oa,W as Ta,bI as Kr,R as Ia,Q as Da,M as xr,_ as Pa}from"./index.048a73c8.js";import{a as Ca}from"./index.5be08a55.js";const Aa=()=>{},Ra=Object.freeze(Object.defineProperty({__proto__:null,compile:Aa,EffectScope:en,ReactiveEffect:rn,customRef:nn,effect:on,effectScope:an,getCurrentScope:sn,isProxy:ln,isReactive:fn,isReadonly:un,isRef:cn,isShallow:dn,markRaw:vn,onScopeDispose:hn,proxyRefs:pn,reactive:gn,readonly:mn,ref:ur,shallowReactive:yn,shallowReadonly:Sn,shallowRef:bn,stop:En,toRaw:xn,toRef:On,toRefs:Tn,triggerRef:In,unref:jr,camelize:Dn,capitalize:Pn,normalizeClass:Cn,normalizeProps:An,normalizeStyle:Rn,toDisplayString:Mn,toHandlerKey:Nn,BaseTransition:Fn,Comment:jn,Fragment:wn,KeepAlive:Ln,Static:Un,Suspense:Bn,Teleport:Gn,Text:$n,callWithAsyncErrorHandling:Kn,callWithErrorHandling:Hn,cloneVNode:Wn,compatUtils:Vn,computed:Xn,createBlock:wr,createCommentVNode:Yn,createElementBlock:Lr,createElementVNode:Xe,createHydrationRenderer:zn,createPropsRestProxy:Jn,createRenderer:Qn,createSlots:Zn,createStaticVNode:kn,createTextVNode:cr,createVNode:ie,defineAsyncComponent:qn,defineComponent:Ur,defineEmits:_n,defineExpose:to,defineProps:eo,get devtools(){return ro},getCurrentInstance:no,getTransitionRawChildren:oo,guardReactiveProps:ao,h:io,handleError:so,initCustomFormatter:lo,inject:fo,isMemoSame:uo,isRuntimeOnly:co,isVNode:vo,mergeDefaults:ho,mergeProps:po,nextTick:go,onActivated:mo,onBeforeMount:yo,onBeforeUnmount:So,onBeforeUpdate:bo,onDeactivated:Eo,onErrorCaptured:xo,onMounted:Oo,onRenderTracked:To,onRenderTriggered:Io,onServerPrefetch:Do,onUnmounted:Po,onUpdated:Co,openBlock:dr,popScopeId:Br,provide:Ao,pushScopeId:Gr,queuePostFlushCb:Ro,registerRuntimeCompiler:Mo,renderList:No,renderSlot:Fo,resolveComponent:Ge,resolveDirective:jo,resolveDynamicComponent:$r,resolveFilter:wo,resolveTransitionHooks:Lo,setBlockTracking:Uo,setDevtoolsHook:Bo,setTransitionHooks:Go,ssrContextKey:$o,ssrUtils:Ko,toHandlers:Ho,transformVNodeArgs:Wo,useAttrs:Vo,useSSRContext:Xo,useSlots:Yo,useTransitionState:zo,version:Jo,warn:Qo,watch:Zo,watchEffect:ko,watchPostEffect:qo,watchSyncEffect:_o,withAsyncContext:ta,withCtx:se,withDefaults:ea,withDirectives:ra,withMemo:na,withScopeId:oa,Transition:aa,TransitionGroup:ia,VueElement:sa,createApp:la,createSSRApp:fa,defineCustomElement:ua,defineSSRCustomElement:ca,hydrate:da,initDirectivesForSSR:va,render:ha,useCssModule:pa,useCssVars:ga,vModelCheckbox:ma,vModelDynamic:ya,vModelRadio:Sa,vModelSelect:ba,vModelText:Ea,vShow:xa,withKeys:Oa,withModifiers:Ta},Symbol.toStringTag,{value:"Module"}));var Hr={exports:{}};const Ma=Kr(Ra);/**! +import{a8 as en,a9 as rn,aa as nn,ab as on,ac as an,ad as sn,ae as ln,af as fn,ag as un,a1 as cn,ah as dn,ai as vn,aj as hn,ak as pn,j as gn,al as mn,i as ur,am as yn,an as Sn,Z as bn,ao as En,a0 as xn,a7 as On,a2 as Tn,ap as In,s as jr,aq as Dn,ar as Pn,y as Cn,as as An,z as Rn,t as Mn,at as Nn,au as Fn,av as jn,F as wn,aw as Ln,ax as Un,ay as Bn,az as Gn,aA as $n,aB as Kn,aC as Hn,a3 as Wn,aD as Vn,B as Xn,n as wr,q as Yn,c as Lr,a as Xe,aE as zn,aF as Jn,aG as Qn,aH as Zn,e as kn,d as cr,b as ie,aI as qn,g as Ur,aJ as _n,aK as to,aL as eo,aM as ro,aN as no,aO as oo,aP as ao,aQ as io,aR as so,aS as lo,a4 as fo,aT as uo,aU as co,aV as vo,aW as ho,a5 as po,K as go,aX as mo,U as yo,P as So,aY as bo,aZ as Eo,a_ as xo,x as Oo,a$ as To,b0 as Io,b1 as Do,b2 as Po,b3 as Co,o as dr,f as Br,a6 as Ao,p as Gr,b4 as Ro,b5 as Mo,D as No,J as Fo,r as Ge,C as jo,T as $r,b6 as wo,b7 as Lo,b8 as Uo,b9 as Bo,ba as Go,bb as $o,bc as Ko,bd as Ho,be as Wo,bf as Vo,bg as Xo,bh as Yo,bi as zo,bj as Jo,bk as Qo,O as Zo,$ as ko,bl as qo,bm as _o,bn as ta,w as se,bo as ea,G as ra,bp as na,bq as oa,br as aa,bs as ia,bt as sa,bu as la,bv as fa,bw as ua,bx as ca,by as da,bz as va,bA as ha,bB as pa,bC as ga,bD as ma,bE as ya,bF as Sa,bG as ba,bH as Ea,H as xa,k as Oa,W as Ta,bI as Kr,R as Ia,Q as Da,M as xr,_ as Pa}from"./index.034c045c.js";import{a as Ca}from"./index.5be08a55.js";const Aa=()=>{},Ra=Object.freeze(Object.defineProperty({__proto__:null,compile:Aa,EffectScope:en,ReactiveEffect:rn,customRef:nn,effect:on,effectScope:an,getCurrentScope:sn,isProxy:ln,isReactive:fn,isReadonly:un,isRef:cn,isShallow:dn,markRaw:vn,onScopeDispose:hn,proxyRefs:pn,reactive:gn,readonly:mn,ref:ur,shallowReactive:yn,shallowReadonly:Sn,shallowRef:bn,stop:En,toRaw:xn,toRef:On,toRefs:Tn,triggerRef:In,unref:jr,camelize:Dn,capitalize:Pn,normalizeClass:Cn,normalizeProps:An,normalizeStyle:Rn,toDisplayString:Mn,toHandlerKey:Nn,BaseTransition:Fn,Comment:jn,Fragment:wn,KeepAlive:Ln,Static:Un,Suspense:Bn,Teleport:Gn,Text:$n,callWithAsyncErrorHandling:Kn,callWithErrorHandling:Hn,cloneVNode:Wn,compatUtils:Vn,computed:Xn,createBlock:wr,createCommentVNode:Yn,createElementBlock:Lr,createElementVNode:Xe,createHydrationRenderer:zn,createPropsRestProxy:Jn,createRenderer:Qn,createSlots:Zn,createStaticVNode:kn,createTextVNode:cr,createVNode:ie,defineAsyncComponent:qn,defineComponent:Ur,defineEmits:_n,defineExpose:to,defineProps:eo,get devtools(){return ro},getCurrentInstance:no,getTransitionRawChildren:oo,guardReactiveProps:ao,h:io,handleError:so,initCustomFormatter:lo,inject:fo,isMemoSame:uo,isRuntimeOnly:co,isVNode:vo,mergeDefaults:ho,mergeProps:po,nextTick:go,onActivated:mo,onBeforeMount:yo,onBeforeUnmount:So,onBeforeUpdate:bo,onDeactivated:Eo,onErrorCaptured:xo,onMounted:Oo,onRenderTracked:To,onRenderTriggered:Io,onServerPrefetch:Do,onUnmounted:Po,onUpdated:Co,openBlock:dr,popScopeId:Br,provide:Ao,pushScopeId:Gr,queuePostFlushCb:Ro,registerRuntimeCompiler:Mo,renderList:No,renderSlot:Fo,resolveComponent:Ge,resolveDirective:jo,resolveDynamicComponent:$r,resolveFilter:wo,resolveTransitionHooks:Lo,setBlockTracking:Uo,setDevtoolsHook:Bo,setTransitionHooks:Go,ssrContextKey:$o,ssrUtils:Ko,toHandlers:Ho,transformVNodeArgs:Wo,useAttrs:Vo,useSSRContext:Xo,useSlots:Yo,useTransitionState:zo,version:Jo,warn:Qo,watch:Zo,watchEffect:ko,watchPostEffect:qo,watchSyncEffect:_o,withAsyncContext:ta,withCtx:se,withDefaults:ea,withDirectives:ra,withMemo:na,withScopeId:oa,Transition:aa,TransitionGroup:ia,VueElement:sa,createApp:la,createSSRApp:fa,defineCustomElement:ua,defineSSRCustomElement:ca,hydrate:da,initDirectivesForSSR:va,render:ha,useCssModule:pa,useCssVars:ga,vModelCheckbox:ma,vModelDynamic:ya,vModelRadio:Sa,vModelSelect:ba,vModelText:Ea,vShow:xa,withKeys:Oa,withModifiers:Ta},Symbol.toStringTag,{value:"Module"}));var Hr={exports:{}};const Ma=Kr(Ra);/**! * Sortable 1.14.0 * @author RubaXa * @author owenm diff --git a/docs/assets/index.14f3bcc2.js.gz b/docs/assets/index.14f3bcc2.js.gz new file mode 100644 index 0000000..08b6fbc Binary files /dev/null and b/docs/assets/index.14f3bcc2.js.gz differ diff --git a/docs/assets/index.6ac8e37b.js b/docs/assets/index.17e84012.js similarity index 91% rename from docs/assets/index.6ac8e37b.js rename to docs/assets/index.17e84012.js index a82da5f..29469c8 100644 --- a/docs/assets/index.6ac8e37b.js +++ b/docs/assets/index.17e84012.js @@ -1 +1 @@ -import{E as L}from"./exceljs.min.ee80950b.js";import{g as C,i as y,r as a,o as p,n as g,w as l,b as s,s as N,S as P,a as i,c as V,F as W,D as j,d as M,M as S}from"./index.048a73c8.js";const H=i("div",{class:"el-upload__text"},[M(" \u62D6\u62FD\u4E0A\u4F20 "),i("em",null,"\u6216\u8005\u70B9\u51FB\u4E0A\u4F20 Excel")],-1),U=C({__name:"index",setup(J){const f=y([]),h=y([]),k=(m,B)=>new Promise((x,b)=>{const o=new FileReader;o.onload=async r=>{const n=r.target.result,e=new L.Workbook;try{let c=await e.xlsx.load(n);const F=c._worksheets&&c._worksheets.filter(d=>typeof d<"u"),E=[];let u=[];F.forEach(d=>{d._rows.forEach((v,A)=>{if(A===0)v.values.forEach(t=>{u.push(t)});else{let t={},w=[];v.values.forEach(_=>{w.push(_)}),u.forEach((_,D)=>{t[_]=w[D]}),E.push(t)}})}),f.value=E,h.value=u}catch{S.error("\u89E3\u6790\u5931\u8D25")}},o.readAsArrayBuffer(m)});return(m,B)=>{const x=a("el-icon"),b=a("el-upload"),o=a("el-table-column"),r=a("el-table"),n=a("PageWrapLayout");return p(),g(n,{class:"m-upload-excel"},{default:l(()=>[s(b,{style:{width:"100%"},class:"upload-demo",drag:"",action:"/","before-upload":k,type:"file",accept:".xlsx, .xls"},{default:l(()=>[s(x,{class:"el-icon--upload"},{default:l(()=>[s(N(P))]),_:1}),H]),_:1}),i("div",null,[s(r,{data:f.value,border:"","highlight-current-row":"",style:{width:"100%","margin-top":"20px"}},{default:l(()=>[(p(!0),V(W,null,j(h.value,e=>(p(),g(o,{prop:e,label:e,key:e},null,8,["prop","label"]))),128))]),_:1},8,["data"])])]),_:1})}}});export{U as default}; +import{E as L}from"./exceljs.min.1781a218.js";import{g as C,i as y,r as a,o as p,n as g,w as l,b as s,s as N,S as P,a as i,c as V,F as W,D as j,d as M,M as S}from"./index.034c045c.js";const H=i("div",{class:"el-upload__text"},[M(" \u62D6\u62FD\u4E0A\u4F20 "),i("em",null,"\u6216\u8005\u70B9\u51FB\u4E0A\u4F20 Excel")],-1),U=C({__name:"index",setup(J){const f=y([]),h=y([]),k=(m,B)=>new Promise((x,b)=>{const o=new FileReader;o.onload=async r=>{const n=r.target.result,e=new L.Workbook;try{let c=await e.xlsx.load(n);const F=c._worksheets&&c._worksheets.filter(d=>typeof d<"u"),E=[];let u=[];F.forEach(d=>{d._rows.forEach((v,A)=>{if(A===0)v.values.forEach(t=>{u.push(t)});else{let t={},w=[];v.values.forEach(_=>{w.push(_)}),u.forEach((_,D)=>{t[_]=w[D]}),E.push(t)}})}),f.value=E,h.value=u}catch{S.error("\u89E3\u6790\u5931\u8D25")}},o.readAsArrayBuffer(m)});return(m,B)=>{const x=a("el-icon"),b=a("el-upload"),o=a("el-table-column"),r=a("el-table"),n=a("PageWrapLayout");return p(),g(n,{class:"m-upload-excel"},{default:l(()=>[s(b,{style:{width:"100%"},class:"upload-demo",drag:"",action:"/","before-upload":k,type:"file",accept:".xlsx, .xls"},{default:l(()=>[s(x,{class:"el-icon--upload"},{default:l(()=>[s(N(P))]),_:1}),H]),_:1}),i("div",null,[s(r,{data:f.value,border:"","highlight-current-row":"",style:{width:"100%","margin-top":"20px"}},{default:l(()=>[(p(!0),V(W,null,j(h.value,e=>(p(),g(o,{prop:e,label:e,key:e},null,8,["prop","label"]))),128))]),_:1},8,["data"])])]),_:1})}}});export{U as default}; diff --git a/docs/assets/index.6ed55069.js b/docs/assets/index.1a753fb1.js similarity index 57% rename from docs/assets/index.6ed55069.js rename to docs/assets/index.1a753fb1.js index 8477a9b..379b86a 100644 --- a/docs/assets/index.6ed55069.js +++ b/docs/assets/index.1a753fb1.js @@ -1 +1 @@ -import{_ as o,r as t,o as a,c as n,a as s,b as c}from"./index.048a73c8.js";const r={},_={class:"app-container"},l={class:"app-container-inner"};function i(d,p){const e=t("el-alert");return a(),n("div",_,[s("div",l,[c(e,{title:"menu 2",closable:!1})])])}const m=o(r,[["render",i]]);export{m as default}; +import{_ as o,r as t,o as a,c as n,a as s,b as c}from"./index.034c045c.js";const r={},_={class:"app-container"},l={class:"app-container-inner"};function i(d,p){const e=t("el-alert");return a(),n("div",_,[s("div",l,[c(e,{title:"menu 2",closable:!1})])])}const m=o(r,[["render",i]]);export{m as default}; diff --git a/docs/assets/index.37e02752.js b/docs/assets/index.1d2a28f5.js similarity index 98% rename from docs/assets/index.37e02752.js rename to docs/assets/index.1d2a28f5.js index fe52e9f..efef4be 100644 --- a/docs/assets/index.37e02752.js +++ b/docs/assets/index.1d2a28f5.js @@ -1 +1 @@ -import{g as F,i as y,j as W,r as o,o as d,c as k,b as l,w as e,y as M,F as U,D as Y,G as j,n as B,q as O,H as q,a as h,d as f,t as z,_ as E,s as x,M as G,p as J,f as L}from"./index.048a73c8.js";const T={class:"advancedForm"},K={class:"search-btn"},P=F({__name:"index",props:{labelWidth:{default:"100px"},gutterWidth:{type:Number,default:24},showRow:{type:Number,default:1},columns:{type:Array,default:()=>[]},byHeight:{type:Boolean,default:!1}},emits:["submit","reset"],setup(a,{emit:i}){const v=a,m=y(),u=y(!1),n=W({});for(let s of v.columns)n[s.name]=null;const r=()=>{i("submit",n)},p=s=>{if(console.log("formEl",s),!s)return;s.resetFields(),Object.keys(n).forEach(_=>{n[_]=null}),i("reset",n)};return(s,c)=>{const _=o("el-input"),g=o("el-form-item"),A=o("el-date-picker"),S=o("el-col"),D=o("el-row"),N=o("el-form"),b=o("el-button"),R=o("arrow-down"),$=o("arrow-up"),H=o("el-icon");return d(),k("div",T,[l(N,{ref_key:"ruleFormRef",ref:m,inline:!0,"label-position":"right",model:n,class:"form-inline"},{default:e(()=>[l(D,{class:M({"not-show":a.byHeight&&!u.value}),gutter:a.gutterWidth},{default:e(()=>[(d(!0),k(U,null,Y(a.columns,(t,I)=>j((d(),B(S,{span:t.span,key:t.name},{default:e(()=>[t.type==="input"?(d(),B(g,{key:0,label:t.title,"label-width":a.labelWidth},{default:e(()=>[l(_,{clearable:"",modelValue:n[t.name],"onUpdate:modelValue":w=>n[t.name]=w,placeholder:t.placeholder},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label","label-width"])):t.type==="date"?(d(),B(g,{key:1,label:t.title,"label-width":a.labelWidth},{default:e(()=>[l(A,{"value-format":"YYYY-MM-DD",modelValue:n[t.name],"onUpdate:modelValue":w=>n[t.name]=w,type:"date",placeholder:t.placeholder},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label","label-width"])):O("",!0)]),_:2},1032,["span"])),[[q,a.byHeight?!0:I[f("\u67E5\u8BE2")]),_:1}),l(b,{onClick:c[0]||(c[0]=t=>p(m.value))},{default:e(()=>[f("\u91CD\u7F6E")]),_:1}),l(b,{link:"",type:"primary",onClick:c[1]||(c[1]=t=>u.value=!u.value)},{default:e(()=>[f(z(u.value?"\u5408\u5E76":"\u5C55\u5F00"),1),l(H,null,{default:e(()=>[u.value?(d(),B($,{key:1})):(d(),B(R,{key:0}))]),_:1})]),_:1})])])}}});const C=E(P,[["__scopeId","data-v-b96f41c8"]]),V=a=>(J("data-v-ef4c0f99"),a=a(),L(),a),Q={class:"advancedForm"},X={class:"card-header"},Z=V(()=>h("span",{style:{"margin-right":"100px"}},"\u6536\u7F29\u8868\u5355 \u901A\u8FC7v-show\u6765\u63A7\u5236\u663E\u9690\u85CF",-1)),ee=V(()=>h("div",{class:"card-header"},[h("span",null,"\u6536\u7F29\u8868\u5355 \u901A\u8FC7\u9AD8\u5EA6\u6765\u63A7\u5236\u663E\u9690\u85CF")],-1)),te=F({__name:"index",setup(a){let i=[{type:"input",name:"name1",title:"\u5B57\u6BB51",placeholder:"\u5B57\u6BB51",span:8},{type:"date",name:"name2",title:"\u5B57\u6BB52",placeholder:"\u5B57\u6BB52",span:8},{type:"input",name:"name3",title:"\u5B57\u6BB53",placeholder:"\u5B57\u6BB53",span:8},{type:"input",name:"name4",title:"\u5B57\u6BB54",placeholder:"\u5B57\u6BB54",span:8},{type:"input",name:"name5",title:"\u5B57\u6BB55",placeholder:"\u5B57\u6BB55",span:8},{type:"input",name:"name6",title:"\u5B57\u6BB56",placeholder:"\u5B57\u6BB56",span:8},{type:"input",name:"name7",title:"\u5B57\u6BB57",placeholder:"\u5B57\u6BB57",span:8},{type:"input",name:"name8",title:"\u5B57\u6BB58",placeholder:"\u5B57\u6BB58",span:8},{type:"input",name:"name9",title:"\u5B57\u6BB59",placeholder:"\u5B57\u6BB59",span:8}];const v=y({}),m=y(1),u=r=>{v.value=r,G.success(JSON.stringify(r))},n=r=>{m.value=r};return(r,p)=>{const s=o("el-button"),c=o("el-card");return d(),k("div",Q,[l(c,{class:"box-card"},{header:e(()=>[h("div",X,[Z,l(s,{onClick:p[0]||(p[0]=_=>n(2)),type:"primary",link:""},{default:e(()=>[f("\u663E\u793A\u4E24\u884C")]),_:1}),l(s,{onClick:p[1]||(p[1]=_=>n(1)),type:"primary",link:""},{default:e(()=>[f("\u663E\u793A\u4E00\u884C")]),_:1})])]),default:e(()=>[l(C,{columns:x(i),onSubmit:u,showRow:m.value},null,8,["columns","showRow"])]),_:1}),l(c,{class:"box-card",style:{"margin-top":"20px"}},{header:e(()=>[ee]),default:e(()=>[l(C,{columns:x(i),onSubmit:u,byHeight:!0},null,8,["columns"])]),_:1})])}}});const ae=E(te,[["__scopeId","data-v-ef4c0f99"]]);export{ae as default}; +import{g as F,i as y,j as W,r as o,o as d,c as k,b as l,w as e,y as M,F as U,D as Y,G as j,n as B,q as O,H as q,a as h,d as f,t as z,_ as E,s as x,M as G,p as J,f as L}from"./index.034c045c.js";const T={class:"advancedForm"},K={class:"search-btn"},P=F({__name:"index",props:{labelWidth:{default:"100px"},gutterWidth:{type:Number,default:24},showRow:{type:Number,default:1},columns:{type:Array,default:()=>[]},byHeight:{type:Boolean,default:!1}},emits:["submit","reset"],setup(a,{emit:i}){const v=a,m=y(),u=y(!1),n=W({});for(let s of v.columns)n[s.name]=null;const r=()=>{i("submit",n)},p=s=>{if(console.log("formEl",s),!s)return;s.resetFields(),Object.keys(n).forEach(_=>{n[_]=null}),i("reset",n)};return(s,c)=>{const _=o("el-input"),g=o("el-form-item"),A=o("el-date-picker"),S=o("el-col"),D=o("el-row"),N=o("el-form"),b=o("el-button"),R=o("arrow-down"),$=o("arrow-up"),H=o("el-icon");return d(),k("div",T,[l(N,{ref_key:"ruleFormRef",ref:m,inline:!0,"label-position":"right",model:n,class:"form-inline"},{default:e(()=>[l(D,{class:M({"not-show":a.byHeight&&!u.value}),gutter:a.gutterWidth},{default:e(()=>[(d(!0),k(U,null,Y(a.columns,(t,I)=>j((d(),B(S,{span:t.span,key:t.name},{default:e(()=>[t.type==="input"?(d(),B(g,{key:0,label:t.title,"label-width":a.labelWidth},{default:e(()=>[l(_,{clearable:"",modelValue:n[t.name],"onUpdate:modelValue":w=>n[t.name]=w,placeholder:t.placeholder},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label","label-width"])):t.type==="date"?(d(),B(g,{key:1,label:t.title,"label-width":a.labelWidth},{default:e(()=>[l(A,{"value-format":"YYYY-MM-DD",modelValue:n[t.name],"onUpdate:modelValue":w=>n[t.name]=w,type:"date",placeholder:t.placeholder},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label","label-width"])):O("",!0)]),_:2},1032,["span"])),[[q,a.byHeight?!0:I[f("\u67E5\u8BE2")]),_:1}),l(b,{onClick:c[0]||(c[0]=t=>p(m.value))},{default:e(()=>[f("\u91CD\u7F6E")]),_:1}),l(b,{link:"",type:"primary",onClick:c[1]||(c[1]=t=>u.value=!u.value)},{default:e(()=>[f(z(u.value?"\u5408\u5E76":"\u5C55\u5F00"),1),l(H,null,{default:e(()=>[u.value?(d(),B($,{key:1})):(d(),B(R,{key:0}))]),_:1})]),_:1})])])}}});const C=E(P,[["__scopeId","data-v-b96f41c8"]]),V=a=>(J("data-v-ef4c0f99"),a=a(),L(),a),Q={class:"advancedForm"},X={class:"card-header"},Z=V(()=>h("span",{style:{"margin-right":"100px"}},"\u6536\u7F29\u8868\u5355 \u901A\u8FC7v-show\u6765\u63A7\u5236\u663E\u9690\u85CF",-1)),ee=V(()=>h("div",{class:"card-header"},[h("span",null,"\u6536\u7F29\u8868\u5355 \u901A\u8FC7\u9AD8\u5EA6\u6765\u63A7\u5236\u663E\u9690\u85CF")],-1)),te=F({__name:"index",setup(a){let i=[{type:"input",name:"name1",title:"\u5B57\u6BB51",placeholder:"\u5B57\u6BB51",span:8},{type:"date",name:"name2",title:"\u5B57\u6BB52",placeholder:"\u5B57\u6BB52",span:8},{type:"input",name:"name3",title:"\u5B57\u6BB53",placeholder:"\u5B57\u6BB53",span:8},{type:"input",name:"name4",title:"\u5B57\u6BB54",placeholder:"\u5B57\u6BB54",span:8},{type:"input",name:"name5",title:"\u5B57\u6BB55",placeholder:"\u5B57\u6BB55",span:8},{type:"input",name:"name6",title:"\u5B57\u6BB56",placeholder:"\u5B57\u6BB56",span:8},{type:"input",name:"name7",title:"\u5B57\u6BB57",placeholder:"\u5B57\u6BB57",span:8},{type:"input",name:"name8",title:"\u5B57\u6BB58",placeholder:"\u5B57\u6BB58",span:8},{type:"input",name:"name9",title:"\u5B57\u6BB59",placeholder:"\u5B57\u6BB59",span:8}];const v=y({}),m=y(1),u=r=>{v.value=r,G.success(JSON.stringify(r))},n=r=>{m.value=r};return(r,p)=>{const s=o("el-button"),c=o("el-card");return d(),k("div",Q,[l(c,{class:"box-card"},{header:e(()=>[h("div",X,[Z,l(s,{onClick:p[0]||(p[0]=_=>n(2)),type:"primary",link:""},{default:e(()=>[f("\u663E\u793A\u4E24\u884C")]),_:1}),l(s,{onClick:p[1]||(p[1]=_=>n(1)),type:"primary",link:""},{default:e(()=>[f("\u663E\u793A\u4E00\u884C")]),_:1})])]),default:e(()=>[l(C,{columns:x(i),onSubmit:u,showRow:m.value},null,8,["columns","showRow"])]),_:1}),l(c,{class:"box-card",style:{"margin-top":"20px"}},{header:e(()=>[ee]),default:e(()=>[l(C,{columns:x(i),onSubmit:u,byHeight:!0},null,8,["columns"])]),_:1})])}}});const ae=E(te,[["__scopeId","data-v-ef4c0f99"]]);export{ae as default}; diff --git a/docs/assets/index.6352a6e1.js b/docs/assets/index.2b3d8507.js similarity index 99% rename from docs/assets/index.6352a6e1.js rename to docs/assets/index.2b3d8507.js index 934c206..cb7748e 100644 --- a/docs/assets/index.6352a6e1.js +++ b/docs/assets/index.2b3d8507.js @@ -1,4 +1,4 @@ -import{g as Zg,i as ls,Z as D9,x as YP,O as XP,$ as JP,a0 as ZP,o as Qg,c as e0,B as QP,P as eN,b as on,s as Rd,a1 as tN,_ as nN,j as rN,r as Ho,a as Gi,w as Rn,d as jd,t as iN,M as oN}from"./index.048a73c8.js";var Vv;if(typeof global>"u"){if("ActiveXObject"in window){var wE="\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668";wE+=` +import{g as Zg,i as ls,Z as D9,x as YP,O as XP,$ as JP,a0 as ZP,o as Qg,c as e0,B as QP,P as eN,b as on,s as Rd,a1 as tN,_ as nN,j as rN,r as Ho,a as Gi,w as Rn,d as jd,t as iN,M as oN}from"./index.034c045c.js";var Vv;if(typeof global>"u"){if("ActiveXObject"in window){var wE="\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668";wE+=` Sorry, wangEditor V5+ versions do not support IE browser.`,console.error(wE)}EE(),CE()}else global&&((Vv=global.navigator)===null||Vv===void 0?void 0:Vv.userAgent.match("QQBrowser"))&&(EE(),CE());function EE(){typeof globalThis>"u"&&(window.globalThis=window)}function CE(){typeof AggregateError>"u"&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}if(typeof global=="object"){var aN=Object.getOwnPropertyDescriptor(global,"window");(!global.window||aN.set)&&(global.window=global,global.requestAnimationFrame=function(){},global.navigator={userAgent:""},global.location={hostname:"0.0.0.0",port:0,protocol:"http:"},global.btoa=function(){},global.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),global.document!=null&&global.document.getElementsByTagName==null&&(global.document.getElementsByTagName=function(){return[]})}/*! * is-plain-object * diff --git a/docs/assets/index.2b3d8507.js.gz b/docs/assets/index.2b3d8507.js.gz new file mode 100644 index 0000000..57952d3 Binary files /dev/null and b/docs/assets/index.2b3d8507.js.gz differ diff --git a/docs/assets/index.336ad7cd.js b/docs/assets/index.336ad7cd.js deleted file mode 100644 index 2c37d37..0000000 --- a/docs/assets/index.336ad7cd.js +++ /dev/null @@ -1 +0,0 @@ -import{g as A,r as i,o as E,c as x,b as t,w as s,a as e,s as h,A as w,t as l,d as u,v,p as $,f as B,_ as D}from"./index.048a73c8.js";import{C as F}from"./index.c24c70a5.js";import{_ as k}from"./bar.vue_vue_type_script_setup_true_lang.59811325.js";import"./index.201c3aba.js";const a=_=>($("data-v-4010222e"),_=_(),B(),_),z={class:"home-container"},S={class:"personal"},N=a(()=>e("div",{class:"name"},null,-1)),I=a(()=>e("div",{class:"description"},null,-1)),T={class:"list"},V={class:"label"},L={class:"label"},q={class:"label"},M={class:"label"},W={class:"label"},j={class:"label"},H={class:"label"},J={class:"label"},P={class:"label"},R={style:{"margin-bottom":"15px"}},G={style:{"margin-bottom":"15px"}},K={style:{"margin-bottom":"15px"}},O={class:"grid-content"},Q={class:"left"},U={class:"right"},X={class:"h2",style:{color:"#2d8cf0"}},Y=a(()=>e("div",null,"\u7528\u6237\u8BBF\u95EE\u91CF ",-1)),Z={class:"grid-content"},ee={class:"left",style:{background:"#64d572"}},te={class:"right"},se={class:"h2",style:{color:"#64d572"}},oe=a(()=>e("div",null,"\u7CFB\u7EDF\u6D88\u606F ",-1)),le={class:"grid-content"},ue={class:"left",style:{background:"#f25e43"}},ae={class:"right"},ne={class:"h2",style:{color:"#f25e43"}},ie=a(()=>e("div",null,"\u6570\u91CF ",-1)),de=a(()=>e("div",{class:"card-header"},[e("span",null,"\u7CFB\u5217\u5F00\u6E90\u4EA7\u54C1")],-1)),ce={style:{display:"flex"}},_e=a(()=>e("div",{style:{color:"white","margin-bottom":"10px"}},[e("h3",null,"zb-table")],-1)),re=a(()=>e("div",{style:{"font-size":"12px",color:"white"}},"uniapp \u8868\u683C\u7EC4\u4EF6 \u652F\u6301\u56FA\u5B9A\u8868\u5934\u548C\u9996\u5217\u3001\u4E0A\u62C9\u52A0\u8F7D\u66F4\u591A\u3001\u53CA\u56FA\u5B9A\u591A\u5217\uFF0C\u8868\u683C\u81EA\u9002\u5E94\u5185\u5BB9\uFF0C\u6392\u5E8F\uFF0C\u591A\u9009checkbox\u3001\u53EF\u70B9\u51FB\u5220\u9664\uFF0C\u7F16\u8F91\u3001\u5408\u8BA1\u529F\u80FD\uFF0C\u517C\u5BB9\u591A\u7AEF",-1)),he=a(()=>e("div",{style:{color:"white","margin-bottom":"10px"}},[e("h3",null,"vue-admin-perfect")],-1)),pe=a(()=>e("div",{style:{"font-size":"12px",color:"white"}},"\u7CFB\u7EDF\u57FA\u4E8Evue3+vuex+ element-plus+ts\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF",-1)),me=a(()=>e("div",{class:"card-header"},[e("span",null,"\u6BCF\u5468\u7528\u6237\u6D3B\u8DC3\u91CF")],-1)),ve=A({__name:"index",setup(_){const f=o=>{window.open(o,"_blank")};return(o,r)=>{const y=i("el-image"),b=i("el-avatar"),p=i("el-divider"),d=i("el-tag"),n=i("el-card"),c=i("el-col"),m=i("el-icon"),g=i("el-row");return E(),x("div",z,[t(g,{class:"row-bg",gutter:10},{default:s(()=>[t(c,{xs:24,sm:12,lg:8},{default:s(()=>[t(n,{class:"box-card",style:{height:"100%"}},{default:s(()=>[t(y,{class:"wechat",src:"http://182.61.5.190:8889/we.png","preview-src-list":["http://182.61.5.190:8889/we.png"],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["preview-src-list","data-resid"]),e("div",S,[e("div",null,[t(b,{size:50,src:h(w)},null,8,["src"])]),N,I,e("div",T,[e("div",null,[e("span",V,l(o.$t("home.nickName")),1),u("\uFF1A"+l(o.$t("home.Wolf")),1)]),e("div",null,[e("span",L,l(o.$t("home.job")),1),u("\uFF1A"+l(o.$t("home.web")),1)]),e("div",null,[e("span",q,l(o.$t("home.company")),1),u("\uFF1A\u5C0F\u516C\u53F8")]),e("div",null,[e("span",M,l(o.$t("home.age")),1),u("\uFF1A~~")]),e("div",null,[e("span",W,l(o.$t("home.sex")),1),u("\uFF1A"+l(o.$t("home.male")),1)]),e("div",null,[e("span",j,l(o.$t("home.currentAddress")),1),u("\uFF1A\u4E2D\u56FD-\u6D59\u6C5F-\u676D\u5DDE")]),e("div",null,[e("span",H,l(o.$t("home.mail")),1),u("\uFF1A1135957121@qq.com")]),e("div",null,[e("span",J,l(o.$t("home.WeChat")),1),u("\uFF1A \u5FAE\u4FE1\uFF1A19550102670(\u6B22\u8FCE\u52A0\u5FAE\u4FE1\u5165\u7FA4)")]),e("div",null,[e("span",P,l(o.$t("home.technologyStack")),1),u("\uFF1AJavaScript\u3001HTML\u3001CSS\u3001Vue\u3001Node\u3001React")])]),t(p),e("div",R,[e("h5",null,l(o.$t("home.PersonalityLabel")),1)]),e("div",null,[t(d,{style:{"margin-right":"10px"}},{default:s(()=>[u(l(o.$t("home.trouble")),1)]),_:1}),t(d,{style:{"margin-right":"10px"}},{default:s(()=>[u(l(o.$t("home.fitness")),1)]),_:1}),t(d,{style:{"margin-right":"10px"}},{default:s(()=>[u(l(o.$t("home.sleep")),1)]),_:1}),t(d,{style:{"margin-right":"10px"}},{default:s(()=>[u(l(o.$t("home.Marvel")),1)]),_:1}),t(d,null,{default:s(()=>[u("\u5411\u5F80")]),_:1})]),t(p),e("div",G,[e("h5",null,l(o.$t("home.favoriteSentence")),1)]),e("div",null,"---------- "+l(o.$t("home.happy")),1),t(p),e("div",K,[e("h5",null,l(o.$t("home.impression"))+"~~",1)])])]),_:1})]),_:1}),t(c,{xs:24,sm:12,lg:16},{default:s(()=>[t(g,{class:"custom",gutter:10},{default:s(()=>[t(c,{xs:24,sm:12,lg:8},{default:s(()=>[t(n,{style:{"margin-bottom":"10px"}},{default:s(()=>[e("div",O,[e("div",Q,[t(m,{style:{"font-size":"24px",color:"white"}},{default:s(()=>[t(h(v))]),_:1})]),e("div",U,[e("div",X,[t(F,{"start-val":0,"end-val":5268,duration:2e3,autoplay:!0})]),Y])])]),_:1})]),_:1}),t(c,{xs:24,sm:12,lg:8},{default:s(()=>[t(n,{style:{"margin-bottom":"10px"}},{default:s(()=>[e("div",Z,[e("div",ee,[t(m,{style:{"font-size":"24px",color:"white"}},{default:s(()=>[t(h(v))]),_:1})]),e("div",te,[e("div",se,[t(F,{"start-val":0,"end-val":9599,duration:2e3,autoplay:!0})]),oe])])]),_:1})]),_:1}),t(c,{xs:24,sm:12,lg:8},{default:s(()=>[t(n,{style:{"margin-bottom":"10px"}},{default:s(()=>[e("div",le,[e("div",ue,[t(m,{style:{"font-size":"24px",color:"white"}},{default:s(()=>[t(h(v))]),_:1})]),e("div",ae,[e("div",ne,[t(F,{"start-val":0,"end-val":595453,duration:2e3,autoplay:!0})]),ie])])]),_:1})]),_:1})]),_:1}),t(n,{class:"box-card"},{header:s(()=>[de]),default:s(()=>[e("div",ce,[t(n,{style:{flex:"1","margin-right":"20px",cursor:"pointer"},class:"card-item",onClick:r[0]||(r[0]=C=>f("https://ext.dcloud.net.cn/plugin?id=7511"))},{default:s(()=>[_e,re]),_:1}),t(n,{style:{flex:"1",cursor:"pointer"},class:"card-item",onClick:r[1]||(r[1]=C=>f("https://github.com/zouzhibin/vue-admin-perfect"))},{default:s(()=>[he,pe]),_:1})])]),_:1}),t(n,{class:"box-card"},{header:s(()=>[me]),default:s(()=>[e("div",null,[t(k,{height:"300px",width:"100%",id:"bar1"})])]),_:1})]),_:1})]),_:1})])}}});const be=D(ve,[["__scopeId","data-v-4010222e"]]);export{be as default}; diff --git a/docs/assets/index.35edcba8.js.gz b/docs/assets/index.35edcba8.js.gz deleted file mode 100644 index d84d8dc..0000000 Binary files a/docs/assets/index.35edcba8.js.gz and /dev/null differ diff --git a/docs/assets/index.23771fd6.js b/docs/assets/index.3a4efdc2.js similarity index 96% rename from docs/assets/index.23771fd6.js rename to docs/assets/index.3a4efdc2.js index 9e1d1d7..dbbac83 100644 --- a/docs/assets/index.23771fd6.js +++ b/docs/assets/index.3a4efdc2.js @@ -1 +1 @@ -import{_ as y,o as u,c as r,F as w,D as v,W as _,t as x,z as b,q as C,g as k,i as p,u as S,r as d,n as E,w as h,b as f,d as F}from"./index.048a73c8.js";const N={props:{data:{type:Array,default:()=>[]},left:{type:Number,default:0},type:{type:Number,default:1},dataInfo:{type:Object,default:()=>{}},top:{type:Number,default:0},isViewInfo:{type:Boolean,default:!0}},watch:{left:{handler(e,t){e&&(this.isShow=!0)}}},computed:{style(){let e=document.body.clientHeight,t=this.top;return e-t<100?`left:${this.left}px;bottom:${e-t}px`:`left:${this.left}px;top:${this.top}px`}},data(){return{isShow:!1}},methods:{operatingRightAction(e,t){this.$emit("ok",e,t),this.isShow=!1}},mounted(){let e=this;window.addEventListener("click",function(){e.isShow=!1}),window.addEventListener("mousedown",function(t){t.which===3&&(e.isShow=!1)})}};const $=["onClick"];function A(e,t,n,c,i,l){return i.isShow?(u(),r("div",{key:0,class:"g-right-click-menu",style:b(l.style),ref:"rightMenu"},[(u(!0),r(w,null,v(n.data,(s,o)=>(u(),r("div",{key:o,class:"operating",onClick:_(a=>l.operatingRightAction(a,s),["stop"])},x(s.label),9,$))),128))],4)):C("",!0)}const D=y(N,[["render",A],["__scopeId","data-v-f9c1d2d8"]]),L=k({__name:"index",setup(e){const t=p(0),n=p(0),c=[{label:"\u6253\u5370",value:1,path:"/other/print"},{label:"\u5934\u50CF\u88C1\u526A",value:2,path:"/other/cropper"},{label:"\u5361\u7247\u62D6\u62FD",value:3,path:"/other/grid-sorter"},{label:"\u5206\u5272\u6A21\u5757",value:4,path:"/other/splitpane"},{label:"\u751F\u6210\u4E8C\u7EF4\u7801",value:5,path:"/other/qrcode"}],i=o=>{t.value=o.clientX,n.value=o.clientY},l=S(),s=(o,a)=>{console.log("\u83B7\u53D6\u6570\u636E",a),l.push({path:a.path})};return(o,a)=>{const m=d("el-button"),g=d("PageWrapLayout");return u(),E(g,{style:{"min-height":"300px"}},{default:h(()=>[f(m,{onContextmenu:_(i,["prevent"]),style:{width:"200px"}},{default:h(()=>[F("\u53F3\u952E\u83DC\u5355")]),_:1},8,["onContextmenu"]),f(D,{left:t.value,top:n.value,onOk:s,data:c},null,8,["left","top"])]),_:1})}}});export{L as default}; +import{_ as y,o as u,c as r,F as w,D as v,W as _,t as x,z as b,q as C,g as k,i as p,u as S,r as d,n as E,w as h,b as f,d as F}from"./index.034c045c.js";const N={props:{data:{type:Array,default:()=>[]},left:{type:Number,default:0},type:{type:Number,default:1},dataInfo:{type:Object,default:()=>{}},top:{type:Number,default:0},isViewInfo:{type:Boolean,default:!0}},watch:{left:{handler(e,t){e&&(this.isShow=!0)}}},computed:{style(){let e=document.body.clientHeight,t=this.top;return e-t<100?`left:${this.left}px;bottom:${e-t}px`:`left:${this.left}px;top:${this.top}px`}},data(){return{isShow:!1}},methods:{operatingRightAction(e,t){this.$emit("ok",e,t),this.isShow=!1}},mounted(){let e=this;window.addEventListener("click",function(){e.isShow=!1}),window.addEventListener("mousedown",function(t){t.which===3&&(e.isShow=!1)})}};const $=["onClick"];function A(e,t,n,c,i,l){return i.isShow?(u(),r("div",{key:0,class:"g-right-click-menu",style:b(l.style),ref:"rightMenu"},[(u(!0),r(w,null,v(n.data,(s,o)=>(u(),r("div",{key:o,class:"operating",onClick:_(a=>l.operatingRightAction(a,s),["stop"])},x(s.label),9,$))),128))],4)):C("",!0)}const D=y(N,[["render",A],["__scopeId","data-v-f9c1d2d8"]]),L=k({__name:"index",setup(e){const t=p(0),n=p(0),c=[{label:"\u6253\u5370",value:1,path:"/other/print"},{label:"\u5934\u50CF\u88C1\u526A",value:2,path:"/other/cropper"},{label:"\u5361\u7247\u62D6\u62FD",value:3,path:"/other/grid-sorter"},{label:"\u5206\u5272\u6A21\u5757",value:4,path:"/other/splitpane"},{label:"\u751F\u6210\u4E8C\u7EF4\u7801",value:5,path:"/other/qrcode"}],i=o=>{t.value=o.clientX,n.value=o.clientY},l=S(),s=(o,a)=>{console.log("\u83B7\u53D6\u6570\u636E",a),l.push({path:a.path})};return(o,a)=>{const m=d("el-button"),g=d("PageWrapLayout");return u(),E(g,{style:{"min-height":"300px"}},{default:h(()=>[f(m,{onContextmenu:_(i,["prevent"]),style:{width:"200px"}},{default:h(()=>[F("\u53F3\u952E\u83DC\u5355")]),_:1},8,["onContextmenu"]),f(D,{left:t.value,top:n.value,onOk:s,data:c},null,8,["left","top"])]),_:1})}}});export{L as default}; diff --git a/docs/assets/index.8f39252e.js b/docs/assets/index.3a8610c0.js similarity index 98% rename from docs/assets/index.8f39252e.js rename to docs/assets/index.3a8610c0.js index d85a153..b2b6af8 100644 --- a/docs/assets/index.8f39252e.js +++ b/docs/assets/index.3a8610c0.js @@ -1,2 +1,2 @@ -import{g as k,i as g,x as L,O as P,r as a,o as U,c as M,b as e,w as t,s as x,bJ as j,a as V,F as z,M as N,j as w,n as O,d as C}from"./index.048a73c8.js";const W=["src"],I=k({__name:"Upload",props:{modelValue:Array},emits:["update:modelValue"],setup(b,{emit:D}){const i=b;let u=g([]);const F=g(""),_=g(!1),E=(n,r)=>{console.log(n,r)},d=(n,r)=>new Promise((m,c)=>{var p=new FileReader;let s=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;p.readAsDataURL(n);let f=n.name;s.test(f)?p.onload=B=>{u.value.push({name:f,url:B.target.result}),D("update:modelValue",u.value),m(B.target.result)}:(N.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),c())}),l=n=>{F.value=n.url,_.value=!0};return L(()=>{P(()=>i.modelValue,n=>{u.value=n})}),(n,r)=>{const m=a("el-icon"),c=a("el-upload"),p=a("el-dialog");return U(),M(z,null,[e(c,{action:"","before-upload":d,"list-type":"picture-card","on-preview":l,"on-remove":E,"file-list":x(u)},{default:t(()=>[e(m,null,{default:t(()=>[e(x(j))]),_:1})]),_:1},8,["file-list"]),e(p,{modelValue:_.value,"onUpdate:modelValue":r[0]||(r[0]=s=>_.value=s),width:"80%",top:"80px"},{default:t(()=>[V("img",{"w-full":"",src:F.value,alt:"\u9884\u89C8\u56FE\u7247",style:{width:"100%"}},null,8,W)]),_:1},8,["modelValue"])],64)}}}),J={style:{"max-width":"800px"}},S=V("span",{class:"text-gray-500"},"-",-1),G=k({__name:"index",setup(b){const D=g("default"),i=g(),u=w({name:"\u8DD1\u6B65",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:"",img:[]}),F=w({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u6D3B\u52A8\u540D\u79F0\u6D3B\u52A8\u533A\u57DF",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],img:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u56FE\u7247",trigger:"blur"}],region:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D3B\u52A8\u533A\u57DF",trigger:"change"}],date1:[{type:"date",required:!0,message:"\u8BF7\u9009\u62E9\u65F6\u95F4",trigger:"change"}],date2:[{type:"date",required:!0,message:"\u8BF7\u9009\u62E9\u65F6\u95F4",trigger:"change"}],type:[{type:"array",required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6D3B\u52A8\u6027\u8D28",trigger:"change"}],resource:[{required:!0,message:`\u8BF7\u9009\u62E9\u6D3B\u52A8\u8D44\u6E90 +import{g as k,i as g,x as L,O as P,r as a,o as U,c as M,b as e,w as t,s as x,bJ as j,a as V,F as z,M as N,j as w,n as O,d as C}from"./index.034c045c.js";const W=["src"],I=k({__name:"Upload",props:{modelValue:Array},emits:["update:modelValue"],setup(b,{emit:D}){const i=b;let u=g([]);const F=g(""),_=g(!1),E=(n,r)=>{console.log(n,r)},d=(n,r)=>new Promise((m,c)=>{var p=new FileReader;let s=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;p.readAsDataURL(n);let f=n.name;s.test(f)?p.onload=B=>{u.value.push({name:f,url:B.target.result}),D("update:modelValue",u.value),m(B.target.result)}:(N.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),c())}),l=n=>{F.value=n.url,_.value=!0};return L(()=>{P(()=>i.modelValue,n=>{u.value=n})}),(n,r)=>{const m=a("el-icon"),c=a("el-upload"),p=a("el-dialog");return U(),M(z,null,[e(c,{action:"","before-upload":d,"list-type":"picture-card","on-preview":l,"on-remove":E,"file-list":x(u)},{default:t(()=>[e(m,null,{default:t(()=>[e(x(j))]),_:1})]),_:1},8,["file-list"]),e(p,{modelValue:_.value,"onUpdate:modelValue":r[0]||(r[0]=s=>_.value=s),width:"80%",top:"80px"},{default:t(()=>[V("img",{"w-full":"",src:F.value,alt:"\u9884\u89C8\u56FE\u7247",style:{width:"100%"}},null,8,W)]),_:1},8,["modelValue"])],64)}}}),J={style:{"max-width":"800px"}},S=V("span",{class:"text-gray-500"},"-",-1),G=k({__name:"index",setup(b){const D=g("default"),i=g(),u=w({name:"\u8DD1\u6B65",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:"",img:[]}),F=w({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u6D3B\u52A8\u540D\u79F0\u6D3B\u52A8\u533A\u57DF",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],img:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u56FE\u7247",trigger:"blur"}],region:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D3B\u52A8\u533A\u57DF",trigger:"change"}],date1:[{type:"date",required:!0,message:"\u8BF7\u9009\u62E9\u65F6\u95F4",trigger:"change"}],date2:[{type:"date",required:!0,message:"\u8BF7\u9009\u62E9\u65F6\u95F4",trigger:"change"}],type:[{type:"array",required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6D3B\u52A8\u6027\u8D28",trigger:"change"}],resource:[{required:!0,message:`\u8BF7\u9009\u62E9\u6D3B\u52A8\u8D44\u6E90 `,trigger:"change"}],desc:[{required:!0,message:"\u8BF7\u586B\u5199\u6D3B\u52A8\u5F62\u5F0F",trigger:"blur"}]}),_=async d=>{console.log("--FORM---",u)},E=d=>{!d||d.resetFields()};return(d,l)=>{const n=a("el-input"),r=a("el-form-item"),m=a("el-option"),c=a("el-select"),p=a("el-date-picker"),s=a("el-col"),f=a("el-time-picker"),B=a("el-switch"),A=a("el-checkbox"),q=a("el-checkbox-group"),y=a("el-radio"),$=a("el-radio-group"),v=a("el-button"),h=a("el-form"),R=a("PageWrapLayout");return U(),O(R,null,{default:t(()=>[V("div",J,[e(h,{ref_key:"ruleFormRef",ref:i,model:u,rules:F,"label-width":"120px",class:"demo-ruleForm",size:D.value},{default:t(()=>[e(r,{label:"\u6D3B\u52A8\u540D\u79F0",prop:"name"},{default:t(()=>[e(n,{modelValue:u.name,"onUpdate:modelValue":l[0]||(l[0]=o=>u.name=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u6D3B\u52A8\u533A\u57DF",prop:"region"},{default:t(()=>[e(c,{modelValue:u.region,"onUpdate:modelValue":l[1]||(l[1]=o=>u.region=o),placeholder:"\u6D3B\u52A8\u533A\u57DF"},{default:t(()=>[e(m,{label:"\u533A\u57DF1",value:"\u4E0A\u6D77"}),e(m,{label:"\u533A\u57DF2",value:"\u5317\u4EAC"})]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u5373\u65F6\u914D\u9001",required:""},{default:t(()=>[e(s,{span:11},{default:t(()=>[e(r,{prop:"date1"},{default:t(()=>[e(p,{modelValue:u.date1,"onUpdate:modelValue":l[2]||(l[2]=o=>u.date1=o),type:"date",placeholder:"\u9009\u62E9\u65F6\u95F4",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{class:"text-center",span:2,style:{"text-align":"center"}},{default:t(()=>[S]),_:1}),e(s,{span:11},{default:t(()=>[e(r,{prop:"date2"},{default:t(()=>[e(f,{modelValue:u.date2,"onUpdate:modelValue":l[3]||(l[3]=o=>u.date2=o),placeholder:"\u9009\u62E9\u65F6\u95F4",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,{label:"\u5373\u65F6\u914D\u9001",prop:"delivery"},{default:t(()=>[e(B,{modelValue:u.delivery,"onUpdate:modelValue":l[4]||(l[4]=o=>u.delivery=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u6D3B\u52A8\u6027\u8D28",prop:"type"},{default:t(()=>[e(q,{modelValue:u.type,"onUpdate:modelValue":l[5]||(l[5]=o=>u.type=o)},{default:t(()=>[e(A,{label:"\u7F8E\u98DF/\u9910\u5385\u7EBF\u4E0A\u6D3B\u52A8",name:"type"}),e(A,{label:"\u5730\u63A8\u6D3B\u52A8",name:"type"}),e(A,{label:"\u7EBF\u4E0B\u4E3B\u9898\u6D3B\u52A8",name:"type"}),e(A,{label:"\u5355\u7EAF\u54C1\u724C\u66DD\u5149",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u7279\u6B8A\u8D44\u6E90",prop:"resource"},{default:t(()=>[e($,{modelValue:u.resource,"onUpdate:modelValue":l[6]||(l[6]=o=>u.resource=o)},{default:t(()=>[e(y,{label:"\u7EBF\u4E0A\u54C1\u724C\u5546\u8D5E\u52A9"}),e(y,{label:"\u7EBF\u4E0B\u573A\u5730\u514D\u8D39"})]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u4E0A\u4F20\u56FE\u7247",prop:"img"},{default:t(()=>[e(I,{modelValue:u.img,"onUpdate:modelValue":l[7]||(l[7]=o=>u.img=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u5907\u6CE8",prop:"desc"},{default:t(()=>[e(n,{modelValue:u.desc,"onUpdate:modelValue":l[8]||(l[8]=o=>u.desc=o),type:"textarea"},null,8,["modelValue"])]),_:1}),e(r,null,{default:t(()=>[e(v,{type:"primary",onClick:l[9]||(l[9]=o=>_(i.value))},{default:t(()=>[C("\u7ACB\u5373\u521B\u5EFA")]),_:1}),e(v,{onClick:l[10]||(l[10]=o=>E(i.value))},{default:t(()=>[C("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model","rules","size"])])]),_:1})}}});export{G as default}; diff --git a/docs/assets/index.f535e55f.js b/docs/assets/index.4174e264.js similarity index 95% rename from docs/assets/index.f535e55f.js rename to docs/assets/index.4174e264.js index c29f8ee..a73df4d 100644 --- a/docs/assets/index.f535e55f.js +++ b/docs/assets/index.4174e264.js @@ -1 +1 @@ -import{i as r}from"./index.201c3aba.js";import{g as i,i as l,x as c,o as u,c as d,a as p,_ as f}from"./index.048a73c8.js";const m={class:"app-container"},_=i({__name:"index",setup(h){const a=l();let s={color:["#03acd1","#04cab7","#03c781","#fce348","#fc2d8a","#0292fe"],title:{text:"\u7F51\u7EDC/\u5B89\u5168\u8BBE\u5907",textStyle:{fontSize:16},padding:0,top:35,left:"center"},tooltip:{show:!0,formatter:"{b}:{d}%"},legend:{orient:"vertical",icon:"circle",padding:0,bottom:"center",right:120,itemWidth:14,itemHeight:14,itemGap:21,textStyle:{fontSize:14}},series:[{name:"\u7F51\u7EDC\u5B89\u5168\u8BBE\u5907",type:"pie",center:["50%","50%"],top:"2%",left:"0%",radius:["0%","70%"],avoidLabelOverlap:!1,clockwise:!1,startAngle:160,roseType:"area",label:{show:!0,position:"outside",formatter:"{b}:{c}"},labelLine:{show:!0,length:30,length2:10,smooth:!0},itemStyle:{borderColor:"rgba(0,0,0,.1)",borderWidth:0},data:[{value:1048,name:"IDS"},{value:735,name:"VPN"},{value:580,name:"\u4EA4\u6362\u673A"},{value:484,name:"\u9632\u706B\u5899"},{value:300,name:" WAF"},{value:600,name:" \u5821\u5792\u673A"}].sort((e,o)=>o.value-e.value),emphasis:{scale:!0,scaleSize:10,itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},t;const n=()=>{const e=r(a.value);return e.setOption(s),e};return c(()=>{t=n(),window.addEventListener("resize",function(){t&&t.resize()})}),(e,o)=>(u(),d("div",m,[p("div",{ref_key:"chartsRef",ref:a,class:"app-echarts"},null,512)]))}});const y=f(_,[["__scopeId","data-v-22993628"]]);export{y as default}; +import{i as r}from"./index.201c3aba.js";import{g as i,i as l,x as c,o as u,c as d,a as p,_ as f}from"./index.034c045c.js";const m={class:"app-container"},_=i({__name:"index",setup(h){const a=l();let s={color:["#03acd1","#04cab7","#03c781","#fce348","#fc2d8a","#0292fe"],title:{text:"\u7F51\u7EDC/\u5B89\u5168\u8BBE\u5907",textStyle:{fontSize:16},padding:0,top:35,left:"center"},tooltip:{show:!0,formatter:"{b}:{d}%"},legend:{orient:"vertical",icon:"circle",padding:0,bottom:"center",right:120,itemWidth:14,itemHeight:14,itemGap:21,textStyle:{fontSize:14}},series:[{name:"\u7F51\u7EDC\u5B89\u5168\u8BBE\u5907",type:"pie",center:["50%","50%"],top:"2%",left:"0%",radius:["0%","70%"],avoidLabelOverlap:!1,clockwise:!1,startAngle:160,roseType:"area",label:{show:!0,position:"outside",formatter:"{b}:{c}"},labelLine:{show:!0,length:30,length2:10,smooth:!0},itemStyle:{borderColor:"rgba(0,0,0,.1)",borderWidth:0},data:[{value:1048,name:"IDS"},{value:735,name:"VPN"},{value:580,name:"\u4EA4\u6362\u673A"},{value:484,name:"\u9632\u706B\u5899"},{value:300,name:" WAF"},{value:600,name:" \u5821\u5792\u673A"}].sort((e,o)=>o.value-e.value),emphasis:{scale:!0,scaleSize:10,itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},t;const n=()=>{const e=r(a.value);return e.setOption(s),e};return c(()=>{t=n(),window.addEventListener("resize",function(){t&&t.resize()})}),(e,o)=>(u(),d("div",m,[p("div",{ref_key:"chartsRef",ref:a,class:"app-echarts"},null,512)]))}});const y=f(_,[["__scopeId","data-v-22993628"]]);export{y as default}; diff --git a/docs/assets/index.b212ad21.js b/docs/assets/index.42a8764e.js similarity index 90% rename from docs/assets/index.b212ad21.js rename to docs/assets/index.42a8764e.js index 8fc2a11..0196da5 100644 --- a/docs/assets/index.b212ad21.js +++ b/docs/assets/index.42a8764e.js @@ -1 +1 @@ -import{a as A}from"./exprotExcel.30cae770.js";import{g as B,i as h,r as a,o as t,c as o,a as b,b as n,w as u,d as C,F as i,D as x,n as p,_ as V}from"./index.048a73c8.js";import"./exceljs.min.ee80950b.js";const N={class:"app-container"},z={class:"header"},H={class:"footer"},I=B({__name:"index",setup(L){const d=[];for(let l=0;l<10;l++)d.push({date:"2016-05-02",name:"\u738B\u4E94"+l,price:1+l,province:"\u4E0A\u6D77",admin:"admin",sex:l%2?1:0,checked:!0,id:l+1,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333});const _=[{name:"id",width:60,label:"\u5E8F\u53F7"},{name:"date",label:"\u65E5\u671F"},{name:"address",label:"\u5730\u5740"},{label:"\u914D\u9001\u4FE1\u606F",children:[{name:"province",label:"\u7701\u4EFD",width:130},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}]}],c=h(""),E=h(d),w=()=>{A({column:_,data:d,filename:c.value||"\u5BFC\u51FA excel",autoWidth:!0})};return(l,m)=>{const f=a("el-input"),F=a("Download"),v=a("el-icon"),y=a("el-button"),s=a("el-table-column"),k=a("el-table");return t(),o("div",N,[b("div",z,[n(f,{modelValue:c.value,"onUpdate:modelValue":m[0]||(m[0]=e=>c.value=e),placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),n(y,{onClick:w,type:"primary"},{default:u(()=>[n(v,{style:{"margin-right":"6px"}},{default:u(()=>[n(F)]),_:1}),C("\u5BFC\u51FA Excel ")]),_:1})]),b("div",H,[n(k,{data:E.value,style:{width:"100%"},border:""},{default:u(()=>[(t(),o(i,null,x(_,(e,D)=>(t(),o(i,{key:D},[e.children?(t(),p(s,{key:0,prop:e.name,label:e.label,width:e.width},{default:u(()=>[(t(!0),o(i,null,x(e.children,(r,g)=>(t(),p(s,{key:g,prop:r.name,label:r.label,width:r.width},null,8,["prop","label","width"]))),128))]),_:2},1032,["prop","label","width"])):(t(),p(s,{key:1,prop:e.name,label:e.label,width:e.width},null,8,["prop","label","width"]))],64))),64))]),_:1},8,["data"])])])}}});const W=V(I,[["__scopeId","data-v-ed38f37e"]]);export{W as default}; +import{a as A}from"./exprotExcel.a89d1fae.js";import{g as B,i as h,r as a,o as t,c as o,a as b,b as n,w as u,d as C,F as i,D as x,n as p,_ as V}from"./index.034c045c.js";import"./exceljs.min.1781a218.js";const N={class:"app-container"},z={class:"header"},H={class:"footer"},I=B({__name:"index",setup(L){const d=[];for(let l=0;l<10;l++)d.push({date:"2016-05-02",name:"\u738B\u4E94"+l,price:1+l,province:"\u4E0A\u6D77",admin:"admin",sex:l%2?1:0,checked:!0,id:l+1,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333});const _=[{name:"id",width:60,label:"\u5E8F\u53F7"},{name:"date",label:"\u65E5\u671F"},{name:"address",label:"\u5730\u5740"},{label:"\u914D\u9001\u4FE1\u606F",children:[{name:"province",label:"\u7701\u4EFD",width:130},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}]}],c=h(""),E=h(d),w=()=>{A({column:_,data:d,filename:c.value||"\u5BFC\u51FA excel",autoWidth:!0})};return(l,m)=>{const f=a("el-input"),F=a("Download"),v=a("el-icon"),y=a("el-button"),s=a("el-table-column"),k=a("el-table");return t(),o("div",N,[b("div",z,[n(f,{modelValue:c.value,"onUpdate:modelValue":m[0]||(m[0]=e=>c.value=e),placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),n(y,{onClick:w,type:"primary"},{default:u(()=>[n(v,{style:{"margin-right":"6px"}},{default:u(()=>[n(F)]),_:1}),C("\u5BFC\u51FA Excel ")]),_:1})]),b("div",H,[n(k,{data:E.value,style:{width:"100%"},border:""},{default:u(()=>[(t(),o(i,null,x(_,(e,D)=>(t(),o(i,{key:D},[e.children?(t(),p(s,{key:0,prop:e.name,label:e.label,width:e.width},{default:u(()=>[(t(!0),o(i,null,x(e.children,(r,g)=>(t(),p(s,{key:g,prop:r.name,label:r.label,width:r.width},null,8,["prop","label","width"]))),128))]),_:2},1032,["prop","label","width"])):(t(),p(s,{key:1,prop:e.name,label:e.label,width:e.width},null,8,["prop","label","width"]))],64))),64))]),_:1},8,["data"])])])}}});const W=V(I,[["__scopeId","data-v-ed38f37e"]]);export{W as default}; diff --git a/docs/assets/index.5ac29daf.js b/docs/assets/index.43ccaf73.js similarity index 97% rename from docs/assets/index.5ac29daf.js rename to docs/assets/index.43ccaf73.js index a6c9a1b..ba0057a 100644 --- a/docs/assets/index.5ac29daf.js +++ b/docs/assets/index.43ccaf73.js @@ -1 +1 @@ -import{g as h,i as b,o as d,c as m,F as k,D as y,a as t,y as $,s as p,p as E,f as F,_ as f,j as w,r as o,n as S,w as _,b as e,d as I}from"./index.048a73c8.js";const V=s=>(E("data-v-a1b03464"),s=s(),F(),s),B={class:"item-card"},P=["onClick"],z=V(()=>t("div",{class:"pro-checkcard-content flex-justify-between"},[t("div",null,"\u4ECA\u65E5\u8BBF\u95EE\u91CF"),t("div",{class:"num"},"561")],-1)),D=[z],L=h({__name:"SingleCheck",setup(s){let c=b(0);const u=(r,n)=>{c.value=n};return(r,n)=>(d(),m("div",B,[(d(),m(k,null,y(5,(a,l)=>t("div",{class:$(["zb-pro-checkcard",{"single-active":p(c)===l}]),onClick:i=>u(a,l),key:a},D,10,P)),64))]))}});const j=f(L,[["__scopeId","data-v-a1b03464"]]),N=h({__name:"Search",setup(s){const c=w({name:""}),u=()=>{console.log("submit!")};return(r,n)=>{const a=o("el-input"),l=o("el-form-item"),i=o("el-button"),g=o("el-form"),x=o("el-card");return d(),S(x,null,{default:_(()=>[e(g,{inline:!0,model:c},{default:_(()=>[e(l,{label:"\u540D\u79F0"},{default:_(()=>[e(a,{modelValue:c.name,"onUpdate:modelValue":n[0]||(n[0]=C=>c.name=C),placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(l,null,{default:_(()=>[e(i,{type:"primary",onClick:u},{default:_(()=>[I("\u641C\u7D22")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})}}});const A=f(N,[["__scopeId","data-v-80281c1c"]]),U={class:"pagination"},T=h({__name:"Pagination",setup(s){const c=b(1),u=n=>{console.log(`${n} items per page`)},r=n=>{c.value=n};return(n,a)=>{const l=o("el-pagination");return d(),m("div",U,[e(l,{currentPage:c.value,"onUpdate:currentPage":a[0]||(a[0]=i=>c.value=i),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:1e3,onSizeChange:u,onCurrentChange:r},null,8,["currentPage"])])}}});const q=f(T,[["__scopeId","data-v-b42f8d32"]]),v=s=>(E("data-v-59c2731f"),s=s(),F(),s),G=v(()=>t("div",{class:"header"},[t("div",{class:"title"},[t("div",{class:"border"}),t("div",null,"\u5E74\u5EA6\u8003\u6838\u76EE\u6807"),t("div",{class:"text"},"\u5F20\u4E09 | 2022-12-30 10:38:24")])],-1)),H={class:"footer"},J={class:"flex-center item-child"},K=v(()=>t("span",{class:"text"},"\u9884\u89C8",-1)),M={class:"flex-center item-child"},O=v(()=>t("span",{class:"text"},"\u7F16\u8F91",-1)),Q={class:"flex-center item-child"},R=v(()=>t("span",{class:"text"},"\u5220\u9664",-1)),W=h({__name:"List",setup(s){return(c,u)=>{const r=o("View"),n=o("el-icon"),a=o("Edit"),l=o("Delete"),i=o("el-card"),g=o("el-col"),x=o("el-row");return d(),S(i,{header:"\u4FE1\u606F\u5217\u8868",class:"m-list"},{default:_(()=>[e(x,{gutter:20},{default:_(()=>[(d(),m(k,null,y(20,C=>e(g,{span:6},{default:_(()=>[e(i,{class:"inner"},{default:_(()=>[G,t("div",H,[t("div",J,[e(n,null,{default:_(()=>[e(r)]),_:1}),K]),t("div",M,[e(n,null,{default:_(()=>[e(a)]),_:1}),O]),t("div",Q,[e(n,null,{default:_(()=>[e(l)]),_:1}),R])])]),_:1})]),_:1})),64))]),_:1}),e(p(q))]),_:1})}}});const X=f(W,[["__scopeId","data-v-59c2731f"]]),Y={class:"m-check-card app-container"},ee=h({__name:"index",setup(s){return(c,u)=>(d(),m("div",Y,[e(p(j)),e(p(A)),e(p(X))]))}});export{ee as default}; +import{g as h,i as b,o as d,c as m,F as k,D as y,a as t,y as $,s as p,p as E,f as F,_ as f,j as w,r as o,n as S,w as _,b as e,d as I}from"./index.034c045c.js";const V=s=>(E("data-v-a1b03464"),s=s(),F(),s),B={class:"item-card"},P=["onClick"],z=V(()=>t("div",{class:"pro-checkcard-content flex-justify-between"},[t("div",null,"\u4ECA\u65E5\u8BBF\u95EE\u91CF"),t("div",{class:"num"},"561")],-1)),D=[z],L=h({__name:"SingleCheck",setup(s){let c=b(0);const u=(r,n)=>{c.value=n};return(r,n)=>(d(),m("div",B,[(d(),m(k,null,y(5,(a,l)=>t("div",{class:$(["zb-pro-checkcard",{"single-active":p(c)===l}]),onClick:i=>u(a,l),key:a},D,10,P)),64))]))}});const j=f(L,[["__scopeId","data-v-a1b03464"]]),N=h({__name:"Search",setup(s){const c=w({name:""}),u=()=>{console.log("submit!")};return(r,n)=>{const a=o("el-input"),l=o("el-form-item"),i=o("el-button"),g=o("el-form"),x=o("el-card");return d(),S(x,null,{default:_(()=>[e(g,{inline:!0,model:c},{default:_(()=>[e(l,{label:"\u540D\u79F0"},{default:_(()=>[e(a,{modelValue:c.name,"onUpdate:modelValue":n[0]||(n[0]=C=>c.name=C),placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(l,null,{default:_(()=>[e(i,{type:"primary",onClick:u},{default:_(()=>[I("\u641C\u7D22")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})}}});const A=f(N,[["__scopeId","data-v-80281c1c"]]),U={class:"pagination"},T=h({__name:"Pagination",setup(s){const c=b(1),u=n=>{console.log(`${n} items per page`)},r=n=>{c.value=n};return(n,a)=>{const l=o("el-pagination");return d(),m("div",U,[e(l,{currentPage:c.value,"onUpdate:currentPage":a[0]||(a[0]=i=>c.value=i),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:1e3,onSizeChange:u,onCurrentChange:r},null,8,["currentPage"])])}}});const q=f(T,[["__scopeId","data-v-b42f8d32"]]),v=s=>(E("data-v-59c2731f"),s=s(),F(),s),G=v(()=>t("div",{class:"header"},[t("div",{class:"title"},[t("div",{class:"border"}),t("div",null,"\u5E74\u5EA6\u8003\u6838\u76EE\u6807"),t("div",{class:"text"},"\u5F20\u4E09 | 2022-12-30 10:38:24")])],-1)),H={class:"footer"},J={class:"flex-center item-child"},K=v(()=>t("span",{class:"text"},"\u9884\u89C8",-1)),M={class:"flex-center item-child"},O=v(()=>t("span",{class:"text"},"\u7F16\u8F91",-1)),Q={class:"flex-center item-child"},R=v(()=>t("span",{class:"text"},"\u5220\u9664",-1)),W=h({__name:"List",setup(s){return(c,u)=>{const r=o("View"),n=o("el-icon"),a=o("Edit"),l=o("Delete"),i=o("el-card"),g=o("el-col"),x=o("el-row");return d(),S(i,{header:"\u4FE1\u606F\u5217\u8868",class:"m-list"},{default:_(()=>[e(x,{gutter:20},{default:_(()=>[(d(),m(k,null,y(20,C=>e(g,{span:6},{default:_(()=>[e(i,{class:"inner"},{default:_(()=>[G,t("div",H,[t("div",J,[e(n,null,{default:_(()=>[e(r)]),_:1}),K]),t("div",M,[e(n,null,{default:_(()=>[e(a)]),_:1}),O]),t("div",Q,[e(n,null,{default:_(()=>[e(l)]),_:1}),R])])]),_:1})]),_:1})),64))]),_:1}),e(p(q))]),_:1})}}});const X=f(W,[["__scopeId","data-v-59c2731f"]]),Y={class:"m-check-card app-container"},ee=h({__name:"index",setup(s){return(c,u)=>(d(),m("div",Y,[e(p(j)),e(p(A)),e(p(X))]))}});export{ee as default}; diff --git a/docs/assets/index.47ebdf78.js b/docs/assets/index.4449c3e2.js similarity index 78% rename from docs/assets/index.47ebdf78.js rename to docs/assets/index.4449c3e2.js index 9420639..0591f6d 100644 --- a/docs/assets/index.47ebdf78.js +++ b/docs/assets/index.4449c3e2.js @@ -1 +1 @@ -import{_ as n,r as e,o as s,c as r,b as t}from"./index.048a73c8.js";const _={},a={style:{padding:"30px"}};function l(i,p){const o=e("el-alert"),c=e("router-view");return s(),r("div",a,[t(o,{title:"menu 1-2",type:"success",closable:!1}),t(c)])}const m=n(_,[["render",l]]);export{m as default}; +import{_ as n,r as e,o as s,c as r,b as t}from"./index.034c045c.js";const _={},a={style:{padding:"30px"}};function l(i,p){const o=e("el-alert"),c=e("router-view");return s(),r("div",a,[t(o,{title:"menu 1-2",type:"success",closable:!1}),t(c)])}const m=n(_,[["render",l]]);export{m as default}; diff --git a/docs/assets/index.4b486991.js b/docs/assets/index.4ab27b5d.js similarity index 97% rename from docs/assets/index.4b486991.js rename to docs/assets/index.4ab27b5d.js index b44e519..5437bcc 100644 --- a/docs/assets/index.4b486991.js +++ b/docs/assets/index.4ab27b5d.js @@ -1 +1 @@ -import{g as y,i as B,j as N,r as t,o as d,c as b,a as U,b as e,w as n,F as R,D as q,n as p,W as k,d as g,M as E,_ as O}from"./index.048a73c8.js";const P={class:"app-container"},S={class:"app-container-inner"},h=y({name:"appendForm"}),j=y({...h,setup(A){const m=B(),s=N({domains:[{key:1,value:"",name:""}]}),V=l=>{const o=s.domains.indexOf(l);o!==-1&&s.domains.splice(o,1)},C=()=>{s.domains.push({key:Date.now(),value:"",name:""})},w=l=>{!l||l.validate(o=>{if(o)E.success(`\u63D0\u4EA4\u6570\u636E: ${JSON.stringify(s.domains)}`),console.log("submit!",s.domains);else return console.log("error submit!"),!1})},x=l=>{!l||l.resetFields()};return(l,o)=>{const f=t("el-input"),_=t("el-form-item"),c=t("el-col"),D=t("Plus"),v=t("el-icon"),i=t("el-button"),F=t("Minus"),M=t("el-row"),$=t("el-form");return d(),b("div",P,[U("div",S,[e($,{ref_key:"formRef",ref:m,model:s,"label-width":"120px",class:"demo-dynamic"},{default:n(()=>[(d(!0),b(R,null,q(s.domains,(a,r)=>(d(),p(M,{gutter:20,key:a.key},{default:n(()=>[e(c,{span:10},{default:n(()=>[e(_,{label:"Domain"+r,prop:"domains."+r+".name",rules:{required:!0,message:"domain can not be null",trigger:"blur"}},{default:n(()=>[e(f,{modelValue:a.name,"onUpdate:modelValue":u=>a.name=u},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label","prop"])]),_:2},1024),e(c,{span:10},{default:n(()=>[e(_,{label:"Domain"+r,prop:"domains."+r+".value",rules:{required:!0,message:"domain can not be null",trigger:"blur"}},{default:n(()=>[e(f,{modelValue:a.value,"onUpdate:modelValue":u=>a.value=u},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label","prop"])]),_:2},1024),e(c,{span:4},{default:n(()=>[r===0?(d(),p(i,{key:0,onClick:o[0]||(o[0]=k(u=>C(),["prevent"]))},{default:n(()=>[e(v,null,{default:n(()=>[e(D)]),_:1})]),_:1})):(d(),p(i,{key:1,onClick:k(u=>V(a),["prevent"])},{default:n(()=>[e(v,null,{default:n(()=>[e(F)]),_:1})]),_:2},1032,["onClick"]))]),_:2},1024)]),_:2},1024))),128)),e(_,null,{default:n(()=>[e(i,{type:"primary",onClick:o[1]||(o[1]=a=>w(m.value))},{default:n(()=>[g("Submit")]),_:1}),e(i,{onClick:o[2]||(o[2]=a=>x(m.value))},{default:n(()=>[g("Reset")]),_:1})]),_:1})]),_:1},8,["model"])])])}}});const J=O(j,[["__scopeId","data-v-60208d80"]]);export{J as default}; +import{g as y,i as B,j as N,r as t,o as d,c as b,a as U,b as e,w as n,F as R,D as q,n as p,W as k,d as g,M as E,_ as O}from"./index.034c045c.js";const P={class:"app-container"},S={class:"app-container-inner"},h=y({name:"appendForm"}),j=y({...h,setup(A){const m=B(),s=N({domains:[{key:1,value:"",name:""}]}),V=l=>{const o=s.domains.indexOf(l);o!==-1&&s.domains.splice(o,1)},C=()=>{s.domains.push({key:Date.now(),value:"",name:""})},w=l=>{!l||l.validate(o=>{if(o)E.success(`\u63D0\u4EA4\u6570\u636E: ${JSON.stringify(s.domains)}`),console.log("submit!",s.domains);else return console.log("error submit!"),!1})},x=l=>{!l||l.resetFields()};return(l,o)=>{const f=t("el-input"),_=t("el-form-item"),c=t("el-col"),D=t("Plus"),v=t("el-icon"),i=t("el-button"),F=t("Minus"),M=t("el-row"),$=t("el-form");return d(),b("div",P,[U("div",S,[e($,{ref_key:"formRef",ref:m,model:s,"label-width":"120px",class:"demo-dynamic"},{default:n(()=>[(d(!0),b(R,null,q(s.domains,(a,r)=>(d(),p(M,{gutter:20,key:a.key},{default:n(()=>[e(c,{span:10},{default:n(()=>[e(_,{label:"Domain"+r,prop:"domains."+r+".name",rules:{required:!0,message:"domain can not be null",trigger:"blur"}},{default:n(()=>[e(f,{modelValue:a.name,"onUpdate:modelValue":u=>a.name=u},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label","prop"])]),_:2},1024),e(c,{span:10},{default:n(()=>[e(_,{label:"Domain"+r,prop:"domains."+r+".value",rules:{required:!0,message:"domain can not be null",trigger:"blur"}},{default:n(()=>[e(f,{modelValue:a.value,"onUpdate:modelValue":u=>a.value=u},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label","prop"])]),_:2},1024),e(c,{span:4},{default:n(()=>[r===0?(d(),p(i,{key:0,onClick:o[0]||(o[0]=k(u=>C(),["prevent"]))},{default:n(()=>[e(v,null,{default:n(()=>[e(D)]),_:1})]),_:1})):(d(),p(i,{key:1,onClick:k(u=>V(a),["prevent"])},{default:n(()=>[e(v,null,{default:n(()=>[e(F)]),_:1})]),_:2},1032,["onClick"]))]),_:2},1024)]),_:2},1024))),128)),e(_,null,{default:n(()=>[e(i,{type:"primary",onClick:o[1]||(o[1]=a=>w(m.value))},{default:n(()=>[g("Submit")]),_:1}),e(i,{onClick:o[2]||(o[2]=a=>x(m.value))},{default:n(()=>[g("Reset")]),_:1})]),_:1})]),_:1},8,["model"])])])}}});const J=O(j,[["__scopeId","data-v-60208d80"]]);export{J as default}; diff --git a/docs/assets/index.4f40a22c.js.gz b/docs/assets/index.4f40a22c.js.gz deleted file mode 100644 index 24b94d6..0000000 Binary files a/docs/assets/index.4f40a22c.js.gz and /dev/null differ diff --git a/docs/assets/index.b8f99a26.js b/docs/assets/index.55cda1e9.js similarity index 98% rename from docs/assets/index.b8f99a26.js rename to docs/assets/index.55cda1e9.js index 8b1be9e..9a61a45 100644 --- a/docs/assets/index.b8f99a26.js +++ b/docs/assets/index.55cda1e9.js @@ -1 +1 @@ -import{g as R,i,x as P,O as M,r,o as h,c as F,b as t,w as l,s as C,bJ as S,a as f,F as L,M as U,l as N,D,W as I,d as j,p as T,f as J,_ as O}from"./index.048a73c8.js";const W=["src"],q=R({__name:"index",props:{modelValue:Array,multiple:{type:Boolean,default:!0},listType:{type:String,default:"picture-card"},showFileList:{type:Boolean,default:!0}},emits:["update"],setup(d,{emit:y}){const w=d;let v=i([]);const g=i(""),p=i(!1),$=(a,_)=>{console.log(a,_)},b=(a,_)=>new Promise((e,c)=>{var o=new FileReader;let u=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;o.readAsDataURL(a);let s=a.name;u.test(s)?o.onload=n=>{v.value.push({name:s,url:n.target.result}),y("update",v.value),e(n.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),c())}),B=a=>{g.value=a.url,p.value=!0};return P(()=>{M(()=>w.modelValue,a=>{v.value=a},{immediate:!0})}),(a,_)=>{const e=r("el-icon"),c=r("el-upload"),o=r("el-dialog");return h(),F(L,null,[t(c,{action:"","before-upload":b,"list-type":d.listType,multiple:d.multiple,"on-preview":B,"on-remove":$,"file-list":C(v)},{default:l(()=>[t(e,null,{default:l(()=>[t(C(S))]),_:1})]),_:1},8,["list-type","multiple","file-list"]),t(o,{modelValue:p.value,"onUpdate:modelValue":_[0]||(_[0]=u=>p.value=u),width:"50%",top:"80px"},{default:l(()=>[f("img",{"w-full":"",src:g.value,alt:"\u9884\u89C8\u56FE\u7247",style:{width:"100%"}},null,8,W)]),_:1},8,["modelValue"])],64)}}}),E=d=>(T("data-v-6a63fad3"),d=d(),J(),d),z={class:"app-container"},G=E(()=>f("span",null,"\u6309\u94AE\u4E0A\u4F20",-1)),H={class:"demo-image__preview"},K={class:"upload-list"},Q=E(()=>f("span",null,"\u591A\u56FE\u7247\u4E0A\u4F20",-1)),X=E(()=>f("span",null,"\u62D6\u62FD\u4E0A\u4F20",-1)),Y={class:"upload-list"},Z=E(()=>f("div",{class:"el-upload__text"},[j(" \u62D6\u62FD\u4E0A\u4F20 "),f("em",null,"\u6216\u8005\u70B9\u51FB\u4E0A\u4F20")],-1)),ee=R({__name:"index",setup(d){const y=i([{url:N,name:"female.png",uid:"1651408956803",status:"success"}]);i([]);const w=i(0),v=i(0),g=i([]),p=i([]),$=e=>{console.log("valll======",e)},b=e=>{w.value=e},B=e=>{w.value=e},a=(e,c)=>new Promise((o,u)=>{var s=new FileReader;let n=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;s.readAsDataURL(e);let x=e.name;n.test(x)?s.onload=m=>{g.value.push(m.target.result),o(m.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),u())}),_=(e,c)=>new Promise((o,u)=>{var s=new FileReader;let n=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;s.readAsDataURL(e);let x=e.name;n.test(x)?s.onload=m=>{p.value.push(m.target.result),o(m.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),u())});return(e,c)=>{const o=r("el-image"),u=r("el-button"),s=r("el-upload"),n=r("el-card"),x=r("upload-filled"),m=r("el-icon");return h(),F("div",z,[t(n,{style:{"margin-bottom":"10px"}},{header:l(()=>[G]),default:l(()=>[f("div",H,[(h(!0),F(L,null,D(g.value,(A,V)=>(h(),F("div",K,[t(o,{onClick:I(k=>b(V),["stop"]),style:{width:"100%",height:"100%"},src:A,"preview-src-list":g.value,"initial-index":w.value,fit:"cover"},null,8,["onClick","src","preview-src-list","initial-index"])]))),256))]),t(s,{action:"/",multiple:"","before-upload":a},{default:l(()=>[t(u,{type:"primary"},{default:l(()=>[j("\u70B9\u51FB\u4E0A\u4F20")]),_:1})]),_:1})]),_:1}),t(n,{style:{"margin-bottom":"10px"}},{header:l(()=>[Q]),default:l(()=>[t(q,{onUpdate:$,modelValue:y.value,"onUpdate:modelValue":c[0]||(c[0]=A=>y.value=A)},null,8,["modelValue"])]),_:1}),t(n,null,{header:l(()=>[X]),default:l(()=>[(h(!0),F(L,null,D(p.value,(A,V)=>(h(),F("div",Y,[t(o,{onClick:I(k=>B(V),["stop"]),style:{width:"100%",height:"100%"},src:A,"preview-src-list":p.value,"initial-index":v.value,fit:"cover"},null,8,["onClick","src","preview-src-list","initial-index"])]))),256)),t(s,{class:"upload-demo",drag:"","before-upload":_,action:"/",multiple:""},{default:l(()=>[t(m,{class:"el-icon--upload"},{default:l(()=>[t(x)]),_:1}),Z]),_:1})]),_:1})])}}});const le=O(ee,[["__scopeId","data-v-6a63fad3"]]);export{le as default}; +import{g as R,i,x as P,O as M,r,o as h,c as F,b as t,w as l,s as C,bJ as S,a as f,F as L,M as U,l as N,D,W as I,d as j,p as T,f as J,_ as O}from"./index.034c045c.js";const W=["src"],q=R({__name:"index",props:{modelValue:Array,multiple:{type:Boolean,default:!0},listType:{type:String,default:"picture-card"},showFileList:{type:Boolean,default:!0}},emits:["update"],setup(d,{emit:y}){const w=d;let v=i([]);const g=i(""),p=i(!1),$=(a,_)=>{console.log(a,_)},b=(a,_)=>new Promise((e,c)=>{var o=new FileReader;let u=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;o.readAsDataURL(a);let s=a.name;u.test(s)?o.onload=n=>{v.value.push({name:s,url:n.target.result}),y("update",v.value),e(n.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),c())}),B=a=>{g.value=a.url,p.value=!0};return P(()=>{M(()=>w.modelValue,a=>{v.value=a},{immediate:!0})}),(a,_)=>{const e=r("el-icon"),c=r("el-upload"),o=r("el-dialog");return h(),F(L,null,[t(c,{action:"","before-upload":b,"list-type":d.listType,multiple:d.multiple,"on-preview":B,"on-remove":$,"file-list":C(v)},{default:l(()=>[t(e,null,{default:l(()=>[t(C(S))]),_:1})]),_:1},8,["list-type","multiple","file-list"]),t(o,{modelValue:p.value,"onUpdate:modelValue":_[0]||(_[0]=u=>p.value=u),width:"50%",top:"80px"},{default:l(()=>[f("img",{"w-full":"",src:g.value,alt:"\u9884\u89C8\u56FE\u7247",style:{width:"100%"}},null,8,W)]),_:1},8,["modelValue"])],64)}}}),E=d=>(T("data-v-6a63fad3"),d=d(),J(),d),z={class:"app-container"},G=E(()=>f("span",null,"\u6309\u94AE\u4E0A\u4F20",-1)),H={class:"demo-image__preview"},K={class:"upload-list"},Q=E(()=>f("span",null,"\u591A\u56FE\u7247\u4E0A\u4F20",-1)),X=E(()=>f("span",null,"\u62D6\u62FD\u4E0A\u4F20",-1)),Y={class:"upload-list"},Z=E(()=>f("div",{class:"el-upload__text"},[j(" \u62D6\u62FD\u4E0A\u4F20 "),f("em",null,"\u6216\u8005\u70B9\u51FB\u4E0A\u4F20")],-1)),ee=R({__name:"index",setup(d){const y=i([{url:N,name:"female.png",uid:"1651408956803",status:"success"}]);i([]);const w=i(0),v=i(0),g=i([]),p=i([]),$=e=>{console.log("valll======",e)},b=e=>{w.value=e},B=e=>{w.value=e},a=(e,c)=>new Promise((o,u)=>{var s=new FileReader;let n=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;s.readAsDataURL(e);let x=e.name;n.test(x)?s.onload=m=>{g.value.push(m.target.result),o(m.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),u())}),_=(e,c)=>new Promise((o,u)=>{var s=new FileReader;let n=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;s.readAsDataURL(e);let x=e.name;n.test(x)?s.onload=m=>{p.value.push(m.target.result),o(m.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),u())});return(e,c)=>{const o=r("el-image"),u=r("el-button"),s=r("el-upload"),n=r("el-card"),x=r("upload-filled"),m=r("el-icon");return h(),F("div",z,[t(n,{style:{"margin-bottom":"10px"}},{header:l(()=>[G]),default:l(()=>[f("div",H,[(h(!0),F(L,null,D(g.value,(A,V)=>(h(),F("div",K,[t(o,{onClick:I(k=>b(V),["stop"]),style:{width:"100%",height:"100%"},src:A,"preview-src-list":g.value,"initial-index":w.value,fit:"cover"},null,8,["onClick","src","preview-src-list","initial-index"])]))),256))]),t(s,{action:"/",multiple:"","before-upload":a},{default:l(()=>[t(u,{type:"primary"},{default:l(()=>[j("\u70B9\u51FB\u4E0A\u4F20")]),_:1})]),_:1})]),_:1}),t(n,{style:{"margin-bottom":"10px"}},{header:l(()=>[Q]),default:l(()=>[t(q,{onUpdate:$,modelValue:y.value,"onUpdate:modelValue":c[0]||(c[0]=A=>y.value=A)},null,8,["modelValue"])]),_:1}),t(n,null,{header:l(()=>[X]),default:l(()=>[(h(!0),F(L,null,D(p.value,(A,V)=>(h(),F("div",Y,[t(o,{onClick:I(k=>B(V),["stop"]),style:{width:"100%",height:"100%"},src:A,"preview-src-list":p.value,"initial-index":v.value,fit:"cover"},null,8,["onClick","src","preview-src-list","initial-index"])]))),256)),t(s,{class:"upload-demo",drag:"","before-upload":_,action:"/",multiple:""},{default:l(()=>[t(m,{class:"el-icon--upload"},{default:l(()=>[t(x)]),_:1}),Z]),_:1})]),_:1})])}}});const le=O(ee,[["__scopeId","data-v-6a63fad3"]]);export{le as default}; diff --git a/docs/assets/index.bb5388a0.js b/docs/assets/index.580bf7d6.js similarity index 66% rename from docs/assets/index.bb5388a0.js rename to docs/assets/index.580bf7d6.js index dcb11ee..d505dda 100644 --- a/docs/assets/index.bb5388a0.js +++ b/docs/assets/index.580bf7d6.js @@ -1 +1 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang.c3cd7d59.js";import{g as s,r as _,o as a,c,b as e,w as n,d as r,_ as u}from"./index.048a73c8.js";import"./index.201c3aba.js";const d={class:"echarts-map"},i=s({__name:"index",setup(p){return(m,l)=>{const t=_("el-card");return a(),c("div",d,[e(t,{class:"info"},{default:n(()=>[r("Echarts \u5B9E\u73B0\u98DE\u7EBF\u56FE\u3001\u5730\u56FE\u589E\u52A0\u56FE\u6807\u3001\u9AD8\u4EAE")]),_:1}),e(o,{height:"100%",width:"100%",id:"migration"})])}}});const h=u(i,[["__scopeId","data-v-51004948"]]);export{h as default}; +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang.0cc6321a.js";import{g as s,r as _,o as a,c,b as e,w as n,d as r,_ as u}from"./index.034c045c.js";import"./index.201c3aba.js";const d={class:"echarts-map"},i=s({__name:"index",setup(p){return(m,l)=>{const t=_("el-card");return a(),c("div",d,[e(t,{class:"info"},{default:n(()=>[r("Echarts \u5B9E\u73B0\u98DE\u7EBF\u56FE\u3001\u5730\u56FE\u589E\u52A0\u56FE\u6807\u3001\u9AD8\u4EAE")]),_:1}),e(o,{height:"100%",width:"100%",id:"migration"})])}}});const h=u(i,[["__scopeId","data-v-51004948"]]);export{h as default}; diff --git a/docs/assets/index.a2103400.js b/docs/assets/index.5f10335e.js similarity index 98% rename from docs/assets/index.a2103400.js rename to docs/assets/index.5f10335e.js index 7720a64..e3dae11 100644 --- a/docs/assets/index.a2103400.js +++ b/docs/assets/index.5f10335e.js @@ -1 +1 @@ -import{g as h,i as _,j as E,bL as n,r as B,o as V,c as C,a,b as e,w as t,d as g,s as A,bM as y,p as w,f as x,bN as D,bO as k,bP as U,bQ as q,bR as I,bS as M,_ as N}from"./index.048a73c8.js";const i=s=>(w("data-v-9e34b3bc"),s=s(),x(),s),S={class:"app-container"},T={class:"app-container-inner"},H=["innerHTML"],L=i(()=>a("div",null,"\u9A8C\u8BC1\u8EAB\u4EFD\u8BC1\u662F\u5426\u6B63\u786E",-1)),R=i(()=>a("div",null,"\u9A8C\u8BC1url\u662F\u5426\u6B63\u786E\u3002",-1)),P=i(()=>a("div",null,"\u662F\u5426\u662Fhtml\u6807\u7B7E",-1)),j=i(()=>a("div",null,"\u662F\u5426\u662F\u6B63\u786E\u7684\u65E5\u671F",-1)),K=i(()=>a("div",null,"\u662F\u5426\u662F\u6B63\u786E\u7684\u90AE\u7BB1",-1)),O=h({__name:"index",setup(s){const c=_();let m="\u53EA\u8981\u81EA\u5DF1\u4E0D\u653E\u5F03\uFF0C\u6CA1\u6709\u4EFB\u4F55\u4EBA\u53EF\u4EE5\u6253\u5012\u4F60",p=_(m);const u=E({phone:"",keyword:"",percent:"",idCard:null,website:null,html:null,date:null,email:null}),f=E({phone:[{required:!0,validator:n(D,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"),trigger:["blur","change"]}],idCard:[{required:!0,validator:n(k,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1"),trigger:["blur","change"]}],website:[{required:!0,validator:n(U,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u7F51\u5740"),trigger:["blur","change"]}],html:[{required:!0,validator:n(q,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684html\u6807\u7B7E"),trigger:["blur","change"]}],date:[{required:!0,validator:n(I,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65E5\u671F"),trigger:["blur","change"]}],email:[{required:!0,validator:n(M,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1"),trigger:["blur","change"]}]}),b=F=>{F?p.value=y(F,m):p.value=m};return(F,l)=>{const r=B("el-input"),d=B("el-form-item"),v=B("el-form");return V(),C("div",S,[a("div",T,[e(v,{ref_key:"ruleFormRef",ref:c,model:u,rules:f,"label-width":"120px","status-icon":"","label-position":"top"},{default:t(()=>[e(d,{label:"\u624B\u673A\u53F7\u7801",prop:"phone"},{default:t(()=>[e(r,{modelValue:u.phone,"onUpdate:modelValue":l[0]||(l[0]=o=>u.phone=o),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5339\u914D\u6587\u5B57\u53D8\u8272\uFF08\u641C\u7D22\u65F6\uFF09",prop:"keyword",class:"item-form"},{default:t(()=>[a("div",null,[g("\u793A\u4F8B\uFF1A"),a("span",{innerHTML:A(p)},null,8,H)]),e(r,{modelValue:u.keyword,"onUpdate:modelValue":l[1]||(l[1]=o=>u.keyword=o),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57",onInput:b},null,8,["modelValue"])]),_:1}),e(d,{label:"\u8EAB\u4EFD\u8BC1",prop:"idCard",class:"item-form"},{default:t(()=>[L,e(r,{modelValue:u.idCard,"onUpdate:modelValue":l[2]||(l[2]=o=>u.idCard=o),placeholder:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u7F51\u5740",prop:"website",class:"item-form"},{default:t(()=>[R,e(r,{modelValue:u.website,"onUpdate:modelValue":l[3]||(l[3]=o=>u.website=o),placeholder:"\u8BF7\u8F93\u5165url"},null,8,["modelValue"])]),_:1}),e(d,{label:"html\u6807\u7B7E",prop:"html",class:"item-form"},{default:t(()=>[P,e(r,{modelValue:u.html,"onUpdate:modelValue":l[4]||(l[4]=o=>u.html=o),placeholder:"\u8BF7\u8F93\u5165html\u6807\u7B7E"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u65E5\u671F",prop:"date",class:"item-form"},{default:t(()=>[j,e(r,{modelValue:u.date,"onUpdate:modelValue":l[5]||(l[5]=o=>u.date=o),placeholder:"\u8BF7\u8F93\u5165\u65E5\u671F"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u90AE\u7BB1",prop:"email",class:"item-form"},{default:t(()=>[K,e(r,{modelValue:u.email,"onUpdate:modelValue":l[6]||(l[6]=o=>u.email=o),placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])])])}}});const W=N(O,[["__scopeId","data-v-9e34b3bc"]]);export{W as default}; +import{g as h,i as _,j as E,bL as n,r as B,o as V,c as C,a,b as e,w as t,d as g,s as A,bM as y,p as w,f as x,bN as D,bO as k,bP as U,bQ as q,bR as I,bS as M,_ as N}from"./index.034c045c.js";const i=s=>(w("data-v-9e34b3bc"),s=s(),x(),s),S={class:"app-container"},T={class:"app-container-inner"},H=["innerHTML"],L=i(()=>a("div",null,"\u9A8C\u8BC1\u8EAB\u4EFD\u8BC1\u662F\u5426\u6B63\u786E",-1)),R=i(()=>a("div",null,"\u9A8C\u8BC1url\u662F\u5426\u6B63\u786E\u3002",-1)),P=i(()=>a("div",null,"\u662F\u5426\u662Fhtml\u6807\u7B7E",-1)),j=i(()=>a("div",null,"\u662F\u5426\u662F\u6B63\u786E\u7684\u65E5\u671F",-1)),K=i(()=>a("div",null,"\u662F\u5426\u662F\u6B63\u786E\u7684\u90AE\u7BB1",-1)),O=h({__name:"index",setup(s){const c=_();let m="\u53EA\u8981\u81EA\u5DF1\u4E0D\u653E\u5F03\uFF0C\u6CA1\u6709\u4EFB\u4F55\u4EBA\u53EF\u4EE5\u6253\u5012\u4F60",p=_(m);const u=E({phone:"",keyword:"",percent:"",idCard:null,website:null,html:null,date:null,email:null}),f=E({phone:[{required:!0,validator:n(D,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"),trigger:["blur","change"]}],idCard:[{required:!0,validator:n(k,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1"),trigger:["blur","change"]}],website:[{required:!0,validator:n(U,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u7F51\u5740"),trigger:["blur","change"]}],html:[{required:!0,validator:n(q,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684html\u6807\u7B7E"),trigger:["blur","change"]}],date:[{required:!0,validator:n(I,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65E5\u671F"),trigger:["blur","change"]}],email:[{required:!0,validator:n(M,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1"),trigger:["blur","change"]}]}),b=F=>{F?p.value=y(F,m):p.value=m};return(F,l)=>{const r=B("el-input"),d=B("el-form-item"),v=B("el-form");return V(),C("div",S,[a("div",T,[e(v,{ref_key:"ruleFormRef",ref:c,model:u,rules:f,"label-width":"120px","status-icon":"","label-position":"top"},{default:t(()=>[e(d,{label:"\u624B\u673A\u53F7\u7801",prop:"phone"},{default:t(()=>[e(r,{modelValue:u.phone,"onUpdate:modelValue":l[0]||(l[0]=o=>u.phone=o),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5339\u914D\u6587\u5B57\u53D8\u8272\uFF08\u641C\u7D22\u65F6\uFF09",prop:"keyword",class:"item-form"},{default:t(()=>[a("div",null,[g("\u793A\u4F8B\uFF1A"),a("span",{innerHTML:A(p)},null,8,H)]),e(r,{modelValue:u.keyword,"onUpdate:modelValue":l[1]||(l[1]=o=>u.keyword=o),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57",onInput:b},null,8,["modelValue"])]),_:1}),e(d,{label:"\u8EAB\u4EFD\u8BC1",prop:"idCard",class:"item-form"},{default:t(()=>[L,e(r,{modelValue:u.idCard,"onUpdate:modelValue":l[2]||(l[2]=o=>u.idCard=o),placeholder:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u7F51\u5740",prop:"website",class:"item-form"},{default:t(()=>[R,e(r,{modelValue:u.website,"onUpdate:modelValue":l[3]||(l[3]=o=>u.website=o),placeholder:"\u8BF7\u8F93\u5165url"},null,8,["modelValue"])]),_:1}),e(d,{label:"html\u6807\u7B7E",prop:"html",class:"item-form"},{default:t(()=>[P,e(r,{modelValue:u.html,"onUpdate:modelValue":l[4]||(l[4]=o=>u.html=o),placeholder:"\u8BF7\u8F93\u5165html\u6807\u7B7E"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u65E5\u671F",prop:"date",class:"item-form"},{default:t(()=>[j,e(r,{modelValue:u.date,"onUpdate:modelValue":l[5]||(l[5]=o=>u.date=o),placeholder:"\u8BF7\u8F93\u5165\u65E5\u671F"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u90AE\u7BB1",prop:"email",class:"item-form"},{default:t(()=>[K,e(r,{modelValue:u.email,"onUpdate:modelValue":l[6]||(l[6]=o=>u.email=o),placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])])])}}});const W=N(O,[["__scopeId","data-v-9e34b3bc"]]);export{W as default}; diff --git a/docs/assets/index.38a2c0ba.js b/docs/assets/index.5f9c0b4d.js similarity index 95% rename from docs/assets/index.38a2c0ba.js rename to docs/assets/index.5f9c0b4d.js index 9dc23e9..aa8f6c3 100644 --- a/docs/assets/index.38a2c0ba.js +++ b/docs/assets/index.5f9c0b4d.js @@ -1 +1 @@ -import{g as A,u as j,h as Y,i as p,j as k,r as l,o as d,c as B,b as o,w as n,k as y,a as t,d as U,F as P,E as W,p as F,f as x,l as X,_ as h,m as M,t as R,n as I}from"./index.048a73c8.js";import{g as T}from"./index.5be08a55.js";import{v as Z}from"./vue-qr.fbb19789.js";const z="/vue-admin-perfect/assets/side-logo.74a8e9c4.png",H="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAACVElEQVRYhc2YP2gTURzHPwanhNzWUnAqV4XSatFB6FBoQdBBEMVRpQh2EJx0E7lfkWKVRIWAg4OIdBSkm5YMLvXISRTB0GIb3CtYTLGQzSGX41WS5uXy7s93uTz45b0Pv8/j7t0dsUeGBHAYMKtrZcYnJgGouJ+4fvXKoFMCkAEEWDQyWwTJ+FchpZBHld8yNDzM1OkzWrrr21v8rNe1Fhm1beyx41q1375+4dfOTkdAAHnx6jVo7MlSsUDpaUFr0YuXLnPn7j2t2ts35yl/eB+MMx1qhBTp7gQIKYL8X7EaWXIesFH77gBkszlevlkxsujCjWvs7/8FYHxikvuLD0MBAojnugBOPm8ZgQOoeh57ew2t2m6K1QgJ6u7VwXYkb+XBwBMHwJ8LaG2dw6ILCK1OggHIj15Vu1ZHsRohZt39AkLMkP0oViMVdx00dVfcdSjqTVzf3jowDgsIfexJz3Xxb1d9J4xiNULEugcFhIghB1GsRkbtMfB1nzw1xepa2cjEpgBB2ZPZXC44/g8aE4rVCIZ1m+xgO9Jo/GGjVtO6BVmWdaDbPzY32d39HYyjAAQQ/62uJ+TZ6WlW3r4Lxs+fLPc8UZuKYEB3lIBgADIqxWpkZnaOmdm5QHfx0RLNZlPrz3EAAsj8rQXw92SpWNAGjFqxGiGE7jgBIQRkXIrViH91oHXSOXFspGtx3B1sR9DsZFKAoAmZhGI1cu78BTjkiZM0IPT4YJWkYjVCF91pAYQukGlQrEaePV6m+rkS6E4bICgfrCBditUIvu40drAdAfgHGouWAs/uvbcAAAAASUVORK5CYII=",K=e=>(F("data-v-0642e726"),e=e(),x(),e),D=K(()=>t("div",{class:"login-title"},[t("img",{class:"icon",src:X,alt:"logo"}),t("h2",{class:"title"},"Vue-Admin-Perfect")],-1)),O=A({__name:"LoginForm",setup(e){const a=j(),_=Y(),i=p(),c=p("password"),m=p(!1),b=k({password:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",trigger:"blur"}],username:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801",trigger:"blur"}]}),u=k({username:"admin",password:"123456"}),C=()=>{c.value=c.value==="password"?"":"password"},g=v=>{!v||v.validate(s=>{if(s)m.value=!0,setTimeout(async()=>{await _.login(u),await a.push({path:"/"}),W({title:T(),message:"\u6B22\u8FCE\u767B\u5F55 Vue Admin Perfect",type:"success",duration:3e3}),m.value=!0},1e3);else return console.log("error submit!"),!1})};return(v,s)=>{const S=l("UserFilled"),w=l("el-icon"),V=l("el-input"),f=l("el-form-item"),E=l("GoodsFilled"),G=l("svg-icon"),L=l("el-button"),Q=l("el-form");return d(),B(P,null,[D,o(Q,{ref_key:"ruleFormRef",ref:i,model:u,rules:b},{default:n(()=>[o(f,{label:"",prop:"username"},{default:n(()=>[o(V,{placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",autoComplete:"on",style:{position:"relative"},modelValue:u.username,"onUpdate:modelValue":s[0]||(s[0]=r=>u.username=r),onKeyup:s[1]||(s[1]=y(r=>g(i.value),["enter","native"]))},{prefix:n(()=>[o(w,{class:"el-input__icon"},{default:n(()=>[o(S)]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(f,{label:"",prop:"password"},{default:n(()=>[o(V,{placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",autoComplete:"on",onKeyup:s[2]||(s[2]=y(r=>g(i.value),["enter","native"])),modelValue:u.password,"onUpdate:modelValue":s[3]||(s[3]=r=>u.password=r),type:c.value},{prefix:n(()=>[o(w,{class:"el-input__icon"},{default:n(()=>[o(E)]),_:1})]),suffix:n(()=>[t("div",{class:"show-pwd",onClick:C},[o(G,{"icon-class":c.value==="password"?"eye":"eye-open"},null,8,["icon-class"])])]),_:1},8,["modelValue","type"])]),_:1}),o(f,{style:{width:"100%"}},{default:n(()=>[o(L,{loading:m.value,class:"login-btn",type:"primary",onClick:s[4]||(s[4]=r=>g(i.value))},{default:n(()=>[U("\u767B\u5F55")]),_:1},8,["loading"])]),_:1})]),_:1},8,["model","rules"])],64)}}});const $=h(O,[["__scopeId","data-v-0642e726"]]),q=e=>(F("data-v-b84a7639"),e=e(),x(),e),J={class:"login-qrcode"},N=q(()=>t("h2",{class:"title"},"Vue-Admin-Perfect",-1)),ee=A({__name:"LoginQrcode",setup(e){return(a,_)=>(d(),B("div",J,[N,o(Z,{text:"https://github.com/zouzhibin/vue-admin-perfect"})]))}});const oe=h(ee,[["__scopeId","data-v-b84a7639"]]),se=e=>(F("data-v-0809de44"),e=e(),x(),e),te={class:"login-container"},ne={class:"login-box"},ae=se(()=>t("div",{class:"login-left"},[t("img",{src:z})],-1)),le={class:"login-form"},ue={class:"info-qrcode"},re=A({__name:"index",setup(e){const a=p(!0),_=()=>{console.log("=======",a),a.value=!a.value};return(i,c)=>(d(),B("div",te,[t("div",ne,[o(M,{class:"login-dark"}),ae,t("div",le,[t("div",ue,R(a.value?"\u626B\u7801\u767B\u5F55":"\u8D26\u53F7\u767B\u5F55"),1),t("img",{src:H,class:"qrcode",onClick:_}),a.value?(d(),I($,{key:0})):(d(),I(oe,{key:1}))])])]))}});const _e=h(re,[["__scopeId","data-v-0809de44"]]);export{_e as default}; +import{g as A,u as j,h as Y,i as p,j as k,r as l,o as d,c as B,b as o,w as n,k as y,a as t,d as U,F as P,E as W,p as F,f as x,l as X,_ as h,m as M,t as R,n as I}from"./index.034c045c.js";import{g as T}from"./index.5be08a55.js";import{v as Z}from"./vue-qr.019531fb.js";const z="/vue-admin-perfect/assets/side-logo.74a8e9c4.png",H="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAACVElEQVRYhc2YP2gTURzHPwanhNzWUnAqV4XSatFB6FBoQdBBEMVRpQh2EJx0E7lfkWKVRIWAg4OIdBSkm5YMLvXISRTB0GIb3CtYTLGQzSGX41WS5uXy7s93uTz45b0Pv8/j7t0dsUeGBHAYMKtrZcYnJgGouJ+4fvXKoFMCkAEEWDQyWwTJ+FchpZBHld8yNDzM1OkzWrrr21v8rNe1Fhm1beyx41q1375+4dfOTkdAAHnx6jVo7MlSsUDpaUFr0YuXLnPn7j2t2ts35yl/eB+MMx1qhBTp7gQIKYL8X7EaWXIesFH77gBkszlevlkxsujCjWvs7/8FYHxikvuLD0MBAojnugBOPm8ZgQOoeh57ew2t2m6K1QgJ6u7VwXYkb+XBwBMHwJ8LaG2dw6ILCK1OggHIj15Vu1ZHsRohZt39AkLMkP0oViMVdx00dVfcdSjqTVzf3jowDgsIfexJz3Xxb1d9J4xiNULEugcFhIghB1GsRkbtMfB1nzw1xepa2cjEpgBB2ZPZXC44/g8aE4rVCIZ1m+xgO9Jo/GGjVtO6BVmWdaDbPzY32d39HYyjAAQQ/62uJ+TZ6WlW3r4Lxs+fLPc8UZuKYEB3lIBgADIqxWpkZnaOmdm5QHfx0RLNZlPrz3EAAsj8rQXw92SpWNAGjFqxGiGE7jgBIQRkXIrViH91oHXSOXFspGtx3B1sR9DsZFKAoAmZhGI1cu78BTjkiZM0IPT4YJWkYjVCF91pAYQukGlQrEaePV6m+rkS6E4bICgfrCBditUIvu40drAdAfgHGouWAs/uvbcAAAAASUVORK5CYII=",K=e=>(F("data-v-0642e726"),e=e(),x(),e),D=K(()=>t("div",{class:"login-title"},[t("img",{class:"icon",src:X,alt:"logo"}),t("h2",{class:"title"},"Vue-Admin-Perfect")],-1)),O=A({__name:"LoginForm",setup(e){const a=j(),_=Y(),i=p(),c=p("password"),m=p(!1),b=k({password:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",trigger:"blur"}],username:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801",trigger:"blur"}]}),u=k({username:"admin",password:"123456"}),C=()=>{c.value=c.value==="password"?"":"password"},g=v=>{!v||v.validate(s=>{if(s)m.value=!0,setTimeout(async()=>{await _.login(u),await a.push({path:"/"}),W({title:T(),message:"\u6B22\u8FCE\u767B\u5F55 Vue Admin Perfect",type:"success",duration:3e3}),m.value=!0},1e3);else return console.log("error submit!"),!1})};return(v,s)=>{const S=l("UserFilled"),w=l("el-icon"),V=l("el-input"),f=l("el-form-item"),E=l("GoodsFilled"),G=l("svg-icon"),L=l("el-button"),Q=l("el-form");return d(),B(P,null,[D,o(Q,{ref_key:"ruleFormRef",ref:i,model:u,rules:b},{default:n(()=>[o(f,{label:"",prop:"username"},{default:n(()=>[o(V,{placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",autoComplete:"on",style:{position:"relative"},modelValue:u.username,"onUpdate:modelValue":s[0]||(s[0]=r=>u.username=r),onKeyup:s[1]||(s[1]=y(r=>g(i.value),["enter","native"]))},{prefix:n(()=>[o(w,{class:"el-input__icon"},{default:n(()=>[o(S)]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(f,{label:"",prop:"password"},{default:n(()=>[o(V,{placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",autoComplete:"on",onKeyup:s[2]||(s[2]=y(r=>g(i.value),["enter","native"])),modelValue:u.password,"onUpdate:modelValue":s[3]||(s[3]=r=>u.password=r),type:c.value},{prefix:n(()=>[o(w,{class:"el-input__icon"},{default:n(()=>[o(E)]),_:1})]),suffix:n(()=>[t("div",{class:"show-pwd",onClick:C},[o(G,{"icon-class":c.value==="password"?"eye":"eye-open"},null,8,["icon-class"])])]),_:1},8,["modelValue","type"])]),_:1}),o(f,{style:{width:"100%"}},{default:n(()=>[o(L,{loading:m.value,class:"login-btn",type:"primary",onClick:s[4]||(s[4]=r=>g(i.value))},{default:n(()=>[U("\u767B\u5F55")]),_:1},8,["loading"])]),_:1})]),_:1},8,["model","rules"])],64)}}});const $=h(O,[["__scopeId","data-v-0642e726"]]),q=e=>(F("data-v-b84a7639"),e=e(),x(),e),J={class:"login-qrcode"},N=q(()=>t("h2",{class:"title"},"Vue-Admin-Perfect",-1)),ee=A({__name:"LoginQrcode",setup(e){return(a,_)=>(d(),B("div",J,[N,o(Z,{text:"https://github.com/zouzhibin/vue-admin-perfect"})]))}});const oe=h(ee,[["__scopeId","data-v-b84a7639"]]),se=e=>(F("data-v-0809de44"),e=e(),x(),e),te={class:"login-container"},ne={class:"login-box"},ae=se(()=>t("div",{class:"login-left"},[t("img",{src:z})],-1)),le={class:"login-form"},ue={class:"info-qrcode"},re=A({__name:"index",setup(e){const a=p(!0),_=()=>{console.log("=======",a),a.value=!a.value};return(i,c)=>(d(),B("div",te,[t("div",ne,[o(M,{class:"login-dark"}),ae,t("div",le,[t("div",ue,R(a.value?"\u626B\u7801\u767B\u5F55":"\u8D26\u53F7\u767B\u5F55"),1),t("img",{src:H,class:"qrcode",onClick:_}),a.value?(d(),I($,{key:0})):(d(),I(oe,{key:1}))])])]))}});const _e=h(re,[["__scopeId","data-v-0809de44"]]);export{_e as default}; diff --git a/docs/assets/index.6352a6e1.js.gz b/docs/assets/index.6352a6e1.js.gz deleted file mode 100644 index 28fcfa4..0000000 Binary files a/docs/assets/index.6352a6e1.js.gz and /dev/null differ diff --git a/docs/assets/index.6535d4ca.js.gz b/docs/assets/index.6535d4ca.js.gz deleted file mode 100644 index 95683b9..0000000 Binary files a/docs/assets/index.6535d4ca.js.gz and /dev/null differ diff --git a/docs/assets/index.430b664c.js b/docs/assets/index.66a9e482.js similarity index 96% rename from docs/assets/index.430b664c.js rename to docs/assets/index.66a9e482.js index ce7a727..c7c57a8 100644 --- a/docs/assets/index.430b664c.js +++ b/docs/assets/index.66a9e482.js @@ -1 +1 @@ -import{C as c}from"./index.c24c70a5.js";import{g as v,i as E,j as I,r as i,o as B,c as g,a as s,b as a,s as u,d as n,w as o,p as D,f as y,_ as A}from"./index.048a73c8.js";const U=r=>(D("data-v-d0f116c6"),r=r(),y(),r),w={class:"app-container"},k={class:"app-container-inner"},N={style:{"margin-top":"40px","margin-bottom":"30px"}},S={class:"label"},R={class:"label"},T={class:"label"},j=U(()=>s("br",null,null,-1)),q={class:"label"},z={class:"label"},G={class:"label"},H={class:"label"},J=v({__name:"index",setup(r){const f=E();let l=I({startValInput:0,endValInput:9888,durationInput:2e3,decimals:1,prefix:"\u4EF7\u94B1\uFF1A",suffix:"\u5143",separator:","});const d=(b,e)=>{},C=()=>{f.value.start()},V=()=>{f.value.pauseResume()};return(b,e)=>{const m=i("el-input-number"),_=i("el-input"),F=i("el-button"),p=i("el-descriptions-item"),x=i("el-descriptions");return B(),g("div",w,[s("div",k,[a(c,{ref_key:"example",ref:f,class:"count-to","start-val":u(l).startValInput,"end-val":u(l).endValInput,duration:u(l).durationInput,decimals:u(l).decimals,prefix:u(l).prefix,suffix:u(l).suffix,autoplay:!0,separator:u(l).separator},null,8,["start-val","end-val","duration","decimals","prefix","suffix","separator"]),s("div",N,[s("label",S,[n("\u8D77\u59CB\u503C: "),a(m,{modelValue:u(l).startValInput,"onUpdate:modelValue":e[0]||(e[0]=t=>u(l).startValInput=t),onChange:e[1]||(e[1]=t=>d()),min:0,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",R,[n("\u6700\u7EC8\u503C: "),a(m,{modelValue:u(l).endValInput,"onUpdate:modelValue":e[2]||(e[2]=t=>u(l).endValInput=t),onChange:e[3]||(e[3]=t=>d()),min:1,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",T,[n("\u6301\u7EED\u65F6\u95F4: "),a(m,{modelValue:u(l).durationInput,"onUpdate:modelValue":e[4]||(e[4]=t=>u(l).durationInput=t),onChange:e[5]||(e[5]=t=>d()),min:1,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),j,s("label",q,[n("\u5C0F\u6570\u4F4D\u6570: "),a(m,{modelValue:u(l).decimals,"onUpdate:modelValue":e[6]||(e[6]=t=>u(l).decimals=t),onChange:e[7]||(e[7]=t=>d()),min:0,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",z,[n(" \u5206\u9694\u7B26:"),a(_,{modelValue:u(l).separator,"onUpdate:modelValue":e[8]||(e[8]=t=>u(l).separator=t),onChange:e[9]||(e[9]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),s("label",G,[n(" \u524D\u7F00:"),a(_,{modelValue:u(l).prefix,"onUpdate:modelValue":e[10]||(e[10]=t=>u(l).prefix=t),onChange:e[11]||(e[11]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),s("label",H,[n("\u540E\u7F00: "),a(_,{modelValue:u(l).suffix,"onUpdate:modelValue":e[12]||(e[12]=t=>u(l).suffix=t),onChange:e[13]||(e[13]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),a(F,{type:"primary",onClick:C},{default:o(()=>[n("\u5F00\u59CB")]),_:1}),a(F,{type:"danger",onClick:V},{default:o(()=>[n("\u6682\u505C/\u6062\u590D")]),_:1})]),a(x,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:o(()=>[a(p,{label:"startValInput"},{default:o(()=>[n(" \u8D77\u59CB\u503C\uFF0C\u9ED8\u8BA4\u4E3A0 ")]),_:1}),a(p,{label:"endValInput"},{default:o(()=>[n(" \u6700\u7EC8\u503C\uFF0C\u9ED8\u8BA4\u4E3A2017 ")]),_:1}),a(p,{label:"durationInput"},{default:o(()=>[n(" \u6301\u7EED\u65F6\u95F4\uFF0C\u9ED8\u8BA4\u4E3A3000 ")]),_:1}),a(p,{label:"decimals"},{default:o(()=>[n(" \u5C0F\u6570\u4F4D\u6570 ")]),_:1}),a(p,{label:"separator"},{default:o(()=>[n(" \u5206\u9694\u7B26\uFF0C\u9ED8\u8BA4\u4E3A ',' ")]),_:1}),a(p,{label:"prefix"},{default:o(()=>[n(" \u524D\u7F00 ")]),_:1}),a(p,{label:"suffix"},{default:o(()=>[n(" \u540E\u7F00 ")]),_:1})]),_:1})])])}}});const M=A(J,[["__scopeId","data-v-d0f116c6"]]);export{M as default}; +import{C as c}from"./index.6a4bd455.js";import{g as v,i as E,j as I,r as i,o as B,c as g,a as s,b as a,s as u,d as n,w as o,p as D,f as y,_ as A}from"./index.034c045c.js";const U=r=>(D("data-v-d0f116c6"),r=r(),y(),r),w={class:"app-container"},k={class:"app-container-inner"},N={style:{"margin-top":"40px","margin-bottom":"30px"}},S={class:"label"},R={class:"label"},T={class:"label"},j=U(()=>s("br",null,null,-1)),q={class:"label"},z={class:"label"},G={class:"label"},H={class:"label"},J=v({__name:"index",setup(r){const f=E();let l=I({startValInput:0,endValInput:9888,durationInput:2e3,decimals:1,prefix:"\u4EF7\u94B1\uFF1A",suffix:"\u5143",separator:","});const d=(b,e)=>{},C=()=>{f.value.start()},V=()=>{f.value.pauseResume()};return(b,e)=>{const m=i("el-input-number"),_=i("el-input"),F=i("el-button"),p=i("el-descriptions-item"),x=i("el-descriptions");return B(),g("div",w,[s("div",k,[a(c,{ref_key:"example",ref:f,class:"count-to","start-val":u(l).startValInput,"end-val":u(l).endValInput,duration:u(l).durationInput,decimals:u(l).decimals,prefix:u(l).prefix,suffix:u(l).suffix,autoplay:!0,separator:u(l).separator},null,8,["start-val","end-val","duration","decimals","prefix","suffix","separator"]),s("div",N,[s("label",S,[n("\u8D77\u59CB\u503C: "),a(m,{modelValue:u(l).startValInput,"onUpdate:modelValue":e[0]||(e[0]=t=>u(l).startValInput=t),onChange:e[1]||(e[1]=t=>d()),min:0,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",R,[n("\u6700\u7EC8\u503C: "),a(m,{modelValue:u(l).endValInput,"onUpdate:modelValue":e[2]||(e[2]=t=>u(l).endValInput=t),onChange:e[3]||(e[3]=t=>d()),min:1,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",T,[n("\u6301\u7EED\u65F6\u95F4: "),a(m,{modelValue:u(l).durationInput,"onUpdate:modelValue":e[4]||(e[4]=t=>u(l).durationInput=t),onChange:e[5]||(e[5]=t=>d()),min:1,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),j,s("label",q,[n("\u5C0F\u6570\u4F4D\u6570: "),a(m,{modelValue:u(l).decimals,"onUpdate:modelValue":e[6]||(e[6]=t=>u(l).decimals=t),onChange:e[7]||(e[7]=t=>d()),min:0,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",z,[n(" \u5206\u9694\u7B26:"),a(_,{modelValue:u(l).separator,"onUpdate:modelValue":e[8]||(e[8]=t=>u(l).separator=t),onChange:e[9]||(e[9]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),s("label",G,[n(" \u524D\u7F00:"),a(_,{modelValue:u(l).prefix,"onUpdate:modelValue":e[10]||(e[10]=t=>u(l).prefix=t),onChange:e[11]||(e[11]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),s("label",H,[n("\u540E\u7F00: "),a(_,{modelValue:u(l).suffix,"onUpdate:modelValue":e[12]||(e[12]=t=>u(l).suffix=t),onChange:e[13]||(e[13]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),a(F,{type:"primary",onClick:C},{default:o(()=>[n("\u5F00\u59CB")]),_:1}),a(F,{type:"danger",onClick:V},{default:o(()=>[n("\u6682\u505C/\u6062\u590D")]),_:1})]),a(x,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:o(()=>[a(p,{label:"startValInput"},{default:o(()=>[n(" \u8D77\u59CB\u503C\uFF0C\u9ED8\u8BA4\u4E3A0 ")]),_:1}),a(p,{label:"endValInput"},{default:o(()=>[n(" \u6700\u7EC8\u503C\uFF0C\u9ED8\u8BA4\u4E3A2017 ")]),_:1}),a(p,{label:"durationInput"},{default:o(()=>[n(" \u6301\u7EED\u65F6\u95F4\uFF0C\u9ED8\u8BA4\u4E3A3000 ")]),_:1}),a(p,{label:"decimals"},{default:o(()=>[n(" \u5C0F\u6570\u4F4D\u6570 ")]),_:1}),a(p,{label:"separator"},{default:o(()=>[n(" \u5206\u9694\u7B26\uFF0C\u9ED8\u8BA4\u4E3A ',' ")]),_:1}),a(p,{label:"prefix"},{default:o(()=>[n(" \u524D\u7F00 ")]),_:1}),a(p,{label:"suffix"},{default:o(()=>[n(" \u540E\u7F00 ")]),_:1})]),_:1})])])}}});const M=A(J,[["__scopeId","data-v-d0f116c6"]]);export{M as default}; diff --git a/docs/assets/index.696b3ae6.js.gz b/docs/assets/index.696b3ae6.js.gz deleted file mode 100644 index f681f86..0000000 Binary files a/docs/assets/index.696b3ae6.js.gz and /dev/null differ diff --git a/docs/assets/index.c24c70a5.js b/docs/assets/index.6a4bd455.js similarity index 98% rename from docs/assets/index.c24c70a5.js rename to docs/assets/index.6a4bd455.js index 2cb0400..b854553 100644 --- a/docs/assets/index.c24c70a5.js +++ b/docs/assets/index.6a4bd455.js @@ -1 +1 @@ -import{_ as u,o as h,c,t as d}from"./index.048a73c8.js";let n=0;const o="webkit moz ms o".split(" ");let a,s;const p=typeof window>"u";if(p)a=function(){},s=function(){};else{a=window.requestAnimationFrame,s=window.cancelAnimationFrame;let i;for(let t=0;t{t(e+l)},l);return n=e+l,r},s=function(t){window.clearTimeout(t)})}const f={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(i){return i>=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(i,t,e,l){return e*(-Math.pow(2,-10*i/l)+1)*1024/1023+t}}},data(){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(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=a(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){s(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,a(this.count)},reset(){this.startTime=null,s(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(i){this.startTime||(this.startTime=i),this.timestamp=i;const t=i-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(t/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t1?this.decimal+t[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(e);)e=e.replace(r,"$1"+this.separator+"$2");return this.prefix+e+l+this.suffix}},destroyed(){s(this.rAF)}};function m(i,t,e,l,r,V){return h(),c("span",null,d(r.displayValue),1)}const y=u(f,[["render",m]]);export{y as C}; +import{_ as u,o as h,c,t as d}from"./index.034c045c.js";let n=0;const o="webkit moz ms o".split(" ");let a,s;const p=typeof window>"u";if(p)a=function(){},s=function(){};else{a=window.requestAnimationFrame,s=window.cancelAnimationFrame;let i;for(let t=0;t{t(e+l)},l);return n=e+l,r},s=function(t){window.clearTimeout(t)})}const f={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(i){return i>=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(i,t,e,l){return e*(-Math.pow(2,-10*i/l)+1)*1024/1023+t}}},data(){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(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=a(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){s(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,a(this.count)},reset(){this.startTime=null,s(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(i){this.startTime||(this.startTime=i),this.timestamp=i;const t=i-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(t/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t1?this.decimal+t[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(e);)e=e.replace(r,"$1"+this.separator+"$2");return this.prefix+e+l+this.suffix}},destroyed(){s(this.rAF)}};function m(i,t,e,l,r,V){return h(),c("span",null,d(r.displayValue),1)}const y=u(f,[["render",m]]);export{y as C}; diff --git a/docs/assets/index.82fbc83f.js b/docs/assets/index.6bf634c3.js similarity index 99% rename from docs/assets/index.82fbc83f.js rename to docs/assets/index.6bf634c3.js index 74c305c..0bf248a 100644 --- a/docs/assets/index.82fbc83f.js +++ b/docs/assets/index.6bf634c3.js @@ -1 +1 @@ -import{R as D,g as T,r as j,o as x,n as L,w as g,a as P,b as m,d as C,s as I,l as w}from"./index.048a73c8.js";var B={exports:{}};(function(A,v){(function(r,t){A.exports=t()})(window,function(){return function(E){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return E[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=E,t.c=r,t.d=function(n,i,s){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:s})},t.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,i){if(i&1&&(n=t(n)),i&8||i&4&&typeof n=="object"&&n&&n.__esModule)return n;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:n}),i&2&&typeof n!="string")for(var f in n)t.d(s,f,function(l){return n[l]}.bind(null,f));return s},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},t.p="",t(t.s=0)}({"./src/index.js":function(E,r,t){t.r(r),t("./src/sass/index.scss");var n=t("./src/js/init.js"),i=n.default.init;typeof window<"u"&&(window.printJS=i),r.default=i},"./src/js/browser.js":function(E,r,t){t.r(r);var n={isFirefox:function(){return typeof InstallTrigger<"u"},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode},isEdge:function(){return!n.isIE()&&!!window.StyleMedia},isChrome:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!s.chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||navigator.userAgent.toLowerCase().indexOf("safari")!==-1},isIOSChrome:function(){return navigator.userAgent.toLowerCase().indexOf("crios")!==-1}};r.default=n},"./src/js/functions.js":function(E,r,t){t.r(r),t.d(r,"addWrapper",function(){return f}),t.d(r,"capitalizePrint",function(){return l}),t.d(r,"collectStyles",function(){return d}),t.d(r,"addHeader",function(){return o}),t.d(r,"cleanUp",function(){return p}),t.d(r,"isRawHTML",function(){return y});var n=t("./src/js/modal.js"),i=t("./src/js/browser.js");function s(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(c){return typeof c}:s=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s(e)}function f(e,a){var c="font-family:"+a.font+" !important; font-size: "+a.font_size+" !important; width:100%;";return'
'+e+"
"}function l(e){return e.charAt(0).toUpperCase()+e.slice(1)}function d(e,a){for(var c=document.defaultView||window,h="",b=c.getComputedStyle(e,""),F=0;F]*>(.*?)");return a.test(e)}},"./src/js/html.js":function(E,r,t){t.r(r);var n=t("./src/js/functions.js"),i=t("./src/js/print.js");function s(d){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(o){return typeof o}:s=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},s(d)}r.default={print:function(u,o){var p=l(u.printable)?u.printable:document.getElementById(u.printable);if(!p){window.console.error("Invalid HTML element id: "+u.printable);return}u.printableElement=f(p,u),u.header&&Object(n.addHeader)(u.printableElement,u),i.default.send(u,o)}};function f(d,u){for(var o=d.cloneNode(),p=Array.prototype.slice.call(d.childNodes),y=0;y"+e.documentTitle+"",e.css&&(Array.isArray(e.css)||(e.css=[e.css]),e.css.forEach(function(S){b.srcdoc+=''})),b.srcdoc+=""),e.type){case"pdf":if(n.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var F=window.open(e.fallbackPrintable,"_blank");F.focus(),e.onIncompatibleBrowser()}catch(S){e.onError(S)}finally{e.showModal&&i.default.close(),e.onLoadingEnd&&e.onLoadingEnd()}else s.default.print(e,b);break;case"image":d.default.print(e,b);break;case"html":f.default.print(e,b);break;case"raw-html":l.default.print(e,b);break;case"json":u.default.print(e,b);break}}}},"./src/js/json.js":function(E,r,t){t.r(r);var n=t("./src/js/functions.js"),i=t("./src/js/print.js");function s(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(u){return typeof u}:s=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},s(l)}r.default={print:function(d,u){if(s(d.printable)!=="object")throw new Error("Invalid javascript data object (JSON).");if(typeof d.repeatTableHeader!="boolean")throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!d.properties||!Array.isArray(d.properties))throw new Error("Invalid properties array for your JSON data.");d.properties=d.properties.map(function(o){return{field:s(o)==="object"?o.field:o,displayName:s(o)==="object"?o.displayName:o,columnSize:s(o)==="object"&&o.columnSize?o.columnSize+";":100/d.properties.length+"%;"}}),d.printableElement=document.createElement("div"),d.header&&Object(n.addHeader)(d.printableElement,d),d.printableElement.innerHTML+=f(d),i.default.send(d,u)}};function f(l){var d=l.printable,u=l.properties,o='';l.repeatTableHeader&&(o+=""),o+="";for(var p=0;p'+Object(n.capitalizePrint)(u[p].displayName)+"";o+="",l.repeatTableHeader&&(o+=""),o+="";for(var y=0;y";for(var e=0;e1)for(var h=0;h'+a+""}o+=""}return o+="
",o}},"./src/js/modal.js":function(E,r,t){t.r(r);var n={show:function(s){var f="font-family:sans-serif; display:table; text-align:center; font-weight:300; font-size:30px; left:0; top:0;position:fixed; z-index: 9990;color: #0460B5; width: 100%; height: 100%; background-color:rgba(255,255,255,.9);transition: opacity .3s ease;",l=document.createElement("div");l.setAttribute("style",f),l.setAttribute("id","printJS-Modal");var d=document.createElement("div");d.setAttribute("style","display:table-cell; vertical-align:middle; padding-bottom:100px;");var u=document.createElement("div");u.setAttribute("class","printClose"),u.setAttribute("id","printClose"),d.appendChild(u);var o=document.createElement("span");o.setAttribute("class","printSpinner"),d.appendChild(o);var p=document.createTextNode(s.modalMessage);d.appendChild(p),l.appendChild(d),document.getElementsByTagName("body")[0].appendChild(l),document.getElementById("printClose").addEventListener("click",function(){n.close()})},close:function(){var s=document.getElementById("printJS-Modal");s&&s.parentNode.removeChild(s)}};r.default=n},"./src/js/pdf.js":function(E,r,t){t.r(r);var n=t("./src/js/print.js"),i=t("./src/js/functions.js");r.default={print:function(l,d){if(l.base64){var u=Uint8Array.from(atob(l.printable),function(p){return p.charCodeAt(0)});s(l,d,u);return}l.printable=/^(blob|http|\/\/)/i.test(l.printable)?l.printable:window.location.origin+(l.printable.charAt(0)!=="/"?"/"+l.printable:l.printable);var o=new window.XMLHttpRequest;o.responseType="arraybuffer",o.addEventListener("error",function(){Object(i.cleanUp)(l),l.onError(o.statusText,o)}),o.addEventListener("load",function(){if([200,201].indexOf(o.status)===-1){Object(i.cleanUp)(l),l.onError(o.statusText,o);return}s(l,d,o.response)}),o.open("GET",l.printable,!0),o.send()}};function s(f,l,d){var u=new window.Blob([d],{type:"application/pdf"});u=window.URL.createObjectURL(u),l.setAttribute("src",u),n.default.send(f,l)}},"./src/js/print.js":function(E,r,t){t.r(r);var n=t("./src/js/browser.js"),i=t("./src/js/functions.js"),s={send:function(o,p){document.getElementsByTagName("body")[0].appendChild(p);var y=document.getElementById(o.frameId);y.onload=function(){if(o.type==="pdf"){n.default.isFirefox()?setTimeout(function(){return f(y,o)},1e3):f(y,o);return}var e=y.contentWindow||y.contentDocument;if(e.document&&(e=e.document),e.body.appendChild(o.printableElement),o.type!=="pdf"&&o.style){var a=document.createElement("style");a.innerHTML=o.style,e.head.appendChild(a)}var c=e.getElementsByTagName("img");c.length>0?l(Array.from(c)).then(function(){return f(y,o)}):f(y,o)}}};function f(u,o){try{if(u.focus(),n.default.isEdge()||n.default.isIE())try{u.contentWindow.document.execCommand("print",!1,null)}catch{u.contentWindow.print()}else u.contentWindow.print()}catch(p){o.onError(p)}finally{n.default.isFirefox()&&(u.style.visibility="hidden",u.style.left="-1px"),Object(i.cleanUp)(o)}}function l(u){var o=u.map(function(p){if(p.src&&p.src!==window.location.href)return d(p)});return Promise.all(o)}function d(u){return new Promise(function(o){var p=function y(){!u||typeof u.naturalWidth>"u"||u.naturalWidth===0||!u.complete?setTimeout(y,500):o()};p()})}r.default=s},"./src/js/raw-html.js":function(E,r,t){t.r(r);var n=t("./src/js/print.js");r.default={print:function(s,f){s.printableElement=document.createElement("div"),s.printableElement.setAttribute("style","width:100%"),s.printableElement.innerHTML=s.printable,n.default.send(s,f)}}},"./src/sass/index.scss":function(E,r,t){},0:function(E,r,t){E.exports=t("./src/index.js")}}).default})})(B);const M=D(B.exports);(function(A,v){var E=function(r,t){if(!(this instanceof E))return new E(r,t);this.options=this.extend({noPrint:".no-print",onStart:function(){},onEnd:function(){}},t),typeof r=="string"?this.dom=v.querySelector(r):this.dom=r,this.init()};E.prototype={init:function(){var r=this.getStyle()+this.getHtml();this.writeIframe(r)},extend:function(r,t){for(var n in t)r[n]=t[n];return r},getStyle:function(){for(var r="",t=v.querySelectorAll("style,link"),n=0;n",r},getHtml:function(){var r=v.querySelectorAll("input"),t=v.querySelectorAll("textarea"),n=v.querySelectorAll("select");for(var i in r)r[i].type=="checkbox"||r[i].type=="radio"?r[i].checked==!0?r[i].setAttribute("checked","checked"):r[i].removeAttribute("checked"):r[i].type=="text"&&r[i].setAttribute("value",r[i].value);for(var s in t)t[s].type=="textarea"&&(t[s].innerHTML=t[s].value);for(var f in n)if(n[f].type=="select-one"){var l=n[f].children;for(var d in l)l[d].tagName=="OPTION"&&(l[d].selected==!0?l[d].setAttribute("selected","selected"):l[d].removeAttribute("selected"))}return this.dom.outerHTML},writeIframe:function(r){var t,n,i=v.createElement("iframe"),s=v.body.appendChild(i);i.id="myIframe",i.style="position:absolute;width:0;height:0;top:-10px;left:-10px;",t=s.contentWindow||s.contentDocument,n=s.contentDocument||s.contentWindow.document,n.open(),n.write(r),n.close(),this.toPrint(t,function(){v.body.removeChild(i)})},toPrint:function(r,t){var n=this;r.onload=function(){try{setTimeout(function(){r.focus(),typeof n.options.onStart=="function"&&n.options.onStart(),r.document.execCommand("print",!1,null)||r.print(),typeof n.options.onEnd=="function"&&n.options.onEnd(),r.close(),t&&t()})}catch(i){console.log("err",i)}}}},A.Print=E})(window,document);const U={id:"wrap",style:{"margin-bottom":"20px"}},R={style:{"margin-top":"20px"}},W=["src"],_={id:"tableBox"},N=P("a",{href:"https://github.com/crabbly/Print.js",target:"_blank"},"https://github.com/crabbly/Print.js",-1),K=T({__name:"index",setup(A){const v=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles"}],E=r=>{switch(r){case 1:M({type:"image",printable:[w],documentTitle:"\u6253\u5370\u56FE\u7247"});break;case 2:M({type:"json",documentTitle:"\u6253\u5370\u8868\u683C",printable:v,gridStyle:"text-align: center;border: 1px solid lightgray;font-size: 12px;",properties:[{field:"date",displayName:"\u65E5\u671F"},{field:"name",displayName:"\u540D\u5B57"},{field:"address",displayName:"\u5730\u5740"}]});break;case 3:Print("#wrap",{onStart:function(){console.log("onStart",new Date)},onEnd:function(){console.log("onEnd",new Date)}});break}};return(r,t)=>{const n=j("el-button"),i=j("el-table-column"),s=j("el-table"),f=j("el-descriptions-item"),l=j("el-descriptions"),d=j("PageWrapLayout");return x(),L(d,null,{default:g(()=>[P("div",U,[P("div",null,[m(n,{type:"primary",onClick:t[0]||(t[0]=u=>E(1))},{default:g(()=>[C("\u6253\u5370\u56FE\u7247")]),_:1}),m(n,{type:"primary",onClick:t[1]||(t[1]=u=>E(2))},{default:g(()=>[C("\u6253\u5370Json\u6570\u636E")]),_:1}),m(n,{type:"primary",onClick:t[2]||(t[2]=u=>E(3))},{default:g(()=>[C("\u6253\u5370HTML")]),_:1})]),P("div",R,[P("img",{src:I(w),style:{width:"200px"}},null,8,W)]),P("div",_,[m(s,{data:v,style:{width:"100%"}},{default:g(()=>[m(i,{prop:"date",label:"\u65E5\u671F",width:"180"}),m(i,{prop:"name",label:"\u540D\u5B57",width:"180"}),m(i,{prop:"address",label:"\u5730\u5740"})]),_:1})])]),m(l,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:g(()=>[m(f,{label:"\u5B98\u65B9\u6587\u6863"},{default:g(()=>[N]),_:1}),m(f,{label:"printable"},{default:g(()=>[C(" \u6587\u6863\u6765\u6E90\uFF1Apdf\u6216\u56FE\u50CF\u7684url\uFF0Chtml\u5143\u7D20\u7684id\u6216json\u6570\u636E\u7684\u5BF9\u8C61 ")]),_:1}),m(f,{label:"type"},{default:g(()=>[C(" \u53EF\u6253\u5370\u7C7B\u578B\u3002\u53EF\u7528\u7684\u6253\u5370\u9009\u9879\u5305\u62EC\uFF1Apdf\uFF0Chtml\uFF0Cimage\uFF0Cjson\u548Craw-html\u3002 ")]),_:1}),m(f,{label:"documentTitle"},{default:g(()=>[C(" \u6253\u5370html\uFF0Cimage\u6216json\u65F6\uFF0C\u5B83\u5C06\u663E\u793A\u4E3A\u6587\u6863\u6807\u9898\u3002\u5982\u679C\u7528\u6237\u5C1D\u8BD5\u5C06\u6253\u5370\u4F5C\u4E1A\u4FDD\u5B58\u4E3Apdf\u6587\u4EF6\uFF0C\u5B83\u4E5F\u5C06\u662F\u6587\u6863\u7684\u540D\u79F0\u3002 ")]),_:1}),m(f,{label:"scanStyles"},{default:g(()=>[C("\u8BBE\u7F6E\u4E3Afalse\u65F6\uFF0C\u5E93\u4E0D\u4F1A\u5904\u7406\u5E94\u7528\u4E8E\u6B63\u5728\u6253\u5370\u7684html\u7684\u6837\u5F0F\u3002\u4F7F\u7528css\u53C2\u6570\u65F6\u5F88\u6709\u7528 ")]),_:1}),m(f,{label:"targetStyle"},{default:g(()=>[C(" \u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u5728\u6253\u5370HTML\u5143\u7D20\u65F6\uFF0C\u5E93\u4EC5\u5904\u7406\u67D0\u4E9B\u6837\u5F0F\u3002\u6B64\u9009\u9879\u5141\u8BB8\u60A8\u4F20\u9012\u8981\u5904\u7406\u7684\u6837\u5F0F\u6570\u7EC4\u3002\u4F8B\u5982\uFF1A['padding-top'\uFF0C'border-bottom'] ")]),_:1}),m(f,{label:"gridHeaderStyle"},{default:g(()=>[C(" \u6253\u5370JSON\u6570\u636E\u65F6\u7F51\u683C\u6807\u9898\u7684\u53EF\u9009\u6837\u5F0F\u3002 ")]),_:1}),m(f,{label:"properties"},{default:g(()=>[C(" \u5728\u6253\u5370JSON\u65F6\u4F7F\u7528\u3002\u8FD9\u4E9B\u662F\u5BF9\u8C61\u5C5E\u6027\u540D\u79F0\u3002 ")]),_:1}),m(f,{label:"honorColor"},{default:g(()=>[C(" \u8981\u4EE5\u5F69\u8272\u6253\u5370\u6587\u672C\uFF0C\u8BF7\u5C06\u6B64\u5C5E\u6027\u8BBE\u7F6E\u4E3Atrue\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u6240\u6709\u6587\u672C\u90FD\u5C06\u4EE5\u9ED1\u8272\u6253\u5370\u3002 ")]),_:1}),m(f,{label:"css"},{default:g(()=>[C(" \u8FD9\u5141\u8BB8\u6211\u4EEC\u4F20\u9012\u4E00\u4E2A\u6216\u591A\u4E2A\u5E94\u8BE5\u5E94\u7528\u4E8E\u6B63\u5728\u6253\u5370\u7684html\u7684css\u6587\u4EF6URL\u3002\u503C\u53EF\u4EE5\u662F\u5305\u542B\u5355\u4E2AURL\u7684\u5B57\u7B26\u4E32\uFF0C\u4E5F\u53EF\u4EE5\u662F\u5305\u542B\u591A\u4E2AURL\u7684\u6570\u7EC4\u3002 ")]),_:1})]),_:1})]),_:1})}}});export{K as default}; +import{R as D,g as T,r as j,o as x,n as L,w as g,a as P,b as m,d as C,s as I,l as w}from"./index.034c045c.js";var B={exports:{}};(function(A,v){(function(r,t){A.exports=t()})(window,function(){return function(E){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return E[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=E,t.c=r,t.d=function(n,i,s){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:s})},t.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,i){if(i&1&&(n=t(n)),i&8||i&4&&typeof n=="object"&&n&&n.__esModule)return n;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:n}),i&2&&typeof n!="string")for(var f in n)t.d(s,f,function(l){return n[l]}.bind(null,f));return s},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},t.p="",t(t.s=0)}({"./src/index.js":function(E,r,t){t.r(r),t("./src/sass/index.scss");var n=t("./src/js/init.js"),i=n.default.init;typeof window<"u"&&(window.printJS=i),r.default=i},"./src/js/browser.js":function(E,r,t){t.r(r);var n={isFirefox:function(){return typeof InstallTrigger<"u"},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode},isEdge:function(){return!n.isIE()&&!!window.StyleMedia},isChrome:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!s.chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||navigator.userAgent.toLowerCase().indexOf("safari")!==-1},isIOSChrome:function(){return navigator.userAgent.toLowerCase().indexOf("crios")!==-1}};r.default=n},"./src/js/functions.js":function(E,r,t){t.r(r),t.d(r,"addWrapper",function(){return f}),t.d(r,"capitalizePrint",function(){return l}),t.d(r,"collectStyles",function(){return d}),t.d(r,"addHeader",function(){return o}),t.d(r,"cleanUp",function(){return p}),t.d(r,"isRawHTML",function(){return y});var n=t("./src/js/modal.js"),i=t("./src/js/browser.js");function s(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(c){return typeof c}:s=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s(e)}function f(e,a){var c="font-family:"+a.font+" !important; font-size: "+a.font_size+" !important; width:100%;";return'
'+e+"
"}function l(e){return e.charAt(0).toUpperCase()+e.slice(1)}function d(e,a){for(var c=document.defaultView||window,h="",b=c.getComputedStyle(e,""),F=0;F]*>(.*?)");return a.test(e)}},"./src/js/html.js":function(E,r,t){t.r(r);var n=t("./src/js/functions.js"),i=t("./src/js/print.js");function s(d){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(o){return typeof o}:s=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},s(d)}r.default={print:function(u,o){var p=l(u.printable)?u.printable:document.getElementById(u.printable);if(!p){window.console.error("Invalid HTML element id: "+u.printable);return}u.printableElement=f(p,u),u.header&&Object(n.addHeader)(u.printableElement,u),i.default.send(u,o)}};function f(d,u){for(var o=d.cloneNode(),p=Array.prototype.slice.call(d.childNodes),y=0;y"+e.documentTitle+"",e.css&&(Array.isArray(e.css)||(e.css=[e.css]),e.css.forEach(function(S){b.srcdoc+=''})),b.srcdoc+=""),e.type){case"pdf":if(n.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var F=window.open(e.fallbackPrintable,"_blank");F.focus(),e.onIncompatibleBrowser()}catch(S){e.onError(S)}finally{e.showModal&&i.default.close(),e.onLoadingEnd&&e.onLoadingEnd()}else s.default.print(e,b);break;case"image":d.default.print(e,b);break;case"html":f.default.print(e,b);break;case"raw-html":l.default.print(e,b);break;case"json":u.default.print(e,b);break}}}},"./src/js/json.js":function(E,r,t){t.r(r);var n=t("./src/js/functions.js"),i=t("./src/js/print.js");function s(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(u){return typeof u}:s=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},s(l)}r.default={print:function(d,u){if(s(d.printable)!=="object")throw new Error("Invalid javascript data object (JSON).");if(typeof d.repeatTableHeader!="boolean")throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!d.properties||!Array.isArray(d.properties))throw new Error("Invalid properties array for your JSON data.");d.properties=d.properties.map(function(o){return{field:s(o)==="object"?o.field:o,displayName:s(o)==="object"?o.displayName:o,columnSize:s(o)==="object"&&o.columnSize?o.columnSize+";":100/d.properties.length+"%;"}}),d.printableElement=document.createElement("div"),d.header&&Object(n.addHeader)(d.printableElement,d),d.printableElement.innerHTML+=f(d),i.default.send(d,u)}};function f(l){var d=l.printable,u=l.properties,o='';l.repeatTableHeader&&(o+=""),o+="";for(var p=0;p'+Object(n.capitalizePrint)(u[p].displayName)+"";o+="",l.repeatTableHeader&&(o+=""),o+="";for(var y=0;y";for(var e=0;e1)for(var h=0;h'+a+""}o+=""}return o+="
",o}},"./src/js/modal.js":function(E,r,t){t.r(r);var n={show:function(s){var f="font-family:sans-serif; display:table; text-align:center; font-weight:300; font-size:30px; left:0; top:0;position:fixed; z-index: 9990;color: #0460B5; width: 100%; height: 100%; background-color:rgba(255,255,255,.9);transition: opacity .3s ease;",l=document.createElement("div");l.setAttribute("style",f),l.setAttribute("id","printJS-Modal");var d=document.createElement("div");d.setAttribute("style","display:table-cell; vertical-align:middle; padding-bottom:100px;");var u=document.createElement("div");u.setAttribute("class","printClose"),u.setAttribute("id","printClose"),d.appendChild(u);var o=document.createElement("span");o.setAttribute("class","printSpinner"),d.appendChild(o);var p=document.createTextNode(s.modalMessage);d.appendChild(p),l.appendChild(d),document.getElementsByTagName("body")[0].appendChild(l),document.getElementById("printClose").addEventListener("click",function(){n.close()})},close:function(){var s=document.getElementById("printJS-Modal");s&&s.parentNode.removeChild(s)}};r.default=n},"./src/js/pdf.js":function(E,r,t){t.r(r);var n=t("./src/js/print.js"),i=t("./src/js/functions.js");r.default={print:function(l,d){if(l.base64){var u=Uint8Array.from(atob(l.printable),function(p){return p.charCodeAt(0)});s(l,d,u);return}l.printable=/^(blob|http|\/\/)/i.test(l.printable)?l.printable:window.location.origin+(l.printable.charAt(0)!=="/"?"/"+l.printable:l.printable);var o=new window.XMLHttpRequest;o.responseType="arraybuffer",o.addEventListener("error",function(){Object(i.cleanUp)(l),l.onError(o.statusText,o)}),o.addEventListener("load",function(){if([200,201].indexOf(o.status)===-1){Object(i.cleanUp)(l),l.onError(o.statusText,o);return}s(l,d,o.response)}),o.open("GET",l.printable,!0),o.send()}};function s(f,l,d){var u=new window.Blob([d],{type:"application/pdf"});u=window.URL.createObjectURL(u),l.setAttribute("src",u),n.default.send(f,l)}},"./src/js/print.js":function(E,r,t){t.r(r);var n=t("./src/js/browser.js"),i=t("./src/js/functions.js"),s={send:function(o,p){document.getElementsByTagName("body")[0].appendChild(p);var y=document.getElementById(o.frameId);y.onload=function(){if(o.type==="pdf"){n.default.isFirefox()?setTimeout(function(){return f(y,o)},1e3):f(y,o);return}var e=y.contentWindow||y.contentDocument;if(e.document&&(e=e.document),e.body.appendChild(o.printableElement),o.type!=="pdf"&&o.style){var a=document.createElement("style");a.innerHTML=o.style,e.head.appendChild(a)}var c=e.getElementsByTagName("img");c.length>0?l(Array.from(c)).then(function(){return f(y,o)}):f(y,o)}}};function f(u,o){try{if(u.focus(),n.default.isEdge()||n.default.isIE())try{u.contentWindow.document.execCommand("print",!1,null)}catch{u.contentWindow.print()}else u.contentWindow.print()}catch(p){o.onError(p)}finally{n.default.isFirefox()&&(u.style.visibility="hidden",u.style.left="-1px"),Object(i.cleanUp)(o)}}function l(u){var o=u.map(function(p){if(p.src&&p.src!==window.location.href)return d(p)});return Promise.all(o)}function d(u){return new Promise(function(o){var p=function y(){!u||typeof u.naturalWidth>"u"||u.naturalWidth===0||!u.complete?setTimeout(y,500):o()};p()})}r.default=s},"./src/js/raw-html.js":function(E,r,t){t.r(r);var n=t("./src/js/print.js");r.default={print:function(s,f){s.printableElement=document.createElement("div"),s.printableElement.setAttribute("style","width:100%"),s.printableElement.innerHTML=s.printable,n.default.send(s,f)}}},"./src/sass/index.scss":function(E,r,t){},0:function(E,r,t){E.exports=t("./src/index.js")}}).default})})(B);const M=D(B.exports);(function(A,v){var E=function(r,t){if(!(this instanceof E))return new E(r,t);this.options=this.extend({noPrint:".no-print",onStart:function(){},onEnd:function(){}},t),typeof r=="string"?this.dom=v.querySelector(r):this.dom=r,this.init()};E.prototype={init:function(){var r=this.getStyle()+this.getHtml();this.writeIframe(r)},extend:function(r,t){for(var n in t)r[n]=t[n];return r},getStyle:function(){for(var r="",t=v.querySelectorAll("style,link"),n=0;n",r},getHtml:function(){var r=v.querySelectorAll("input"),t=v.querySelectorAll("textarea"),n=v.querySelectorAll("select");for(var i in r)r[i].type=="checkbox"||r[i].type=="radio"?r[i].checked==!0?r[i].setAttribute("checked","checked"):r[i].removeAttribute("checked"):r[i].type=="text"&&r[i].setAttribute("value",r[i].value);for(var s in t)t[s].type=="textarea"&&(t[s].innerHTML=t[s].value);for(var f in n)if(n[f].type=="select-one"){var l=n[f].children;for(var d in l)l[d].tagName=="OPTION"&&(l[d].selected==!0?l[d].setAttribute("selected","selected"):l[d].removeAttribute("selected"))}return this.dom.outerHTML},writeIframe:function(r){var t,n,i=v.createElement("iframe"),s=v.body.appendChild(i);i.id="myIframe",i.style="position:absolute;width:0;height:0;top:-10px;left:-10px;",t=s.contentWindow||s.contentDocument,n=s.contentDocument||s.contentWindow.document,n.open(),n.write(r),n.close(),this.toPrint(t,function(){v.body.removeChild(i)})},toPrint:function(r,t){var n=this;r.onload=function(){try{setTimeout(function(){r.focus(),typeof n.options.onStart=="function"&&n.options.onStart(),r.document.execCommand("print",!1,null)||r.print(),typeof n.options.onEnd=="function"&&n.options.onEnd(),r.close(),t&&t()})}catch(i){console.log("err",i)}}}},A.Print=E})(window,document);const U={id:"wrap",style:{"margin-bottom":"20px"}},R={style:{"margin-top":"20px"}},W=["src"],_={id:"tableBox"},N=P("a",{href:"https://github.com/crabbly/Print.js",target:"_blank"},"https://github.com/crabbly/Print.js",-1),K=T({__name:"index",setup(A){const v=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles"}],E=r=>{switch(r){case 1:M({type:"image",printable:[w],documentTitle:"\u6253\u5370\u56FE\u7247"});break;case 2:M({type:"json",documentTitle:"\u6253\u5370\u8868\u683C",printable:v,gridStyle:"text-align: center;border: 1px solid lightgray;font-size: 12px;",properties:[{field:"date",displayName:"\u65E5\u671F"},{field:"name",displayName:"\u540D\u5B57"},{field:"address",displayName:"\u5730\u5740"}]});break;case 3:Print("#wrap",{onStart:function(){console.log("onStart",new Date)},onEnd:function(){console.log("onEnd",new Date)}});break}};return(r,t)=>{const n=j("el-button"),i=j("el-table-column"),s=j("el-table"),f=j("el-descriptions-item"),l=j("el-descriptions"),d=j("PageWrapLayout");return x(),L(d,null,{default:g(()=>[P("div",U,[P("div",null,[m(n,{type:"primary",onClick:t[0]||(t[0]=u=>E(1))},{default:g(()=>[C("\u6253\u5370\u56FE\u7247")]),_:1}),m(n,{type:"primary",onClick:t[1]||(t[1]=u=>E(2))},{default:g(()=>[C("\u6253\u5370Json\u6570\u636E")]),_:1}),m(n,{type:"primary",onClick:t[2]||(t[2]=u=>E(3))},{default:g(()=>[C("\u6253\u5370HTML")]),_:1})]),P("div",R,[P("img",{src:I(w),style:{width:"200px"}},null,8,W)]),P("div",_,[m(s,{data:v,style:{width:"100%"}},{default:g(()=>[m(i,{prop:"date",label:"\u65E5\u671F",width:"180"}),m(i,{prop:"name",label:"\u540D\u5B57",width:"180"}),m(i,{prop:"address",label:"\u5730\u5740"})]),_:1})])]),m(l,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:g(()=>[m(f,{label:"\u5B98\u65B9\u6587\u6863"},{default:g(()=>[N]),_:1}),m(f,{label:"printable"},{default:g(()=>[C(" \u6587\u6863\u6765\u6E90\uFF1Apdf\u6216\u56FE\u50CF\u7684url\uFF0Chtml\u5143\u7D20\u7684id\u6216json\u6570\u636E\u7684\u5BF9\u8C61 ")]),_:1}),m(f,{label:"type"},{default:g(()=>[C(" \u53EF\u6253\u5370\u7C7B\u578B\u3002\u53EF\u7528\u7684\u6253\u5370\u9009\u9879\u5305\u62EC\uFF1Apdf\uFF0Chtml\uFF0Cimage\uFF0Cjson\u548Craw-html\u3002 ")]),_:1}),m(f,{label:"documentTitle"},{default:g(()=>[C(" \u6253\u5370html\uFF0Cimage\u6216json\u65F6\uFF0C\u5B83\u5C06\u663E\u793A\u4E3A\u6587\u6863\u6807\u9898\u3002\u5982\u679C\u7528\u6237\u5C1D\u8BD5\u5C06\u6253\u5370\u4F5C\u4E1A\u4FDD\u5B58\u4E3Apdf\u6587\u4EF6\uFF0C\u5B83\u4E5F\u5C06\u662F\u6587\u6863\u7684\u540D\u79F0\u3002 ")]),_:1}),m(f,{label:"scanStyles"},{default:g(()=>[C("\u8BBE\u7F6E\u4E3Afalse\u65F6\uFF0C\u5E93\u4E0D\u4F1A\u5904\u7406\u5E94\u7528\u4E8E\u6B63\u5728\u6253\u5370\u7684html\u7684\u6837\u5F0F\u3002\u4F7F\u7528css\u53C2\u6570\u65F6\u5F88\u6709\u7528 ")]),_:1}),m(f,{label:"targetStyle"},{default:g(()=>[C(" \u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u5728\u6253\u5370HTML\u5143\u7D20\u65F6\uFF0C\u5E93\u4EC5\u5904\u7406\u67D0\u4E9B\u6837\u5F0F\u3002\u6B64\u9009\u9879\u5141\u8BB8\u60A8\u4F20\u9012\u8981\u5904\u7406\u7684\u6837\u5F0F\u6570\u7EC4\u3002\u4F8B\u5982\uFF1A['padding-top'\uFF0C'border-bottom'] ")]),_:1}),m(f,{label:"gridHeaderStyle"},{default:g(()=>[C(" \u6253\u5370JSON\u6570\u636E\u65F6\u7F51\u683C\u6807\u9898\u7684\u53EF\u9009\u6837\u5F0F\u3002 ")]),_:1}),m(f,{label:"properties"},{default:g(()=>[C(" \u5728\u6253\u5370JSON\u65F6\u4F7F\u7528\u3002\u8FD9\u4E9B\u662F\u5BF9\u8C61\u5C5E\u6027\u540D\u79F0\u3002 ")]),_:1}),m(f,{label:"honorColor"},{default:g(()=>[C(" \u8981\u4EE5\u5F69\u8272\u6253\u5370\u6587\u672C\uFF0C\u8BF7\u5C06\u6B64\u5C5E\u6027\u8BBE\u7F6E\u4E3Atrue\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u6240\u6709\u6587\u672C\u90FD\u5C06\u4EE5\u9ED1\u8272\u6253\u5370\u3002 ")]),_:1}),m(f,{label:"css"},{default:g(()=>[C(" \u8FD9\u5141\u8BB8\u6211\u4EEC\u4F20\u9012\u4E00\u4E2A\u6216\u591A\u4E2A\u5E94\u8BE5\u5E94\u7528\u4E8E\u6B63\u5728\u6253\u5370\u7684html\u7684css\u6587\u4EF6URL\u3002\u503C\u53EF\u4EE5\u662F\u5305\u542B\u5355\u4E2AURL\u7684\u5B57\u7B26\u4E32\uFF0C\u4E5F\u53EF\u4EE5\u662F\u5305\u542B\u591A\u4E2AURL\u7684\u6570\u7EC4\u3002 ")]),_:1})]),_:1})]),_:1})}}});export{K as default}; diff --git a/docs/assets/index.6bf634c3.js.gz b/docs/assets/index.6bf634c3.js.gz new file mode 100644 index 0000000..52f4967 Binary files /dev/null and b/docs/assets/index.6bf634c3.js.gz differ diff --git a/docs/assets/index.fb671bc4.js b/docs/assets/index.6d214c4d.js similarity index 88% rename from docs/assets/index.fb671bc4.js rename to docs/assets/index.6d214c4d.js index fe64838..4b02d4d 100644 --- a/docs/assets/index.fb671bc4.js +++ b/docs/assets/index.6d214c4d.js @@ -1,31 +1,31 @@ -import{Q as Ou,_ as Cl,g as kl,a2 as Nu,i as Au,O as pl,x as Mu,P as Du,o as Ll,c as Tl,r as Hu,a as Nn,b as vl,w as Eu,p as Wu,f as Fu}from"./index.048a73c8.js";var ho={exports:{}},gl;function tt(){return gl||(gl=1,function(Oe,Be){(function(m,U){Oe.exports=U()})(Ou,function(){var m=navigator.userAgent,U=navigator.platform,I=/gecko\/\d/i.test(m),G=/MSIE \d/.test(m),M=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(m),w=/Edge\/(\d+)/.exec(m),S=G||M||w,x=S&&(G?document.documentMode||6:+(w||M)[1]),C=!w&&/WebKit\//.test(m),W=C&&/Qt\/\d+\.\d+/.test(m),P=!w&&/Chrome\/(\d+)/.exec(m),j=P&&+P[1],O=/Opera\//.test(m),R=/Apple Computer/.test(navigator.vendor),D=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(m),H=/PhantomJS/.test(m),k=R&&(/Mobile\/\w+/.test(m)||navigator.maxTouchPoints>2),L=/Android/.test(m),B=k||L||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(m),z=k||/Mac/.test(U),q=/\bCrOS\b/.test(m),Q=/win/i.test(U),g=O&&m.match(/Version\/(\d*\.\d*)/);g&&(g=Number(g[1])),g&&g>=15&&(O=!1,C=!0);var F=z&&(W||O&&(g==null||g<12.11)),ne=I||S&&x>=9;function V(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var ee=function(e,t){var n=e.className,r=V(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function T(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function K(e,t){return T(e).appendChild(t)}function d(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),typeof t=="string")i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=l-o,a+=n-a%n,o=l+1}}var ue=function(){this.id=null,this.f=null,this.time=0,this.handler=rt(this.onTimeout,this)};ue.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},ue.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var pt=[""];function Lt(e){for(;pt.length<=e;)pt.push(pe(pt)+" ");return pt[e]}function pe(e){return e[e.length-1]}function wr(e,t){for(var n=[],r=0;r"\x80"&&(e.toUpperCase()!=e.toLowerCase()||vi.test(e))}function Sr(e,t){return t?t.source.indexOf("\\w")>-1&&qr(e)?!0:t.test(e):qr(e)}function Hn(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Cr=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Zr(e){return e.charCodeAt(0)>=768&&Cr.test(e)}function Tt(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function ur(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),a.level==1?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var Ot=null;function vt(e,t,n){var r;Ot=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&n=="before"?r=i:Ot=i),o.from==t&&(o.from!=o.to&&n!="before"?r=i:Ot=i)}return r!=null?r:Ot}var gi=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,l=/[1n]/;function s(u,h,c){this.level=u,this.from=h,this.to=c}return function(u,h){var c=h=="ltr"?"L":"R";if(u.length==0||h=="ltr"&&!r.test(u))return!1;for(var b=u.length,y=[],A=0;A-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ke(e,t){var n=Qr(e,t);if(!!n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function Ve(e){e.prototype.on=function(t,n){Z(this,t,n)},e.prototype.off=function(t,n){qe(this,t,n)}}function Ze(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function fr(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Jr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function It(e){Ze(e),fr(e)}function nt(e){return e.target||e.srcElement}function jr(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),z&&e.ctrlKey&&t==1&&(t=3),t}var yi=function(){if(S&&x<9)return!1;var e=d("div");return"draggable"in e||"dragDrop"in e}(),yt;function mi(e){if(yt==null){var t=d("span","\u200B");K(e,d("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(yt=t.offsetWidth<=1&&t.offsetHeight>2&&!(S&&x<8))}var n=yt?d("span","\u200B"):d("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}var kr;function Fn(e){if(kr!=null)return kr;var t=K(e,document.createTextNode("A\u062EA")),n=be(t,0,1).getBoundingClientRect(),r=be(t,1,2).getBoundingClientRect();return T(e),!n||n.left==n.right?!1:kr=r.right-n.right<3}var Vr=` +import{Q as ku,_ as wl,g as Sl,a2 as Lu,i as Tu,O as pl,x as Ou,P as Nu,o as Cl,c as kl,r as Au,a as Nn,b as vl,w as Mu,p as Du,f as Hu}from"./index.034c045c.js";var ho={exports:{}},gl;function tt(){return gl||(gl=1,function(Oe,Be){(function(m,U){Oe.exports=U()})(ku,function(){var m=navigator.userAgent,U=navigator.platform,I=/gecko\/\d/i.test(m),G=/MSIE \d/.test(m),M=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(m),w=/Edge\/(\d+)/.exec(m),S=G||M||w,x=S&&(G?document.documentMode||6:+(w||M)[1]),C=!w&&/WebKit\//.test(m),W=C&&/Qt\/\d+\.\d+/.test(m),P=!w&&/Chrome\/(\d+)/.exec(m),j=P&&+P[1],O=/Opera\//.test(m),R=/Apple Computer/.test(navigator.vendor),D=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(m),H=/PhantomJS/.test(m),k=R&&(/Mobile\/\w+/.test(m)||navigator.maxTouchPoints>2),L=/Android/.test(m),B=k||L||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(m),z=k||/Mac/.test(U),q=/\bCrOS\b/.test(m),Q=/win/i.test(U),g=O&&m.match(/Version\/(\d*\.\d*)/);g&&(g=Number(g[1])),g&&g>=15&&(O=!1,C=!0);var F=z&&(W||O&&(g==null||g<12.11)),ne=I||S&&x>=9;function V(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var ee=function(e,t){var n=e.className,r=V(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function T(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function K(e,t){return T(e).appendChild(t)}function d(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),typeof t=="string")i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=l-o,a+=n-a%n,o=l+1}}var ue=function(){this.id=null,this.f=null,this.time=0,this.handler=rt(this.onTimeout,this)};ue.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},ue.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var pt=[""];function Lt(e){for(;pt.length<=e;)pt.push(pe(pt)+" ");return pt[e]}function pe(e){return e[e.length-1]}function wr(e,t){for(var n=[],r=0;r"\x80"&&(e.toUpperCase()!=e.toLowerCase()||vi.test(e))}function Sr(e,t){return t?t.source.indexOf("\\w")>-1&&qr(e)?!0:t.test(e):qr(e)}function Hn(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Cr=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Zr(e){return e.charCodeAt(0)>=768&&Cr.test(e)}function Tt(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function ur(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),a.level==1?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var Ot=null;function vt(e,t,n){var r;Ot=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&n=="before"?r=i:Ot=i),o.from==t&&(o.from!=o.to&&n!="before"?r=i:Ot=i)}return r!=null?r:Ot}var gi=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,l=/[1n]/;function s(u,h,c){this.level=u,this.from=h,this.to=c}return function(u,h){var c=h=="ltr"?"L":"R";if(u.length==0||h=="ltr"&&!r.test(u))return!1;for(var b=u.length,y=[],A=0;A-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ke(e,t){var n=Qr(e,t);if(!!n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function Ve(e){e.prototype.on=function(t,n){Z(this,t,n)},e.prototype.off=function(t,n){qe(this,t,n)}}function Ze(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function fr(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Jr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function It(e){Ze(e),fr(e)}function nt(e){return e.target||e.srcElement}function jr(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),z&&e.ctrlKey&&t==1&&(t=3),t}var yi=function(){if(S&&x<9)return!1;var e=d("div");return"draggable"in e||"dragDrop"in e}(),yt;function mi(e){if(yt==null){var t=d("span","\u200B");K(e,d("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(yt=t.offsetWidth<=1&&t.offsetHeight>2&&!(S&&x<8))}var n=yt?d("span","\u200B"):d("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}var kr;function Fn(e){if(kr!=null)return kr;var t=K(e,document.createTextNode("A\u062EA")),n=be(t,0,1).getBoundingClientRect(),r=be(t,1,2).getBoundingClientRect();return T(e),!n||n.left==n.right?!1:kr=r.right-n.right<3}var Vr=` b`.split(/\n/).length!=3?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf(` -`,t);i==-1&&(i=e.length);var o=e.slice(t,e.charAt(i-1)=="\r"?i-1:i),a=o.indexOf("\r");a!=-1?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Zt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Nt=function(){var e=d("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),At=null;function Pn(e){if(At!=null)return At;var t=K(e,d("span","x")),n=t.getBoundingClientRect(),r=be(t,0,1).getBoundingClientRect();return At=Math.abs(n.left-r.left)>1}var bt={},Qt={};function In(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),bt[e]=t}function Lr(e,t){Qt[e]=t}function ut(e){if(typeof e=="string"&&Qt.hasOwnProperty(e))e=Qt[e];else if(e&&typeof e.name=="string"&&Qt.hasOwnProperty(e.name)){var t=Qt[e.name];typeof t=="string"&&(t={name:t}),e=Dn(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return ut("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return ut("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Rt(e,t){t=ut(t);var n=bt[t.name];if(!n)return Rt(e,"text/plain");var r=n(e,t);if(Jt.hasOwnProperty(t.name)){var i=Jt[t.name];for(var o in i)!i.hasOwnProperty(o)||(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Jt={};function Rn(e,t){var n=Jt.hasOwnProperty(e)?Jt[e]:Jt[e]={};ae(t,n)}function Bt(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function jt(e,t){for(var n;e.innerMode&&(n=e.innerMode(t),!(!n||n.mode==e));)t=n.state,e=n.mode;return n||{mode:e,state:t}}function $r(e,t,n){return e.startState?e.startState(t,n):!0}var He=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};He.prototype.eol=function(){return this.pos>=this.string.length},He.prototype.sol=function(){return this.pos==this.lineStart},He.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},He.prototype.next=function(){if(this.post},He.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},He.prototype.skipToEnd=function(){this.pos=this.string.length},He.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},He.prototype.backUp=function(e){this.pos-=e},He.prototype.column=function(){return this.lastColumnPos0?null:(o&&t!==!1&&(this.pos+=o[0].length),o)}},He.prototype.current=function(){return this.string.slice(this.start,this.pos)},He.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},He.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},He.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function te(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?v(n,te(e,n).text.length):Nl(t,te(e,t.line).text.length)}function Nl(e,t){var n=e.ch;return n==null||n>t?v(e.line,t):n<0?v(e.line,0):e}function vo(e,t){for(var n=[],r=0;rthis.maxLookAhead&&(this.maxLookAhead=e),t},Dt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Dt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Dt.fromSaved=function(e,t,n){return t instanceof Bn?new Dt(e,Bt(e.mode,t.state),n,t.lookAhead):new Dt(e,Bt(e.mode,t),n)},Dt.prototype.save=function(e){var t=e!==!1?Bt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Bn(t,this.maxLookAhead):t};function go(e,t,n,r){var i=[e.state.modeGen],o={};So(e,t.text,e.doc.mode,n,function(u,h){return i.push(u,h)},o,r);for(var a=n.state,l=function(u){n.baseTokens=i;var h=e.state.overlays[u],c=1,b=0;n.state=!0,So(e,t.text,h.mode,n,function(y,A){for(var E=c;by&&i.splice(c,1,y,i[c+1],_),c+=2,b=Math.min(y,_)}if(!!A)if(h.opaque)i.splice(E,c-E,y,"overlay "+A),c=E+2;else for(;Ee.options.maxHighlightLength&&Bt(e.doc.mode,r.state),o=go(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function en(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new Dt(r,!0,t);var o=Al(e,t,n),a=o>r.first&&te(r,o-1).stateAfter,l=a?Dt.fromSaved(r,a,o):new Dt(r,$r(r.mode),o);return r.iter(o,t,function(s){bi(e,s.text,l);var u=l.line;s.stateAfter=u==t-1||u%5==0||u>=i.viewFrom&&ut.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}var bo=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function xo(e,t,n,r){var i=e.doc,o=i.mode,a;t=se(i,t);var l=te(i,t.line),s=en(e,t.line,n),u=new He(l.text,e.options.tabSize,s),h;for(r&&(h=[]);(r||u.pose.options.maxHighlightLength?(l=!1,a&&bi(e,t,r,h.pos),h.pos=t.length,c=null):c=wo(xi(n,h,r.state,b),o),b){var y=b[0].name;y&&(c="m-"+(c?y+" "+c:y))}if(!l||u!=c){for(;sa;--l){if(l<=o.first)return o.first;var s=te(o,l-1),u=s.stateAfter;if(u&&(!n||l+(u instanceof Bn?u.lookAhead:0)<=o.modeFrontier))return l;var h=ie(s.text,null,e.options.tabSize);(i==null||r>h)&&(i=l-1,r=h)}return i}function Ml(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=te(e,r).stateAfter;if(i&&(!(i instanceof Bn)||r+i.lookAhead=t:o.to>t);(r||(r=[])).push(new zn(a,o.from,s?null:o.to))}}return r}function Pl(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(l||o.from==t&&a.type=="bookmark"&&(!n||o.marker.insertLeft)){var s=o.from==null||(a.inclusiveLeft?o.from<=t:o.from0&&l)for(var $=0;$0)){var h=[s,1],c=N(u.from,l.from),b=N(u.to,l.to);(c<0||!a.inclusiveLeft&&!c)&&h.push({from:u.from,to:l.from}),(b>0||!a.inclusiveRight&&!b)&&h.push({from:l.to,to:u.to}),i.splice.apply(i,h),s+=h.length-3}}return i}function Lo(e){var t=e.markedSpans;if(!!t){for(var n=0;nt)&&(!r||Si(r,o.marker)<0)&&(r=o.marker)}return r}function Ao(e,t,n,r,i){var o=te(e,t),a=_t&&o.markedSpans;if(a)for(var l=0;l=0&&c<=0||h<=0&&c>=0)&&(h<=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?N(u.to,n)>=0:N(u.to,n)>0)||h>=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?N(u.from,r)<=0:N(u.from,r)<0)))return!0}}}function xt(e){for(var t;t=No(e);)e=t.find(-1,!0).line;return e}function Bl(e){for(var t;t=Un(e);)e=t.find(1,!0).line;return e}function zl(e){for(var t,n;t=Un(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function Ci(e,t){var n=te(e,t),r=xt(n);return n==r?t:ge(r)}function Mo(e,t){if(t>e.lastLine())return t;var n=te(e,t),r;if(!Vt(e,n))return t;for(;r=Un(n);)n=r.find(1,!0).line;return ge(n)+1}function Vt(e,t){var n=_t&&t.markedSpans;if(n){for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=i,t.maxLine=r)})}var Or=function(e,t,n){this.text=e,To(this,t),this.height=n?n(this):1};Or.prototype.lineNo=function(){return ge(this)},Ve(Or);function _l(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Lo(e),To(e,n);var i=r?r(e):1;i!=e.height&&mt(e,i)}function Gl(e){e.parent=null,Lo(e)}var Ul={},Kl={};function Do(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Kl:Ul;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Ho(e,t){var n=ce("span",null,null,C?"padding-right: .1px":null),r={pre:ce("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Yl,Fn(e.display.measure)&&(a=gt(o,e.doc.direction))&&(r.addToken=Zl(r.addToken,a)),r.map=[];var l=t!=e.display.externalMeasured&&ge(o);Ql(o,r,yo(e,o,l)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=Ft(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=Ft(o.styleClasses.textClass,r.textClass||""))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(mi(e.display.measure))),i==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(C){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ke(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=Ft(r.pre.className,r.textClass||"")),r}function Xl(e){var t=d("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Yl(e,t,n,r,i,o,a){if(!!t){var l=e.splitSpaces?ql(t,e.trailingSpace):t,s=e.cm.state.specialChars,u=!1,h;if(!s.test(t))e.col+=t.length,h=document.createTextNode(l),e.map.push(e.pos,e.pos+t.length,h),S&&x<9&&(u=!0),e.pos+=t.length;else{h=document.createDocumentFragment();for(var c=0;;){s.lastIndex=c;var b=s.exec(t),y=b?b.index-c:t.length-c;if(y){var A=document.createTextNode(l.slice(c,c+y));S&&x<9?h.appendChild(d("span",[A])):h.appendChild(A),e.map.push(e.pos,e.pos+y,A),e.col+=y,e.pos+=y}if(!b)break;c+=y+1;var E=void 0;if(b[0]==" "){var _=e.cm.options.tabSize,X=_-e.col%_;E=h.appendChild(d("span",Lt(X),"cm-tab")),E.setAttribute("role","presentation"),E.setAttribute("cm-text"," "),e.col+=X}else b[0]=="\r"||b[0]==` -`?(E=h.appendChild(d("span",b[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),E.setAttribute("cm-text",b[0]),e.col+=1):(E=e.cm.options.specialCharPlaceholder(b[0]),E.setAttribute("cm-text",b[0]),S&&x<9?h.appendChild(d("span",[E])):h.appendChild(E),e.col+=1);e.map.push(e.pos,e.pos+1,E),e.pos++}}if(e.trailingSpace=l.charCodeAt(t.length-1)==32,n||r||i||u||o||a){var J=n||"";r&&(J+=r),i&&(J+=i);var Y=d("span",[h],J,o);if(a)for(var $ in a)a.hasOwnProperty($)&&$!="style"&&$!="class"&&Y.setAttribute($,a[$]);return e.content.appendChild(Y)}e.content.appendChild(h)}}function ql(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;iu&&c.from<=u));b++);if(c.to>=h)return e(n,r,i,o,a,l,s);e(n,r.slice(0,c.to-u),i,o,null,l,s),o=null,r=r.slice(c.to-u),u=c.to}}}function Eo(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function Ql(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(!r){for(var a=1;as||fe.collapsed&&re.to==s&&re.from==s)){if(re.to!=null&&re.to!=s&&y>re.to&&(y=re.to,E=""),fe.className&&(A+=" "+fe.className),fe.css&&(b=(b?b+";":"")+fe.css),fe.startStyle&&re.from==s&&(_+=" "+fe.startStyle),fe.endStyle&&re.to==y&&($||($=[])).push(fe.endStyle,re.to),fe.title&&((J||(J={})).title=fe.title),fe.attributes)for(var Se in fe.attributes)(J||(J={}))[Se]=fe.attributes[Se];fe.collapsed&&(!X||Si(X.marker,fe)<0)&&(X=re)}else re.from>s&&y>re.from&&(y=re.from)}if($)for(var Ke=0;Ke<$.length;Ke+=2)$[Ke+1]==y&&(E+=" "+$[Ke]);if(!X||X.from==s)for(var Ae=0;Ae=l)break;for(var ht=Math.min(l,y);;){if(h){var at=s+h.length;if(!X){var Fe=at>ht?h.slice(0,ht-s):h;t.addToken(t,Fe,c?c+A:A,_,s+Fe.length==y?E:"",b,J)}if(at>=ht){h=h.slice(ht-s),s=ht;break}s=at,_=""}h=i.slice(o,o=n[u++]),c=Do(n[u++],t.cm.options)}}}function Wo(e,t,n){this.line=t,this.rest=zl(t),this.size=this.rest?ge(pe(this.rest))-n+1:1,this.node=this.text=null,this.hidden=Vt(e,t)}function Xn(e,t,n){for(var r=[],i,o=t;o2&&o.push((s.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function _o(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function as(e,t){t=xt(t);var n=ge(t),r=e.display.externalMeasured=new Wo(e.doc,t,n);r.lineN=n;var i=r.built=Ho(e,r);return r.text=i.pre,K(e.display.lineMeasure,i.pre),r}function Go(e,t,n,r){return Et(e,Ar(e,t),n,r)}function Ai(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=s-l,i=o-1,t>=s&&(a="right")),i!=null){if(r=e[u+2],l==s&&n==(r.insertLeft?"left":"right")&&(a=n),n=="left"&&i==0)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)r=e[(u-=3)+2],a="left";if(n=="right"&&i==s-l)for(;u=0&&(n=e[i]).left==n.right;i--);return n}function ss(e,t,n,r){var i=Ko(t.map,n,r),o=i.node,a=i.start,l=i.end,s=i.collapse,u;if(o.nodeType==3){for(var h=0;h<4;h++){for(;a&&Zr(t.line.text.charAt(i.coverStart+a));)--a;for(;i.coverStart+l0&&(s=r="right");var c;e.options.lineWrapping&&(c=o.getClientRects()).length>1?u=c[r=="right"?c.length-1:0]:u=o.getBoundingClientRect()}if(S&&x<9&&!a&&(!u||!u.left&&!u.right)){var b=o.parentNode.getClientRects()[0];b?u={left:b.left,right:b.left+Dr(e.display),top:b.top,bottom:b.bottom}:u=Uo}for(var y=u.top-t.rect.top,A=u.bottom-t.rect.top,E=(y+A)/2,_=t.view.measure.heights,X=0;X<_.length-1&&!(E<_[X]);X++);var J=X?_[X-1]:0,Y=_[X],$={left:(s=="right"?u.right:u.left)-t.rect.left,right:(s=="left"?u.left:u.right)-t.rect.left,top:J,bottom:Y};return!u.left&&!u.right&&($.bogus=!0),e.options.singleCursorHeightPerLine||($.rtop=y,$.rbottom=A),$}function us(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Pn(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function Xo(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(s=r.text.length,u="before"):s<=0&&(s=0,u="after"),!l)return a(u=="before"?s-1:s,u=="before");function h(A,E,_){var X=l[E],J=X.level==1;return a(_?A-1:A,J!=_)}var c=vt(l,s,u),b=Ot,y=h(s,c,u=="before");return b!=null&&(y.other=h(s,b,u!="before")),y}function Jo(e,t){var n=0;t=se(e.doc,t),e.options.lineWrapping||(n=Dr(e.display)*t.ch);var r=te(e.doc,t.line),i=Gt(r)+Yn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Di(e,t,n,r,i){var o=v(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Hi(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return Di(r.first,0,null,-1,-1);var i=Mt(r,n),o=r.first+r.size-1;if(i>o)return Di(r.first+r.size-1,te(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=te(r,i);;){var l=fs(e,a,i,t,n),s=Rl(a,l.ch+(l.xRel>0||l.outside>0?1:0));if(!s)return l;var u=s.find(1);if(u.line==i)return u;a=te(r,i=u.line)}}function jo(e,t,n,r){r-=Mi(t);var i=t.text.length,o=Me(function(a){return Et(e,n,a-1).bottom<=r},i,0);return i=Me(function(a){return Et(e,n,a).top>r},o,i),{begin:o,end:i}}function Vo(e,t,n,r){n||(n=Ar(e,t));var i=qn(e,t,Et(e,n,r),"line").top;return jo(e,t,n,i)}function Ei(e,t,n,r){return e.bottom<=n?!1:e.top>n?!0:(r?e.left:e.right)>t}function fs(e,t,n,r,i){i-=Gt(t);var o=Ar(e,t),a=Mi(t),l=0,s=t.text.length,u=!0,h=gt(t,e.doc.direction);if(h){var c=(e.options.lineWrapping?cs:hs)(e,t,n,o,h,r,i);u=c.level!=1,l=u?c.from:c.to-1,s=u?c.to:c.from-1}var b=null,y=null,A=Me(function(oe){var re=Et(e,o,oe);return re.top+=a,re.bottom+=a,Ei(re,r,i,!1)?(re.top<=i&&re.left<=r&&(b=oe,y=re),!0):!1},l,s),E,_,X=!1;if(y){var J=r-y.left=$.bottom?1:0}return A=Tt(t.text,A,1),Di(n,A,_,X,r-E)}function hs(e,t,n,r,i,o,a){var l=Me(function(c){var b=i[c],y=b.level!=1;return Ei(wt(e,v(n,y?b.to:b.from,y?"before":"after"),"line",t,r),o,a,!0)},0,i.length-1),s=i[l];if(l>0){var u=s.level!=1,h=wt(e,v(n,u?s.from:s.to,u?"after":"before"),"line",t,r);Ei(h,o,a,!0)&&h.top>a&&(s=i[l-1])}return s}function cs(e,t,n,r,i,o,a){var l=jo(e,t,r,a),s=l.begin,u=l.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var h=null,c=null,b=0;b=u||y.to<=s)){var A=y.level!=1,E=Et(e,r,A?Math.min(u,y.to)-1:Math.max(s,y.from)).right,_=E_)&&(h=y,c=_)}}return h||(h=i[i.length-1]),h.fromu&&(h={from:h.from,to:u,level:h.level}),h}var cr;function Mr(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(cr==null){cr=d("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)cr.appendChild(document.createTextNode("x")),cr.appendChild(d("br"));cr.appendChild(document.createTextNode("x"))}K(e.measure,cr);var n=cr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),T(e.measure),n||1}function Dr(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=d("span","xxxxxxxxxx"),n=d("pre",[t],"CodeMirror-line-like");K(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Wi(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var l=e.display.gutterSpecs[a].className;n[l]=o.offsetLeft+o.clientLeft+i,r[l]=o.clientWidth}return{fixedPos:Fi(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Fi(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function $o(e){var t=Mr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Dr(e.display)-3);return function(i){if(Vt(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(u=te(e.doc,s.line).text).length==s.ch){var h=ie(u,u.length,e.options.tabSize)-u.length;s=v(s.line,Math.max(0,Math.round((o-zo(e.display).left)/Dr(e.display))-h))}return s}function pr(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)_t&&Ci(e.doc,t)i.viewFrom?er(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)er(e);else if(t<=i.viewFrom){var o=Qn(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):er(e)}else if(n>=i.viewTo){var a=Qn(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):er(e)}else{var l=Qn(e,t,t,-1),s=Qn(e,n,n+r,1);l&&s?(i.view=i.view.slice(0,l.index).concat(Xn(e,l.lineN,s.lineN)).concat(i.view.slice(s.index)),i.viewTo+=r):er(e)}var u=i.externalMeasured;u&&(n=i.lineN&&t=r.viewTo)){var o=r.view[pr(e,t)];if(o.node!=null){var a=o.changes||(o.changes=[]);de(a,n)==-1&&a.push(n)}}}function er(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Qn(e,t,n,r){var i=pr(e,t),o,a=e.display.view;if(!_t||n==e.doc.first+e.doc.size)return{index:i,lineN:n};for(var l=e.display.viewFrom,s=0;s0){if(i==a.length-1)return null;o=l+a[i].size-t,i++}else o=l-t;t+=o,n+=o}for(;Ci(e.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function ds(e,t,n){var r=e.display,i=r.view;i.length==0||t>=r.viewTo||n<=r.viewFrom?(r.view=Xn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=Xn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,pr(e,n)))),r.viewTo=n}function ea(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||s.to().line0?a:e.defaultCharWidth())+"px"}if(r.other){var l=n.appendChild(d("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));l.style.display="",l.style.left=r.other.left+"px",l.style.top=r.other.top+"px",l.style.height=(r.other.bottom-r.other.top)*.85+"px"}}function Jn(e,t){return e.top-t.top||e.left-t.left}function ps(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=zo(e.display),l=a.left,s=Math.max(r.sizerWidth,hr(e)-r.sizer.offsetLeft)-a.right,u=i.direction=="ltr";function h(Y,$,oe,re){$<0&&($=0),$=Math.round($),re=Math.round(re),o.appendChild(d("div",null,"CodeMirror-selected","position: absolute; left: "+Y+`px; +`,t);i==-1&&(i=e.length);var o=e.slice(t,e.charAt(i-1)=="\r"?i-1:i),a=o.indexOf("\r");a!=-1?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Zt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Nt=function(){var e=d("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),At=null;function Pn(e){if(At!=null)return At;var t=K(e,d("span","x")),n=t.getBoundingClientRect(),r=be(t,0,1).getBoundingClientRect();return At=Math.abs(n.left-r.left)>1}var bt={},Qt={};function In(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),bt[e]=t}function Lr(e,t){Qt[e]=t}function ut(e){if(typeof e=="string"&&Qt.hasOwnProperty(e))e=Qt[e];else if(e&&typeof e.name=="string"&&Qt.hasOwnProperty(e.name)){var t=Qt[e.name];typeof t=="string"&&(t={name:t}),e=Dn(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return ut("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return ut("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Rt(e,t){t=ut(t);var n=bt[t.name];if(!n)return Rt(e,"text/plain");var r=n(e,t);if(Jt.hasOwnProperty(t.name)){var i=Jt[t.name];for(var o in i)!i.hasOwnProperty(o)||(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Jt={};function Rn(e,t){var n=Jt.hasOwnProperty(e)?Jt[e]:Jt[e]={};ae(t,n)}function Bt(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function jt(e,t){for(var n;e.innerMode&&(n=e.innerMode(t),!(!n||n.mode==e));)t=n.state,e=n.mode;return n||{mode:e,state:t}}function $r(e,t,n){return e.startState?e.startState(t,n):!0}var He=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};He.prototype.eol=function(){return this.pos>=this.string.length},He.prototype.sol=function(){return this.pos==this.lineStart},He.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},He.prototype.next=function(){if(this.post},He.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},He.prototype.skipToEnd=function(){this.pos=this.string.length},He.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},He.prototype.backUp=function(e){this.pos-=e},He.prototype.column=function(){return this.lastColumnPos0?null:(o&&t!==!1&&(this.pos+=o[0].length),o)}},He.prototype.current=function(){return this.string.slice(this.start,this.pos)},He.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},He.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},He.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function te(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?v(n,te(e,n).text.length):Ll(t,te(e,t.line).text.length)}function Ll(e,t){var n=e.ch;return n==null||n>t?v(e.line,t):n<0?v(e.line,0):e}function vo(e,t){for(var n=[],r=0;rthis.maxLookAhead&&(this.maxLookAhead=e),t},Dt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Dt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Dt.fromSaved=function(e,t,n){return t instanceof Bn?new Dt(e,Bt(e.mode,t.state),n,t.lookAhead):new Dt(e,Bt(e.mode,t),n)},Dt.prototype.save=function(e){var t=e!==!1?Bt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Bn(t,this.maxLookAhead):t};function go(e,t,n,r){var i=[e.state.modeGen],o={};So(e,t.text,e.doc.mode,n,function(u,h){return i.push(u,h)},o,r);for(var a=n.state,l=function(u){n.baseTokens=i;var h=e.state.overlays[u],c=1,b=0;n.state=!0,So(e,t.text,h.mode,n,function(y,A){for(var E=c;by&&i.splice(c,1,y,i[c+1],_),c+=2,b=Math.min(y,_)}if(!!A)if(h.opaque)i.splice(E,c-E,y,"overlay "+A),c=E+2;else for(;Ee.options.maxHighlightLength&&Bt(e.doc.mode,r.state),o=go(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function en(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new Dt(r,!0,t);var o=Tl(e,t,n),a=o>r.first&&te(r,o-1).stateAfter,l=a?Dt.fromSaved(r,a,o):new Dt(r,$r(r.mode),o);return r.iter(o,t,function(s){bi(e,s.text,l);var u=l.line;s.stateAfter=u==t-1||u%5==0||u>=i.viewFrom&&ut.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}var bo=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function xo(e,t,n,r){var i=e.doc,o=i.mode,a;t=se(i,t);var l=te(i,t.line),s=en(e,t.line,n),u=new He(l.text,e.options.tabSize,s),h;for(r&&(h=[]);(r||u.pose.options.maxHighlightLength?(l=!1,a&&bi(e,t,r,h.pos),h.pos=t.length,c=null):c=wo(xi(n,h,r.state,b),o),b){var y=b[0].name;y&&(c="m-"+(c?y+" "+c:y))}if(!l||u!=c){for(;sa;--l){if(l<=o.first)return o.first;var s=te(o,l-1),u=s.stateAfter;if(u&&(!n||l+(u instanceof Bn?u.lookAhead:0)<=o.modeFrontier))return l;var h=ie(s.text,null,e.options.tabSize);(i==null||r>h)&&(i=l-1,r=h)}return i}function Ol(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=te(e,r).stateAfter;if(i&&(!(i instanceof Bn)||r+i.lookAhead=t:o.to>t);(r||(r=[])).push(new zn(a,o.from,s?null:o.to))}}return r}function El(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(l||o.from==t&&a.type=="bookmark"&&(!n||o.marker.insertLeft)){var s=o.from==null||(a.inclusiveLeft?o.from<=t:o.from0&&l)for(var $=0;$0)){var h=[s,1],c=N(u.from,l.from),b=N(u.to,l.to);(c<0||!a.inclusiveLeft&&!c)&&h.push({from:u.from,to:l.from}),(b>0||!a.inclusiveRight&&!b)&&h.push({from:l.to,to:u.to}),i.splice.apply(i,h),s+=h.length-3}}return i}function Lo(e){var t=e.markedSpans;if(!!t){for(var n=0;nt)&&(!r||Si(r,o.marker)<0)&&(r=o.marker)}return r}function Ao(e,t,n,r,i){var o=te(e,t),a=_t&&o.markedSpans;if(a)for(var l=0;l=0&&c<=0||h<=0&&c>=0)&&(h<=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?N(u.to,n)>=0:N(u.to,n)>0)||h>=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?N(u.from,r)<=0:N(u.from,r)<0)))return!0}}}function xt(e){for(var t;t=No(e);)e=t.find(-1,!0).line;return e}function Pl(e){for(var t;t=Un(e);)e=t.find(1,!0).line;return e}function Il(e){for(var t,n;t=Un(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function Ci(e,t){var n=te(e,t),r=xt(n);return n==r?t:ge(r)}function Mo(e,t){if(t>e.lastLine())return t;var n=te(e,t),r;if(!Vt(e,n))return t;for(;r=Un(n);)n=r.find(1,!0).line;return ge(n)+1}function Vt(e,t){var n=_t&&t.markedSpans;if(n){for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=i,t.maxLine=r)})}var Or=function(e,t,n){this.text=e,To(this,t),this.height=n?n(this):1};Or.prototype.lineNo=function(){return ge(this)},Ve(Or);function Rl(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Lo(e),To(e,n);var i=r?r(e):1;i!=e.height&&mt(e,i)}function Bl(e){e.parent=null,Lo(e)}var zl={},_l={};function Do(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?_l:zl;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Ho(e,t){var n=ce("span",null,null,C?"padding-right: .1px":null),r={pre:ce("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Ul,Fn(e.display.measure)&&(a=gt(o,e.doc.direction))&&(r.addToken=Xl(r.addToken,a)),r.map=[];var l=t!=e.display.externalMeasured&&ge(o);Yl(o,r,yo(e,o,l)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=Ft(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=Ft(o.styleClasses.textClass,r.textClass||""))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(mi(e.display.measure))),i==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(C){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ke(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=Ft(r.pre.className,r.textClass||"")),r}function Gl(e){var t=d("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Ul(e,t,n,r,i,o,a){if(!!t){var l=e.splitSpaces?Kl(t,e.trailingSpace):t,s=e.cm.state.specialChars,u=!1,h;if(!s.test(t))e.col+=t.length,h=document.createTextNode(l),e.map.push(e.pos,e.pos+t.length,h),S&&x<9&&(u=!0),e.pos+=t.length;else{h=document.createDocumentFragment();for(var c=0;;){s.lastIndex=c;var b=s.exec(t),y=b?b.index-c:t.length-c;if(y){var A=document.createTextNode(l.slice(c,c+y));S&&x<9?h.appendChild(d("span",[A])):h.appendChild(A),e.map.push(e.pos,e.pos+y,A),e.col+=y,e.pos+=y}if(!b)break;c+=y+1;var E=void 0;if(b[0]==" "){var _=e.cm.options.tabSize,X=_-e.col%_;E=h.appendChild(d("span",Lt(X),"cm-tab")),E.setAttribute("role","presentation"),E.setAttribute("cm-text"," "),e.col+=X}else b[0]=="\r"||b[0]==` +`?(E=h.appendChild(d("span",b[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),E.setAttribute("cm-text",b[0]),e.col+=1):(E=e.cm.options.specialCharPlaceholder(b[0]),E.setAttribute("cm-text",b[0]),S&&x<9?h.appendChild(d("span",[E])):h.appendChild(E),e.col+=1);e.map.push(e.pos,e.pos+1,E),e.pos++}}if(e.trailingSpace=l.charCodeAt(t.length-1)==32,n||r||i||u||o||a){var J=n||"";r&&(J+=r),i&&(J+=i);var Y=d("span",[h],J,o);if(a)for(var $ in a)a.hasOwnProperty($)&&$!="style"&&$!="class"&&Y.setAttribute($,a[$]);return e.content.appendChild(Y)}e.content.appendChild(h)}}function Kl(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;iu&&c.from<=u));b++);if(c.to>=h)return e(n,r,i,o,a,l,s);e(n,r.slice(0,c.to-u),i,o,null,l,s),o=null,r=r.slice(c.to-u),u=c.to}}}function Eo(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function Yl(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(!r){for(var a=1;as||fe.collapsed&&re.to==s&&re.from==s)){if(re.to!=null&&re.to!=s&&y>re.to&&(y=re.to,E=""),fe.className&&(A+=" "+fe.className),fe.css&&(b=(b?b+";":"")+fe.css),fe.startStyle&&re.from==s&&(_+=" "+fe.startStyle),fe.endStyle&&re.to==y&&($||($=[])).push(fe.endStyle,re.to),fe.title&&((J||(J={})).title=fe.title),fe.attributes)for(var Se in fe.attributes)(J||(J={}))[Se]=fe.attributes[Se];fe.collapsed&&(!X||Si(X.marker,fe)<0)&&(X=re)}else re.from>s&&y>re.from&&(y=re.from)}if($)for(var Ke=0;Ke<$.length;Ke+=2)$[Ke+1]==y&&(E+=" "+$[Ke]);if(!X||X.from==s)for(var Ae=0;Ae=l)break;for(var ht=Math.min(l,y);;){if(h){var at=s+h.length;if(!X){var Fe=at>ht?h.slice(0,ht-s):h;t.addToken(t,Fe,c?c+A:A,_,s+Fe.length==y?E:"",b,J)}if(at>=ht){h=h.slice(ht-s),s=ht;break}s=at,_=""}h=i.slice(o,o=n[u++]),c=Do(n[u++],t.cm.options)}}}function Wo(e,t,n){this.line=t,this.rest=Il(t),this.size=this.rest?ge(pe(this.rest))-n+1:1,this.node=this.text=null,this.hidden=Vt(e,t)}function Xn(e,t,n){for(var r=[],i,o=t;o2&&o.push((s.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function _o(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function ns(e,t){t=xt(t);var n=ge(t),r=e.display.externalMeasured=new Wo(e.doc,t,n);r.lineN=n;var i=r.built=Ho(e,r);return r.text=i.pre,K(e.display.lineMeasure,i.pre),r}function Go(e,t,n,r){return Et(e,Ar(e,t),n,r)}function Ai(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=s-l,i=o-1,t>=s&&(a="right")),i!=null){if(r=e[u+2],l==s&&n==(r.insertLeft?"left":"right")&&(a=n),n=="left"&&i==0)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)r=e[(u-=3)+2],a="left";if(n=="right"&&i==s-l)for(;u=0&&(n=e[i]).left==n.right;i--);return n}function os(e,t,n,r){var i=Ko(t.map,n,r),o=i.node,a=i.start,l=i.end,s=i.collapse,u;if(o.nodeType==3){for(var h=0;h<4;h++){for(;a&&Zr(t.line.text.charAt(i.coverStart+a));)--a;for(;i.coverStart+l0&&(s=r="right");var c;e.options.lineWrapping&&(c=o.getClientRects()).length>1?u=c[r=="right"?c.length-1:0]:u=o.getBoundingClientRect()}if(S&&x<9&&!a&&(!u||!u.left&&!u.right)){var b=o.parentNode.getClientRects()[0];b?u={left:b.left,right:b.left+Dr(e.display),top:b.top,bottom:b.bottom}:u=Uo}for(var y=u.top-t.rect.top,A=u.bottom-t.rect.top,E=(y+A)/2,_=t.view.measure.heights,X=0;X<_.length-1&&!(E<_[X]);X++);var J=X?_[X-1]:0,Y=_[X],$={left:(s=="right"?u.right:u.left)-t.rect.left,right:(s=="left"?u.left:u.right)-t.rect.left,top:J,bottom:Y};return!u.left&&!u.right&&($.bogus=!0),e.options.singleCursorHeightPerLine||($.rtop=y,$.rbottom=A),$}function as(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Pn(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function Xo(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(s=r.text.length,u="before"):s<=0&&(s=0,u="after"),!l)return a(u=="before"?s-1:s,u=="before");function h(A,E,_){var X=l[E],J=X.level==1;return a(_?A-1:A,J!=_)}var c=vt(l,s,u),b=Ot,y=h(s,c,u=="before");return b!=null&&(y.other=h(s,b,u!="before")),y}function Jo(e,t){var n=0;t=se(e.doc,t),e.options.lineWrapping||(n=Dr(e.display)*t.ch);var r=te(e.doc,t.line),i=Gt(r)+Yn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Di(e,t,n,r,i){var o=v(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Hi(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return Di(r.first,0,null,-1,-1);var i=Mt(r,n),o=r.first+r.size-1;if(i>o)return Di(r.first+r.size-1,te(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=te(r,i);;){var l=ls(e,a,i,t,n),s=Fl(a,l.ch+(l.xRel>0||l.outside>0?1:0));if(!s)return l;var u=s.find(1);if(u.line==i)return u;a=te(r,i=u.line)}}function jo(e,t,n,r){r-=Mi(t);var i=t.text.length,o=Me(function(a){return Et(e,n,a-1).bottom<=r},i,0);return i=Me(function(a){return Et(e,n,a).top>r},o,i),{begin:o,end:i}}function Vo(e,t,n,r){n||(n=Ar(e,t));var i=qn(e,t,Et(e,n,r),"line").top;return jo(e,t,n,i)}function Ei(e,t,n,r){return e.bottom<=n?!1:e.top>n?!0:(r?e.left:e.right)>t}function ls(e,t,n,r,i){i-=Gt(t);var o=Ar(e,t),a=Mi(t),l=0,s=t.text.length,u=!0,h=gt(t,e.doc.direction);if(h){var c=(e.options.lineWrapping?us:ss)(e,t,n,o,h,r,i);u=c.level!=1,l=u?c.from:c.to-1,s=u?c.to:c.from-1}var b=null,y=null,A=Me(function(oe){var re=Et(e,o,oe);return re.top+=a,re.bottom+=a,Ei(re,r,i,!1)?(re.top<=i&&re.left<=r&&(b=oe,y=re),!0):!1},l,s),E,_,X=!1;if(y){var J=r-y.left=$.bottom?1:0}return A=Tt(t.text,A,1),Di(n,A,_,X,r-E)}function ss(e,t,n,r,i,o,a){var l=Me(function(c){var b=i[c],y=b.level!=1;return Ei(wt(e,v(n,y?b.to:b.from,y?"before":"after"),"line",t,r),o,a,!0)},0,i.length-1),s=i[l];if(l>0){var u=s.level!=1,h=wt(e,v(n,u?s.from:s.to,u?"after":"before"),"line",t,r);Ei(h,o,a,!0)&&h.top>a&&(s=i[l-1])}return s}function us(e,t,n,r,i,o,a){var l=jo(e,t,r,a),s=l.begin,u=l.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var h=null,c=null,b=0;b=u||y.to<=s)){var A=y.level!=1,E=Et(e,r,A?Math.min(u,y.to)-1:Math.max(s,y.from)).right,_=E_)&&(h=y,c=_)}}return h||(h=i[i.length-1]),h.fromu&&(h={from:h.from,to:u,level:h.level}),h}var cr;function Mr(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(cr==null){cr=d("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)cr.appendChild(document.createTextNode("x")),cr.appendChild(d("br"));cr.appendChild(document.createTextNode("x"))}K(e.measure,cr);var n=cr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),T(e.measure),n||1}function Dr(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=d("span","xxxxxxxxxx"),n=d("pre",[t],"CodeMirror-line-like");K(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Wi(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var l=e.display.gutterSpecs[a].className;n[l]=o.offsetLeft+o.clientLeft+i,r[l]=o.clientWidth}return{fixedPos:Fi(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Fi(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function $o(e){var t=Mr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Dr(e.display)-3);return function(i){if(Vt(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(u=te(e.doc,s.line).text).length==s.ch){var h=ie(u,u.length,e.options.tabSize)-u.length;s=v(s.line,Math.max(0,Math.round((o-zo(e.display).left)/Dr(e.display))-h))}return s}function pr(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)_t&&Ci(e.doc,t)i.viewFrom?er(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)er(e);else if(t<=i.viewFrom){var o=Qn(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):er(e)}else if(n>=i.viewTo){var a=Qn(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):er(e)}else{var l=Qn(e,t,t,-1),s=Qn(e,n,n+r,1);l&&s?(i.view=i.view.slice(0,l.index).concat(Xn(e,l.lineN,s.lineN)).concat(i.view.slice(s.index)),i.viewTo+=r):er(e)}var u=i.externalMeasured;u&&(n=i.lineN&&t=r.viewTo)){var o=r.view[pr(e,t)];if(o.node!=null){var a=o.changes||(o.changes=[]);de(a,n)==-1&&a.push(n)}}}function er(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Qn(e,t,n,r){var i=pr(e,t),o,a=e.display.view;if(!_t||n==e.doc.first+e.doc.size)return{index:i,lineN:n};for(var l=e.display.viewFrom,s=0;s0){if(i==a.length-1)return null;o=l+a[i].size-t,i++}else o=l-t;t+=o,n+=o}for(;Ci(e.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function fs(e,t,n){var r=e.display,i=r.view;i.length==0||t>=r.viewTo||n<=r.viewFrom?(r.view=Xn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=Xn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,pr(e,n)))),r.viewTo=n}function ea(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||s.to().line0?a:e.defaultCharWidth())+"px"}if(r.other){var l=n.appendChild(d("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));l.style.display="",l.style.left=r.other.left+"px",l.style.top=r.other.top+"px",l.style.height=(r.other.bottom-r.other.top)*.85+"px"}}function Jn(e,t){return e.top-t.top||e.left-t.left}function hs(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=zo(e.display),l=a.left,s=Math.max(r.sizerWidth,hr(e)-r.sizer.offsetLeft)-a.right,u=i.direction=="ltr";function h(Y,$,oe,re){$<0&&($=0),$=Math.round($),re=Math.round(re),o.appendChild(d("div",null,"CodeMirror-selected","position: absolute; left: "+Y+`px; top: `+$+"px; width: "+(oe==null?s-Y:oe)+`px; - height: `+(re-$)+"px"))}function c(Y,$,oe){var re=te(i,Y),fe=re.text.length,Se,Ke;function Ae(Fe,lt){return Zn(e,v(Y,Fe),"div",re,lt)}function ht(Fe,lt,Ye){var Re=Vo(e,re,null,Fe),Pe=lt=="ltr"==(Ye=="after")?"left":"right",Ee=Ye=="after"?Re.begin:Re.end-(/\s/.test(re.text.charAt(Re.end-1))?2:1);return Ae(Ee,Pe)[Pe]}var at=gt(re,i.direction);return ur(at,$||0,oe==null?fe:oe,function(Fe,lt,Ye,Re){var Pe=Ye=="ltr",Ee=Ae(Fe,Pe?"left":"right"),st=Ae(lt-1,Pe?"right":"left"),Kr=$==null&&Fe==0,ar=oe==null&<==fe,Je=Re==0,Wt=!at||Re==at.length-1;if(st.top-Ee.top<=3){var Xe=(u?Kr:ar)&&Je,uo=(u?ar:Kr)&&Wt,Yt=Xe?l:(Pe?Ee:st).left,br=uo?s:(Pe?st:Ee).right;h(Yt,Ee.top,br-Yt,Ee.bottom)}else{var xr,et,Xr,fo;Pe?(xr=u&&Kr&&Je?l:Ee.left,et=u?s:ht(Fe,Ye,"before"),Xr=u?l:ht(lt,Ye,"after"),fo=u&&ar&&Wt?s:st.right):(xr=u?ht(Fe,Ye,"before"):l,et=!u&&Kr&&Je?s:Ee.right,Xr=!u&&ar&&Wt?l:st.left,fo=u?ht(lt,Ye,"after"):s),h(xr,Ee.top,et-xr,Ee.bottom),Ee.bottom0?t.blinker=setInterval(function(){e.hasFocus()||Hr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ra(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||zi(e))}function Bi(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Hr(e))},100)}function zi(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(ke(e,"focus",e,t),e.state.focused=!0,Ce(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),C&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Ri(e))}function Hr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ke(e,"blur",e,t),e.state.focused=!1,ee(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function jn(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,a=0;a.005||y<-.005)&&(ie.display.sizerWidth){var E=Math.ceil(h/Dr(e.display));E>e.display.maxLineLength&&(e.display.maxLineLength=E,e.display.maxLine=l.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function na(e){if(e.widgets)for(var t=0;t=a&&(o=Mt(t,Gt(te(t,s))-e.wrapper.clientHeight),a=s)}return{from:o,to:Math.max(a,o+1)}}function vs(e,t){if(!De(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null,o=n.wrapper.ownerDocument;if(t.top+r.top<0?i=!0:t.bottom+r.top>(o.defaultView.innerHeight||o.documentElement.clientHeight)&&(i=!1),i!=null&&!H){var a=d("div","\u200B",null,`position: absolute; + height: `+(re-$)+"px"))}function c(Y,$,oe){var re=te(i,Y),fe=re.text.length,Se,Ke;function Ae(Fe,lt){return Zn(e,v(Y,Fe),"div",re,lt)}function ht(Fe,lt,Ye){var Re=Vo(e,re,null,Fe),Pe=lt=="ltr"==(Ye=="after")?"left":"right",Ee=Ye=="after"?Re.begin:Re.end-(/\s/.test(re.text.charAt(Re.end-1))?2:1);return Ae(Ee,Pe)[Pe]}var at=gt(re,i.direction);return ur(at,$||0,oe==null?fe:oe,function(Fe,lt,Ye,Re){var Pe=Ye=="ltr",Ee=Ae(Fe,Pe?"left":"right"),st=Ae(lt-1,Pe?"right":"left"),Kr=$==null&&Fe==0,ar=oe==null&<==fe,Je=Re==0,Wt=!at||Re==at.length-1;if(st.top-Ee.top<=3){var Xe=(u?Kr:ar)&&Je,uo=(u?ar:Kr)&&Wt,Yt=Xe?l:(Pe?Ee:st).left,br=uo?s:(Pe?st:Ee).right;h(Yt,Ee.top,br-Yt,Ee.bottom)}else{var xr,et,Xr,fo;Pe?(xr=u&&Kr&&Je?l:Ee.left,et=u?s:ht(Fe,Ye,"before"),Xr=u?l:ht(lt,Ye,"after"),fo=u&&ar&&Wt?s:st.right):(xr=u?ht(Fe,Ye,"before"):l,et=!u&&Kr&&Je?s:Ee.right,Xr=!u&&ar&&Wt?l:st.left,fo=u?ht(lt,Ye,"after"):s),h(xr,Ee.top,et-xr,Ee.bottom),Ee.bottom0?t.blinker=setInterval(function(){e.hasFocus()||Hr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ra(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||zi(e))}function Bi(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Hr(e))},100)}function zi(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(ke(e,"focus",e,t),e.state.focused=!0,Ce(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),C&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Ri(e))}function Hr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ke(e,"blur",e,t),e.state.focused=!1,ee(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function jn(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,a=0;a.005||y<-.005)&&(ie.display.sizerWidth){var E=Math.ceil(h/Dr(e.display));E>e.display.maxLineLength&&(e.display.maxLineLength=E,e.display.maxLine=l.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function na(e){if(e.widgets)for(var t=0;t=a&&(o=Mt(t,Gt(te(t,s))-e.wrapper.clientHeight),a=s)}return{from:o,to:Math.max(a,o+1)}}function cs(e,t){if(!De(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null,o=n.wrapper.ownerDocument;if(t.top+r.top<0?i=!0:t.bottom+r.top>(o.defaultView.innerHeight||o.documentElement.clientHeight)&&(i=!1),i!=null&&!H){var a=d("div","\u200B",null,`position: absolute; top: `+(t.top-n.viewOffset-Yn(e.display))+`px; height: `+(t.bottom-t.top+Ht(e)+n.barHeight)+`px; - left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(i),e.display.lineSpace.removeChild(a)}}}function gs(e,t,n,r){r==null&&(r=0);var i;!e.options.lineWrapping&&t==n&&(n=t.sticky=="before"?v(t.line,t.ch+1,"before"):t,t=t.ch?v(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,l=wt(e,t),s=!n||n==t?l:wt(e,n);i={left:Math.min(l.left,s.left),top:Math.min(l.top,s.top)-r,right:Math.max(l.left,s.left),bottom:Math.max(l.bottom,s.bottom)+r};var u=_i(e,i),h=e.doc.scrollTop,c=e.doc.scrollLeft;if(u.scrollTop!=null&&(un(e,u.scrollTop),Math.abs(e.doc.scrollTop-h)>1&&(a=!0)),u.scrollLeft!=null&&(vr(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-c)>1&&(a=!0)),!a)break}return i}function ys(e,t){var n=_i(e,t);n.scrollTop!=null&&un(e,n.scrollTop),n.scrollLeft!=null&&vr(e,n.scrollLeft)}function _i(e,t){var n=e.display,r=Mr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:n.scroller.scrollTop,o=Ni(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var l=e.doc.height+Oi(n),s=t.topl-r;if(t.topi+o){var h=Math.min(t.top,(u?l:t.bottom)-o);h!=i&&(a.scrollTop=h)}var c=e.options.fixedGutter?0:n.gutters.offsetWidth,b=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:n.scroller.scrollLeft-c,y=hr(e)-n.gutters.offsetWidth,A=t.right-t.left>y;return A&&(t.right=t.left+y),t.left<10?a.scrollLeft=0:t.lefty+b-3&&(a.scrollLeft=t.right+(A?0:10)-y),a}function Gi(e,t){t!=null&&($n(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Er(e){$n(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function sn(e,t,n){(t!=null||n!=null)&&$n(e),t!=null&&(e.curOp.scrollLeft=t),n!=null&&(e.curOp.scrollTop=n)}function ms(e,t){$n(e),e.curOp.scrollToPos=t}function $n(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Jo(e,t.from),r=Jo(e,t.to);ia(e,n,r,t.margin)}}function ia(e,t,n,r){var i=_i(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});sn(e,i.scrollLeft,i.scrollTop)}function un(e,t){Math.abs(e.doc.scrollTop-t)<2||(I||Ki(e,{top:t}),oa(e,t,!0),I&&Ki(e),cn(e,100))}function oa(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function vr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r)&&(e.doc.scrollLeft=t,fa(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function fn(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Oi(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Ht(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var gr=function(e,t,n){this.cm=n;var r=this.vert=d("div",[d("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=d("div",[d("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),Z(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),Z(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,S&&x<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};gr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(r==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},gr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},gr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},gr.prototype.zeroWidthHack=function(){var e=z&&!D?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new ue,this.disableVert=new ue},gr.prototype.enableZeroWidthBar=function(e,t,n){e.style.visibility="";function r(){var i=e.getBoundingClientRect(),o=n=="vert"?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.visibility="hidden":t.set(1e3,r)}t.set(1e3,r)},gr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var hn=function(){};hn.prototype.update=function(){return{bottom:0,right:0}},hn.prototype.setScrollLeft=function(){},hn.prototype.setScrollTop=function(){},hn.prototype.clear=function(){};function Wr(e,t){t||(t=fn(e));var n=e.display.barWidth,r=e.display.barHeight;aa(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&jn(e),aa(e,fn(e)),n=e.display.barWidth,r=e.display.barHeight}function aa(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}var la={native:gr,null:hn};function sa(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&ee(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new la[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Z(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){n=="horizontal"?vr(e,t):un(e,t)},e),e.display.scrollbars.addClass&&Ce(e.display.wrapper,e.display.scrollbars.addClass)}var bs=0;function yr(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++bs,markArrays:null},Jl(e.curOp)}function mr(e){var t=e.curOp;t&&Vl(t,function(n){for(var r=0;r=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ei(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ss(e){e.updatedDisplay=e.mustUpdate&&Ui(e.cm,e.update)}function Cs(e){var t=e.cm,n=t.display;e.updatedDisplay&&jn(t),e.barMeasure=fn(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Go(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Ht(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-hr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function ks(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=en(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var a=o.styles,l=o.text.length>e.options.maxHighlightLength?Bt(t.mode,r.state):null,s=go(e,o,r,!0);l&&(r.state=l),o.styles=s.styles;var u=o.styleClasses,h=s.classes;h?o.styleClasses=h:u&&(o.styleClasses=null);for(var c=!a||a.length!=o.styles.length||u!=h&&(!u||!h||u.bgClass!=h.bgClass||u.textClass!=h.textClass),b=0;!c&&bn)return cn(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&ft(e,function(){for(var o=0;o=n.viewFrom&&t.visible.to<=n.viewTo&&(n.updateLineNumbers==null||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&ea(e)==0)return!1;ha(e)&&(er(e),t.dims=Wi(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),_t&&(o=Ci(e.doc,o),a=Mo(e.doc,a));var l=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;ds(e,o,a),n.viewOffset=Gt(te(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var s=ea(e);if(!l&&s==0&&!t.force&&n.renderedView==n.view&&(n.updateLineNumbers==null||n.updateLineNumbers>=n.viewTo))return!1;var u=Ns(e);return s>4&&(n.lineDiv.style.display="none"),Ms(e,n.updateLineNumbers,t.dims),s>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,As(u),T(n.cursorDiv),T(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,l&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,cn(e,400)),n.updateLineNumbers=null,!0}function ua(e,t){for(var n=t.viewport,r=!0;;r=!1){if(!r||!e.options.lineWrapping||t.oldDisplayWidth==hr(e)){if(n&&n.top!=null&&(n={top:Math.min(e.doc.height+Oi(e.display)-Ni(e),n.top)}),t.visible=Vn(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else r&&(t.visible=Vn(e.display,e.doc,n));if(!Ui(e,t))break;jn(e);var i=fn(e);ln(e),Wr(e,i),Yi(e,i),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ki(e,t){var n=new ei(e,t);if(Ui(e,n)){jn(e),ua(e,n);var r=fn(e);ln(e),Wr(e,r),Yi(e,r),n.finish()}}function Ms(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function l(A){var E=A.nextSibling;return C&&z&&e.display.currentWheelTarget==A?A.style.display="none":A.parentNode.removeChild(A),E}for(var s=r.view,u=r.viewFrom,h=0;h-1&&(y=!1),Fo(e,c,u,n)),y&&(T(c.lineNumber),c.lineNumber.appendChild(document.createTextNode(p(e.options,u)))),a=c.node.nextSibling}u+=c.size}for(;a;)a=l(a)}function Xi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",_e(e,"gutterChanged",e)}function Yi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Ht(e)+"px"}function fa(e){var t=e.display,n=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var r=Fi(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a=105&&(i.wrapper.style.clipPath="inset(0px)"),i.wrapper.setAttribute("translate","no"),S&&x<8&&(i.gutters.style.zIndex=-1,i.scroller.style.paddingRight=0),!C&&!(I&&B)&&(i.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(i.wrapper):e(i.wrapper)),i.viewFrom=i.viewTo=t.first,i.reportedViewFrom=i.reportedViewTo=t.first,i.view=[],i.renderedView=null,i.externalMeasured=null,i.viewOffset=0,i.lastWrapHeight=i.lastWrapWidth=0,i.updateLineNumbers=null,i.nativeBarWidth=i.barHeight=i.barWidth=0,i.scrollbarsClipped=!1,i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null,i.alignWidgets=!1,i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null,i.maxLine=null,i.maxLineLength=0,i.maxLineChanged=!1,i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null,i.shift=!1,i.selForContextMenu=null,i.activeTouch=null,i.gutterSpecs=qi(r.gutters,r.lineNumbers),ca(i),n.init(i)}var ti=0,Kt=null;S?Kt=-.53:I?Kt=15:P?Kt=-.7:R&&(Kt=-1/3);function da(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),n==null&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:n==null&&(n=e.wheelDelta),{x:t,y:n}}function Hs(e){var t=da(e);return t.x*=Kt,t.y*=Kt,t}function pa(e,t){P&&j==102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var n=da(t),r=n.x,i=n.y,o=Kt;t.deltaMode===0&&(r=t.deltaX,i=t.deltaY,o=1);var a=e.display,l=a.scroller,s=l.scrollWidth>l.clientWidth,u=l.scrollHeight>l.clientHeight;if(!!(r&&s||i&&u)){if(i&&z&&C){e:for(var h=t.target,c=a.view;h!=l;h=h.parentNode)for(var b=0;b=0&&N(e,r.to())<=0)return n}return-1};var ye=function(e,t){this.anchor=e,this.head=t};ye.prototype.from=function(){return Ie(this.anchor,this.head)},ye.prototype.to=function(){return ve(this.anchor,this.head)},ye.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function St(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort(function(b,y){return N(b.from(),y.from())}),n=de(t,i);for(var o=1;o0:s>=0){var u=Ie(l.from(),a.from()),h=ve(l.to(),a.to()),c=l.empty()?a.from()==a.head:l.from()==l.head;o<=n&&--n,t.splice(--o,2,new ye(c?h:u,c?u:h))}}return new dt(t,n)}function tr(e,t){return new dt([new ye(e,t||e)],0)}function rr(e){return e.text?v(e.from.line+e.text.length-1,pe(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function va(e,t){if(N(e,t.from)<0)return e;if(N(e,t.to)<=0)return rr(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=rr(t).ch-t.to.ch),v(n,r)}function Zi(e,t){for(var n=[],r=0;r1&&e.remove(l.line+1,A-1),e.insert(l.line+1,X)}_e(e,"change",e,t)}function nr(e,t,n){function r(i,o,a){if(i.linked)for(var l=0;l1&&!e.done[e.done.length-2].ranges)return e.done.pop(),pe(e.done)}function wa(e,t,n,r){var i=e.history;i.undone.length=0;var o=+new Date,a,l;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&i.lastModTime>o-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(a=Fs(i,i.lastOp==r)))l=pe(a.changes),N(t.from,t.to)==0&&N(t.from,l.to)==0?l.to=rr(t):a.changes.push(ji(e,t));else{var s=pe(i.done);for((!s||!s.ranges)&&ni(e.sel,i.done),a={changes:[ji(e,t)],generation:i.generation},i.done.push(a);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=o,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,l||ke(e,"historyAdded")}function Ps(e,t,n,r){var i=t.charAt(0);return i=="*"||i=="+"&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Is(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Ps(e,o,pe(i.done),t))?i.done[i.done.length-1]=t:ni(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&r.clearRedo!==!1&&xa(i.undone)}function ni(e,t){var n=pe(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Sa(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(a){a.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=a.markedSpans),++o})}function Rs(e){if(!e)return null;for(var t,n=0;n-1&&(pe(l)[c]=u[c],delete u[c])}}return r}function Vi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=N(t,i)<0;o!=N(n,i)<0?(i=t,t=n):o!=N(t,n)<0&&(t=n)}return new ye(i,t)}else return new ye(n||t,t)}function ii(e,t,n,r,i){i==null&&(i=e.cm&&(e.cm.display.shift||e.extend)),Qe(e,new dt([Vi(e.sel.primary(),t,n,i)],0),r)}function ka(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:l.to>t.ch))){if(i&&(ke(s,"beforeCursorEnter"),s.explicitlyCleared))if(o.markedSpans){--a;continue}else break;if(!s.atomic)continue;if(n){var c=s.find(r<0?1:-1),b=void 0;if((r<0?h:u)&&(c=Ma(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(b=N(c,n))&&(r<0?b<0:b>0))return Pr(e,c,t,r,i)}var y=s.find(r<0?-1:1);return(r<0?u:h)&&(y=Ma(e,y,r,y.line==t.line?o:null)),y?Pr(e,y,t,r,i):null}}return t}function ai(e,t,n,r,i){var o=r||1,a=Pr(e,t,n,o,i)||!i&&Pr(e,t,n,o,!0)||Pr(e,t,n,-o,i)||!i&&Pr(e,t,n,-o,!0);return a||(e.cantEdit=!0,v(e.first,0))}function Ma(e,t,n,r){return n<0&&t.ch==0?t.line>e.first?se(e,v(t.line-1)):null:n>0&&t.ch==(r||te(e,t.line)).text.length?t.line=0;--i)Ea(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Ea(e,t)}}function Ea(e,t){if(!(t.text.length==1&&t.text[0]==""&&N(t.from,t.to)==0)){var n=Zi(e,t);wa(e,t,n,e.cm?e.cm.curOp.id:NaN),vn(e,t,n,wi(e,t));var r=[];nr(e,function(i,o){!o&&de(r,i.history)==-1&&(Ia(i.history,t),r.push(i.history)),vn(i,t,null,wi(i,t))})}}function li(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!(r&&!n)){for(var i=e.history,o,a=e.sel,l=t=="undo"?i.done:i.undone,s=t=="undo"?i.undone:i.done,u=0;u=0;--y){var A=b(y);if(A)return A.v}}}}function Wa(e,t){if(t!=0&&(e.first+=t,e.sel=new dt(wr(e.sel.ranges,function(i){return new ye(v(i.anchor.line+t,i.anchor.ch),v(i.head.line+t,i.head.ch))}),e.sel.primIndex),e.cm)){it(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:v(o,te(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=zt(e,t.from,t.to),n||(n=Zi(e,t)),e.cm?_s(e.cm,t,r):Ji(e,t,r),oi(e,n,Ne),e.cantEdit&&ai(e,v(e.firstLine(),0))&&(e.cantEdit=!1)}}function _s(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,l=!1,s=o.line;e.options.lineWrapping||(s=ge(xt(te(r,o.line))),r.iter(s,a.line+1,function(y){if(y==i.maxLine)return l=!0,!0})),r.sel.contains(t.from,t.to)>-1&&Wn(e),Ji(r,t,n,$o(e)),e.options.lineWrapping||(r.iter(s,o.line+t.text.length,function(y){var A=Kn(y);A>i.maxLineLength&&(i.maxLine=y,i.maxLineLength=A,i.maxLineChanged=!0,l=!1)}),l&&(e.curOp.updateMaxLine=!0)),Ml(r,o.line),cn(e,400);var u=t.text.length-(a.line-o.line)-1;t.full?it(e):o.line==a.line&&t.text.length==1&&!ya(e.doc,t)?$t(e,o.line,"text"):it(e,o.line,a.line+1,u);var h=je(e,"changes"),c=je(e,"change");if(c||h){var b={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};c&&_e(e,"change",e,b),h&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(b)}e.display.selForContextMenu=null}function Rr(e,t,n,r,i){var o;r||(r=n),N(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),typeof t=="string"&&(t=e.splitLines(t)),Ir(e,{from:n,to:r,text:t,origin:i})}function Fa(e,t,n,r){n1||!(this.children[0]instanceof yn))){var l=[];this.collapse(l),this.children=[new yn(l)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,l=a;l10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;re.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=h,e.display.maxLineChanged=!0)}r!=null&&e&&this.collapsed&&it(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Na(e.doc)),e&&_e(e,"markerCleared",e,this,r,i),t&&mr(e),this.parent&&this.parent.clear()}},ir.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var n,r,i=0;i0||a==0&&o.clearWhenEmpty!==!1)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=ce("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Ao(e,t.line,t,n,o)||t.line!=n.line&&Ao(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Hl()}o.addToHistory&&wa(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l=t.line,s=e.cm,u;if(e.iter(l,n.line+1,function(c){s&&o.collapsed&&!s.options.lineWrapping&&xt(c)==s.display.maxLine&&(u=!0),o.collapsed&&l!=t.line&&mt(c,0),Wl(c,new zn(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(c){Vt(e,c)&&mt(c,0)}),o.clearOnEnter&&Z(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(Dl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++Ba,o.atomic=!0),s){if(u&&(s.curOp.updateMaxLine=!0),o.collapsed)it(s,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var h=t.line;h<=n.line;h++)$t(s,h,"text");o.atomic&&Na(s.doc),_e(s,"markerAdded",s,o)}return o}var xn=function(e,t){this.markers=e,this.primary=t;for(var n=0;n=0;s--)Ir(this,r[s]);l?Ta(this,l):this.cm&&Er(this.cm)}),undo:Ue(function(){li(this,"undo")}),redo:Ue(function(){li(this,"redo")}),undoSelection:Ue(function(){li(this,"undo",!0)}),redoSelection:Ue(function(){li(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=se(this,e),t=se(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var l=0;l=s.to||s.from==null&&i!=e.line||s.from!=null&&i==t.line&&s.from>=t.ch)&&(!n||n(s.marker))&&r.push(s.marker.parent||s.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n}),se(this,v(n,t))},indexFromPos:function(e){e=se(this,e);var t=e.ch;if(e.linet&&(t=e.from),e.to!=null&&e.to-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var h=e.dataTransfer.getData("Text");if(h){var c;if(t.state.draggingText&&!t.state.draggingText.copy&&(c=t.listSelections()),oi(t.doc,tr(n,n)),c)for(var b=0;b=0;l--)Rr(e.doc,"",r[l].from,r[l].to,"+delete");Er(e)})}function eo(e,t,n){var r=Tt(e.text,t+n,n);return r<0||r>e.text.length?null:r}function to(e,t,n){var r=eo(e,t.ch,n);return r==null?null:new v(t.line,r,n<0?"after":"before")}function ro(e,t,n,r,i){if(e){t.doc.direction=="rtl"&&(i=-i);var o=gt(n,t.doc.direction);if(o){var a=i<0?pe(o):o[0],l=i<0==(a.level==1),s=l?"after":"before",u;if(a.level>0||t.doc.direction=="rtl"){var h=Ar(t,n);u=i<0?n.text.length-1:0;var c=Et(t,h,u).top;u=Me(function(b){return Et(t,h,b).top==c},i<0==(a.level==1)?a.from:a.to-1,u),s=="before"&&(u=eo(n,u,1))}else u=i<0?a.to:a.from;return new v(r,u,s)}}return new v(r,i<0?n.text.length:0,i<0?"before":"after")}function tu(e,t,n,r){var i=gt(t,e.doc.direction);if(!i)return to(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=vt(i,n.ch,n.sticky),a=i[o];if(e.doc.direction=="ltr"&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&b>=h.begin)){var y=c?"before":"after";return new v(n.line,b,y)}}var A=function(X,J,Y){for(var $=function(Se,Ke){return Ke?new v(n.line,l(Se,1),"before"):new v(n.line,Se,"after")};X>=0&&X0==(oe.level!=1),fe=re?Y.begin:l(Y.end,-1);if(oe.from<=fe&&fe0?h.end:l(h.begin,-1);return _!=null&&!(r>0&&_==t.text.length)&&(E=A(r>0?0:i.length-1,r,u(_)),E)?E:null}var Cn={selectAll:Da,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ne)},killLine:function(e){return _r(e,function(t){if(t.empty()){var n=te(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new v(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),v(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=te(e.doc,i.line-1).text;a&&(i=new v(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),v(i.line-1,a.length-1),i,"+transpose"))}}n.push(new ye(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return ft(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;re&&N(t,this.pos)==0&&n==this.button};var Ln,Tn;function su(e,t){var n=+new Date;return Tn&&Tn.compare(n,e,t)?(Ln=Tn=null,"triple"):Ln&&Ln.compare(n,e,t)?(Tn=new io(n,e,t),Ln=null,"double"):(Ln=new io(n,e,t),Tn=null,"single")}function tl(e){var t=this,n=t.display;if(!(De(t,e)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=e.shiftKey,Ut(n,e)){C||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100));return}if(!oo(t,e)){var r=dr(t,e),i=jr(e),o=r?su(r,i):"single";Pt(t).focus(),i==1&&t.state.selectingText&&t.state.selectingText(e),!(r&&uu(t,i,r,o,e))&&(i==1?r?hu(t,r,o,e):nt(e)==n.scroller&&Ze(e):i==2?(r&&ii(t.doc,r),setTimeout(function(){return n.input.focus()},20)):i==3&&(ne?t.display.input.onContextMenu(e):Bi(t)))}}}function uu(e,t,n,r,i){var o="Click";return r=="double"?o="Double"+o:r=="triple"&&(o="Triple"+o),o=(t==1?"Left":t==2?"Middle":"Right")+o,kn(e,Ya(o,i),i,function(a){if(typeof a=="string"&&(a=Cn[a]),!a)return!1;var l=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),l=a(e,n)!=xe}finally{e.state.suppressEdits=!1}return l})}function fu(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(i.unit==null){var o=q?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(i.extend==null||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),i.addNew==null&&(i.addNew=z?n.metaKey:n.ctrlKey),i.moveOnDrag==null&&(i.moveOnDrag=!(z?n.altKey:n.ctrlKey)),i}function hu(e,t,n,r){S?setTimeout(rt(ra,e),0):e.curOp.focus=we(ze(e));var i=fu(e,n,r),o=e.doc.sel,a;e.options.dragDrop&&yi&&!e.isReadOnly()&&n=="single"&&(a=o.contains(t))>-1&&(N((a=o.ranges[a]).from(),t)<0||t.xRel>0)&&(N(a.to(),t)>0||t.xRel<0)?cu(e,r,t,i):du(e,r,t,i)}function cu(e,t,n,r){var i=e.display,o=!1,a=Ge(e,function(u){C&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Bi(e)),qe(i.wrapper.ownerDocument,"mouseup",a),qe(i.wrapper.ownerDocument,"mousemove",l),qe(i.scroller,"dragstart",s),qe(i.scroller,"drop",a),o||(Ze(u),r.addNew||ii(e.doc,n,null,null,r.extend),C&&!R||S&&x==9?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()},20):i.input.focus())}),l=function(u){o=o||Math.abs(t.clientX-u.clientX)+Math.abs(t.clientY-u.clientY)>=10},s=function(){return o=!0};C&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=!r.moveOnDrag,Z(i.wrapper.ownerDocument,"mouseup",a),Z(i.wrapper.ownerDocument,"mousemove",l),Z(i.scroller,"dragstart",s),Z(i.scroller,"drop",a),e.state.delayingBlurEvent=!0,setTimeout(function(){return i.input.focus()},20),i.scroller.dragDrop&&i.scroller.dragDrop()}function rl(e,t,n){if(n=="char")return new ye(t,t);if(n=="word")return e.findWordAt(t);if(n=="line")return new ye(v(t.line,0),se(e.doc,v(t.line+1,0)));var r=n(e,t);return new ye(r.from,r.to)}function du(e,t,n,r){S&&Bi(e);var i=e.display,o=e.doc;Ze(t);var a,l,s=o.sel,u=s.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),l>-1?a=u[l]:a=new ye(n,n)):(a=o.sel.primary(),l=o.sel.primIndex),r.unit=="rectangle")r.addNew||(a=new ye(n,n)),n=dr(e,t,!0,!0),l=-1;else{var h=rl(e,n,r.unit);r.extend?a=Vi(a,h.anchor,h.head,r.extend):a=h}r.addNew?l==-1?(l=u.length,Qe(o,St(e,u.concat([a]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&r.unit=="char"&&!r.extend?(Qe(o,St(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),s=o.sel):$i(o,l,a,sr):(l=0,Qe(o,new dt([a],0),sr),s=o.sel);var c=n;function b(Y){if(N(c,Y)!=0)if(c=Y,r.unit=="rectangle"){for(var $=[],oe=e.options.tabSize,re=ie(te(o,n.line).text,n.ch,oe),fe=ie(te(o,Y.line).text,Y.ch,oe),Se=Math.min(re,fe),Ke=Math.max(re,fe),Ae=Math.min(n.line,Y.line),ht=Math.min(e.lastLine(),Math.max(n.line,Y.line));Ae<=ht;Ae++){var at=te(o,Ae).text,Fe=kt(at,Se,oe);Se==Ke?$.push(new ye(v(Ae,Fe),v(Ae,Fe))):at.length>Fe&&$.push(new ye(v(Ae,Fe),v(Ae,kt(at,Ke,oe))))}$.length||$.push(new ye(n,n)),Qe(o,St(e,s.ranges.slice(0,l).concat($),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Y)}else{var lt=a,Ye=rl(e,Y,r.unit),Re=lt.anchor,Pe;N(Ye.anchor,Re)>0?(Pe=Ye.head,Re=Ie(lt.from(),Ye.anchor)):(Pe=Ye.anchor,Re=ve(lt.to(),Ye.head));var Ee=s.ranges.slice(0);Ee[l]=pu(e,new ye(se(o,Re),Pe)),Qe(o,St(e,Ee,l),sr)}}var y=i.wrapper.getBoundingClientRect(),A=0;function E(Y){var $=++A,oe=dr(e,Y,!0,r.unit=="rectangle");if(!!oe)if(N(oe,c)!=0){e.curOp.focus=we(ze(e)),b(oe);var re=Vn(i,o);(oe.line>=re.to||oe.liney.bottom?20:0;fe&&setTimeout(Ge(e,function(){A==$&&(i.scroller.scrollTop+=fe,E(Y))}),50)}}function _(Y){e.state.selectingText=!1,A=1/0,Y&&(Ze(Y),i.input.focus()),qe(i.wrapper.ownerDocument,"mousemove",X),qe(i.wrapper.ownerDocument,"mouseup",J),o.history.lastSelOrigin=null}var X=Ge(e,function(Y){Y.buttons===0||!jr(Y)?_(Y):E(Y)}),J=Ge(e,_);e.state.selectingText=J,Z(i.wrapper.ownerDocument,"mousemove",X),Z(i.wrapper.ownerDocument,"mouseup",J)}function pu(e,t){var n=t.anchor,r=t.head,i=te(e.doc,n.line);if(N(n,r)==0&&n.sticky==r.sticky)return t;var o=gt(i);if(!o)return t;var a=vt(o,n.ch,n.sticky),l=o[a];if(l.from!=n.ch&&l.to!=n.ch)return t;var s=a+(l.from==n.ch==(l.level!=1)?0:1);if(s==0||s==o.length)return t;var u;if(r.line!=n.line)u=(r.line-n.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var h=vt(o,r.ch,r.sticky),c=h-a||(r.ch-n.ch)*(l.level==1?-1:1);h==s-1||h==s?u=c<0:u=c>0}var b=o[s+(u?-1:0)],y=u==(b.level==1),A=y?b.from:b.to,E=y?"after":"before";return n.ch==A&&n.sticky==E?t:new ye(new v(n.line,A,E),r)}function nl(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch{return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ze(t);var a=e.display,l=a.lineDiv.getBoundingClientRect();if(o>l.bottom||!je(e,n))return Jr(t);o-=l.top-a.viewOffset;for(var s=0;s=i){var h=Mt(e.doc,o),c=e.display.gutterSpecs[s];return ke(e,n,e,h,c.className,t),Jr(t)}}}function oo(e,t){return nl(e,t,"gutterClick",!0)}function il(e,t){Ut(e.display,t)||vu(e,t)||De(e,t,"contextmenu")||ne||e.display.input.onContextMenu(t)}function vu(e,t){return je(e,"gutterContextMenu")?nl(e,t,"gutterContextMenu",!1):!1}function ol(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),an(e)}var Gr={toString:function(){return"CodeMirror.Init"}},al={},hi={};function gu(e){var t=e.optionHandlers;function n(r,i,o,a){e.defaults[r]=i,o&&(t[r]=a?function(l,s,u){u!=Gr&&o(l,s,u)}:o)}e.defineOption=n,e.Init=Gr,n("value","",function(r,i){return r.setValue(i)},!0),n("mode",null,function(r,i){r.doc.modeOption=i,Qi(r)},!0),n("indentUnit",2,Qi,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(r){pn(r),an(r),it(r)},!0),n("lineSeparator",null,function(r,i){if(r.doc.lineSep=i,!!i){var o=[],a=r.doc.first;r.doc.iter(function(s){for(var u=0;;){var h=s.text.indexOf(i,u);if(h==-1)break;u=h+i.length,o.push(v(a,h))}a++});for(var l=o.length-1;l>=0;l--)Rr(r.doc,i,o[l],v(o[l].line,o[l].ch+i.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(r,i,o){r.state.specialChars=new RegExp(i.source+(i.test(" ")?"":"| "),"g"),o!=Gr&&r.refresh()}),n("specialCharPlaceholder",Xl,function(r){return r.refresh()},!0),n("electricChars",!0),n("inputStyle",B?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(r,i){return r.getInputField().spellcheck=i},!0),n("autocorrect",!1,function(r,i){return r.getInputField().autocorrect=i},!0),n("autocapitalize",!1,function(r,i){return r.getInputField().autocapitalize=i},!0),n("rtlMoveVisually",!Q),n("wholeLineUpdateBefore",!0),n("theme","default",function(r){ol(r),dn(r)},!0),n("keyMap","default",function(r,i,o){var a=ui(i),l=o!=Gr&&ui(o);l&&l.detach&&l.detach(r,a),a.attach&&a.attach(r,l||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,mu,!0),n("gutters",[],function(r,i){r.display.gutterSpecs=qi(i,r.options.lineNumbers),dn(r)},!0),n("fixedGutter",!0,function(r,i){r.display.gutters.style.left=i?Fi(r.display)+"px":"0",r.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(r){return Wr(r)},!0),n("scrollbarStyle","native",function(r){sa(r),Wr(r),r.display.scrollbars.setScrollTop(r.doc.scrollTop),r.display.scrollbars.setScrollLeft(r.doc.scrollLeft)},!0),n("lineNumbers",!1,function(r,i){r.display.gutterSpecs=qi(r.options.gutters,i),dn(r)},!0),n("firstLineNumber",1,dn,!0),n("lineNumberFormatter",function(r){return r},dn,!0),n("showCursorWhenSelecting",!1,ln,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,function(r,i){i=="nocursor"&&(Hr(r),r.display.input.blur()),r.display.input.readOnlyChanged(i)}),n("screenReaderLabel",null,function(r,i){i=i===""?null:i,r.display.input.screenReaderLabelChanged(i)}),n("disableInput",!1,function(r,i){i||r.display.input.reset()},!0),n("dragDrop",!0,yu),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,ln,!0),n("singleCursorHeightPerLine",!0,ln,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,pn,!0),n("addModeClass",!1,pn,!0),n("pollInterval",100),n("undoDepth",200,function(r,i){return r.doc.history.undoDepth=i}),n("historyEventDelay",1250),n("viewportMargin",10,function(r){return r.refresh()},!0),n("maxHighlightLength",1e4,pn,!0),n("moveInputWithCursor",!0,function(r,i){i||r.display.input.resetPosition()}),n("tabindex",null,function(r,i){return r.display.input.getField().tabIndex=i||""}),n("autofocus",null),n("direction","ltr",function(r,i){return r.doc.setDirection(i)},!0),n("phrases",null)}function yu(e,t,n){var r=n&&n!=Gr;if(!t!=!r){var i=e.display.dragFunctions,o=t?Z:qe;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function mu(e){e.options.lineWrapping?(Ce(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(ee(e.display.wrapper,"CodeMirror-wrap"),Li(e)),Pi(e),it(e),an(e),setTimeout(function(){return Wr(e)},100)}function Te(e,t){var n=this;if(!(this instanceof Te))return new Te(e,t);this.options=t=t?ae(t):{},ae(al,t,!1);var r=t.value;typeof r=="string"?r=new ot(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Te.inputStyles[t.inputStyle](this),o=this.display=new Ds(e,r,i,t);o.wrapper.CodeMirror=this,ol(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),sa(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ue,keySeq:null,specialChars:null},t.autofocus&&!B&&o.input.focus(),S&&x<11&&setTimeout(function(){return n.display.input.reset(!0)},20),bu(this),Js(),yr(this),this.curOp.forceUpdate=!0,ma(this,r),t.autofocus&&!B||this.hasFocus()?setTimeout(function(){n.hasFocus()&&!n.state.focused&&zi(n)},20):Hr(this);for(var a in hi)hi.hasOwnProperty(a)&&hi[a](this,t[a],Gr);ha(this),t.finishInit&&t.finishInit(this);for(var l=0;l20*20}Z(t.scroller,"touchstart",function(s){if(!De(e,s)&&!o(s)&&!oo(e,s)){t.input.ensurePolled(),clearTimeout(n);var u=+new Date;t.activeTouch={start:u,moved:!1,prev:u-r.end<=300?r:null},s.touches.length==1&&(t.activeTouch.left=s.touches[0].pageX,t.activeTouch.top=s.touches[0].pageY)}}),Z(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),Z(t.scroller,"touchend",function(s){var u=t.activeTouch;if(u&&!Ut(t,s)&&u.left!=null&&!u.moved&&new Date-u.start<300){var h=e.coordsChar(t.activeTouch,"page"),c;!u.prev||a(u,u.prev)?c=new ye(h,h):!u.prev.prev||a(u,u.prev.prev)?c=e.findWordAt(h):c=new ye(v(h.line,0),se(e.doc,v(h.line+1,0))),e.setSelection(c.anchor,c.head),e.focus(),Ze(s)}i()}),Z(t.scroller,"touchcancel",i),Z(t.scroller,"scroll",function(){t.scroller.clientHeight&&(un(e,t.scroller.scrollTop),vr(e,t.scroller.scrollLeft,!0),ke(e,"scroll",e))}),Z(t.scroller,"mousewheel",function(s){return pa(e,s)}),Z(t.scroller,"DOMMouseScroll",function(s){return pa(e,s)}),Z(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(s){De(e,s)||It(s)},over:function(s){De(e,s)||(Qs(e,s),It(s))},start:function(s){return Zs(e,s)},drop:Ge(e,qs),leave:function(s){De(e,s)||Ga(e)}};var l=t.input.getField();Z(l,"keyup",function(s){return $a.call(e,s)}),Z(l,"keydown",Ge(e,Va)),Z(l,"keypress",Ge(e,el)),Z(l,"focus",function(s){return zi(e,s)}),Z(l,"blur",function(s){return Hr(e,s)})}var ao=[];Te.defineInitHook=function(e){return ao.push(e)};function On(e,t,n,r){var i=e.doc,o;n==null&&(n="add"),n=="smart"&&(i.mode.indent?o=en(e,t).state:n="prev");var a=e.options.tabSize,l=te(i,t),s=ie(l.text,null,a);l.stateAfter&&(l.stateAfter=null);var u=l.text.match(/^\s*/)[0],h;if(!r&&!/\S/.test(l.text))h=0,n="not";else if(n=="smart"&&(h=i.mode.indent(o,l.text.slice(u.length),l.text),h==xe||h>150)){if(!r)return;n="prev"}n=="prev"?t>i.first?h=ie(te(i,t-1).text,null,a):h=0:n=="add"?h=s+e.options.indentUnit:n=="subtract"?h=s-e.options.indentUnit:typeof n=="number"&&(h=s+n),h=Math.max(0,h);var c="",b=0;if(e.options.indentWithTabs)for(var y=Math.floor(h/a);y;--y)b+=a,c+=" ";if(ba,s=Vr(t),u=null;if(l&&r.ranges.length>1)if(Ct&&Ct.text.join(` + left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(i),e.display.lineSpace.removeChild(a)}}}function ds(e,t,n,r){r==null&&(r=0);var i;!e.options.lineWrapping&&t==n&&(n=t.sticky=="before"?v(t.line,t.ch+1,"before"):t,t=t.ch?v(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,l=wt(e,t),s=!n||n==t?l:wt(e,n);i={left:Math.min(l.left,s.left),top:Math.min(l.top,s.top)-r,right:Math.max(l.left,s.left),bottom:Math.max(l.bottom,s.bottom)+r};var u=_i(e,i),h=e.doc.scrollTop,c=e.doc.scrollLeft;if(u.scrollTop!=null&&(un(e,u.scrollTop),Math.abs(e.doc.scrollTop-h)>1&&(a=!0)),u.scrollLeft!=null&&(vr(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-c)>1&&(a=!0)),!a)break}return i}function ps(e,t){var n=_i(e,t);n.scrollTop!=null&&un(e,n.scrollTop),n.scrollLeft!=null&&vr(e,n.scrollLeft)}function _i(e,t){var n=e.display,r=Mr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:n.scroller.scrollTop,o=Ni(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var l=e.doc.height+Oi(n),s=t.topl-r;if(t.topi+o){var h=Math.min(t.top,(u?l:t.bottom)-o);h!=i&&(a.scrollTop=h)}var c=e.options.fixedGutter?0:n.gutters.offsetWidth,b=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:n.scroller.scrollLeft-c,y=hr(e)-n.gutters.offsetWidth,A=t.right-t.left>y;return A&&(t.right=t.left+y),t.left<10?a.scrollLeft=0:t.lefty+b-3&&(a.scrollLeft=t.right+(A?0:10)-y),a}function Gi(e,t){t!=null&&($n(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Er(e){$n(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function sn(e,t,n){(t!=null||n!=null)&&$n(e),t!=null&&(e.curOp.scrollLeft=t),n!=null&&(e.curOp.scrollTop=n)}function vs(e,t){$n(e),e.curOp.scrollToPos=t}function $n(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Jo(e,t.from),r=Jo(e,t.to);ia(e,n,r,t.margin)}}function ia(e,t,n,r){var i=_i(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});sn(e,i.scrollLeft,i.scrollTop)}function un(e,t){Math.abs(e.doc.scrollTop-t)<2||(I||Ki(e,{top:t}),oa(e,t,!0),I&&Ki(e),cn(e,100))}function oa(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function vr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r)&&(e.doc.scrollLeft=t,fa(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function fn(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Oi(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Ht(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var gr=function(e,t,n){this.cm=n;var r=this.vert=d("div",[d("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=d("div",[d("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),Z(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),Z(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,S&&x<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};gr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(r==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},gr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},gr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},gr.prototype.zeroWidthHack=function(){var e=z&&!D?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new ue,this.disableVert=new ue},gr.prototype.enableZeroWidthBar=function(e,t,n){e.style.visibility="";function r(){var i=e.getBoundingClientRect(),o=n=="vert"?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.visibility="hidden":t.set(1e3,r)}t.set(1e3,r)},gr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var hn=function(){};hn.prototype.update=function(){return{bottom:0,right:0}},hn.prototype.setScrollLeft=function(){},hn.prototype.setScrollTop=function(){},hn.prototype.clear=function(){};function Wr(e,t){t||(t=fn(e));var n=e.display.barWidth,r=e.display.barHeight;aa(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&jn(e),aa(e,fn(e)),n=e.display.barWidth,r=e.display.barHeight}function aa(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}var la={native:gr,null:hn};function sa(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&ee(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new la[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Z(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){n=="horizontal"?vr(e,t):un(e,t)},e),e.display.scrollbars.addClass&&Ce(e.display.wrapper,e.display.scrollbars.addClass)}var gs=0;function yr(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++gs,markArrays:null},ql(e.curOp)}function mr(e){var t=e.curOp;t&&Ql(t,function(n){for(var r=0;r=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ei(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function bs(e){e.updatedDisplay=e.mustUpdate&&Ui(e.cm,e.update)}function xs(e){var t=e.cm,n=t.display;e.updatedDisplay&&jn(t),e.barMeasure=fn(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Go(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Ht(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-hr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function ws(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=en(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var a=o.styles,l=o.text.length>e.options.maxHighlightLength?Bt(t.mode,r.state):null,s=go(e,o,r,!0);l&&(r.state=l),o.styles=s.styles;var u=o.styleClasses,h=s.classes;h?o.styleClasses=h:u&&(o.styleClasses=null);for(var c=!a||a.length!=o.styles.length||u!=h&&(!u||!h||u.bgClass!=h.bgClass||u.textClass!=h.textClass),b=0;!c&&bn)return cn(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&ft(e,function(){for(var o=0;o=n.viewFrom&&t.visible.to<=n.viewTo&&(n.updateLineNumbers==null||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&ea(e)==0)return!1;ha(e)&&(er(e),t.dims=Wi(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),_t&&(o=Ci(e.doc,o),a=Mo(e.doc,a));var l=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;fs(e,o,a),n.viewOffset=Gt(te(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var s=ea(e);if(!l&&s==0&&!t.force&&n.renderedView==n.view&&(n.updateLineNumbers==null||n.updateLineNumbers>=n.viewTo))return!1;var u=Ls(e);return s>4&&(n.lineDiv.style.display="none"),Os(e,n.updateLineNumbers,t.dims),s>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Ts(u),T(n.cursorDiv),T(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,l&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,cn(e,400)),n.updateLineNumbers=null,!0}function ua(e,t){for(var n=t.viewport,r=!0;;r=!1){if(!r||!e.options.lineWrapping||t.oldDisplayWidth==hr(e)){if(n&&n.top!=null&&(n={top:Math.min(e.doc.height+Oi(e.display)-Ni(e),n.top)}),t.visible=Vn(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else r&&(t.visible=Vn(e.display,e.doc,n));if(!Ui(e,t))break;jn(e);var i=fn(e);ln(e),Wr(e,i),Yi(e,i),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ki(e,t){var n=new ei(e,t);if(Ui(e,n)){jn(e),ua(e,n);var r=fn(e);ln(e),Wr(e,r),Yi(e,r),n.finish()}}function Os(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function l(A){var E=A.nextSibling;return C&&z&&e.display.currentWheelTarget==A?A.style.display="none":A.parentNode.removeChild(A),E}for(var s=r.view,u=r.viewFrom,h=0;h-1&&(y=!1),Fo(e,c,u,n)),y&&(T(c.lineNumber),c.lineNumber.appendChild(document.createTextNode(p(e.options,u)))),a=c.node.nextSibling}u+=c.size}for(;a;)a=l(a)}function Xi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",_e(e,"gutterChanged",e)}function Yi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Ht(e)+"px"}function fa(e){var t=e.display,n=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var r=Fi(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a=105&&(i.wrapper.style.clipPath="inset(0px)"),i.wrapper.setAttribute("translate","no"),S&&x<8&&(i.gutters.style.zIndex=-1,i.scroller.style.paddingRight=0),!C&&!(I&&B)&&(i.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(i.wrapper):e(i.wrapper)),i.viewFrom=i.viewTo=t.first,i.reportedViewFrom=i.reportedViewTo=t.first,i.view=[],i.renderedView=null,i.externalMeasured=null,i.viewOffset=0,i.lastWrapHeight=i.lastWrapWidth=0,i.updateLineNumbers=null,i.nativeBarWidth=i.barHeight=i.barWidth=0,i.scrollbarsClipped=!1,i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null,i.alignWidgets=!1,i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null,i.maxLine=null,i.maxLineLength=0,i.maxLineChanged=!1,i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null,i.shift=!1,i.selForContextMenu=null,i.activeTouch=null,i.gutterSpecs=qi(r.gutters,r.lineNumbers),ca(i),n.init(i)}var ti=0,Kt=null;S?Kt=-.53:I?Kt=15:P?Kt=-.7:R&&(Kt=-1/3);function da(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),n==null&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:n==null&&(n=e.wheelDelta),{x:t,y:n}}function As(e){var t=da(e);return t.x*=Kt,t.y*=Kt,t}function pa(e,t){P&&j==102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var n=da(t),r=n.x,i=n.y,o=Kt;t.deltaMode===0&&(r=t.deltaX,i=t.deltaY,o=1);var a=e.display,l=a.scroller,s=l.scrollWidth>l.clientWidth,u=l.scrollHeight>l.clientHeight;if(!!(r&&s||i&&u)){if(i&&z&&C){e:for(var h=t.target,c=a.view;h!=l;h=h.parentNode)for(var b=0;b=0&&N(e,r.to())<=0)return n}return-1};var ye=function(e,t){this.anchor=e,this.head=t};ye.prototype.from=function(){return Ie(this.anchor,this.head)},ye.prototype.to=function(){return ve(this.anchor,this.head)},ye.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function St(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort(function(b,y){return N(b.from(),y.from())}),n=de(t,i);for(var o=1;o0:s>=0){var u=Ie(l.from(),a.from()),h=ve(l.to(),a.to()),c=l.empty()?a.from()==a.head:l.from()==l.head;o<=n&&--n,t.splice(--o,2,new ye(c?h:u,c?u:h))}}return new dt(t,n)}function tr(e,t){return new dt([new ye(e,t||e)],0)}function rr(e){return e.text?v(e.from.line+e.text.length-1,pe(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function va(e,t){if(N(e,t.from)<0)return e;if(N(e,t.to)<=0)return rr(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=rr(t).ch-t.to.ch),v(n,r)}function Zi(e,t){for(var n=[],r=0;r1&&e.remove(l.line+1,A-1),e.insert(l.line+1,X)}_e(e,"change",e,t)}function nr(e,t,n){function r(i,o,a){if(i.linked)for(var l=0;l1&&!e.done[e.done.length-2].ranges)return e.done.pop(),pe(e.done)}function wa(e,t,n,r){var i=e.history;i.undone.length=0;var o=+new Date,a,l;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&i.lastModTime>o-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(a=Hs(i,i.lastOp==r)))l=pe(a.changes),N(t.from,t.to)==0&&N(t.from,l.to)==0?l.to=rr(t):a.changes.push(ji(e,t));else{var s=pe(i.done);for((!s||!s.ranges)&&ni(e.sel,i.done),a={changes:[ji(e,t)],generation:i.generation},i.done.push(a);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=o,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,l||ke(e,"historyAdded")}function Es(e,t,n,r){var i=t.charAt(0);return i=="*"||i=="+"&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Ws(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Es(e,o,pe(i.done),t))?i.done[i.done.length-1]=t:ni(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&r.clearRedo!==!1&&xa(i.undone)}function ni(e,t){var n=pe(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Sa(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(a){a.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=a.markedSpans),++o})}function Fs(e){if(!e)return null;for(var t,n=0;n-1&&(pe(l)[c]=u[c],delete u[c])}}return r}function Vi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=N(t,i)<0;o!=N(n,i)<0?(i=t,t=n):o!=N(t,n)<0&&(t=n)}return new ye(i,t)}else return new ye(n||t,t)}function ii(e,t,n,r,i){i==null&&(i=e.cm&&(e.cm.display.shift||e.extend)),Qe(e,new dt([Vi(e.sel.primary(),t,n,i)],0),r)}function ka(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:l.to>t.ch))){if(i&&(ke(s,"beforeCursorEnter"),s.explicitlyCleared))if(o.markedSpans){--a;continue}else break;if(!s.atomic)continue;if(n){var c=s.find(r<0?1:-1),b=void 0;if((r<0?h:u)&&(c=Ma(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(b=N(c,n))&&(r<0?b<0:b>0))return Pr(e,c,t,r,i)}var y=s.find(r<0?-1:1);return(r<0?u:h)&&(y=Ma(e,y,r,y.line==t.line?o:null)),y?Pr(e,y,t,r,i):null}}return t}function ai(e,t,n,r,i){var o=r||1,a=Pr(e,t,n,o,i)||!i&&Pr(e,t,n,o,!0)||Pr(e,t,n,-o,i)||!i&&Pr(e,t,n,-o,!0);return a||(e.cantEdit=!0,v(e.first,0))}function Ma(e,t,n,r){return n<0&&t.ch==0?t.line>e.first?se(e,v(t.line-1)):null:n>0&&t.ch==(r||te(e,t.line)).text.length?t.line=0;--i)Ea(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Ea(e,t)}}function Ea(e,t){if(!(t.text.length==1&&t.text[0]==""&&N(t.from,t.to)==0)){var n=Zi(e,t);wa(e,t,n,e.cm?e.cm.curOp.id:NaN),vn(e,t,n,wi(e,t));var r=[];nr(e,function(i,o){!o&&de(r,i.history)==-1&&(Ia(i.history,t),r.push(i.history)),vn(i,t,null,wi(i,t))})}}function li(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!(r&&!n)){for(var i=e.history,o,a=e.sel,l=t=="undo"?i.done:i.undone,s=t=="undo"?i.undone:i.done,u=0;u=0;--y){var A=b(y);if(A)return A.v}}}}function Wa(e,t){if(t!=0&&(e.first+=t,e.sel=new dt(wr(e.sel.ranges,function(i){return new ye(v(i.anchor.line+t,i.anchor.ch),v(i.head.line+t,i.head.ch))}),e.sel.primIndex),e.cm)){it(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:v(o,te(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=zt(e,t.from,t.to),n||(n=Zi(e,t)),e.cm?Rs(e.cm,t,r):Ji(e,t,r),oi(e,n,Ne),e.cantEdit&&ai(e,v(e.firstLine(),0))&&(e.cantEdit=!1)}}function Rs(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,l=!1,s=o.line;e.options.lineWrapping||(s=ge(xt(te(r,o.line))),r.iter(s,a.line+1,function(y){if(y==i.maxLine)return l=!0,!0})),r.sel.contains(t.from,t.to)>-1&&Wn(e),Ji(r,t,n,$o(e)),e.options.lineWrapping||(r.iter(s,o.line+t.text.length,function(y){var A=Kn(y);A>i.maxLineLength&&(i.maxLine=y,i.maxLineLength=A,i.maxLineChanged=!0,l=!1)}),l&&(e.curOp.updateMaxLine=!0)),Ol(r,o.line),cn(e,400);var u=t.text.length-(a.line-o.line)-1;t.full?it(e):o.line==a.line&&t.text.length==1&&!ya(e.doc,t)?$t(e,o.line,"text"):it(e,o.line,a.line+1,u);var h=je(e,"changes"),c=je(e,"change");if(c||h){var b={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};c&&_e(e,"change",e,b),h&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(b)}e.display.selForContextMenu=null}function Rr(e,t,n,r,i){var o;r||(r=n),N(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),typeof t=="string"&&(t=e.splitLines(t)),Ir(e,{from:n,to:r,text:t,origin:i})}function Fa(e,t,n,r){n1||!(this.children[0]instanceof yn))){var l=[];this.collapse(l),this.children=[new yn(l)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,l=a;l10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;re.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=h,e.display.maxLineChanged=!0)}r!=null&&e&&this.collapsed&&it(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Na(e.doc)),e&&_e(e,"markerCleared",e,this,r,i),t&&mr(e),this.parent&&this.parent.clear()}},ir.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var n,r,i=0;i0||a==0&&o.clearWhenEmpty!==!1)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=ce("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Ao(e,t.line,t,n,o)||t.line!=n.line&&Ao(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Al()}o.addToHistory&&wa(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l=t.line,s=e.cm,u;if(e.iter(l,n.line+1,function(c){s&&o.collapsed&&!s.options.lineWrapping&&xt(c)==s.display.maxLine&&(u=!0),o.collapsed&&l!=t.line&&mt(c,0),Dl(c,new zn(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(c){Vt(e,c)&&mt(c,0)}),o.clearOnEnter&&Z(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(Nl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++Ba,o.atomic=!0),s){if(u&&(s.curOp.updateMaxLine=!0),o.collapsed)it(s,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var h=t.line;h<=n.line;h++)$t(s,h,"text");o.atomic&&Na(s.doc),_e(s,"markerAdded",s,o)}return o}var xn=function(e,t){this.markers=e,this.primary=t;for(var n=0;n=0;s--)Ir(this,r[s]);l?Ta(this,l):this.cm&&Er(this.cm)}),undo:Ue(function(){li(this,"undo")}),redo:Ue(function(){li(this,"redo")}),undoSelection:Ue(function(){li(this,"undo",!0)}),redoSelection:Ue(function(){li(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=se(this,e),t=se(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var l=0;l=s.to||s.from==null&&i!=e.line||s.from!=null&&i==t.line&&s.from>=t.ch)&&(!n||n(s.marker))&&r.push(s.marker.parent||s.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n}),se(this,v(n,t))},indexFromPos:function(e){e=se(this,e);var t=e.ch;if(e.linet&&(t=e.from),e.to!=null&&e.to-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var h=e.dataTransfer.getData("Text");if(h){var c;if(t.state.draggingText&&!t.state.draggingText.copy&&(c=t.listSelections()),oi(t.doc,tr(n,n)),c)for(var b=0;b=0;l--)Rr(e.doc,"",r[l].from,r[l].to,"+delete");Er(e)})}function eo(e,t,n){var r=Tt(e.text,t+n,n);return r<0||r>e.text.length?null:r}function to(e,t,n){var r=eo(e,t.ch,n);return r==null?null:new v(t.line,r,n<0?"after":"before")}function ro(e,t,n,r,i){if(e){t.doc.direction=="rtl"&&(i=-i);var o=gt(n,t.doc.direction);if(o){var a=i<0?pe(o):o[0],l=i<0==(a.level==1),s=l?"after":"before",u;if(a.level>0||t.doc.direction=="rtl"){var h=Ar(t,n);u=i<0?n.text.length-1:0;var c=Et(t,h,u).top;u=Me(function(b){return Et(t,h,b).top==c},i<0==(a.level==1)?a.from:a.to-1,u),s=="before"&&(u=eo(n,u,1))}else u=i<0?a.to:a.from;return new v(r,u,s)}}return new v(r,i<0?n.text.length:0,i<0?"before":"after")}function Vs(e,t,n,r){var i=gt(t,e.doc.direction);if(!i)return to(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=vt(i,n.ch,n.sticky),a=i[o];if(e.doc.direction=="ltr"&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&b>=h.begin)){var y=c?"before":"after";return new v(n.line,b,y)}}var A=function(X,J,Y){for(var $=function(Se,Ke){return Ke?new v(n.line,l(Se,1),"before"):new v(n.line,Se,"after")};X>=0&&X0==(oe.level!=1),fe=re?Y.begin:l(Y.end,-1);if(oe.from<=fe&&fe0?h.end:l(h.begin,-1);return _!=null&&!(r>0&&_==t.text.length)&&(E=A(r>0?0:i.length-1,r,u(_)),E)?E:null}var Cn={selectAll:Da,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ne)},killLine:function(e){return _r(e,function(t){if(t.empty()){var n=te(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new v(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),v(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=te(e.doc,i.line-1).text;a&&(i=new v(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),v(i.line-1,a.length-1),i,"+transpose"))}}n.push(new ye(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return ft(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;re&&N(t,this.pos)==0&&n==this.button};var Ln,Tn;function ou(e,t){var n=+new Date;return Tn&&Tn.compare(n,e,t)?(Ln=Tn=null,"triple"):Ln&&Ln.compare(n,e,t)?(Tn=new io(n,e,t),Ln=null,"double"):(Ln=new io(n,e,t),Tn=null,"single")}function tl(e){var t=this,n=t.display;if(!(De(t,e)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=e.shiftKey,Ut(n,e)){C||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100));return}if(!oo(t,e)){var r=dr(t,e),i=jr(e),o=r?ou(r,i):"single";Pt(t).focus(),i==1&&t.state.selectingText&&t.state.selectingText(e),!(r&&au(t,i,r,o,e))&&(i==1?r?su(t,r,o,e):nt(e)==n.scroller&&Ze(e):i==2?(r&&ii(t.doc,r),setTimeout(function(){return n.input.focus()},20)):i==3&&(ne?t.display.input.onContextMenu(e):Bi(t)))}}}function au(e,t,n,r,i){var o="Click";return r=="double"?o="Double"+o:r=="triple"&&(o="Triple"+o),o=(t==1?"Left":t==2?"Middle":"Right")+o,kn(e,Ya(o,i),i,function(a){if(typeof a=="string"&&(a=Cn[a]),!a)return!1;var l=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),l=a(e,n)!=xe}finally{e.state.suppressEdits=!1}return l})}function lu(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(i.unit==null){var o=q?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(i.extend==null||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),i.addNew==null&&(i.addNew=z?n.metaKey:n.ctrlKey),i.moveOnDrag==null&&(i.moveOnDrag=!(z?n.altKey:n.ctrlKey)),i}function su(e,t,n,r){S?setTimeout(rt(ra,e),0):e.curOp.focus=we(ze(e));var i=lu(e,n,r),o=e.doc.sel,a;e.options.dragDrop&&yi&&!e.isReadOnly()&&n=="single"&&(a=o.contains(t))>-1&&(N((a=o.ranges[a]).from(),t)<0||t.xRel>0)&&(N(a.to(),t)>0||t.xRel<0)?uu(e,r,t,i):fu(e,r,t,i)}function uu(e,t,n,r){var i=e.display,o=!1,a=Ge(e,function(u){C&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Bi(e)),qe(i.wrapper.ownerDocument,"mouseup",a),qe(i.wrapper.ownerDocument,"mousemove",l),qe(i.scroller,"dragstart",s),qe(i.scroller,"drop",a),o||(Ze(u),r.addNew||ii(e.doc,n,null,null,r.extend),C&&!R||S&&x==9?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()},20):i.input.focus())}),l=function(u){o=o||Math.abs(t.clientX-u.clientX)+Math.abs(t.clientY-u.clientY)>=10},s=function(){return o=!0};C&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=!r.moveOnDrag,Z(i.wrapper.ownerDocument,"mouseup",a),Z(i.wrapper.ownerDocument,"mousemove",l),Z(i.scroller,"dragstart",s),Z(i.scroller,"drop",a),e.state.delayingBlurEvent=!0,setTimeout(function(){return i.input.focus()},20),i.scroller.dragDrop&&i.scroller.dragDrop()}function rl(e,t,n){if(n=="char")return new ye(t,t);if(n=="word")return e.findWordAt(t);if(n=="line")return new ye(v(t.line,0),se(e.doc,v(t.line+1,0)));var r=n(e,t);return new ye(r.from,r.to)}function fu(e,t,n,r){S&&Bi(e);var i=e.display,o=e.doc;Ze(t);var a,l,s=o.sel,u=s.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),l>-1?a=u[l]:a=new ye(n,n)):(a=o.sel.primary(),l=o.sel.primIndex),r.unit=="rectangle")r.addNew||(a=new ye(n,n)),n=dr(e,t,!0,!0),l=-1;else{var h=rl(e,n,r.unit);r.extend?a=Vi(a,h.anchor,h.head,r.extend):a=h}r.addNew?l==-1?(l=u.length,Qe(o,St(e,u.concat([a]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&r.unit=="char"&&!r.extend?(Qe(o,St(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),s=o.sel):$i(o,l,a,sr):(l=0,Qe(o,new dt([a],0),sr),s=o.sel);var c=n;function b(Y){if(N(c,Y)!=0)if(c=Y,r.unit=="rectangle"){for(var $=[],oe=e.options.tabSize,re=ie(te(o,n.line).text,n.ch,oe),fe=ie(te(o,Y.line).text,Y.ch,oe),Se=Math.min(re,fe),Ke=Math.max(re,fe),Ae=Math.min(n.line,Y.line),ht=Math.min(e.lastLine(),Math.max(n.line,Y.line));Ae<=ht;Ae++){var at=te(o,Ae).text,Fe=kt(at,Se,oe);Se==Ke?$.push(new ye(v(Ae,Fe),v(Ae,Fe))):at.length>Fe&&$.push(new ye(v(Ae,Fe),v(Ae,kt(at,Ke,oe))))}$.length||$.push(new ye(n,n)),Qe(o,St(e,s.ranges.slice(0,l).concat($),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Y)}else{var lt=a,Ye=rl(e,Y,r.unit),Re=lt.anchor,Pe;N(Ye.anchor,Re)>0?(Pe=Ye.head,Re=Ie(lt.from(),Ye.anchor)):(Pe=Ye.anchor,Re=ve(lt.to(),Ye.head));var Ee=s.ranges.slice(0);Ee[l]=hu(e,new ye(se(o,Re),Pe)),Qe(o,St(e,Ee,l),sr)}}var y=i.wrapper.getBoundingClientRect(),A=0;function E(Y){var $=++A,oe=dr(e,Y,!0,r.unit=="rectangle");if(!!oe)if(N(oe,c)!=0){e.curOp.focus=we(ze(e)),b(oe);var re=Vn(i,o);(oe.line>=re.to||oe.liney.bottom?20:0;fe&&setTimeout(Ge(e,function(){A==$&&(i.scroller.scrollTop+=fe,E(Y))}),50)}}function _(Y){e.state.selectingText=!1,A=1/0,Y&&(Ze(Y),i.input.focus()),qe(i.wrapper.ownerDocument,"mousemove",X),qe(i.wrapper.ownerDocument,"mouseup",J),o.history.lastSelOrigin=null}var X=Ge(e,function(Y){Y.buttons===0||!jr(Y)?_(Y):E(Y)}),J=Ge(e,_);e.state.selectingText=J,Z(i.wrapper.ownerDocument,"mousemove",X),Z(i.wrapper.ownerDocument,"mouseup",J)}function hu(e,t){var n=t.anchor,r=t.head,i=te(e.doc,n.line);if(N(n,r)==0&&n.sticky==r.sticky)return t;var o=gt(i);if(!o)return t;var a=vt(o,n.ch,n.sticky),l=o[a];if(l.from!=n.ch&&l.to!=n.ch)return t;var s=a+(l.from==n.ch==(l.level!=1)?0:1);if(s==0||s==o.length)return t;var u;if(r.line!=n.line)u=(r.line-n.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var h=vt(o,r.ch,r.sticky),c=h-a||(r.ch-n.ch)*(l.level==1?-1:1);h==s-1||h==s?u=c<0:u=c>0}var b=o[s+(u?-1:0)],y=u==(b.level==1),A=y?b.from:b.to,E=y?"after":"before";return n.ch==A&&n.sticky==E?t:new ye(new v(n.line,A,E),r)}function nl(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch{return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ze(t);var a=e.display,l=a.lineDiv.getBoundingClientRect();if(o>l.bottom||!je(e,n))return Jr(t);o-=l.top-a.viewOffset;for(var s=0;s=i){var h=Mt(e.doc,o),c=e.display.gutterSpecs[s];return ke(e,n,e,h,c.className,t),Jr(t)}}}function oo(e,t){return nl(e,t,"gutterClick",!0)}function il(e,t){Ut(e.display,t)||cu(e,t)||De(e,t,"contextmenu")||ne||e.display.input.onContextMenu(t)}function cu(e,t){return je(e,"gutterContextMenu")?nl(e,t,"gutterContextMenu",!1):!1}function ol(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),an(e)}var Gr={toString:function(){return"CodeMirror.Init"}},al={},hi={};function du(e){var t=e.optionHandlers;function n(r,i,o,a){e.defaults[r]=i,o&&(t[r]=a?function(l,s,u){u!=Gr&&o(l,s,u)}:o)}e.defineOption=n,e.Init=Gr,n("value","",function(r,i){return r.setValue(i)},!0),n("mode",null,function(r,i){r.doc.modeOption=i,Qi(r)},!0),n("indentUnit",2,Qi,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(r){pn(r),an(r),it(r)},!0),n("lineSeparator",null,function(r,i){if(r.doc.lineSep=i,!!i){var o=[],a=r.doc.first;r.doc.iter(function(s){for(var u=0;;){var h=s.text.indexOf(i,u);if(h==-1)break;u=h+i.length,o.push(v(a,h))}a++});for(var l=o.length-1;l>=0;l--)Rr(r.doc,i,o[l],v(o[l].line,o[l].ch+i.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(r,i,o){r.state.specialChars=new RegExp(i.source+(i.test(" ")?"":"| "),"g"),o!=Gr&&r.refresh()}),n("specialCharPlaceholder",Gl,function(r){return r.refresh()},!0),n("electricChars",!0),n("inputStyle",B?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(r,i){return r.getInputField().spellcheck=i},!0),n("autocorrect",!1,function(r,i){return r.getInputField().autocorrect=i},!0),n("autocapitalize",!1,function(r,i){return r.getInputField().autocapitalize=i},!0),n("rtlMoveVisually",!Q),n("wholeLineUpdateBefore",!0),n("theme","default",function(r){ol(r),dn(r)},!0),n("keyMap","default",function(r,i,o){var a=ui(i),l=o!=Gr&&ui(o);l&&l.detach&&l.detach(r,a),a.attach&&a.attach(r,l||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,vu,!0),n("gutters",[],function(r,i){r.display.gutterSpecs=qi(i,r.options.lineNumbers),dn(r)},!0),n("fixedGutter",!0,function(r,i){r.display.gutters.style.left=i?Fi(r.display)+"px":"0",r.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(r){return Wr(r)},!0),n("scrollbarStyle","native",function(r){sa(r),Wr(r),r.display.scrollbars.setScrollTop(r.doc.scrollTop),r.display.scrollbars.setScrollLeft(r.doc.scrollLeft)},!0),n("lineNumbers",!1,function(r,i){r.display.gutterSpecs=qi(r.options.gutters,i),dn(r)},!0),n("firstLineNumber",1,dn,!0),n("lineNumberFormatter",function(r){return r},dn,!0),n("showCursorWhenSelecting",!1,ln,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,function(r,i){i=="nocursor"&&(Hr(r),r.display.input.blur()),r.display.input.readOnlyChanged(i)}),n("screenReaderLabel",null,function(r,i){i=i===""?null:i,r.display.input.screenReaderLabelChanged(i)}),n("disableInput",!1,function(r,i){i||r.display.input.reset()},!0),n("dragDrop",!0,pu),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,ln,!0),n("singleCursorHeightPerLine",!0,ln,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,pn,!0),n("addModeClass",!1,pn,!0),n("pollInterval",100),n("undoDepth",200,function(r,i){return r.doc.history.undoDepth=i}),n("historyEventDelay",1250),n("viewportMargin",10,function(r){return r.refresh()},!0),n("maxHighlightLength",1e4,pn,!0),n("moveInputWithCursor",!0,function(r,i){i||r.display.input.resetPosition()}),n("tabindex",null,function(r,i){return r.display.input.getField().tabIndex=i||""}),n("autofocus",null),n("direction","ltr",function(r,i){return r.doc.setDirection(i)},!0),n("phrases",null)}function pu(e,t,n){var r=n&&n!=Gr;if(!t!=!r){var i=e.display.dragFunctions,o=t?Z:qe;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function vu(e){e.options.lineWrapping?(Ce(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(ee(e.display.wrapper,"CodeMirror-wrap"),Li(e)),Pi(e),it(e),an(e),setTimeout(function(){return Wr(e)},100)}function Te(e,t){var n=this;if(!(this instanceof Te))return new Te(e,t);this.options=t=t?ae(t):{},ae(al,t,!1);var r=t.value;typeof r=="string"?r=new ot(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Te.inputStyles[t.inputStyle](this),o=this.display=new Ns(e,r,i,t);o.wrapper.CodeMirror=this,ol(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),sa(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ue,keySeq:null,specialChars:null},t.autofocus&&!B&&o.input.focus(),S&&x<11&&setTimeout(function(){return n.display.input.reset(!0)},20),gu(this),qs(),yr(this),this.curOp.forceUpdate=!0,ma(this,r),t.autofocus&&!B||this.hasFocus()?setTimeout(function(){n.hasFocus()&&!n.state.focused&&zi(n)},20):Hr(this);for(var a in hi)hi.hasOwnProperty(a)&&hi[a](this,t[a],Gr);ha(this),t.finishInit&&t.finishInit(this);for(var l=0;l20*20}Z(t.scroller,"touchstart",function(s){if(!De(e,s)&&!o(s)&&!oo(e,s)){t.input.ensurePolled(),clearTimeout(n);var u=+new Date;t.activeTouch={start:u,moved:!1,prev:u-r.end<=300?r:null},s.touches.length==1&&(t.activeTouch.left=s.touches[0].pageX,t.activeTouch.top=s.touches[0].pageY)}}),Z(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),Z(t.scroller,"touchend",function(s){var u=t.activeTouch;if(u&&!Ut(t,s)&&u.left!=null&&!u.moved&&new Date-u.start<300){var h=e.coordsChar(t.activeTouch,"page"),c;!u.prev||a(u,u.prev)?c=new ye(h,h):!u.prev.prev||a(u,u.prev.prev)?c=e.findWordAt(h):c=new ye(v(h.line,0),se(e.doc,v(h.line+1,0))),e.setSelection(c.anchor,c.head),e.focus(),Ze(s)}i()}),Z(t.scroller,"touchcancel",i),Z(t.scroller,"scroll",function(){t.scroller.clientHeight&&(un(e,t.scroller.scrollTop),vr(e,t.scroller.scrollLeft,!0),ke(e,"scroll",e))}),Z(t.scroller,"mousewheel",function(s){return pa(e,s)}),Z(t.scroller,"DOMMouseScroll",function(s){return pa(e,s)}),Z(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(s){De(e,s)||It(s)},over:function(s){De(e,s)||(Ys(e,s),It(s))},start:function(s){return Xs(e,s)},drop:Ge(e,Ks),leave:function(s){De(e,s)||Ga(e)}};var l=t.input.getField();Z(l,"keyup",function(s){return $a.call(e,s)}),Z(l,"keydown",Ge(e,Va)),Z(l,"keypress",Ge(e,el)),Z(l,"focus",function(s){return zi(e,s)}),Z(l,"blur",function(s){return Hr(e,s)})}var ao=[];Te.defineInitHook=function(e){return ao.push(e)};function On(e,t,n,r){var i=e.doc,o;n==null&&(n="add"),n=="smart"&&(i.mode.indent?o=en(e,t).state:n="prev");var a=e.options.tabSize,l=te(i,t),s=ie(l.text,null,a);l.stateAfter&&(l.stateAfter=null);var u=l.text.match(/^\s*/)[0],h;if(!r&&!/\S/.test(l.text))h=0,n="not";else if(n=="smart"&&(h=i.mode.indent(o,l.text.slice(u.length),l.text),h==xe||h>150)){if(!r)return;n="prev"}n=="prev"?t>i.first?h=ie(te(i,t-1).text,null,a):h=0:n=="add"?h=s+e.options.indentUnit:n=="subtract"?h=s-e.options.indentUnit:typeof n=="number"&&(h=s+n),h=Math.max(0,h);var c="",b=0;if(e.options.indentWithTabs)for(var y=Math.floor(h/a);y;--y)b+=a,c+=" ";if(ba,s=Vr(t),u=null;if(l&&r.ranges.length>1)if(Ct&&Ct.text.join(` `)==t){if(r.ranges.length%Ct.text.length==0){u=[];for(var h=0;h=0;b--){var y=r.ranges[b],A=y.from(),E=y.to();y.empty()&&(n&&n>0?A=v(A.line,A.ch-n):e.state.overwrite&&!l?E=v(E.line,Math.min(te(o,E.line).text.length,E.ch+pe(s).length)):l&&Ct&&Ct.lineWise&&Ct.text.join(` `)==s.join(` -`)&&(A=E=v(A.line,0)));var _={from:A,to:E,text:u?u[b%u.length]:s,origin:i||(l?"paste":e.state.cutIncoming>a?"cut":"+input")};Ir(e.doc,_),_e(e,"inputRead",e,_)}t&&!l&&sl(e,t),Er(e),e.curOp.updateInput<2&&(e.curOp.updateInput=c),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function ll(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&ft(t,function(){return lo(t,n,0,null,"paste")}),!0}function sl(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var l=0;l-1){a=On(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(te(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=On(e,i.head.line,"smart"));a&&_e(e,"electricInput",e,i.head.line)}}}function ul(e){for(var t=[],n=[],r=0;ro&&(On(this,l.head.line,r,!0),o=l.head.line,a==this.doc.sel.primIndex&&Er(this));else{var s=l.from(),u=l.to(),h=Math.max(o,s.line);o=Math.min(this.lastLine(),u.line-(u.ch?0:1))+1;for(var c=h;c0&&$i(this.doc,a,new ye(s,b[a].to()),Ne)}}}),getTokenAt:function(r,i){return xo(this,r,i)},getLineTokens:function(r,i){return xo(this,v(r),i,!0)},getTokenTypeAt:function(r){r=se(this.doc,r);var i=yo(this,te(this.doc,r.line)),o=0,a=(i.length-1)/2,l=r.ch,s;if(l==0)s=i[2];else for(;;){var u=o+a>>1;if((u?i[u*2-1]:0)>=l)a=u;else if(i[u*2+1]s&&(r=s,a=!0),l=te(this.doc,r)}else l=r;return qn(this,l,{top:0,left:0},i||"page",o||a).top+(a?this.doc.height-Gt(l):0)},defaultTextHeight:function(){return Mr(this.display)},defaultCharWidth:function(){return Dr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(r,i,o,a,l){var s=this.display;r=wt(this,se(this.doc,r));var u=r.bottom,h=r.left;if(i.style.position="absolute",i.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(i),s.sizer.appendChild(i),a=="over")u=r.top;else if(a=="above"||a=="near"){var c=Math.max(s.wrapper.clientHeight,this.doc.height),b=Math.max(s.sizer.clientWidth,s.lineSpace.clientWidth);(a=="above"||r.bottom+i.offsetHeight>c)&&r.top>i.offsetHeight?u=r.top-i.offsetHeight:r.bottom+i.offsetHeight<=c&&(u=r.bottom),h+i.offsetWidth>b&&(h=b-i.offsetWidth)}i.style.top=u+"px",i.style.left=i.style.right="",l=="right"?(h=s.sizer.clientWidth-i.offsetWidth,i.style.right="0px"):(l=="left"?h=0:l=="middle"&&(h=(s.sizer.clientWidth-i.offsetWidth)/2),i.style.left=h+"px"),o&&ys(this,{left:h,top:u,right:h+i.offsetWidth,bottom:u+i.offsetHeight})},triggerOnKeyDown:$e(Va),triggerOnKeyPress:$e(el),triggerOnKeyUp:$a,triggerOnMouseDown:$e(tl),execCommand:function(r){if(Cn.hasOwnProperty(r))return Cn[r].call(null,this)},triggerElectric:$e(function(r){sl(this,r)}),findPosH:function(r,i,o,a){var l=1;i<0&&(l=-1,i=-i);for(var s=se(this.doc,r),u=0;u0&&h(o.charAt(a-1));)--a;for(;l.5||this.options.lineWrapping)&&Pi(this),ke(this,"refresh",this)}),swapDoc:$e(function(r){var i=this.doc;return i.cm=null,this.state.selectingText&&this.state.selectingText(),ma(this,r),an(this),this.display.input.reset(),sn(this,r.scrollLeft,r.scrollTop),this.curOp.forceScroll=!0,_e(this,"swapDoc",this,i),i}),phrase:function(r){var i=this.options.phrases;return i&&Object.prototype.hasOwnProperty.call(i,r)?i[r]:r},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ve(e),e.registerHelper=function(r,i,o){n.hasOwnProperty(r)||(n[r]=e[r]={_global:[]}),n[r][i]=o},e.registerGlobalHelper=function(r,i,o,a){e.registerHelper(r,i,a),n[r]._global.push({pred:o,val:a})}}function so(e,t,n,r,i){var o=t,a=n,l=te(e,t.line),s=i&&e.direction=="rtl"?-n:n;function u(){var J=t.line+s;return J=e.first+e.size?!1:(t=new v(J,t.ch,t.sticky),l=te(e,J))}function h(J){var Y;if(r=="codepoint"){var $=l.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN($))Y=null;else{var oe=n>0?$>=55296&&$<56320:$>=56320&&$<57343;Y=new v(t.line,Math.max(0,Math.min(l.text.length,t.ch+n*(oe?2:1))),-n)}}else i?Y=tu(e.cm,l,t,n):Y=to(l,t,n);if(Y==null)if(!J&&u())t=ro(i,e.cm,l,t.line,s);else return!1;else t=Y;return!0}if(r=="char"||r=="codepoint")h();else if(r=="column")h(!0);else if(r=="word"||r=="group")for(var c=null,b=r=="group",y=e.cm&&e.cm.getHelper(t,"wordChars"),A=!0;!(n<0&&!h(!A));A=!1){var E=l.text.charAt(t.ch)||` +`)&&(A=E=v(A.line,0)));var _={from:A,to:E,text:u?u[b%u.length]:s,origin:i||(l?"paste":e.state.cutIncoming>a?"cut":"+input")};Ir(e.doc,_),_e(e,"inputRead",e,_)}t&&!l&&sl(e,t),Er(e),e.curOp.updateInput<2&&(e.curOp.updateInput=c),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function ll(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&ft(t,function(){return lo(t,n,0,null,"paste")}),!0}function sl(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var l=0;l-1){a=On(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(te(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=On(e,i.head.line,"smart"));a&&_e(e,"electricInput",e,i.head.line)}}}function ul(e){for(var t=[],n=[],r=0;ro&&(On(this,l.head.line,r,!0),o=l.head.line,a==this.doc.sel.primIndex&&Er(this));else{var s=l.from(),u=l.to(),h=Math.max(o,s.line);o=Math.min(this.lastLine(),u.line-(u.ch?0:1))+1;for(var c=h;c0&&$i(this.doc,a,new ye(s,b[a].to()),Ne)}}}),getTokenAt:function(r,i){return xo(this,r,i)},getLineTokens:function(r,i){return xo(this,v(r),i,!0)},getTokenTypeAt:function(r){r=se(this.doc,r);var i=yo(this,te(this.doc,r.line)),o=0,a=(i.length-1)/2,l=r.ch,s;if(l==0)s=i[2];else for(;;){var u=o+a>>1;if((u?i[u*2-1]:0)>=l)a=u;else if(i[u*2+1]s&&(r=s,a=!0),l=te(this.doc,r)}else l=r;return qn(this,l,{top:0,left:0},i||"page",o||a).top+(a?this.doc.height-Gt(l):0)},defaultTextHeight:function(){return Mr(this.display)},defaultCharWidth:function(){return Dr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(r,i,o,a,l){var s=this.display;r=wt(this,se(this.doc,r));var u=r.bottom,h=r.left;if(i.style.position="absolute",i.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(i),s.sizer.appendChild(i),a=="over")u=r.top;else if(a=="above"||a=="near"){var c=Math.max(s.wrapper.clientHeight,this.doc.height),b=Math.max(s.sizer.clientWidth,s.lineSpace.clientWidth);(a=="above"||r.bottom+i.offsetHeight>c)&&r.top>i.offsetHeight?u=r.top-i.offsetHeight:r.bottom+i.offsetHeight<=c&&(u=r.bottom),h+i.offsetWidth>b&&(h=b-i.offsetWidth)}i.style.top=u+"px",i.style.left=i.style.right="",l=="right"?(h=s.sizer.clientWidth-i.offsetWidth,i.style.right="0px"):(l=="left"?h=0:l=="middle"&&(h=(s.sizer.clientWidth-i.offsetWidth)/2),i.style.left=h+"px"),o&&ps(this,{left:h,top:u,right:h+i.offsetWidth,bottom:u+i.offsetHeight})},triggerOnKeyDown:$e(Va),triggerOnKeyPress:$e(el),triggerOnKeyUp:$a,triggerOnMouseDown:$e(tl),execCommand:function(r){if(Cn.hasOwnProperty(r))return Cn[r].call(null,this)},triggerElectric:$e(function(r){sl(this,r)}),findPosH:function(r,i,o,a){var l=1;i<0&&(l=-1,i=-i);for(var s=se(this.doc,r),u=0;u0&&h(o.charAt(a-1));)--a;for(;l.5||this.options.lineWrapping)&&Pi(this),ke(this,"refresh",this)}),swapDoc:$e(function(r){var i=this.doc;return i.cm=null,this.state.selectingText&&this.state.selectingText(),ma(this,r),an(this),this.display.input.reset(),sn(this,r.scrollLeft,r.scrollTop),this.curOp.forceScroll=!0,_e(this,"swapDoc",this,i),i}),phrase:function(r){var i=this.options.phrases;return i&&Object.prototype.hasOwnProperty.call(i,r)?i[r]:r},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ve(e),e.registerHelper=function(r,i,o){n.hasOwnProperty(r)||(n[r]=e[r]={_global:[]}),n[r][i]=o},e.registerGlobalHelper=function(r,i,o,a){e.registerHelper(r,i,a),n[r]._global.push({pred:o,val:a})}}function so(e,t,n,r,i){var o=t,a=n,l=te(e,t.line),s=i&&e.direction=="rtl"?-n:n;function u(){var J=t.line+s;return J=e.first+e.size?!1:(t=new v(J,t.ch,t.sticky),l=te(e,J))}function h(J){var Y;if(r=="codepoint"){var $=l.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN($))Y=null;else{var oe=n>0?$>=55296&&$<56320:$>=56320&&$<57343;Y=new v(t.line,Math.max(0,Math.min(l.text.length,t.ch+n*(oe?2:1))),-n)}}else i?Y=Vs(e.cm,l,t,n):Y=to(l,t,n);if(Y==null)if(!J&&u())t=ro(i,e.cm,l,t.line,s);else return!1;else t=Y;return!0}if(r=="char"||r=="codepoint")h();else if(r=="column")h(!0);else if(r=="word"||r=="group")for(var c=null,b=r=="group",y=e.cm&&e.cm.getHelper(t,"wordChars"),A=!0;!(n<0&&!h(!A));A=!1){var E=l.text.charAt(t.ch)||` `,_=Sr(E,y)?"w":b&&E==` `?"n":!b||/\s/.test(E)?null:"p";if(b&&!A&&!_&&(_="s"),c&&c!=_){n<0&&(n=1,h(),t.sticky="after");break}if(_&&(c=_),n>0&&!h(!A))break}var X=ai(e,t,o,a,!0);return le(o,X)&&(X.hitSide=!0),X}function cl(e,t,n,r){var i=e.doc,o=t.left,a;if(r=="page"){var l=Math.min(e.display.wrapper.clientHeight,Pt(e).innerHeight||i(e).documentElement.clientHeight),s=Math.max(l-.5*Mr(e.display),3);a=(n>0?t.bottom:t.top)+n*s}else r=="line"&&(a=n>0?t.bottom+3:t.top-3);for(var u;u=Hi(e,o,a),!!u.outside;){if(n<0?a<=0:a>=i.height){u.hitSide=!0;break}a+=n*5}return u}var me=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ue,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};me.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;i.contentEditable=!0,fl(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize);function o(l){for(var s=l.target;s;s=s.parentNode){if(s==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(s.className))break}return!1}Z(i,"paste",function(l){!o(l)||De(r,l)||ll(l,r)||x<=11&&setTimeout(Ge(r,function(){return t.updateFromDOM()}),20)}),Z(i,"compositionstart",function(l){t.composing={data:l.data,done:!1}}),Z(i,"compositionupdate",function(l){t.composing||(t.composing={data:l.data,done:!1})}),Z(i,"compositionend",function(l){t.composing&&(l.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),Z(i,"touchstart",function(){return n.forceCompositionEnd()}),Z(i,"input",function(){t.composing||t.readFromDOMSoon()});function a(l){if(!(!o(l)||De(r,l))){if(r.somethingSelected())ci({lineWise:!1,text:r.getSelections()}),l.type=="cut"&&r.replaceSelection("",null,"cut");else if(r.options.lineWiseCopyCut){var s=ul(r);ci({lineWise:!0,text:s.text}),l.type=="cut"&&r.operation(function(){r.setSelections(s.ranges,0,Ne),r.replaceSelection("",null,"cut")})}else return;if(l.clipboardData){l.clipboardData.clearData();var u=Ct.text.join(` `);if(l.clipboardData.setData("Text",u),l.clipboardData.getData("Text")==u){l.preventDefault();return}}var h=hl(),c=h.firstChild;r.display.lineSpace.insertBefore(h,r.display.lineSpace.firstChild),c.value=Ct.text.join(` -`);var b=we(i.ownerDocument);lr(c),setTimeout(function(){r.display.lineSpace.removeChild(h),b.focus(),b==i&&n.showPrimarySelection()},50)}}Z(i,"copy",a),Z(i,"cut",a)},me.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},me.prototype.prepareSelection=function(){var e=ta(this.cm,!1);return e.focus=we(this.div.ownerDocument)==this.div,e},me.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},me.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},me.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||i.line=t.display.viewFrom&&dl(t,r)||{node:l[0].measure.map[2],offset:0},u=i.linee.firstLine()&&(r=v(r.line-1,te(e.doc,r.line-1).length)),i.ch==te(e.doc,i.line).text.length&&i.linet.viewTo-1)return!1;var o,a,l;r.line==t.viewFrom||(o=pr(e,r.line))==0?(a=ge(t.view[0].line),l=t.view[0].node):(a=ge(t.view[o].line),l=t.view[o-1].node.nextSibling);var s=pr(e,i.line),u,h;if(s==t.view.length-1?(u=t.viewTo-1,h=t.lineDiv.lastChild):(u=ge(t.view[s+1].line)-1,h=t.view[s+1].node.previousSibling),!l)return!1;for(var c=e.doc.splitLines(Su(e,l,h,a,u)),b=zt(e.doc,v(a,0),v(u,te(e.doc,u).text.length));c.length>1&&b.length>1;)if(pe(c)==pe(b))c.pop(),b.pop(),u--;else if(c[0]==b[0])c.shift(),b.shift(),a++;else break;for(var y=0,A=0,E=c[0],_=b[0],X=Math.min(E.length,_.length);yr.ch&&J.charCodeAt(J.length-A-1)==Y.charCodeAt(Y.length-A-1);)y--,A++;c[c.length-1]=J.slice(0,J.length-A).replace(/^\u200b+/,""),c[0]=c[0].slice(y).replace(/\u200b+$/,"");var oe=v(a,y),re=v(u,b.length?pe(b).length-A:0);if(c.length>1||c[0]||N(oe,re))return Rr(e.doc,c,oe,re,"+input"),!0},me.prototype.ensurePolled=function(){this.forceCompositionEnd()},me.prototype.reset=function(){this.forceCompositionEnd()},me.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},me.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},me.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&ft(this.cm,function(){return it(e.cm)})},me.prototype.setUneditable=function(e){e.contentEditable="false"},me.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ge(this.cm,lo)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},me.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},me.prototype.onContextMenu=function(){},me.prototype.resetPosition=function(){},me.prototype.needsContentAttribute=!0;function dl(e,t){var n=Ai(e,t.line);if(!n||n.hidden)return null;var r=te(e.doc,t.line),i=_o(n,r,t.line),o=gt(r,e.doc.direction),a="left";if(o){var l=vt(o,t.ch);a=l%2?"right":"left"}var s=Ko(i.map,t.ch,a);return s.offset=s.collapse=="right"?s.end:s.start,s}function wu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Ur(e,t){return t&&(e.bad=!0),e}function Su(e,t,n,r,i){var o="",a=!1,l=e.doc.lineSeparator(),s=!1;function u(y){return function(A){return A.id==y}}function h(){a&&(o+=l,s&&(o+=l),a=s=!1)}function c(y){y&&(h(),o+=y)}function b(y){if(y.nodeType==1){var A=y.getAttribute("cm-text");if(A){c(A);return}var E=y.getAttribute("cm-marker"),_;if(E){var X=e.findMarks(v(r,0),v(i+1,0),u(+E));X.length&&(_=X[0].find(0))&&c(zt(e.doc,_.from,_.to).join(l));return}if(y.getAttribute("contenteditable")=="false")return;var J=/^(pre|div|p|li|table|br)$/i.test(y.nodeName);if(!/^br$/i.test(y.nodeName)&&y.textContent.length==0)return;J&&h();for(var Y=0;Y=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),Z(i,"paste",function(a){De(r,a)||ll(a,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())});function o(a){if(!De(r,a)){if(r.somethingSelected())ci({lineWise:!1,text:r.getSelections()});else if(r.options.lineWiseCopyCut){var l=ul(r);ci({lineWise:!0,text:l.text}),a.type=="cut"?r.setSelections(l.ranges,null,Ne):(n.prevInput="",i.value=l.text.join(` +`);var b=we(i.ownerDocument);lr(c),setTimeout(function(){r.display.lineSpace.removeChild(h),b.focus(),b==i&&n.showPrimarySelection()},50)}}Z(i,"copy",a),Z(i,"cut",a)},me.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},me.prototype.prepareSelection=function(){var e=ta(this.cm,!1);return e.focus=we(this.div.ownerDocument)==this.div,e},me.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},me.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},me.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||i.line=t.display.viewFrom&&dl(t,r)||{node:l[0].measure.map[2],offset:0},u=i.linee.firstLine()&&(r=v(r.line-1,te(e.doc,r.line-1).length)),i.ch==te(e.doc,i.line).text.length&&i.linet.viewTo-1)return!1;var o,a,l;r.line==t.viewFrom||(o=pr(e,r.line))==0?(a=ge(t.view[0].line),l=t.view[0].node):(a=ge(t.view[o].line),l=t.view[o-1].node.nextSibling);var s=pr(e,i.line),u,h;if(s==t.view.length-1?(u=t.viewTo-1,h=t.lineDiv.lastChild):(u=ge(t.view[s+1].line)-1,h=t.view[s+1].node.previousSibling),!l)return!1;for(var c=e.doc.splitLines(bu(e,l,h,a,u)),b=zt(e.doc,v(a,0),v(u,te(e.doc,u).text.length));c.length>1&&b.length>1;)if(pe(c)==pe(b))c.pop(),b.pop(),u--;else if(c[0]==b[0])c.shift(),b.shift(),a++;else break;for(var y=0,A=0,E=c[0],_=b[0],X=Math.min(E.length,_.length);yr.ch&&J.charCodeAt(J.length-A-1)==Y.charCodeAt(Y.length-A-1);)y--,A++;c[c.length-1]=J.slice(0,J.length-A).replace(/^\u200b+/,""),c[0]=c[0].slice(y).replace(/\u200b+$/,"");var oe=v(a,y),re=v(u,b.length?pe(b).length-A:0);if(c.length>1||c[0]||N(oe,re))return Rr(e.doc,c,oe,re,"+input"),!0},me.prototype.ensurePolled=function(){this.forceCompositionEnd()},me.prototype.reset=function(){this.forceCompositionEnd()},me.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},me.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},me.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&ft(this.cm,function(){return it(e.cm)})},me.prototype.setUneditable=function(e){e.contentEditable="false"},me.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ge(this.cm,lo)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},me.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},me.prototype.onContextMenu=function(){},me.prototype.resetPosition=function(){},me.prototype.needsContentAttribute=!0;function dl(e,t){var n=Ai(e,t.line);if(!n||n.hidden)return null;var r=te(e.doc,t.line),i=_o(n,r,t.line),o=gt(r,e.doc.direction),a="left";if(o){var l=vt(o,t.ch);a=l%2?"right":"left"}var s=Ko(i.map,t.ch,a);return s.offset=s.collapse=="right"?s.end:s.start,s}function mu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Ur(e,t){return t&&(e.bad=!0),e}function bu(e,t,n,r,i){var o="",a=!1,l=e.doc.lineSeparator(),s=!1;function u(y){return function(A){return A.id==y}}function h(){a&&(o+=l,s&&(o+=l),a=s=!1)}function c(y){y&&(h(),o+=y)}function b(y){if(y.nodeType==1){var A=y.getAttribute("cm-text");if(A){c(A);return}var E=y.getAttribute("cm-marker"),_;if(E){var X=e.findMarks(v(r,0),v(i+1,0),u(+E));X.length&&(_=X[0].find(0))&&c(zt(e.doc,_.from,_.to).join(l));return}if(y.getAttribute("contenteditable")=="false")return;var J=/^(pre|div|p|li|table|br)$/i.test(y.nodeName);if(!/^br$/i.test(y.nodeName)&&y.textContent.length==0)return;J&&h();for(var Y=0;Y=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),Z(i,"paste",function(a){De(r,a)||ll(a,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())});function o(a){if(!De(r,a)){if(r.somethingSelected())ci({lineWise:!1,text:r.getSelections()});else if(r.options.lineWiseCopyCut){var l=ul(r);ci({lineWise:!0,text:l.text}),a.type=="cut"?r.setSelections(l.ranges,null,Ne):(n.prevInput="",i.value=l.text.join(` `),lr(i))}else return;a.type=="cut"&&(r.state.cutIncoming=+new Date)}}Z(i,"cut",o),Z(i,"copy",o),Z(e.scroller,"paste",function(a){if(!(Ut(e,a)||De(r,a))){if(!i.dispatchEvent){r.state.pasteIncoming=+new Date,n.focus();return}var l=new Event("paste");l.clipboardData=a.clipboardData,i.dispatchEvent(l)}}),Z(e.lineSpace,"selectstart",function(a){Ut(e,a)||Ze(a)}),Z(i,"compositionstart",function(){var a=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:a,range:r.markText(a,r.getCursor("to"),{className:"CodeMirror-composing"})}}),Z(i,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},We.prototype.createField=function(e){this.wrapper=hl(),this.textarea=this.wrapper.firstChild},We.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},We.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=ta(e);if(e.options.moveInputWithCursor){var i=wt(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},We.prototype.showSelection=function(e){var t=this.cm,n=t.display;K(n.cursorDiv,e.cursors),K(n.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},We.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&lr(this.textarea),S&&x>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",S&&x>=9&&(this.hasSelection=null));this.resetting=!1}},We.prototype.getField=function(){return this.textarea},We.prototype.supportsTouch=function(){return!1},We.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!B||we(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch{}},We.prototype.blur=function(){this.textarea.blur()},We.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},We.prototype.receivedFocus=function(){this.slowPoll()},We.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},We.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function n(){var r=t.poll();!r&&!e?(e=!0,t.polling.set(60,n)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,n)},We.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||Zt(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(S&&x>=9&&this.hasSelection===i||z&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(o==8203&&!r&&(r="\u200B"),o==8666)return this.reset(),this.cm.execCommand("undo")}for(var a=0,l=Math.min(r.length,i.length);a1e3||i.indexOf(` `)>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},We.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},We.prototype.onKeyPress=function(){S&&x>=9&&(this.hasSelection=null),this.fastPoll()},We.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=dr(n,e),a=r.scroller.scrollTop;if(!o||O)return;var l=n.options.resetSelectionOnContextMenu;l&&n.doc.sel.contains(o)==-1&&Ge(n,Qe)(n.doc,tr(o),Ne);var s=i.style.cssText,u=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+`px; z-index: 1000; background: `+(S?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var c;C&&(c=i.ownerDocument.defaultView.scrollY),r.input.focus(),C&&i.ownerDocument.defaultView.scrollTo(null,c),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll);function b(){if(i.selectionStart!=null){var E=n.somethingSelected(),_="\u200B"+(E?i.value:"");i.value="\u21DA",i.value=_,t.prevInput=E?"":"\u200B",i.selectionStart=1,i.selectionEnd=_.length,r.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=u,i.style.cssText=s,S&&x<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=a),i.selectionStart!=null)){(!S||S&&x<9)&&b();var E=0,_=function(){r.selForContextMenu==n.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput=="\u200B"?Ge(n,Da)(n):E++<10?r.detectingSelectAll=setTimeout(_,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(_,200)}}if(S&&x>=9&&b(),ne){It(e);var A=function(){qe(window,"mouseup",A),setTimeout(y,20)};Z(window,"mouseup",A)}else setTimeout(y,50)},We.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},We.prototype.setUneditable=function(){},We.prototype.needsContentAttribute=!1;function ku(e,t){if(t=t?ae(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var n=we(e.ownerDocument);t.autofocus=n==e||e.getAttribute("autofocus")!=null&&n==document.body}function r(){e.value=l.getValue()}var i;if(e.form&&(Z(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch{}}t.finishInit=function(s){s.save=r,s.getTextArea=function(){return e},s.toTextArea=function(){s.toTextArea=isNaN,r(),e.parentNode.removeChild(s.getWrapperElement()),e.style.display="",e.form&&(qe(e.form,"submit",r),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=i))}},e.style.display="none";var l=Te(function(s){return e.parentNode.insertBefore(s,e.nextSibling)},t);return l}function Lu(e){e.off=qe,e.on=Z,e.wheelEventPixels=Hs,e.Doc=ot,e.splitLines=Vr,e.countColumn=ie,e.findColumn=kt,e.isWordChar=qr,e.Pass=xe,e.signal=ke,e.Line=Or,e.changeEnd=rr,e.scrollbarModel=la,e.Pos=v,e.cmpPos=N,e.modes=bt,e.mimeModes=Qt,e.resolveMode=ut,e.getMode=Rt,e.modeExtensions=Jt,e.extendMode=Rn,e.copyState=Bt,e.startState=$r,e.innerMode=jt,e.commands=Cn,e.keyMap=Xt,e.keyName=qa,e.isModifierKey=Xa,e.lookupKey=zr,e.normalizeKeyMap=eu,e.StringStream=He,e.SharedTextMarker=xn,e.TextMarker=ir,e.LineWidget=bn,e.e_preventDefault=Ze,e.e_stopPropagation=fr,e.e_stop=It,e.addClass=Ce,e.contains=Le,e.rmClass=ee,e.keyNames=or}gu(Te),xu(Te);var Tu="iter insert remove copy getEditor constructor".split(" ");for(var pi in ot.prototype)ot.prototype.hasOwnProperty(pi)&&de(Tu,pi)<0&&(Te.prototype[pi]=function(e){return function(){return e.apply(this.doc,arguments)}}(ot.prototype[pi]));return Ve(ot),Te.inputStyles={textarea:We,contenteditable:me},Te.defineMode=function(e){!Te.defaults.mode&&e!="null"&&(Te.defaults.mode=e),In.apply(this,arguments)},Te.defineMIME=Lr,Te.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Te.defineMIME("text/plain","null"),Te.defineExtension=function(e,t){Te.prototype[e]=t},Te.defineDocExtension=function(e,t){ot.prototype[e]=t},Te.fromTextArea=ku,Lu(Te),Te.version="5.65.9",Te})}(ho)),ho.exports}var Pu=tt();(function(Oe,Be){(function(m){m(tt())})(function(m){m.defineMode("javascript",function(U,I){var G=U.indentUnit,M=I.statementIndent,w=I.jsonld,S=I.json||w,x=I.trackScope!==!1,C=I.typescript,W=I.wordCharacters||/[\w$\xa1-\uffff]/,P=function(){function f(Ie){return{type:Ie,style:"keyword"}}var p=f("keyword a"),v=f("keyword b"),N=f("keyword c"),le=f("keyword d"),he=f("operator"),ve={type:"atom",style:"atom"};return{if:f("if"),while:p,with:p,else:v,do:v,try:v,finally:v,return:le,break:le,continue:le,new:f("new"),delete:N,void:N,throw:N,debugger:f("debugger"),var:f("var"),const:f("var"),let:f("var"),function:f("function"),catch:f("catch"),for:f("for"),switch:f("switch"),case:f("case"),default:f("default"),in:he,typeof:he,instanceof:he,true:ve,false:ve,null:ve,undefined:ve,NaN:ve,Infinity:ve,this:f("this"),class:f("class"),super:f("atom"),yield:N,export:f("export"),import:f("import"),extends:N,await:N}}(),j=/[+\-*&%=<>!?|~^@]/,O=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function R(f){for(var p=!1,v,N=!1;(v=f.next())!=null;){if(!p){if(v=="/"&&!N)return;v=="["?N=!0:N&&v=="]"&&(N=!1)}p=!p&&v=="\\"}}var D,H;function k(f,p,v){return D=f,H=v,p}function L(f,p){var v=f.next();if(v=='"'||v=="'")return p.tokenize=B(v),p.tokenize(f,p);if(v=="."&&f.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return k("number","number");if(v=="."&&f.match(".."))return k("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(v))return k(v);if(v=="="&&f.eat(">"))return k("=>","operator");if(v=="0"&&f.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return k("number","number");if(/\d/.test(v))return f.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),k("number","number");if(v=="/")return f.eat("*")?(p.tokenize=z,z(f,p)):f.eat("/")?(f.skipToEnd(),k("comment","comment")):Mt(f,p,1)?(R(f),f.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),k("regexp","string-2")):(f.eat("="),k("operator","operator",f.current()));if(v=="`")return p.tokenize=q,q(f,p);if(v=="#"&&f.peek()=="!")return f.skipToEnd(),k("meta","meta");if(v=="#"&&f.eatWhile(W))return k("variable","property");if(v=="<"&&f.match("!--")||v=="-"&&f.match("->")&&!/\S/.test(f.string.slice(0,f.start)))return f.skipToEnd(),k("comment","comment");if(j.test(v))return(v!=">"||!p.lexical||p.lexical.type!=">")&&(f.eat("=")?(v=="!"||v=="=")&&f.eat("="):/[<>*+\-|&?]/.test(v)&&(f.eat(v),v==">"&&f.eat(v))),v=="?"&&f.eat(".")?k("."):k("operator","operator",f.current());if(W.test(v)){f.eatWhile(W);var N=f.current();if(p.lastType!="."){if(P.propertyIsEnumerable(N)){var le=P[N];return k(le.type,le.style,N)}if(N=="async"&&f.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return k("async","keyword",N)}return k("variable","variable",N)}}function B(f){return function(p,v){var N=!1,le;if(w&&p.peek()=="@"&&p.match(O))return v.tokenize=L,k("jsonld-keyword","meta");for(;(le=p.next())!=null&&!(le==f&&!N);)N=!N&&le=="\\";return N||(v.tokenize=L),k("string","string")}}function z(f,p){for(var v=!1,N;N=f.next();){if(N=="/"&&v){p.tokenize=L;break}v=N=="*"}return k("comment","comment")}function q(f,p){for(var v=!1,N;(N=f.next())!=null;){if(!v&&(N=="`"||N=="$"&&f.eat("{"))){p.tokenize=L;break}v=!v&&N=="\\"}return k("quasi","string-2",f.current())}var Q="([{}])";function g(f,p){p.fatArrowAt&&(p.fatArrowAt=null);var v=f.string.indexOf("=>",f.start);if(!(v<0)){if(C){var N=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(f.string.slice(f.start,v));N&&(v=N.index)}for(var le=0,he=!1,ve=v-1;ve>=0;--ve){var Ie=f.string.charAt(ve),ct=Q.indexOf(Ie);if(ct>=0&&ct<3){if(!le){++ve;break}if(--le==0){Ie=="("&&(he=!0);break}}else if(ct>=3&&ct<6)++le;else if(W.test(Ie))he=!0;else if(/["'\/`]/.test(Ie))for(;;--ve){if(ve==0)return;var se=f.string.charAt(ve-1);if(se==Ie&&f.string.charAt(ve-2)!="\\"){ve--;break}}else if(he&&!le){++ve;break}}he&&!le&&(p.fatArrowAt=ve)}}var F={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function ne(f,p,v,N,le,he){this.indented=f,this.column=p,this.type=v,this.prev=le,this.info=he,N!=null&&(this.align=N)}function V(f,p){if(!x)return!1;for(var v=f.localVars;v;v=v.next)if(v.name==p)return!0;for(var N=f.context;N;N=N.prev)for(var v=N.vars;v;v=v.next)if(v.name==p)return!0}function ee(f,p,v,N,le){var he=f.cc;for(T.state=f,T.stream=le,T.marked=null,T.cc=he,T.style=p,f.lexical.hasOwnProperty("align")||(f.lexical.align=!0);;){var ve=he.length?he.pop():S?xe:de;if(ve(v,N)){for(;he.length&&he[he.length-1].lex;)he.pop()();return T.marked?T.marked:v=="variable"&&V(f,N)?"variable-2":p}}}var T={state:null,column:null,marked:null,cc:null};function K(){for(var f=arguments.length-1;f>=0;f--)T.cc.push(arguments[f])}function d(){return K.apply(null,arguments),!0}function ce(f,p){for(var v=p;v;v=v.next)if(v.name==f)return!0;return!1}function be(f){var p=T.state;if(T.marked="def",!!x){if(p.context){if(p.lexical.info=="var"&&p.context&&p.context.block){var v=Le(f,p.context);if(v!=null){p.context=v;return}}else if(!ce(f,p.localVars)){p.localVars=new Ft(f,p.localVars);return}}I.globalVars&&!ce(f,p.globalVars)&&(p.globalVars=new Ft(f,p.globalVars))}}function Le(f,p){if(p)if(p.block){var v=Le(f,p.prev);return v?v==p.prev?p:new Ce(v,p.vars,!0):null}else return ce(f,p.vars)?p:new Ce(p.prev,new Ft(f,p.vars),!1);else return null}function we(f){return f=="public"||f=="private"||f=="protected"||f=="abstract"||f=="readonly"}function Ce(f,p,v){this.prev=f,this.vars=p,this.block=v}function Ft(f,p){this.name=f,this.next=p}var lr=new Ft("this",new Ft("arguments",null));function ze(){T.state.context=new Ce(T.state.context,T.state.localVars,!1),T.state.localVars=lr}function Pt(){T.state.context=new Ce(T.state.context,T.state.localVars,!0),T.state.localVars=null}ze.lex=Pt.lex=!0;function rt(){T.state.localVars=T.state.context.vars,T.state.context=T.state.context.prev}rt.lex=!0;function ae(f,p){var v=function(){var N=T.state,le=N.indented;if(N.lexical.type=="stat")le=N.lexical.indented;else for(var he=N.lexical;he&&he.type==")"&&he.align;he=he.prev)le=he.indented;N.lexical=new ne(le,T.stream.column(),f,null,N.lexical,p)};return v.lex=!0,v}function ie(){var f=T.state;f.lexical.prev&&(f.lexical.type==")"&&(f.indented=f.lexical.indented),f.lexical=f.lexical.prev)}ie.lex=!0;function ue(f){function p(v){return v==f?d():f==";"||v=="}"||v==")"||v=="]"?K():d(p)}return p}function de(f,p){return f=="var"?d(ae("vardef",p),It,ue(";"),ie):f=="keyword a"?d(ae("form"),sr,de,ie):f=="keyword b"?d(ae("form"),de,ie):f=="keyword d"?T.stream.match(/^\s*$/,!1)?d():d(ae("stat"),kt,ue(";"),ie):f=="debugger"?d(ue(";")):f=="{"?d(ae("}"),Pt,Ot,ie,rt):f==";"?d():f=="if"?(T.state.lexical.info=="else"&&T.state.cc[T.state.cc.length-1]==ie&&T.state.cc.pop()(),d(ae("form"),sr,de,ie,kr)):f=="function"?d(Nt):f=="for"?d(ae("form"),Pt,Fn,de,rt,ie):f=="class"||C&&p=="interface"?(T.marked="keyword",d(ae("form",f=="class"?f:p),In,ie)):f=="variable"?C&&p=="declare"?(T.marked="keyword",d(de)):C&&(p=="module"||p=="enum"||p=="type")&&T.stream.match(/^\s*\w/,!1)?(T.marked="keyword",p=="enum"?d(Tr):p=="type"?d(Pn,ue("operator"),Z,ue(";")):d(ae("form"),nt,ue("{"),ae("}"),Ot,ie,ie)):C&&p=="namespace"?(T.marked="keyword",d(ae("form"),xe,de,ie)):C&&p=="abstract"?(T.marked="keyword",d(de)):d(ae("stat"),Sr):f=="switch"?d(ae("form"),sr,ue("{"),ae("}","switch"),Pt,Ot,ie,ie,rt):f=="case"?d(xe,ue(":")):f=="default"?d(ue(":")):f=="catch"?d(ae("form"),ze,An,de,ie,rt):f=="export"?d(ae("stat"),Jt,ie):f=="import"?d(ae("stat"),Bt,ie):f=="async"?d(de):p=="@"?d(xe,de):K(ae("stat"),xe,ue(";"),ie)}function An(f){if(f=="(")return d(bt,ue(")"))}function xe(f,p){return qt(f,p,!1)}function Ne(f,p){return qt(f,p,!0)}function sr(f){return f!="("?K():d(ae(")"),kt,ue(")"),ie)}function qt(f,p,v){if(T.state.fatArrowAt==T.stream.start){var N=v?Yr:Mn;if(f=="(")return d(ze,ae(")"),Me(bt,")"),ie,ue("=>"),N,rt);if(f=="variable")return K(ze,nt,ue("=>"),N,rt)}var le=v?Lt:pt;return F.hasOwnProperty(f)?d(le):f=="function"?d(Nt,le):f=="class"||C&&p=="interface"?(T.marked="keyword",d(ae("form"),Qt,ie)):f=="keyword c"||f=="async"?d(v?Ne:xe):f=="("?d(ae(")"),kt,ue(")"),ie,le):f=="operator"||f=="spread"?d(v?Ne:xe):f=="["?d(ae("]"),zt,ie,le):f=="{"?ur(Cr,"}",null,le):f=="quasi"?K(pe,le):f=="new"?d(Dn(v)):d()}function kt(f){return f.match(/[;\}\)\],]/)?K():K(xe)}function pt(f,p){return f==","?d(kt):Lt(f,p,!1)}function Lt(f,p,v){var N=v==!1?pt:Lt,le=v==!1?xe:Ne;if(f=="=>")return d(ze,v?Yr:Mn,rt);if(f=="operator")return/\+\+|--/.test(p)||C&&p=="!"?d(N):C&&p=="<"&&T.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?d(ae(">"),Me(Z,">"),ie,N):p=="?"?d(xe,ue(":"),le):d(le);if(f=="quasi")return K(pe,N);if(f!=";"){if(f=="(")return ur(Ne,")","call",N);if(f==".")return d(Hn,N);if(f=="[")return d(ae("]"),kt,ue("]"),ie,N);if(C&&p=="as")return T.marked="keyword",d(Z,N);if(f=="regexp")return T.state.lastType=T.marked="operator",T.stream.backUp(T.stream.pos-T.stream.start-1),d(le)}}function pe(f,p){return f!="quasi"?K():p.slice(p.length-2)!="${"?d(pe):d(kt,wr)}function wr(f){if(f=="}")return T.marked="string-2",T.state.tokenize=q,d(pe)}function Mn(f){return g(T.stream,T.state),K(f=="{"?de:xe)}function Yr(f){return g(T.stream,T.state),K(f=="{"?de:Ne)}function Dn(f){return function(p){return p=="."?d(f?qr:vi):p=="variable"&&C?d(Ze,f?Lt:pt):K(f?Ne:xe)}}function vi(f,p){if(p=="target")return T.marked="keyword",d(pt)}function qr(f,p){if(p=="target")return T.marked="keyword",d(Lt)}function Sr(f){return f==":"?d(ie,de):K(pt,ue(";"),ie)}function Hn(f){if(f=="variable")return T.marked="property",d()}function Cr(f,p){if(f=="async")return T.marked="property",d(Cr);if(f=="variable"||T.style=="keyword"){if(T.marked="property",p=="get"||p=="set")return d(Zr);var v;return C&&T.state.fatArrowAt==T.stream.start&&(v=T.stream.match(/^\s*:\s*/,!1))&&(T.state.fatArrowAt=T.stream.pos+v[0].length),d(Tt)}else{if(f=="number"||f=="string")return T.marked=w?"property":T.style+" property",d(Tt);if(f=="jsonld-keyword")return d(Tt);if(C&&we(p))return T.marked="keyword",d(Cr);if(f=="[")return d(xe,vt,ue("]"),Tt);if(f=="spread")return d(Ne,Tt);if(p=="*")return T.marked="keyword",d(Cr);if(f==":")return K(Tt)}}function Zr(f){return f!="variable"?K(Tt):(T.marked="property",d(Nt))}function Tt(f){if(f==":")return d(Ne);if(f=="(")return K(Nt)}function Me(f,p,v){function N(le,he){if(v?v.indexOf(le)>-1:le==","){var ve=T.state.lexical;return ve.info=="call"&&(ve.pos=(ve.pos||0)+1),d(function(Ie,ct){return Ie==p||ct==p?K():K(f)},N)}return le==p||he==p?d():v&&v.indexOf(";")>-1?K(f):d(ue(p))}return function(le,he){return le==p||he==p?d():K(f,N)}}function ur(f,p,v){for(var N=3;N"),Z);if(f=="quasi")return K(De,Ve)}function Qr(f){if(f=="=>")return d(Z)}function qe(f){return f.match(/[\}\)\]]/)?d():f==","||f==";"?d(qe):K(ke,qe)}function ke(f,p){if(f=="variable"||T.style=="keyword")return T.marked="property",d(ke);if(p=="?"||f=="number"||f=="string")return d(ke);if(f==":")return d(Z);if(f=="[")return d(ue("variable"),gi,ue("]"),ke);if(f=="(")return K(At,ke);if(!f.match(/[;\}\)\],]/))return d()}function De(f,p){return f!="quasi"?K():p.slice(p.length-2)!="${"?d(De):d(Z,Wn)}function Wn(f){if(f=="}")return T.marked="string-2",T.state.tokenize=q,d(De)}function je(f,p){return f=="variable"&&T.stream.match(/^\s*[?:]/,!1)||p=="?"?d(je):f==":"?d(Z):f=="spread"?d(je):K(Z)}function Ve(f,p){if(p=="<")return d(ae(">"),Me(Z,">"),ie,Ve);if(p=="|"||f=="."||p=="&")return d(Z);if(f=="[")return d(Z,ue("]"),Ve);if(p=="extends"||p=="implements")return T.marked="keyword",d(Z);if(p=="?")return d(Z,ue(":"),Z)}function Ze(f,p){if(p=="<")return d(ae(">"),Me(Z,">"),ie,Ve)}function fr(){return K(Z,Jr)}function Jr(f,p){if(p=="=")return d(Z)}function It(f,p){return p=="enum"?(T.marked="keyword",d(Tr)):K(nt,vt,yt,mi)}function nt(f,p){if(C&&we(p))return T.marked="keyword",d(nt);if(f=="variable")return be(p),d();if(f=="spread")return d(nt);if(f=="[")return ur(yi,"]");if(f=="{")return ur(jr,"}")}function jr(f,p){return f=="variable"&&!T.stream.match(/^\s*:/,!1)?(be(p),d(yt)):(f=="variable"&&(T.marked="property"),f=="spread"?d(nt):f=="}"?K():f=="["?d(xe,ue("]"),ue(":"),jr):d(ue(":"),nt,yt))}function yi(){return K(nt,yt)}function yt(f,p){if(p=="=")return d(Ne)}function mi(f){if(f==",")return d(It)}function kr(f,p){if(f=="keyword b"&&p=="else")return d(ae("form","else"),de,ie)}function Fn(f,p){if(p=="await")return d(Fn);if(f=="(")return d(ae(")"),Vr,ie)}function Vr(f){return f=="var"?d(It,Zt):f=="variable"?d(Zt):K(Zt)}function Zt(f,p){return f==")"?d():f==";"?d(Zt):p=="in"||p=="of"?(T.marked="keyword",d(xe,Zt)):K(xe,Zt)}function Nt(f,p){if(p=="*")return T.marked="keyword",d(Nt);if(f=="variable")return be(p),d(Nt);if(f=="(")return d(ze,ae(")"),Me(bt,")"),ie,gt,de,rt);if(C&&p=="<")return d(ae(">"),Me(fr,">"),ie,Nt)}function At(f,p){if(p=="*")return T.marked="keyword",d(At);if(f=="variable")return be(p),d(At);if(f=="(")return d(ze,ae(")"),Me(bt,")"),ie,gt,rt);if(C&&p=="<")return d(ae(">"),Me(fr,">"),ie,At)}function Pn(f,p){if(f=="keyword"||f=="variable")return T.marked="type",d(Pn);if(p=="<")return d(ae(">"),Me(fr,">"),ie)}function bt(f,p){return p=="@"&&d(xe,bt),f=="spread"?d(bt):C&&we(p)?(T.marked="keyword",d(bt)):C&&f=="this"?d(vt,yt):K(nt,vt,yt)}function Qt(f,p){return f=="variable"?In(f,p):Lr(f,p)}function In(f,p){if(f=="variable")return be(p),d(Lr)}function Lr(f,p){if(p=="<")return d(ae(">"),Me(fr,">"),ie,Lr);if(p=="extends"||p=="implements"||C&&f==",")return p=="implements"&&(T.marked="keyword"),d(C?Z:xe,Lr);if(f=="{")return d(ae("}"),ut,ie)}function ut(f,p){if(f=="async"||f=="variable"&&(p=="static"||p=="get"||p=="set"||C&&we(p))&&T.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return T.marked="keyword",d(ut);if(f=="variable"||T.style=="keyword")return T.marked="property",d(Rt,ut);if(f=="number"||f=="string")return d(Rt,ut);if(f=="[")return d(xe,vt,ue("]"),Rt,ut);if(p=="*")return T.marked="keyword",d(ut);if(C&&f=="(")return K(At,ut);if(f==";"||f==",")return d(ut);if(f=="}")return d();if(p=="@")return d(xe,ut)}function Rt(f,p){if(p=="!"||p=="?")return d(Rt);if(f==":")return d(Z,yt);if(p=="=")return d(Ne);var v=T.state.lexical.prev,N=v&&v.info=="interface";return K(N?At:Nt)}function Jt(f,p){return p=="*"?(T.marked="keyword",d(te,ue(";"))):p=="default"?(T.marked="keyword",d(xe,ue(";"))):f=="{"?d(Me(Rn,"}"),te,ue(";")):K(de)}function Rn(f,p){if(p=="as")return T.marked="keyword",d(ue("variable"));if(f=="variable")return K(Ne,Rn)}function Bt(f){return f=="string"?d():f=="("?K(xe):f=="."?K(pt):K(jt,$r,te)}function jt(f,p){return f=="{"?ur(jt,"}"):(f=="variable"&&be(p),p=="*"&&(T.marked="keyword"),d(He))}function $r(f){if(f==",")return d(jt,$r)}function He(f,p){if(p=="as")return T.marked="keyword",d(jt)}function te(f,p){if(p=="from")return T.marked="keyword",d(xe)}function zt(f){return f=="]"?d():K(Me(Ne,"]"))}function Tr(){return K(ae("form"),nt,ue("{"),ae("}"),Me(mt,"}"),ie,ie)}function mt(){return K(nt,yt)}function ge(f,p){return f.lastType=="operator"||f.lastType==","||j.test(p.charAt(0))||/[,.]/.test(p.charAt(0))}function Mt(f,p,v){return p.tokenize==L&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(p.lastType)||p.lastType=="quasi"&&/\{\s*$/.test(f.string.slice(0,f.pos-(v||0)))}return{startState:function(f){var p={tokenize:L,lastType:"sof",cc:[],lexical:new ne((f||0)-G,0,"block",!1),localVars:I.localVars,context:I.localVars&&new Ce(null,null,!1),indented:f||0};return I.globalVars&&typeof I.globalVars=="object"&&(p.globalVars=I.globalVars),p},token:function(f,p){if(f.sol()&&(p.lexical.hasOwnProperty("align")||(p.lexical.align=!1),p.indented=f.indentation(),g(f,p)),p.tokenize!=z&&f.eatSpace())return null;var v=p.tokenize(f,p);return D=="comment"?v:(p.lastType=D=="operator"&&(H=="++"||H=="--")?"incdec":D,ee(p,v,D,H,f))},indent:function(f,p){if(f.tokenize==z||f.tokenize==q)return m.Pass;if(f.tokenize!=L)return 0;var v=p&&p.charAt(0),N=f.lexical,le;if(!/^\s*else\b/.test(p))for(var he=f.cc.length-1;he>=0;--he){var ve=f.cc[he];if(ve==ie)N=N.prev;else if(ve!=kr&&ve!=rt)break}for(;(N.type=="stat"||N.type=="form")&&(v=="}"||(le=f.cc[f.cc.length-1])&&(le==pt||le==Lt)&&!/^[,\.=+\-*:?[\(]/.test(p));)N=N.prev;M&&N.type==")"&&N.prev.type=="stat"&&(N=N.prev);var Ie=N.type,ct=v==Ie;return Ie=="vardef"?N.indented+(f.lastType=="operator"||f.lastType==","?N.info.length+1:0):Ie=="form"&&v=="{"?N.indented:Ie=="form"?N.indented+G:Ie=="stat"?N.indented+(ge(f,p)?M||G:0):N.info=="switch"&&!ct&&I.doubleIndentSwitch!=!1?N.indented+(/^(?:case|default)\b/.test(p)?G:2*G):N.align?N.column+(ct?0:1):N.indented+(ct?0:G)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:S?null:"/*",blockCommentEnd:S?null:"*/",blockCommentContinue:S?null:" * ",lineComment:S?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:S?"json":"javascript",jsonldMode:w,jsonMode:S,expressionAllowed:Mt,skipExpression:function(f){ee(f,"atom","atom","true",new m.StringStream("",2,null))}}}),m.registerHelper("wordChars","javascript",/[\w$]/),m.defineMIME("text/javascript","javascript"),m.defineMIME("text/ecmascript","javascript"),m.defineMIME("application/javascript","javascript"),m.defineMIME("application/x-javascript","javascript"),m.defineMIME("application/ecmascript","javascript"),m.defineMIME("application/json",{name:"javascript",json:!0}),m.defineMIME("application/x-json",{name:"javascript",json:!0}),m.defineMIME("application/manifest+json",{name:"javascript",json:!0}),m.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),m.defineMIME("text/typescript",{name:"javascript",typescript:!0}),m.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var Iu={exports:{}};(function(Oe,Be){(function(m){m(tt())})(function(m){function U(w,S,x,C){if(x&&x.call){var W=x;x=null}else var W=M(w,x,"rangeFinder");typeof S=="number"&&(S=m.Pos(S,0));var P=M(w,x,"minFoldSize");function j(H){var k=W(w,S);if(!k||k.to.line-k.from.linew.firstLine();)S=m.Pos(S.line-1,0),O=j(!1);if(!(!O||O.cleared||C==="unfold")){var R=I(w,x,O);m.on(R,"mousedown",function(H){D.clear(),m.e_preventDefault(H)});var D=w.markText(O.from,O.to,{replacedWith:R,clearOnEnter:M(w,x,"clearOnEnter"),__isFold:!0});D.on("clear",function(H,k){m.signal(w,"unfold",w,H,k)}),m.signal(w,"fold",w,O.from,O.to)}}function I(w,S,x){var C=M(w,S,"widget");if(typeof C=="function"&&(C=C(x.from,x.to)),typeof C=="string"){var W=document.createTextNode(C);C=document.createElement("span"),C.appendChild(W),C.className="CodeMirror-foldmarker"}else C&&(C=C.cloneNode(!0));return C}m.newFoldFunction=function(w,S){return function(x,C){U(x,C,{rangeFinder:w,widget:S})}},m.defineExtension("foldCode",function(w,S,x){U(this,w,S,x)}),m.defineExtension("isFolded",function(w){for(var S=this.findMarksAt(w),x=0;xI.lastLine())return null;var j=I.getTokenAt(m.Pos(P,1));if(/\S/.test(j.string)||(j=I.getTokenAt(m.Pos(P,j.end+1))),j.type!="keyword"||j.string!="import")return null;for(var O=P,R=Math.min(I.lastLine(),P+10);O<=R;++O){var D=I.getLine(O),H=D.indexOf(";");if(H!=-1)return{startCh:j.end,end:m.Pos(O,H)}}}var w=G.line,S=M(w),x;if(!S||M(w-1)||(x=M(w-2))&&x.end.line==w-1)return null;for(var C=S.end;;){var W=M(C.line+1);if(W==null)break;C=W.end}return{from:I.clipPos(m.Pos(w,S.startCh+1)),to:C}}),m.registerHelper("fold","include",function(I,G){function M(W){if(WI.lastLine())return null;var P=I.getTokenAt(m.Pos(W,1));if(/\S/.test(P.string)||(P=I.getTokenAt(m.Pos(W,P.end+1))),P.type=="meta"&&P.string.slice(0,8)=="#include")return P.start+8}var w=G.line,S=M(w);if(S==null||M(w-1)!=null)return null;for(var x=w;;){var C=M(x+1);if(C==null)break;++x}return{from:m.Pos(w,S+1),to:I.clipPos(m.Pos(x))}})})})();(function(Oe,Be){(function(m){m(tt())})(function(m){m.registerGlobalHelper("fold","comment",function(U){return U.blockCommentStart&&U.blockCommentEnd},function(U,I){var G=U.getModeAt(I),M=G.blockCommentStart,w=G.blockCommentEnd;if(!M||!w)return;for(var S=I.line,x=U.getLine(S),C,W=I.ch,P=0;;){var j=W<=0?-1:x.lastIndexOf(M,W-1);if(j==-1){if(P==1)return;P=1,W=x.length;continue}if(P==1&&jM)w=S;else break}if(w)return{from:m.Pos(G.line,I.getLine(G.line).length),to:m.Pos(w,I.getLine(w).length)}}})})})();(function(Oe,Be){(function(m){m(tt(),Iu.exports)})(function(m){m.defineOption("foldGutter",!1,function(D,H,k){k&&k!=m.Init&&(D.clearGutter(D.state.foldGutter.options.gutter),D.state.foldGutter=null,D.off("gutterClick",W),D.off("changes",j),D.off("viewportChange",O),D.off("fold",R),D.off("unfold",R),D.off("swapDoc",j),D.off("optionChange",P)),H&&(D.state.foldGutter=new I(G(H)),C(D),D.on("gutterClick",W),D.on("changes",j),D.on("viewportChange",O),D.on("fold",R),D.on("unfold",R),D.on("swapDoc",j),D.on("optionChange",P))});var U=m.Pos;function I(D){this.options=D,this.from=this.to=0}function G(D){return D===!0&&(D={}),D.gutter==null&&(D.gutter="CodeMirror-foldgutter"),D.indicatorOpen==null&&(D.indicatorOpen="CodeMirror-foldgutter-open"),D.indicatorFolded==null&&(D.indicatorFolded="CodeMirror-foldgutter-folded"),D}function M(D,H){for(var k=D.findMarks(U(H,0),U(H+1,0)),L=0;L=z){if(g&&V&&g.test(V.className))return;ne=w(L.indicatorOpen)}}!ne&&!V||D.setGutterMarker(F,L.gutter,ne)})}function x(D){return new RegExp("(^|\\s)"+D+"(?:$|\\s)\\s*")}function C(D){var H=D.getViewport(),k=D.state.foldGutter;!k||(D.operation(function(){S(D,H.from,H.to)}),k.from=H.from,k.to=H.to)}function W(D,H,k){var L=D.state.foldGutter;if(!!L){var B=L.options;if(k==B.gutter){var z=M(D,H);z?z.clear():D.foldCode(U(H,0),B)}}}function P(D,H){H=="mode"&&j(D)}function j(D){var H=D.state.foldGutter;if(!!H){var k=H.options;H.from=H.to=0,clearTimeout(H.changeUpdate),H.changeUpdate=setTimeout(function(){C(D)},k.foldOnChangeTimeSpan||600)}}function O(D){var H=D.state.foldGutter;if(!!H){var k=H.options;clearTimeout(H.changeUpdate),H.changeUpdate=setTimeout(function(){var L=D.getViewport();H.from==H.to||L.from-H.to>20||H.from-L.to>20?C(D):D.operation(function(){L.fromH.to&&(S(D,H.to,L.to),H.to=L.to)})},k.updateViewportTimeSpan||400)}}function R(D,H){var k=D.state.foldGutter;if(!!k){var L=H.line;L>=k.from&&LC)return G.charCoords(q,"local")[Q?"top":"bottom"];var F=G.heightAtLine(P,"local");return F+(Q?0:P.height)}var O=G.lastLine();if(G.display.barWidth)for(var R=0,D;RO)){for(var k=D||j(H.from,!0)*M,L=j(H.to,!1)*M;RO||(D=j(S[R+1].from,!0)*M,D>L+.9));)H=S[++R],L=j(H.to,!1)*M;if(L!=k){var B=Math.max(L-k,3),z=w.appendChild(document.createElement("div"));z.style.cssText="position: absolute; right: 0px; width: "+Math.max(G.display.barWidth-1,2)+"px; top: "+(k+this.buttonHeight)+"px; height: "+B+"px",z.className=this.options.className,H.id&&z.setAttribute("annotation-id",H.id)}}}this.div.textContent="",this.div.appendChild(w)},U.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("changes",this.changeHandler),this.div.parentNode.removeChild(this.div)}})}()),yl.exports}Ol();var Ru={exports:{}},bl={exports:{}},xl;function co(){return xl||(xl=1,function(Oe,Be){(function(m){m(tt())})(function(m){var U=m.Pos;function I(k){var L=k.flags;return L!=null?L:(k.ignoreCase?"i":"")+(k.global?"g":"")+(k.multiline?"m":"")}function G(k,L){for(var B=I(k),z=B,q=0;qg);F++){var ne=k.getLine(Q++);z=z==null?ne:z+` + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var c;C&&(c=i.ownerDocument.defaultView.scrollY),r.input.focus(),C&&i.ownerDocument.defaultView.scrollTo(null,c),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll);function b(){if(i.selectionStart!=null){var E=n.somethingSelected(),_="\u200B"+(E?i.value:"");i.value="\u21DA",i.value=_,t.prevInput=E?"":"\u200B",i.selectionStart=1,i.selectionEnd=_.length,r.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=u,i.style.cssText=s,S&&x<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=a),i.selectionStart!=null)){(!S||S&&x<9)&&b();var E=0,_=function(){r.selForContextMenu==n.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput=="\u200B"?Ge(n,Da)(n):E++<10?r.detectingSelectAll=setTimeout(_,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(_,200)}}if(S&&x>=9&&b(),ne){It(e);var A=function(){qe(window,"mouseup",A),setTimeout(y,20)};Z(window,"mouseup",A)}else setTimeout(y,50)},We.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},We.prototype.setUneditable=function(){},We.prototype.needsContentAttribute=!1;function wu(e,t){if(t=t?ae(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var n=we(e.ownerDocument);t.autofocus=n==e||e.getAttribute("autofocus")!=null&&n==document.body}function r(){e.value=l.getValue()}var i;if(e.form&&(Z(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch{}}t.finishInit=function(s){s.save=r,s.getTextArea=function(){return e},s.toTextArea=function(){s.toTextArea=isNaN,r(),e.parentNode.removeChild(s.getWrapperElement()),e.style.display="",e.form&&(qe(e.form,"submit",r),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=i))}},e.style.display="none";var l=Te(function(s){return e.parentNode.insertBefore(s,e.nextSibling)},t);return l}function Su(e){e.off=qe,e.on=Z,e.wheelEventPixels=As,e.Doc=ot,e.splitLines=Vr,e.countColumn=ie,e.findColumn=kt,e.isWordChar=qr,e.Pass=xe,e.signal=ke,e.Line=Or,e.changeEnd=rr,e.scrollbarModel=la,e.Pos=v,e.cmpPos=N,e.modes=bt,e.mimeModes=Qt,e.resolveMode=ut,e.getMode=Rt,e.modeExtensions=Jt,e.extendMode=Rn,e.copyState=Bt,e.startState=$r,e.innerMode=jt,e.commands=Cn,e.keyMap=Xt,e.keyName=qa,e.isModifierKey=Xa,e.lookupKey=zr,e.normalizeKeyMap=js,e.StringStream=He,e.SharedTextMarker=xn,e.TextMarker=ir,e.LineWidget=bn,e.e_preventDefault=Ze,e.e_stopPropagation=fr,e.e_stop=It,e.addClass=Ce,e.contains=Le,e.rmClass=ee,e.keyNames=or}du(Te),yu(Te);var Cu="iter insert remove copy getEditor constructor".split(" ");for(var pi in ot.prototype)ot.prototype.hasOwnProperty(pi)&&de(Cu,pi)<0&&(Te.prototype[pi]=function(e){return function(){return e.apply(this.doc,arguments)}}(ot.prototype[pi]));return Ve(ot),Te.inputStyles={textarea:We,contenteditable:me},Te.defineMode=function(e){!Te.defaults.mode&&e!="null"&&(Te.defaults.mode=e),In.apply(this,arguments)},Te.defineMIME=Lr,Te.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Te.defineMIME("text/plain","null"),Te.defineExtension=function(e,t){Te.prototype[e]=t},Te.defineDocExtension=function(e,t){ot.prototype[e]=t},Te.fromTextArea=wu,Su(Te),Te.version="5.65.9",Te})}(ho)),ho.exports}var Eu=tt();(function(Oe,Be){(function(m){m(tt())})(function(m){m.defineMode("javascript",function(U,I){var G=U.indentUnit,M=I.statementIndent,w=I.jsonld,S=I.json||w,x=I.trackScope!==!1,C=I.typescript,W=I.wordCharacters||/[\w$\xa1-\uffff]/,P=function(){function f(Ie){return{type:Ie,style:"keyword"}}var p=f("keyword a"),v=f("keyword b"),N=f("keyword c"),le=f("keyword d"),he=f("operator"),ve={type:"atom",style:"atom"};return{if:f("if"),while:p,with:p,else:v,do:v,try:v,finally:v,return:le,break:le,continue:le,new:f("new"),delete:N,void:N,throw:N,debugger:f("debugger"),var:f("var"),const:f("var"),let:f("var"),function:f("function"),catch:f("catch"),for:f("for"),switch:f("switch"),case:f("case"),default:f("default"),in:he,typeof:he,instanceof:he,true:ve,false:ve,null:ve,undefined:ve,NaN:ve,Infinity:ve,this:f("this"),class:f("class"),super:f("atom"),yield:N,export:f("export"),import:f("import"),extends:N,await:N}}(),j=/[+\-*&%=<>!?|~^@]/,O=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function R(f){for(var p=!1,v,N=!1;(v=f.next())!=null;){if(!p){if(v=="/"&&!N)return;v=="["?N=!0:N&&v=="]"&&(N=!1)}p=!p&&v=="\\"}}var D,H;function k(f,p,v){return D=f,H=v,p}function L(f,p){var v=f.next();if(v=='"'||v=="'")return p.tokenize=B(v),p.tokenize(f,p);if(v=="."&&f.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return k("number","number");if(v=="."&&f.match(".."))return k("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(v))return k(v);if(v=="="&&f.eat(">"))return k("=>","operator");if(v=="0"&&f.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return k("number","number");if(/\d/.test(v))return f.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),k("number","number");if(v=="/")return f.eat("*")?(p.tokenize=z,z(f,p)):f.eat("/")?(f.skipToEnd(),k("comment","comment")):Mt(f,p,1)?(R(f),f.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),k("regexp","string-2")):(f.eat("="),k("operator","operator",f.current()));if(v=="`")return p.tokenize=q,q(f,p);if(v=="#"&&f.peek()=="!")return f.skipToEnd(),k("meta","meta");if(v=="#"&&f.eatWhile(W))return k("variable","property");if(v=="<"&&f.match("!--")||v=="-"&&f.match("->")&&!/\S/.test(f.string.slice(0,f.start)))return f.skipToEnd(),k("comment","comment");if(j.test(v))return(v!=">"||!p.lexical||p.lexical.type!=">")&&(f.eat("=")?(v=="!"||v=="=")&&f.eat("="):/[<>*+\-|&?]/.test(v)&&(f.eat(v),v==">"&&f.eat(v))),v=="?"&&f.eat(".")?k("."):k("operator","operator",f.current());if(W.test(v)){f.eatWhile(W);var N=f.current();if(p.lastType!="."){if(P.propertyIsEnumerable(N)){var le=P[N];return k(le.type,le.style,N)}if(N=="async"&&f.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return k("async","keyword",N)}return k("variable","variable",N)}}function B(f){return function(p,v){var N=!1,le;if(w&&p.peek()=="@"&&p.match(O))return v.tokenize=L,k("jsonld-keyword","meta");for(;(le=p.next())!=null&&!(le==f&&!N);)N=!N&&le=="\\";return N||(v.tokenize=L),k("string","string")}}function z(f,p){for(var v=!1,N;N=f.next();){if(N=="/"&&v){p.tokenize=L;break}v=N=="*"}return k("comment","comment")}function q(f,p){for(var v=!1,N;(N=f.next())!=null;){if(!v&&(N=="`"||N=="$"&&f.eat("{"))){p.tokenize=L;break}v=!v&&N=="\\"}return k("quasi","string-2",f.current())}var Q="([{}])";function g(f,p){p.fatArrowAt&&(p.fatArrowAt=null);var v=f.string.indexOf("=>",f.start);if(!(v<0)){if(C){var N=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(f.string.slice(f.start,v));N&&(v=N.index)}for(var le=0,he=!1,ve=v-1;ve>=0;--ve){var Ie=f.string.charAt(ve),ct=Q.indexOf(Ie);if(ct>=0&&ct<3){if(!le){++ve;break}if(--le==0){Ie=="("&&(he=!0);break}}else if(ct>=3&&ct<6)++le;else if(W.test(Ie))he=!0;else if(/["'\/`]/.test(Ie))for(;;--ve){if(ve==0)return;var se=f.string.charAt(ve-1);if(se==Ie&&f.string.charAt(ve-2)!="\\"){ve--;break}}else if(he&&!le){++ve;break}}he&&!le&&(p.fatArrowAt=ve)}}var F={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function ne(f,p,v,N,le,he){this.indented=f,this.column=p,this.type=v,this.prev=le,this.info=he,N!=null&&(this.align=N)}function V(f,p){if(!x)return!1;for(var v=f.localVars;v;v=v.next)if(v.name==p)return!0;for(var N=f.context;N;N=N.prev)for(var v=N.vars;v;v=v.next)if(v.name==p)return!0}function ee(f,p,v,N,le){var he=f.cc;for(T.state=f,T.stream=le,T.marked=null,T.cc=he,T.style=p,f.lexical.hasOwnProperty("align")||(f.lexical.align=!0);;){var ve=he.length?he.pop():S?xe:de;if(ve(v,N)){for(;he.length&&he[he.length-1].lex;)he.pop()();return T.marked?T.marked:v=="variable"&&V(f,N)?"variable-2":p}}}var T={state:null,column:null,marked:null,cc:null};function K(){for(var f=arguments.length-1;f>=0;f--)T.cc.push(arguments[f])}function d(){return K.apply(null,arguments),!0}function ce(f,p){for(var v=p;v;v=v.next)if(v.name==f)return!0;return!1}function be(f){var p=T.state;if(T.marked="def",!!x){if(p.context){if(p.lexical.info=="var"&&p.context&&p.context.block){var v=Le(f,p.context);if(v!=null){p.context=v;return}}else if(!ce(f,p.localVars)){p.localVars=new Ft(f,p.localVars);return}}I.globalVars&&!ce(f,p.globalVars)&&(p.globalVars=new Ft(f,p.globalVars))}}function Le(f,p){if(p)if(p.block){var v=Le(f,p.prev);return v?v==p.prev?p:new Ce(v,p.vars,!0):null}else return ce(f,p.vars)?p:new Ce(p.prev,new Ft(f,p.vars),!1);else return null}function we(f){return f=="public"||f=="private"||f=="protected"||f=="abstract"||f=="readonly"}function Ce(f,p,v){this.prev=f,this.vars=p,this.block=v}function Ft(f,p){this.name=f,this.next=p}var lr=new Ft("this",new Ft("arguments",null));function ze(){T.state.context=new Ce(T.state.context,T.state.localVars,!1),T.state.localVars=lr}function Pt(){T.state.context=new Ce(T.state.context,T.state.localVars,!0),T.state.localVars=null}ze.lex=Pt.lex=!0;function rt(){T.state.localVars=T.state.context.vars,T.state.context=T.state.context.prev}rt.lex=!0;function ae(f,p){var v=function(){var N=T.state,le=N.indented;if(N.lexical.type=="stat")le=N.lexical.indented;else for(var he=N.lexical;he&&he.type==")"&&he.align;he=he.prev)le=he.indented;N.lexical=new ne(le,T.stream.column(),f,null,N.lexical,p)};return v.lex=!0,v}function ie(){var f=T.state;f.lexical.prev&&(f.lexical.type==")"&&(f.indented=f.lexical.indented),f.lexical=f.lexical.prev)}ie.lex=!0;function ue(f){function p(v){return v==f?d():f==";"||v=="}"||v==")"||v=="]"?K():d(p)}return p}function de(f,p){return f=="var"?d(ae("vardef",p),It,ue(";"),ie):f=="keyword a"?d(ae("form"),sr,de,ie):f=="keyword b"?d(ae("form"),de,ie):f=="keyword d"?T.stream.match(/^\s*$/,!1)?d():d(ae("stat"),kt,ue(";"),ie):f=="debugger"?d(ue(";")):f=="{"?d(ae("}"),Pt,Ot,ie,rt):f==";"?d():f=="if"?(T.state.lexical.info=="else"&&T.state.cc[T.state.cc.length-1]==ie&&T.state.cc.pop()(),d(ae("form"),sr,de,ie,kr)):f=="function"?d(Nt):f=="for"?d(ae("form"),Pt,Fn,de,rt,ie):f=="class"||C&&p=="interface"?(T.marked="keyword",d(ae("form",f=="class"?f:p),In,ie)):f=="variable"?C&&p=="declare"?(T.marked="keyword",d(de)):C&&(p=="module"||p=="enum"||p=="type")&&T.stream.match(/^\s*\w/,!1)?(T.marked="keyword",p=="enum"?d(Tr):p=="type"?d(Pn,ue("operator"),Z,ue(";")):d(ae("form"),nt,ue("{"),ae("}"),Ot,ie,ie)):C&&p=="namespace"?(T.marked="keyword",d(ae("form"),xe,de,ie)):C&&p=="abstract"?(T.marked="keyword",d(de)):d(ae("stat"),Sr):f=="switch"?d(ae("form"),sr,ue("{"),ae("}","switch"),Pt,Ot,ie,ie,rt):f=="case"?d(xe,ue(":")):f=="default"?d(ue(":")):f=="catch"?d(ae("form"),ze,An,de,ie,rt):f=="export"?d(ae("stat"),Jt,ie):f=="import"?d(ae("stat"),Bt,ie):f=="async"?d(de):p=="@"?d(xe,de):K(ae("stat"),xe,ue(";"),ie)}function An(f){if(f=="(")return d(bt,ue(")"))}function xe(f,p){return qt(f,p,!1)}function Ne(f,p){return qt(f,p,!0)}function sr(f){return f!="("?K():d(ae(")"),kt,ue(")"),ie)}function qt(f,p,v){if(T.state.fatArrowAt==T.stream.start){var N=v?Yr:Mn;if(f=="(")return d(ze,ae(")"),Me(bt,")"),ie,ue("=>"),N,rt);if(f=="variable")return K(ze,nt,ue("=>"),N,rt)}var le=v?Lt:pt;return F.hasOwnProperty(f)?d(le):f=="function"?d(Nt,le):f=="class"||C&&p=="interface"?(T.marked="keyword",d(ae("form"),Qt,ie)):f=="keyword c"||f=="async"?d(v?Ne:xe):f=="("?d(ae(")"),kt,ue(")"),ie,le):f=="operator"||f=="spread"?d(v?Ne:xe):f=="["?d(ae("]"),zt,ie,le):f=="{"?ur(Cr,"}",null,le):f=="quasi"?K(pe,le):f=="new"?d(Dn(v)):d()}function kt(f){return f.match(/[;\}\)\],]/)?K():K(xe)}function pt(f,p){return f==","?d(kt):Lt(f,p,!1)}function Lt(f,p,v){var N=v==!1?pt:Lt,le=v==!1?xe:Ne;if(f=="=>")return d(ze,v?Yr:Mn,rt);if(f=="operator")return/\+\+|--/.test(p)||C&&p=="!"?d(N):C&&p=="<"&&T.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?d(ae(">"),Me(Z,">"),ie,N):p=="?"?d(xe,ue(":"),le):d(le);if(f=="quasi")return K(pe,N);if(f!=";"){if(f=="(")return ur(Ne,")","call",N);if(f==".")return d(Hn,N);if(f=="[")return d(ae("]"),kt,ue("]"),ie,N);if(C&&p=="as")return T.marked="keyword",d(Z,N);if(f=="regexp")return T.state.lastType=T.marked="operator",T.stream.backUp(T.stream.pos-T.stream.start-1),d(le)}}function pe(f,p){return f!="quasi"?K():p.slice(p.length-2)!="${"?d(pe):d(kt,wr)}function wr(f){if(f=="}")return T.marked="string-2",T.state.tokenize=q,d(pe)}function Mn(f){return g(T.stream,T.state),K(f=="{"?de:xe)}function Yr(f){return g(T.stream,T.state),K(f=="{"?de:Ne)}function Dn(f){return function(p){return p=="."?d(f?qr:vi):p=="variable"&&C?d(Ze,f?Lt:pt):K(f?Ne:xe)}}function vi(f,p){if(p=="target")return T.marked="keyword",d(pt)}function qr(f,p){if(p=="target")return T.marked="keyword",d(Lt)}function Sr(f){return f==":"?d(ie,de):K(pt,ue(";"),ie)}function Hn(f){if(f=="variable")return T.marked="property",d()}function Cr(f,p){if(f=="async")return T.marked="property",d(Cr);if(f=="variable"||T.style=="keyword"){if(T.marked="property",p=="get"||p=="set")return d(Zr);var v;return C&&T.state.fatArrowAt==T.stream.start&&(v=T.stream.match(/^\s*:\s*/,!1))&&(T.state.fatArrowAt=T.stream.pos+v[0].length),d(Tt)}else{if(f=="number"||f=="string")return T.marked=w?"property":T.style+" property",d(Tt);if(f=="jsonld-keyword")return d(Tt);if(C&&we(p))return T.marked="keyword",d(Cr);if(f=="[")return d(xe,vt,ue("]"),Tt);if(f=="spread")return d(Ne,Tt);if(p=="*")return T.marked="keyword",d(Cr);if(f==":")return K(Tt)}}function Zr(f){return f!="variable"?K(Tt):(T.marked="property",d(Nt))}function Tt(f){if(f==":")return d(Ne);if(f=="(")return K(Nt)}function Me(f,p,v){function N(le,he){if(v?v.indexOf(le)>-1:le==","){var ve=T.state.lexical;return ve.info=="call"&&(ve.pos=(ve.pos||0)+1),d(function(Ie,ct){return Ie==p||ct==p?K():K(f)},N)}return le==p||he==p?d():v&&v.indexOf(";")>-1?K(f):d(ue(p))}return function(le,he){return le==p||he==p?d():K(f,N)}}function ur(f,p,v){for(var N=3;N"),Z);if(f=="quasi")return K(De,Ve)}function Qr(f){if(f=="=>")return d(Z)}function qe(f){return f.match(/[\}\)\]]/)?d():f==","||f==";"?d(qe):K(ke,qe)}function ke(f,p){if(f=="variable"||T.style=="keyword")return T.marked="property",d(ke);if(p=="?"||f=="number"||f=="string")return d(ke);if(f==":")return d(Z);if(f=="[")return d(ue("variable"),gi,ue("]"),ke);if(f=="(")return K(At,ke);if(!f.match(/[;\}\)\],]/))return d()}function De(f,p){return f!="quasi"?K():p.slice(p.length-2)!="${"?d(De):d(Z,Wn)}function Wn(f){if(f=="}")return T.marked="string-2",T.state.tokenize=q,d(De)}function je(f,p){return f=="variable"&&T.stream.match(/^\s*[?:]/,!1)||p=="?"?d(je):f==":"?d(Z):f=="spread"?d(je):K(Z)}function Ve(f,p){if(p=="<")return d(ae(">"),Me(Z,">"),ie,Ve);if(p=="|"||f=="."||p=="&")return d(Z);if(f=="[")return d(Z,ue("]"),Ve);if(p=="extends"||p=="implements")return T.marked="keyword",d(Z);if(p=="?")return d(Z,ue(":"),Z)}function Ze(f,p){if(p=="<")return d(ae(">"),Me(Z,">"),ie,Ve)}function fr(){return K(Z,Jr)}function Jr(f,p){if(p=="=")return d(Z)}function It(f,p){return p=="enum"?(T.marked="keyword",d(Tr)):K(nt,vt,yt,mi)}function nt(f,p){if(C&&we(p))return T.marked="keyword",d(nt);if(f=="variable")return be(p),d();if(f=="spread")return d(nt);if(f=="[")return ur(yi,"]");if(f=="{")return ur(jr,"}")}function jr(f,p){return f=="variable"&&!T.stream.match(/^\s*:/,!1)?(be(p),d(yt)):(f=="variable"&&(T.marked="property"),f=="spread"?d(nt):f=="}"?K():f=="["?d(xe,ue("]"),ue(":"),jr):d(ue(":"),nt,yt))}function yi(){return K(nt,yt)}function yt(f,p){if(p=="=")return d(Ne)}function mi(f){if(f==",")return d(It)}function kr(f,p){if(f=="keyword b"&&p=="else")return d(ae("form","else"),de,ie)}function Fn(f,p){if(p=="await")return d(Fn);if(f=="(")return d(ae(")"),Vr,ie)}function Vr(f){return f=="var"?d(It,Zt):f=="variable"?d(Zt):K(Zt)}function Zt(f,p){return f==")"?d():f==";"?d(Zt):p=="in"||p=="of"?(T.marked="keyword",d(xe,Zt)):K(xe,Zt)}function Nt(f,p){if(p=="*")return T.marked="keyword",d(Nt);if(f=="variable")return be(p),d(Nt);if(f=="(")return d(ze,ae(")"),Me(bt,")"),ie,gt,de,rt);if(C&&p=="<")return d(ae(">"),Me(fr,">"),ie,Nt)}function At(f,p){if(p=="*")return T.marked="keyword",d(At);if(f=="variable")return be(p),d(At);if(f=="(")return d(ze,ae(")"),Me(bt,")"),ie,gt,rt);if(C&&p=="<")return d(ae(">"),Me(fr,">"),ie,At)}function Pn(f,p){if(f=="keyword"||f=="variable")return T.marked="type",d(Pn);if(p=="<")return d(ae(">"),Me(fr,">"),ie)}function bt(f,p){return p=="@"&&d(xe,bt),f=="spread"?d(bt):C&&we(p)?(T.marked="keyword",d(bt)):C&&f=="this"?d(vt,yt):K(nt,vt,yt)}function Qt(f,p){return f=="variable"?In(f,p):Lr(f,p)}function In(f,p){if(f=="variable")return be(p),d(Lr)}function Lr(f,p){if(p=="<")return d(ae(">"),Me(fr,">"),ie,Lr);if(p=="extends"||p=="implements"||C&&f==",")return p=="implements"&&(T.marked="keyword"),d(C?Z:xe,Lr);if(f=="{")return d(ae("}"),ut,ie)}function ut(f,p){if(f=="async"||f=="variable"&&(p=="static"||p=="get"||p=="set"||C&&we(p))&&T.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return T.marked="keyword",d(ut);if(f=="variable"||T.style=="keyword")return T.marked="property",d(Rt,ut);if(f=="number"||f=="string")return d(Rt,ut);if(f=="[")return d(xe,vt,ue("]"),Rt,ut);if(p=="*")return T.marked="keyword",d(ut);if(C&&f=="(")return K(At,ut);if(f==";"||f==",")return d(ut);if(f=="}")return d();if(p=="@")return d(xe,ut)}function Rt(f,p){if(p=="!"||p=="?")return d(Rt);if(f==":")return d(Z,yt);if(p=="=")return d(Ne);var v=T.state.lexical.prev,N=v&&v.info=="interface";return K(N?At:Nt)}function Jt(f,p){return p=="*"?(T.marked="keyword",d(te,ue(";"))):p=="default"?(T.marked="keyword",d(xe,ue(";"))):f=="{"?d(Me(Rn,"}"),te,ue(";")):K(de)}function Rn(f,p){if(p=="as")return T.marked="keyword",d(ue("variable"));if(f=="variable")return K(Ne,Rn)}function Bt(f){return f=="string"?d():f=="("?K(xe):f=="."?K(pt):K(jt,$r,te)}function jt(f,p){return f=="{"?ur(jt,"}"):(f=="variable"&&be(p),p=="*"&&(T.marked="keyword"),d(He))}function $r(f){if(f==",")return d(jt,$r)}function He(f,p){if(p=="as")return T.marked="keyword",d(jt)}function te(f,p){if(p=="from")return T.marked="keyword",d(xe)}function zt(f){return f=="]"?d():K(Me(Ne,"]"))}function Tr(){return K(ae("form"),nt,ue("{"),ae("}"),Me(mt,"}"),ie,ie)}function mt(){return K(nt,yt)}function ge(f,p){return f.lastType=="operator"||f.lastType==","||j.test(p.charAt(0))||/[,.]/.test(p.charAt(0))}function Mt(f,p,v){return p.tokenize==L&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(p.lastType)||p.lastType=="quasi"&&/\{\s*$/.test(f.string.slice(0,f.pos-(v||0)))}return{startState:function(f){var p={tokenize:L,lastType:"sof",cc:[],lexical:new ne((f||0)-G,0,"block",!1),localVars:I.localVars,context:I.localVars&&new Ce(null,null,!1),indented:f||0};return I.globalVars&&typeof I.globalVars=="object"&&(p.globalVars=I.globalVars),p},token:function(f,p){if(f.sol()&&(p.lexical.hasOwnProperty("align")||(p.lexical.align=!1),p.indented=f.indentation(),g(f,p)),p.tokenize!=z&&f.eatSpace())return null;var v=p.tokenize(f,p);return D=="comment"?v:(p.lastType=D=="operator"&&(H=="++"||H=="--")?"incdec":D,ee(p,v,D,H,f))},indent:function(f,p){if(f.tokenize==z||f.tokenize==q)return m.Pass;if(f.tokenize!=L)return 0;var v=p&&p.charAt(0),N=f.lexical,le;if(!/^\s*else\b/.test(p))for(var he=f.cc.length-1;he>=0;--he){var ve=f.cc[he];if(ve==ie)N=N.prev;else if(ve!=kr&&ve!=rt)break}for(;(N.type=="stat"||N.type=="form")&&(v=="}"||(le=f.cc[f.cc.length-1])&&(le==pt||le==Lt)&&!/^[,\.=+\-*:?[\(]/.test(p));)N=N.prev;M&&N.type==")"&&N.prev.type=="stat"&&(N=N.prev);var Ie=N.type,ct=v==Ie;return Ie=="vardef"?N.indented+(f.lastType=="operator"||f.lastType==","?N.info.length+1:0):Ie=="form"&&v=="{"?N.indented:Ie=="form"?N.indented+G:Ie=="stat"?N.indented+(ge(f,p)?M||G:0):N.info=="switch"&&!ct&&I.doubleIndentSwitch!=!1?N.indented+(/^(?:case|default)\b/.test(p)?G:2*G):N.align?N.column+(ct?0:1):N.indented+(ct?0:G)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:S?null:"/*",blockCommentEnd:S?null:"*/",blockCommentContinue:S?null:" * ",lineComment:S?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:S?"json":"javascript",jsonldMode:w,jsonMode:S,expressionAllowed:Mt,skipExpression:function(f){ee(f,"atom","atom","true",new m.StringStream("",2,null))}}}),m.registerHelper("wordChars","javascript",/[\w$]/),m.defineMIME("text/javascript","javascript"),m.defineMIME("text/ecmascript","javascript"),m.defineMIME("application/javascript","javascript"),m.defineMIME("application/x-javascript","javascript"),m.defineMIME("application/ecmascript","javascript"),m.defineMIME("application/json",{name:"javascript",json:!0}),m.defineMIME("application/x-json",{name:"javascript",json:!0}),m.defineMIME("application/manifest+json",{name:"javascript",json:!0}),m.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),m.defineMIME("text/typescript",{name:"javascript",typescript:!0}),m.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var Wu={exports:{}};(function(Oe,Be){(function(m){m(tt())})(function(m){function U(w,S,x,C){if(x&&x.call){var W=x;x=null}else var W=M(w,x,"rangeFinder");typeof S=="number"&&(S=m.Pos(S,0));var P=M(w,x,"minFoldSize");function j(H){var k=W(w,S);if(!k||k.to.line-k.from.linew.firstLine();)S=m.Pos(S.line-1,0),O=j(!1);if(!(!O||O.cleared||C==="unfold")){var R=I(w,x,O);m.on(R,"mousedown",function(H){D.clear(),m.e_preventDefault(H)});var D=w.markText(O.from,O.to,{replacedWith:R,clearOnEnter:M(w,x,"clearOnEnter"),__isFold:!0});D.on("clear",function(H,k){m.signal(w,"unfold",w,H,k)}),m.signal(w,"fold",w,O.from,O.to)}}function I(w,S,x){var C=M(w,S,"widget");if(typeof C=="function"&&(C=C(x.from,x.to)),typeof C=="string"){var W=document.createTextNode(C);C=document.createElement("span"),C.appendChild(W),C.className="CodeMirror-foldmarker"}else C&&(C=C.cloneNode(!0));return C}m.newFoldFunction=function(w,S){return function(x,C){U(x,C,{rangeFinder:w,widget:S})}},m.defineExtension("foldCode",function(w,S,x){U(this,w,S,x)}),m.defineExtension("isFolded",function(w){for(var S=this.findMarksAt(w),x=0;xI.lastLine())return null;var j=I.getTokenAt(m.Pos(P,1));if(/\S/.test(j.string)||(j=I.getTokenAt(m.Pos(P,j.end+1))),j.type!="keyword"||j.string!="import")return null;for(var O=P,R=Math.min(I.lastLine(),P+10);O<=R;++O){var D=I.getLine(O),H=D.indexOf(";");if(H!=-1)return{startCh:j.end,end:m.Pos(O,H)}}}var w=G.line,S=M(w),x;if(!S||M(w-1)||(x=M(w-2))&&x.end.line==w-1)return null;for(var C=S.end;;){var W=M(C.line+1);if(W==null)break;C=W.end}return{from:I.clipPos(m.Pos(w,S.startCh+1)),to:C}}),m.registerHelper("fold","include",function(I,G){function M(W){if(WI.lastLine())return null;var P=I.getTokenAt(m.Pos(W,1));if(/\S/.test(P.string)||(P=I.getTokenAt(m.Pos(W,P.end+1))),P.type=="meta"&&P.string.slice(0,8)=="#include")return P.start+8}var w=G.line,S=M(w);if(S==null||M(w-1)!=null)return null;for(var x=w;;){var C=M(x+1);if(C==null)break;++x}return{from:m.Pos(w,S+1),to:I.clipPos(m.Pos(x))}})})})();(function(Oe,Be){(function(m){m(tt())})(function(m){m.registerGlobalHelper("fold","comment",function(U){return U.blockCommentStart&&U.blockCommentEnd},function(U,I){var G=U.getModeAt(I),M=G.blockCommentStart,w=G.blockCommentEnd;if(!M||!w)return;for(var S=I.line,x=U.getLine(S),C,W=I.ch,P=0;;){var j=W<=0?-1:x.lastIndexOf(M,W-1);if(j==-1){if(P==1)return;P=1,W=x.length;continue}if(P==1&&jM)w=S;else break}if(w)return{from:m.Pos(G.line,I.getLine(G.line).length),to:m.Pos(w,I.getLine(w).length)}}})})})();(function(Oe,Be){(function(m){m(tt(),Wu.exports)})(function(m){m.defineOption("foldGutter",!1,function(D,H,k){k&&k!=m.Init&&(D.clearGutter(D.state.foldGutter.options.gutter),D.state.foldGutter=null,D.off("gutterClick",W),D.off("changes",j),D.off("viewportChange",O),D.off("fold",R),D.off("unfold",R),D.off("swapDoc",j),D.off("optionChange",P)),H&&(D.state.foldGutter=new I(G(H)),C(D),D.on("gutterClick",W),D.on("changes",j),D.on("viewportChange",O),D.on("fold",R),D.on("unfold",R),D.on("swapDoc",j),D.on("optionChange",P))});var U=m.Pos;function I(D){this.options=D,this.from=this.to=0}function G(D){return D===!0&&(D={}),D.gutter==null&&(D.gutter="CodeMirror-foldgutter"),D.indicatorOpen==null&&(D.indicatorOpen="CodeMirror-foldgutter-open"),D.indicatorFolded==null&&(D.indicatorFolded="CodeMirror-foldgutter-folded"),D}function M(D,H){for(var k=D.findMarks(U(H,0),U(H+1,0)),L=0;L=z){if(g&&V&&g.test(V.className))return;ne=w(L.indicatorOpen)}}!ne&&!V||D.setGutterMarker(F,L.gutter,ne)})}function x(D){return new RegExp("(^|\\s)"+D+"(?:$|\\s)\\s*")}function C(D){var H=D.getViewport(),k=D.state.foldGutter;!k||(D.operation(function(){S(D,H.from,H.to)}),k.from=H.from,k.to=H.to)}function W(D,H,k){var L=D.state.foldGutter;if(!!L){var B=L.options;if(k==B.gutter){var z=M(D,H);z?z.clear():D.foldCode(U(H,0),B)}}}function P(D,H){H=="mode"&&j(D)}function j(D){var H=D.state.foldGutter;if(!!H){var k=H.options;H.from=H.to=0,clearTimeout(H.changeUpdate),H.changeUpdate=setTimeout(function(){C(D)},k.foldOnChangeTimeSpan||600)}}function O(D){var H=D.state.foldGutter;if(!!H){var k=H.options;clearTimeout(H.changeUpdate),H.changeUpdate=setTimeout(function(){var L=D.getViewport();H.from==H.to||L.from-H.to>20||H.from-L.to>20?C(D):D.operation(function(){L.fromH.to&&(S(D,H.to,L.to),H.to=L.to)})},k.updateViewportTimeSpan||400)}}function R(D,H){var k=D.state.foldGutter;if(!!k){var L=H.line;L>=k.from&&LC)return G.charCoords(q,"local")[Q?"top":"bottom"];var F=G.heightAtLine(P,"local");return F+(Q?0:P.height)}var O=G.lastLine();if(G.display.barWidth)for(var R=0,D;RO)){for(var k=D||j(H.from,!0)*M,L=j(H.to,!1)*M;RO||(D=j(S[R+1].from,!0)*M,D>L+.9));)H=S[++R],L=j(H.to,!1)*M;if(L!=k){var B=Math.max(L-k,3),z=w.appendChild(document.createElement("div"));z.style.cssText="position: absolute; right: 0px; width: "+Math.max(G.display.barWidth-1,2)+"px; top: "+(k+this.buttonHeight)+"px; height: "+B+"px",z.className=this.options.className,H.id&&z.setAttribute("annotation-id",H.id)}}}this.div.textContent="",this.div.appendChild(w)},U.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("changes",this.changeHandler),this.div.parentNode.removeChild(this.div)}})})();var Pu={exports:{}},yl={exports:{}},ml;function co(){return ml||(ml=1,function(Oe,Be){(function(m){m(tt())})(function(m){var U=m.Pos;function I(k){var L=k.flags;return L!=null?L:(k.ignoreCase?"i":"")+(k.global?"g":"")+(k.multiline?"m":"")}function G(k,L){for(var B=I(k),z=B,q=0;qg);F++){var ne=k.getLine(Q++);z=z==null?ne:z+` `+ne}q=q*2,L.lastIndex=B.ch;var V=L.exec(z);if(V){var ee=z.slice(0,V.index).split(` `),T=V[0].split(` `),K=B.line+ee.length-1,d=ee[ee.length-1].length;return{from:U(K,d),to:U(K+T.length-1,T.length==1?d+T[0].length:T[T.length-1].length),match:V}}}}function x(k,L,B){for(var z,q=0;q<=k.length;){L.lastIndex=q;var Q=L.exec(k);if(!Q)break;var g=Q.index+Q[0].length;if(g>k.length-B)break;(!z||g>z.index+z[0].length)&&(z=Q),q=Q.index+1}return z}function C(k,L,B){L=G(L,"g");for(var z=B.line,q=B.ch,Q=k.firstLine();z>=Q;z--,q=-1){var g=k.getLine(z),F=x(g,L,q<0?0:g.length-q);if(F)return{from:U(z,F.index),to:U(z,F.index+F[0].length),match:F}}}function W(k,L,B){if(!M(L))return C(k,L,B);L=G(L,"gm");for(var z,q=1,Q=k.getLine(B.line).length-B.ch,g=B.line,F=k.firstLine();g>=F;){for(var ne=0;ne=F;ne++){var V=k.getLine(g--);z=z==null?V:V+` `+z}q*=2;var ee=x(z,L,Q);if(ee){var T=z.slice(0,ee.index).split(` `),K=ee[0].split(` -`),d=g+T.length,ce=T[T.length-1].length;return{from:U(d,ce),to:U(d+K.length-1,K.length==1?ce+K[0].length:K[K.length-1].length),match:ee}}}}var P,j;String.prototype.normalize?(P=function(k){return k.normalize("NFD").toLowerCase()},j=function(k){return k.normalize("NFD")}):(P=function(k){return k.toLowerCase()},j=function(k){return k});function O(k,L,B,z){if(k.length==L.length)return B;for(var q=0,Q=B+Math.max(0,k.length-L.length);;){if(q==Q)return q;var g=q+Q>>1,F=z(k.slice(0,g)).length;if(F==B)return g;F>B?Q=g:q=g+1}}function R(k,L,B,z){if(!L.length)return null;var q=z?P:j,Q=q(L).split(/\r|\n\r?/);e:for(var g=B.line,F=B.ch,ne=k.lastLine()+1-Q.length;g<=ne;g++,F=0){var V=k.getLine(g).slice(F),ee=q(V);if(Q.length==1){var T=ee.indexOf(Q[0]);if(T==-1)continue e;var B=O(V,ee,T,q)+F;return{from:U(g,O(V,ee,T,q)+F),to:U(g,O(V,ee,T+Q[0].length,q)+F)}}else{var K=ee.length-Q[0].length;if(ee.slice(K)!=Q[0])continue e;for(var d=1;d=ne;g--,F=-1){var V=k.getLine(g);F>-1&&(V=V.slice(0,F));var ee=q(V);if(Q.length==1){var T=ee.lastIndexOf(Q[0]);if(T==-1)continue e;return{from:U(g,O(V,ee,T,q)),to:U(g,O(V,ee,T+Q[0].length,q))}}else{var K=Q[Q.length-1];if(ee.slice(0,K.length)!=K)continue e;for(var d=1,B=g-Q.length+1;d(this.doc.getLine(L.line)||"").length&&(L.ch=0,L.line++)),m.cmpPos(L,this.doc.clipPos(L))!=0))return this.atOccurrence=!1;var B=this.matches(k,L);if(this.afterEmptyMatch=B&&m.cmpPos(B.from,B.to)==0,B)return this.pos=B,this.atOccurrence=!0,this.pos.match||!0;var z=U(k?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:z,to:z},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(k,L){if(!!this.atOccurrence){var B=m.splitLines(k);this.doc.replaceRange(B,this.pos.from,this.pos.to,L),this.pos.to=U(this.pos.from.line+B.length-1,B[B.length-1].length+(B.length==1?this.pos.from.ch:0))}}},m.defineExtension("getSearchCursor",function(k,L,B){return new H(this.doc,k,L,B)}),m.defineDocExtension("getSearchCursor",function(k,L,B){return new H(this,k,L,B)}),m.defineExtension("selectMatches",function(k,L){for(var B=[],z=this.getSearchCursor(k,this.getCursor("from"),L);z.findNext()&&!(m.cmpPos(z.to(),this.getCursor("to"))>0);)B.push({anchor:z.from(),head:z.to()});B.length&&this.setSelections(B,0)})})}()),bl.exports}(function(Oe,Be){(function(m){m(tt(),co(),Ol())})(function(m){m.defineExtension("showMatchesOnScrollbar",function(M,w,S){return typeof S=="string"&&(S={className:S}),S||(S={}),new U(this,M,w,S)});function U(M,w,S,x){this.cm=M,this.options=x;var C={listenForChanges:!1};for(var W in x)C[W]=x[W];C.className||(C.className="CodeMirror-search-match"),this.annotation=M.annotateScrollbar(C),this.query=w,this.caseFold=S,this.gap={from:M.firstLine(),to:M.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var P=this;M.on("change",this.changeHandler=function(j,O){P.onChange(O)})}var I=1e3;U.prototype.findMatches=function(){if(!!this.gap){for(var M=0;M=this.gap.to)break;w.to.line>=this.gap.from&&this.matches.splice(M--,1)}for(var S=this.cm.getSearchCursor(this.query,m.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),x=this.options&&this.options.maxMatches||I;S.findNext();){var w={from:S.from(),to:S.to()};if(w.from.line>=this.gap.to||(this.matches.splice(M++,0,w),this.matches.length>x))break}this.gap=null}};function G(M,w,S){return M<=w?M:Math.max(w,M+S)}U.prototype.onChange=function(M){var w=M.from.line,S=m.changeEnd(M).line,x=S-M.to.line;if(this.gap?(this.gap.from=Math.min(G(this.gap.from,w,x),M.from.line),this.gap.to=Math.max(G(this.gap.to,w,x),M.from.line)):this.gap={from:M.from.line,to:S+1},x)for(var C=0;C=R.options.minChars&&S(O,Q,!1,R.options.style)}})}function W(O,R,D){var H=O.getRange(R,D);if(H.match(/^\w+$/)!==null){if(R.ch>0){var k={line:R.line,ch:R.ch-1},L=O.getRange(k,R);if(L.match(/\W/)===null)return!1}if(D.ch '+M.phrase("(Use line:column or scroll% syntax)")+""}function G(M,w){var S=Number(w);return/^[-+]/.test(w)?M.getCursor().line+S:S-1}m.commands.jumpToLine=function(M){var w=M.getCursor();U(M,I(M),M.phrase("Jump to line:"),w.line+1+":"+w.ch,function(S){if(!!S){var x;if(x=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(S))M.setCursor(G(M,x[1]),Number(x[2]));else if(x=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(S)){var C=Math.round(M.lineCount()*Number(x[1])/100);/^[-+]/.test(x[1])&&(C=w.line+C+1),M.setCursor(C-1,w.ch)}else(x=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(S))&&M.setCursor(G(M,x[1]),w.ch)}})},m.keyMap.default["Alt-G"]="jumpToLine"})})();po();co();(function(Oe,Be){(function(m){m(tt(),co(),po())})(function(m){m.defineOption("search",{bottom:!1});function U(g,F){return typeof g=="string"?g=new RegExp(g.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),F?"gi":"g"):g.global||(g=new RegExp(g.source,g.ignoreCase?"gi":"g")),{token:function(ne){g.lastIndex=ne.pos;var V=g.exec(ne.string);if(V&&V.index==ne.pos)return ne.pos+=V[0].length||1,"searching";V?ne.pos=V.index:ne.skipToEnd()}}}function I(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function G(g){return g.state.search||(g.state.search=new I)}function M(g){return typeof g=="string"&&g==g.toLowerCase()}function w(g,F,ne){return g.getSearchCursor(F,ne,{caseFold:M(F),multiline:!0})}function S(g,F,ne,V,ee){g.openDialog(F,V,{value:ne,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){D(g)},onKeyDown:ee,bottom:g.options.search.bottom})}function x(g,F,ne,V,ee){g.openDialog?g.openDialog(F,ee,{value:V,selectValueOnOpen:!0,bottom:g.options.search.bottom}):ee(prompt(ne,V))}function C(g,F,ne,V){g.openConfirm?g.openConfirm(F,V):confirm(ne)&&V[0]()}function W(g){return g.replace(/\\([nrt\\])/g,function(F,ne){return ne=="n"?` -`:ne=="r"?"\r":ne=="t"?" ":ne=="\\"?"\\":F})}function P(g){var F=g.match(/^\/(.*)\/([a-z]*)$/);if(F)try{g=new RegExp(F[1],F[2].indexOf("i")==-1?"":"i")}catch{}else g=W(g);return(typeof g=="string"?g=="":g.test(""))&&(g=/x^/),g}function j(g,F,ne){F.queryText=ne,F.query=P(ne),g.removeOverlay(F.overlay,M(F.query)),F.overlay=U(F.query,M(F.query)),g.addOverlay(F.overlay),g.showMatchesOnScrollbar&&(F.annotate&&(F.annotate.clear(),F.annotate=null),F.annotate=g.showMatchesOnScrollbar(F.query,M(F.query)))}function O(g,F,ne,V){var ee=G(g);if(ee.query)return R(g,F);var T=g.getSelection()||ee.lastQuery;if(T instanceof RegExp&&T.source=="x^"&&(T=null),ne&&g.openDialog){var K=null,d=function(ce,be){m.e_stop(be),ce&&(ce!=ee.queryText&&(j(g,ee,ce),ee.posFrom=ee.posTo=g.getCursor()),K&&(K.style.opacity=1),R(g,be.shiftKey,function(Le,we){var Ce;we.line<3&&document.querySelector&&(Ce=g.display.wrapper.querySelector(".CodeMirror-dialog"))&&Ce.getBoundingClientRect().bottom-4>g.cursorCoords(we,"window").top&&((K=Ce).style.opacity=.4)}))};S(g,k(g),T,d,function(ce,be){var Le=m.keyName(ce),we=g.getOption("extraKeys"),Ce=we&&we[Le]||m.keyMap[g.getOption("keyMap")][Le];Ce=="findNext"||Ce=="findPrev"||Ce=="findPersistentNext"||Ce=="findPersistentPrev"?(m.e_stop(ce),j(g,G(g),be),g.execCommand(Ce)):(Ce=="find"||Ce=="findPersistent")&&(m.e_stop(ce),d(be,ce))}),V&&T&&(j(g,ee,T),R(g,F))}else x(g,k(g),"Search for:",T,function(ce){ce&&!ee.query&&g.operation(function(){j(g,ee,ce),ee.posFrom=ee.posTo=g.getCursor(),R(g,F)})})}function R(g,F,ne){g.operation(function(){var V=G(g),ee=w(g,V.query,F?V.posFrom:V.posTo);!ee.find(F)&&(ee=w(g,V.query,F?m.Pos(g.lastLine()):m.Pos(g.firstLine(),0)),!ee.find(F))||(g.setSelection(ee.from(),ee.to()),g.scrollIntoView({from:ee.from(),to:ee.to()},20),V.posFrom=ee.from(),V.posTo=ee.to(),ne&&ne(ee.from(),ee.to()))})}function D(g){g.operation(function(){var F=G(g);F.lastQuery=F.query,F.query&&(F.query=F.queryText=null,g.removeOverlay(F.overlay),F.annotate&&(F.annotate.clear(),F.annotate=null))})}function H(g,F){var ne=g?document.createElement(g):document.createDocumentFragment();for(var V in F)ne[V]=F[V];for(var ee=2;ee{M!=null&&m.value&&m.value!==M.getValue()&&M.setValue(m.value)}),pl(I,()=>{M!=null&&M.setOption("readOnly",I.value)}),Mu(()=>{M=Bu.fromTextArea(G.value,{value:m.value,mode:"application/json",indentWithTabs:!1,smartIndent:!0,lineNumbers:!0,matchBrackets:!0,readOnly:I.value,foldGutter:!0,lineWrapping:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter","CodeMirror-lint-markers"],styleActiveLine:!1}),M.on("change",()=>{Be.emit("update:modelValue",M.getValue())}),U.value&&M.setValue(U.value)}),Du(()=>{M!==null&&(M.toTextArea(),M=null)}),{codeEditor:G}}}),_u={ref:"codeEditor",placeholder:"\u8BF7\u8F93\u5165..."};function Gu(Oe,Be,m,U,I,G){return Ll(),Tl("textarea",_u,null,512)}const Uu=Cl(zu,[["render",Gu]]),Ku=Oe=>(Wu("data-v-666accbb"),Oe=Oe(),Fu(),Oe),Xu={class:"m-code-mirror"},Yu={class:"header"},qu=Ku(()=>Nn("div",null,[Nn("span",null,"\u4EE3\u7801\u7F16\u8F91\u5668\u7EC4\u4EF6\u793A\u4F8B")],-1)),Zu={class:"footer"},Qu={class:"footer-inner"},Ju=kl({__name:"index",setup(Oe){return(Be,m)=>{const U=Hu("el-card");return Ll(),Tl("div",Xu,[Nn("div",Yu,[vl(U,null,{default:Eu(()=>[qu]),_:1})]),Nn("div",Zu,[Nn("div",Qu,[vl(Uu)])])])}}});const Vu=Cl(Ju,[["__scopeId","data-v-666accbb"]]);export{Vu as default}; +`),d=g+T.length,ce=T[T.length-1].length;return{from:U(d,ce),to:U(d+K.length-1,K.length==1?ce+K[0].length:K[K.length-1].length),match:ee}}}}var P,j;String.prototype.normalize?(P=function(k){return k.normalize("NFD").toLowerCase()},j=function(k){return k.normalize("NFD")}):(P=function(k){return k.toLowerCase()},j=function(k){return k});function O(k,L,B,z){if(k.length==L.length)return B;for(var q=0,Q=B+Math.max(0,k.length-L.length);;){if(q==Q)return q;var g=q+Q>>1,F=z(k.slice(0,g)).length;if(F==B)return g;F>B?Q=g:q=g+1}}function R(k,L,B,z){if(!L.length)return null;var q=z?P:j,Q=q(L).split(/\r|\n\r?/);e:for(var g=B.line,F=B.ch,ne=k.lastLine()+1-Q.length;g<=ne;g++,F=0){var V=k.getLine(g).slice(F),ee=q(V);if(Q.length==1){var T=ee.indexOf(Q[0]);if(T==-1)continue e;var B=O(V,ee,T,q)+F;return{from:U(g,O(V,ee,T,q)+F),to:U(g,O(V,ee,T+Q[0].length,q)+F)}}else{var K=ee.length-Q[0].length;if(ee.slice(K)!=Q[0])continue e;for(var d=1;d=ne;g--,F=-1){var V=k.getLine(g);F>-1&&(V=V.slice(0,F));var ee=q(V);if(Q.length==1){var T=ee.lastIndexOf(Q[0]);if(T==-1)continue e;return{from:U(g,O(V,ee,T,q)),to:U(g,O(V,ee,T+Q[0].length,q))}}else{var K=Q[Q.length-1];if(ee.slice(0,K.length)!=K)continue e;for(var d=1,B=g-Q.length+1;d(this.doc.getLine(L.line)||"").length&&(L.ch=0,L.line++)),m.cmpPos(L,this.doc.clipPos(L))!=0))return this.atOccurrence=!1;var B=this.matches(k,L);if(this.afterEmptyMatch=B&&m.cmpPos(B.from,B.to)==0,B)return this.pos=B,this.atOccurrence=!0,this.pos.match||!0;var z=U(k?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:z,to:z},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(k,L){if(!!this.atOccurrence){var B=m.splitLines(k);this.doc.replaceRange(B,this.pos.from,this.pos.to,L),this.pos.to=U(this.pos.from.line+B.length-1,B[B.length-1].length+(B.length==1?this.pos.from.ch:0))}}},m.defineExtension("getSearchCursor",function(k,L,B){return new H(this.doc,k,L,B)}),m.defineDocExtension("getSearchCursor",function(k,L,B){return new H(this,k,L,B)}),m.defineExtension("selectMatches",function(k,L){for(var B=[],z=this.getSearchCursor(k,this.getCursor("from"),L);z.findNext()&&!(m.cmpPos(z.to(),this.getCursor("to"))>0);)B.push({anchor:z.from(),head:z.to()});B.length&&this.setSelections(B,0)})})}()),yl.exports}(function(Oe,Be){(function(m){m(tt(),co(),Fu.exports)})(function(m){m.defineExtension("showMatchesOnScrollbar",function(M,w,S){return typeof S=="string"&&(S={className:S}),S||(S={}),new U(this,M,w,S)});function U(M,w,S,x){this.cm=M,this.options=x;var C={listenForChanges:!1};for(var W in x)C[W]=x[W];C.className||(C.className="CodeMirror-search-match"),this.annotation=M.annotateScrollbar(C),this.query=w,this.caseFold=S,this.gap={from:M.firstLine(),to:M.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var P=this;M.on("change",this.changeHandler=function(j,O){P.onChange(O)})}var I=1e3;U.prototype.findMatches=function(){if(!!this.gap){for(var M=0;M=this.gap.to)break;w.to.line>=this.gap.from&&this.matches.splice(M--,1)}for(var S=this.cm.getSearchCursor(this.query,m.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),x=this.options&&this.options.maxMatches||I;S.findNext();){var w={from:S.from(),to:S.to()};if(w.from.line>=this.gap.to||(this.matches.splice(M++,0,w),this.matches.length>x))break}this.gap=null}};function G(M,w,S){return M<=w?M:Math.max(w,M+S)}U.prototype.onChange=function(M){var w=M.from.line,S=m.changeEnd(M).line,x=S-M.to.line;if(this.gap?(this.gap.from=Math.min(G(this.gap.from,w,x),M.from.line),this.gap.to=Math.max(G(this.gap.to,w,x),M.from.line)):this.gap={from:M.from.line,to:S+1},x)for(var C=0;C=R.options.minChars&&S(O,Q,!1,R.options.style)}})}function W(O,R,D){var H=O.getRange(R,D);if(H.match(/^\w+$/)!==null){if(R.ch>0){var k={line:R.line,ch:R.ch-1},L=O.getRange(k,R);if(L.match(/\W/)===null)return!1}if(D.ch '+M.phrase("(Use line:column or scroll% syntax)")+""}function G(M,w){var S=Number(w);return/^[-+]/.test(w)?M.getCursor().line+S:S-1}m.commands.jumpToLine=function(M){var w=M.getCursor();U(M,I(M),M.phrase("Jump to line:"),w.line+1+":"+w.ch,function(S){if(!!S){var x;if(x=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(S))M.setCursor(G(M,x[1]),Number(x[2]));else if(x=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(S)){var C=Math.round(M.lineCount()*Number(x[1])/100);/^[-+]/.test(x[1])&&(C=w.line+C+1),M.setCursor(C-1,w.ch)}else(x=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(S))&&M.setCursor(G(M,x[1]),w.ch)}})},m.keyMap.default["Alt-G"]="jumpToLine"})})();po();co();(function(Oe,Be){(function(m){m(tt(),co(),po())})(function(m){m.defineOption("search",{bottom:!1});function U(g,F){return typeof g=="string"?g=new RegExp(g.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),F?"gi":"g"):g.global||(g=new RegExp(g.source,g.ignoreCase?"gi":"g")),{token:function(ne){g.lastIndex=ne.pos;var V=g.exec(ne.string);if(V&&V.index==ne.pos)return ne.pos+=V[0].length||1,"searching";V?ne.pos=V.index:ne.skipToEnd()}}}function I(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function G(g){return g.state.search||(g.state.search=new I)}function M(g){return typeof g=="string"&&g==g.toLowerCase()}function w(g,F,ne){return g.getSearchCursor(F,ne,{caseFold:M(F),multiline:!0})}function S(g,F,ne,V,ee){g.openDialog(F,V,{value:ne,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){D(g)},onKeyDown:ee,bottom:g.options.search.bottom})}function x(g,F,ne,V,ee){g.openDialog?g.openDialog(F,ee,{value:V,selectValueOnOpen:!0,bottom:g.options.search.bottom}):ee(prompt(ne,V))}function C(g,F,ne,V){g.openConfirm?g.openConfirm(F,V):confirm(ne)&&V[0]()}function W(g){return g.replace(/\\([nrt\\])/g,function(F,ne){return ne=="n"?` +`:ne=="r"?"\r":ne=="t"?" ":ne=="\\"?"\\":F})}function P(g){var F=g.match(/^\/(.*)\/([a-z]*)$/);if(F)try{g=new RegExp(F[1],F[2].indexOf("i")==-1?"":"i")}catch{}else g=W(g);return(typeof g=="string"?g=="":g.test(""))&&(g=/x^/),g}function j(g,F,ne){F.queryText=ne,F.query=P(ne),g.removeOverlay(F.overlay,M(F.query)),F.overlay=U(F.query,M(F.query)),g.addOverlay(F.overlay),g.showMatchesOnScrollbar&&(F.annotate&&(F.annotate.clear(),F.annotate=null),F.annotate=g.showMatchesOnScrollbar(F.query,M(F.query)))}function O(g,F,ne,V){var ee=G(g);if(ee.query)return R(g,F);var T=g.getSelection()||ee.lastQuery;if(T instanceof RegExp&&T.source=="x^"&&(T=null),ne&&g.openDialog){var K=null,d=function(ce,be){m.e_stop(be),ce&&(ce!=ee.queryText&&(j(g,ee,ce),ee.posFrom=ee.posTo=g.getCursor()),K&&(K.style.opacity=1),R(g,be.shiftKey,function(Le,we){var Ce;we.line<3&&document.querySelector&&(Ce=g.display.wrapper.querySelector(".CodeMirror-dialog"))&&Ce.getBoundingClientRect().bottom-4>g.cursorCoords(we,"window").top&&((K=Ce).style.opacity=.4)}))};S(g,k(g),T,d,function(ce,be){var Le=m.keyName(ce),we=g.getOption("extraKeys"),Ce=we&&we[Le]||m.keyMap[g.getOption("keyMap")][Le];Ce=="findNext"||Ce=="findPrev"||Ce=="findPersistentNext"||Ce=="findPersistentPrev"?(m.e_stop(ce),j(g,G(g),be),g.execCommand(Ce)):(Ce=="find"||Ce=="findPersistent")&&(m.e_stop(ce),d(be,ce))}),V&&T&&(j(g,ee,T),R(g,F))}else x(g,k(g),"Search for:",T,function(ce){ce&&!ee.query&&g.operation(function(){j(g,ee,ce),ee.posFrom=ee.posTo=g.getCursor(),R(g,F)})})}function R(g,F,ne){g.operation(function(){var V=G(g),ee=w(g,V.query,F?V.posFrom:V.posTo);!ee.find(F)&&(ee=w(g,V.query,F?m.Pos(g.lastLine()):m.Pos(g.firstLine(),0)),!ee.find(F))||(g.setSelection(ee.from(),ee.to()),g.scrollIntoView({from:ee.from(),to:ee.to()},20),V.posFrom=ee.from(),V.posTo=ee.to(),ne&&ne(ee.from(),ee.to()))})}function D(g){g.operation(function(){var F=G(g);F.lastQuery=F.query,F.query&&(F.query=F.queryText=null,g.removeOverlay(F.overlay),F.annotate&&(F.annotate.clear(),F.annotate=null))})}function H(g,F){var ne=g?document.createElement(g):document.createDocumentFragment();for(var V in F)ne[V]=F[V];for(var ee=2;ee{M!=null&&m.value&&m.value!==M.getValue()&&M.setValue(m.value)}),pl(I,()=>{M!=null&&M.setOption("readOnly",I.value)}),Ou(()=>{M=Iu.fromTextArea(G.value,{value:m.value,mode:"application/json",indentWithTabs:!1,smartIndent:!0,lineNumbers:!0,matchBrackets:!0,readOnly:I.value,foldGutter:!0,lineWrapping:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter","CodeMirror-lint-markers"],styleActiveLine:!1}),M.on("change",()=>{Be.emit("update:modelValue",M.getValue())}),U.value&&M.setValue(U.value)}),Nu(()=>{M!==null&&(M.toTextArea(),M=null)}),{codeEditor:G}}}),Bu={ref:"codeEditor",placeholder:"\u8BF7\u8F93\u5165..."};function zu(Oe,Be,m,U,I,G){return Cl(),kl("textarea",Bu,null,512)}const _u=wl(Ru,[["render",zu]]),Gu=Oe=>(Du("data-v-666accbb"),Oe=Oe(),Hu(),Oe),Uu={class:"m-code-mirror"},Ku={class:"header"},Xu=Gu(()=>Nn("div",null,[Nn("span",null,"\u4EE3\u7801\u7F16\u8F91\u5668\u7EC4\u4EF6\u793A\u4F8B")],-1)),Yu={class:"footer"},qu={class:"footer-inner"},Zu=Sl({__name:"index",setup(Oe){return(Be,m)=>{const U=Au("el-card");return Cl(),kl("div",Uu,[Nn("div",Ku,[vl(U,null,{default:Mu(()=>[Xu]),_:1})]),Nn("div",Yu,[Nn("div",qu,[vl(_u)])])])}}});const Ju=wl(Zu,[["__scopeId","data-v-666accbb"]]);export{Ju as default}; diff --git a/docs/assets/index.6d214c4d.js.gz b/docs/assets/index.6d214c4d.js.gz new file mode 100644 index 0000000..95a8bca Binary files /dev/null and b/docs/assets/index.6d214c4d.js.gz differ diff --git a/docs/assets/index.35edcba8.js b/docs/assets/index.71db70c1.js similarity index 99% rename from docs/assets/index.35edcba8.js rename to docs/assets/index.71db70c1.js index 3bf4991..0871e03 100644 --- a/docs/assets/index.35edcba8.js +++ b/docs/assets/index.71db70c1.js @@ -1,4 +1,4 @@ -import{Q as q,R as tt,M as B,g as et,i as V,r as C,o as nt,c as rt,a as M,b as w,w as F,d as ot}from"./index.048a73c8.js";var z={exports:{}};/*! +import{Q as q,R as tt,M as B,g as et,i as V,r as C,o as nt,c as rt,a as M,b as w,w as F,d as ot}from"./index.034c045c.js";var z={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * diff --git a/docs/assets/index.71db70c1.js.gz b/docs/assets/index.71db70c1.js.gz new file mode 100644 index 0000000..1b6512e Binary files /dev/null and b/docs/assets/index.71db70c1.js.gz differ diff --git a/docs/assets/index.473996a5.js b/docs/assets/index.770265ee.js similarity index 99% rename from docs/assets/index.473996a5.js rename to docs/assets/index.770265ee.js index 23fd420..30cc107 100644 --- a/docs/assets/index.473996a5.js +++ b/docs/assets/index.770265ee.js @@ -1 +1 @@ -import{g as $,i as d,j as I,r as o,o as h,n as D,w as t,a as B,b as e,d as F,x as G,C as J,c as R,s as j,I as K,G as L,N as P,_ as N,U as Q,O as W,V as X,p as Y,f as Z}from"./index.048a73c8.js";import{u as ee,d as z}from"./system.79236d81.js";const ue={class:"dialog-footer"},le=$({__name:"userDialog",setup(V,{expose:x}){const r=d(),i=d(!1),p=d("\u65B0\u589E\u7528\u6237"),_=I({nickname:[{required:!0,message:"\u8BF7\u8F93\u5165\u6635\u79F0",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],username:[{required:!0,message:"\u8BF7\u8F93\u5165",trigger:"blur"}],role:[{required:!0,message:"\u8BF7\u9009\u62E9\u89D2\u8272",trigger:"change"}],sex:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B",trigger:"change"}]}),u=I({username:"",nickname:null,sex:"\u7537",role:null,photo:null,password:null,describe:null,status:!0});function g(){r.value.resetFields(),Object.keys(u).forEach(n=>{n==="sex"?u[n]="\u7537":n==="status"?u[n]=!0:u[n]=null})}const w=(n={})=>{p.value="\u65B0\u589E\u7528\u6237",n.username&&(p.value="\u7F16\u8F91\u7528\u6237",Object.keys(n).forEach(l=>{u[l]=n[l]})),i.value=!0},C=async n=>{await r.value.validate((l,v)=>{l?(i.value=!1,console.log("submit!",u)):console.log("error submit!",v)})};return x({show:w}),(n,l)=>{const v=o("el-input"),m=o("el-form-item"),y=o("el-radio"),s=o("el-radio-group"),f=o("el-option"),T=o("el-select"),A=o("el-switch"),E=o("el-form"),k=o("el-button"),S=o("el-dialog");return h(),D(S,{onClose:g,modelValue:i.value,"onUpdate:modelValue":l[10]||(l[10]=a=>i.value=a),title:p.value,width:"50%"},{footer:t(()=>[B("span",ue,[e(k,{onClick:l[8]||(l[8]=a=>i.value=!1)},{default:t(()=>[F("\u53D6\u6D88")]),_:1}),e(k,{type:"primary",onClick:l[9]||(l[9]=a=>C(r.value))},{default:t(()=>[F("\u786E\u5B9A")]),_:1})])]),default:t(()=>[e(E,{ref_key:"ruleFormRef",ref:r,model:u,rules:_,"label-width":"100px"},{default:t(()=>[e(m,{label:"\u7528\u6237\u540D",prop:"username"},{default:t(()=>[e(v,{modelValue:u.username,"onUpdate:modelValue":l[0]||(l[0]=a=>u.username=a),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u6635\u79F0",prop:"nickname"},{default:t(()=>[e(v,{modelValue:u.nickname,"onUpdate:modelValue":l[1]||(l[1]=a=>u.nickname=a),placeholder:"\u8BF7\u8F93\u5165\u6635\u79F0"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u6027\u522B",prop:"sex"},{default:t(()=>[e(s,{modelValue:u.sex,"onUpdate:modelValue":l[2]||(l[2]=a=>u.sex=a)},{default:t(()=>[e(y,{label:"\u7537"},{default:t(()=>[F("\u7537")]),_:1}),e(y,{label:"\u5973"},{default:t(()=>[F("\u5973")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(m,{label:"\u5173\u8054\u89D2\u8272",prop:"role"},{default:t(()=>[e(T,{modelValue:u.role,"onUpdate:modelValue":l[3]||(l[3]=a=>u.role=a),placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"}},{default:t(()=>[(h(),D(f,{label:"\u8D85\u7EA7\u7BA1\u7406\u5458",value:"\u8D85\u7EA7\u7BA1\u7406\u5458",key:0})),(h(),D(f,{label:"\u7BA1\u7406\u5458",value:"\u7BA1\u7406\u5458",key:1})),(h(),D(f,{label:"\u666E\u901A\u7528\u6237",value:"\u666E\u901A\u7528\u6237",key:2}))]),_:1},8,["modelValue"])]),_:1}),e(m,{label:"\u624B\u673A\u53F7",prop:"photo"},{default:t(()=>[e(v,{modelValue:u.photo,"onUpdate:modelValue":l[4]||(l[4]=a=>u.photo=a),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u8D26\u6237\u5BC6\u7801"},{default:t(()=>[e(v,{modelValue:u.password,"onUpdate:modelValue":l[5]||(l[5]=a=>u.password=a),placeholder:"\u8BF7\u8F93\u5165\u8D26\u6237\u5BC6\u7801,\u5982\u679C\u4E0D\u8F93\u5165\u9ED8\u8BA4123456",type:"password",clearable:""},null,8,["modelValue"])]),_:1}),e(m,{label:"\u7528\u6237\u72B6\u6001"},{default:t(()=>[e(A,{modelValue:u.status,"onUpdate:modelValue":l[6]||(l[6]=a=>u.status=a),"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u7528\u6237\u63CF\u8FF0",prop:"describe"},{default:t(()=>[e(v,{modelValue:u.describe,"onUpdate:modelValue":l[7]||(l[7]=a=>u.describe=a),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u63CF\u8FF0"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),te={class:"m-user-table"},oe={class:"header"},ae={class:"footer"},ne={class:"util"},se={class:"table-inner"},re={class:"pagination"},de=$({__name:"userTable",setup(V){const x=d(ee);d(!1);const r=d(),i=d(),p=I({}),_=d(!0),u=d(1),g=()=>{console.log("submit!",p),_.value=!0,setTimeout(()=>{_.value=!1},1e3)},w=s=>{_.value=!0,setTimeout(()=>{_.value=!1},1e3)},C=()=>{r.value.show()},n=s=>{r.value.show(s)},l=s=>{P.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})},v=s=>{P.confirm(`\u786E\u5B9A\u8981${s.status?"\u542F\u7528":"\u7981\u7528"} ${s.username} \u8D26\u6237\u5417\uFF1F`,"\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{}).catch(()=>{s.status=!s.status})},m=s=>{console.log(`${s} items per page`)},y=s=>{u.value=s};return G(()=>{setTimeout(()=>{_.value=!1},1e3)}),(s,f)=>{const T=o("el-input"),A=o("el-form-item"),E=o("el-button"),k=o("el-form"),S=o("Plus"),a=o("el-icon"),b=o("el-table-column"),q=o("el-switch"),O=o("el-table"),M=o("el-pagination"),H=J("loading");return h(),R("div",te,[B("div",oe,[e(k,{inline:!0,model:p,ref_key:"ruleFormRef",ref:i},{default:t(()=>[e(A,{label:"\u7528\u6237\u540D",prop:"username"},{default:t(()=>[e(T,{modelValue:p.username,"onUpdate:modelValue":f[0]||(f[0]=c=>p.username=c),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D"},null,8,["modelValue"])]),_:1}),e(A,null,{default:t(()=>[e(E,{type:"primary",onClick:g,icon:j(K)},{default:t(()=>[F("\u67E5\u8BE2")]),_:1},8,["icon"]),e(E,{onClick:f[1]||(f[1]=c=>w(i.value))},{default:t(()=>[F("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),B("div",ae,[B("div",ne,[e(E,{type:"primary",onClick:C},{default:t(()=>[e(a,null,{default:t(()=>[e(S)]),_:1}),F(" \u65B0\u589E\u7528\u6237 ")]),_:1})]),B("div",se,[L((h(),D(O,{data:x.value,style:{width:"100%",height:"100%"},border:""},{default:t(()=>[e(b,{prop:"username",label:"\u7528\u6237\u540D",align:"center",width:"100"}),e(b,{prop:"nickname",label:"\u6635\u79F0",align:"center"}),e(b,{prop:"sex",label:"\u6027\u522B",align:"center"}),e(b,{prop:"role",label:"\u5173\u8054\u89D2\u8272",align:"center",width:"120"}),e(b,{prop:"photo",label:"\u624B\u673A\u53F7",align:"center",width:"120"}),e(b,{prop:"status",label:"\u7528\u6237\u72B6\u6001",align:"center"},{default:t(c=>[e(q,{"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528",modelValue:c.row.status,"onUpdate:modelValue":U=>c.row.status=U,onChange:U=>v(c.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(b,{prop:"describe","show-overflow-tooltip":!0,width:"180",label:"\u7528\u6237\u63CF\u8FF0",align:"center"}),e(b,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center",width:"180"}),e(b,{prop:"operator",label:"\u64CD\u4F5C",width:"200px",align:"center",fixed:"right"},{default:t(c=>[e(E,{type:"primary",size:"small",icon:"Edit",onClick:U=>n(c.row)},{default:t(()=>[F(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(E,{onClick:U=>l(c.row),type:"danger",size:"small",icon:"Delete"},{default:t(()=>[F(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[H,_.value]])]),B("div",re,[e(M,{currentPage:u.value,"onUpdate:currentPage":f[2]||(f[2]=c=>u.value=c),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:1e3,onSizeChange:m,onCurrentChange:y},null,8,["currentPage"])])]),e(le,{ref_key:"userDialog",ref:r},null,512)])}}});const ie=N(de,[["__scopeId","data-v-8d2ae026"]]),ce=V=>(Y("data-v-c4e94ca0"),V=V(),Z(),V),pe=ce(()=>B("div",{class:"title"},"\u90E8\u95E8\u5217\u8868",-1)),_e={class:"filter-tree"},me=$({__name:"userSide",setup(V){const x=d(z);Q(()=>{let u={id:"",deptName:"\u5168\u90E8"};x.value=[u,...z]});const r=d(""),i=d(),p={children:"children",label:"deptName",value:"id"};W(r,u=>{i.value.filter(u)});const _=(u,g)=>(console.log(g),u?g.deptName.includes(u):!0);return(u,g)=>{const w=o("el-input"),C=o("el-scrollbar"),n=o("el-card");return h(),D(n,{class:"m-dept-side"},{default:t(()=>[pe,e(w,{modelValue:r.value,"onUpdate:modelValue":g[0]||(g[0]=l=>r.value=l),placeholder:"\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u8FC7\u6EE4",class:"filter-search"},null,8,["modelValue"]),B("div",_e,[e(C,{class:"scrollbar"},{default:t(()=>[e(j(X),{ref_key:"treeRef",ref:i,data:x.value,props:p,"default-expand-all":"","filter-node-method":_},null,8,["data"])]),_:1})])]),_:1})}}});const fe=N(me,[["__scopeId","data-v-c4e94ca0"]]),ge={class:"app-container m-user"},ve=$({__name:"index",setup(V){return(x,r)=>(h(),R("div",ge,[e(fe),e(ie)]))}});const Be=N(ve,[["__scopeId","data-v-6663c133"]]);export{Be as default}; +import{g as $,i as d,j as I,r as o,o as h,n as D,w as t,a as B,b as e,d as F,x as G,C as J,c as R,s as j,I as K,G as L,N as P,_ as N,U as Q,O as W,V as X,p as Y,f as Z}from"./index.034c045c.js";import{u as ee,d as z}from"./system.79236d81.js";const ue={class:"dialog-footer"},le=$({__name:"userDialog",setup(V,{expose:x}){const r=d(),i=d(!1),p=d("\u65B0\u589E\u7528\u6237"),_=I({nickname:[{required:!0,message:"\u8BF7\u8F93\u5165\u6635\u79F0",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],username:[{required:!0,message:"\u8BF7\u8F93\u5165",trigger:"blur"}],role:[{required:!0,message:"\u8BF7\u9009\u62E9\u89D2\u8272",trigger:"change"}],sex:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B",trigger:"change"}]}),u=I({username:"",nickname:null,sex:"\u7537",role:null,photo:null,password:null,describe:null,status:!0});function g(){r.value.resetFields(),Object.keys(u).forEach(n=>{n==="sex"?u[n]="\u7537":n==="status"?u[n]=!0:u[n]=null})}const w=(n={})=>{p.value="\u65B0\u589E\u7528\u6237",n.username&&(p.value="\u7F16\u8F91\u7528\u6237",Object.keys(n).forEach(l=>{u[l]=n[l]})),i.value=!0},C=async n=>{await r.value.validate((l,v)=>{l?(i.value=!1,console.log("submit!",u)):console.log("error submit!",v)})};return x({show:w}),(n,l)=>{const v=o("el-input"),m=o("el-form-item"),y=o("el-radio"),s=o("el-radio-group"),f=o("el-option"),T=o("el-select"),A=o("el-switch"),E=o("el-form"),k=o("el-button"),S=o("el-dialog");return h(),D(S,{onClose:g,modelValue:i.value,"onUpdate:modelValue":l[10]||(l[10]=a=>i.value=a),title:p.value,width:"50%"},{footer:t(()=>[B("span",ue,[e(k,{onClick:l[8]||(l[8]=a=>i.value=!1)},{default:t(()=>[F("\u53D6\u6D88")]),_:1}),e(k,{type:"primary",onClick:l[9]||(l[9]=a=>C(r.value))},{default:t(()=>[F("\u786E\u5B9A")]),_:1})])]),default:t(()=>[e(E,{ref_key:"ruleFormRef",ref:r,model:u,rules:_,"label-width":"100px"},{default:t(()=>[e(m,{label:"\u7528\u6237\u540D",prop:"username"},{default:t(()=>[e(v,{modelValue:u.username,"onUpdate:modelValue":l[0]||(l[0]=a=>u.username=a),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u6635\u79F0",prop:"nickname"},{default:t(()=>[e(v,{modelValue:u.nickname,"onUpdate:modelValue":l[1]||(l[1]=a=>u.nickname=a),placeholder:"\u8BF7\u8F93\u5165\u6635\u79F0"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u6027\u522B",prop:"sex"},{default:t(()=>[e(s,{modelValue:u.sex,"onUpdate:modelValue":l[2]||(l[2]=a=>u.sex=a)},{default:t(()=>[e(y,{label:"\u7537"},{default:t(()=>[F("\u7537")]),_:1}),e(y,{label:"\u5973"},{default:t(()=>[F("\u5973")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(m,{label:"\u5173\u8054\u89D2\u8272",prop:"role"},{default:t(()=>[e(T,{modelValue:u.role,"onUpdate:modelValue":l[3]||(l[3]=a=>u.role=a),placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"}},{default:t(()=>[(h(),D(f,{label:"\u8D85\u7EA7\u7BA1\u7406\u5458",value:"\u8D85\u7EA7\u7BA1\u7406\u5458",key:0})),(h(),D(f,{label:"\u7BA1\u7406\u5458",value:"\u7BA1\u7406\u5458",key:1})),(h(),D(f,{label:"\u666E\u901A\u7528\u6237",value:"\u666E\u901A\u7528\u6237",key:2}))]),_:1},8,["modelValue"])]),_:1}),e(m,{label:"\u624B\u673A\u53F7",prop:"photo"},{default:t(()=>[e(v,{modelValue:u.photo,"onUpdate:modelValue":l[4]||(l[4]=a=>u.photo=a),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u8D26\u6237\u5BC6\u7801"},{default:t(()=>[e(v,{modelValue:u.password,"onUpdate:modelValue":l[5]||(l[5]=a=>u.password=a),placeholder:"\u8BF7\u8F93\u5165\u8D26\u6237\u5BC6\u7801,\u5982\u679C\u4E0D\u8F93\u5165\u9ED8\u8BA4123456",type:"password",clearable:""},null,8,["modelValue"])]),_:1}),e(m,{label:"\u7528\u6237\u72B6\u6001"},{default:t(()=>[e(A,{modelValue:u.status,"onUpdate:modelValue":l[6]||(l[6]=a=>u.status=a),"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u7528\u6237\u63CF\u8FF0",prop:"describe"},{default:t(()=>[e(v,{modelValue:u.describe,"onUpdate:modelValue":l[7]||(l[7]=a=>u.describe=a),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u63CF\u8FF0"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),te={class:"m-user-table"},oe={class:"header"},ae={class:"footer"},ne={class:"util"},se={class:"table-inner"},re={class:"pagination"},de=$({__name:"userTable",setup(V){const x=d(ee);d(!1);const r=d(),i=d(),p=I({}),_=d(!0),u=d(1),g=()=>{console.log("submit!",p),_.value=!0,setTimeout(()=>{_.value=!1},1e3)},w=s=>{_.value=!0,setTimeout(()=>{_.value=!1},1e3)},C=()=>{r.value.show()},n=s=>{r.value.show(s)},l=s=>{P.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})},v=s=>{P.confirm(`\u786E\u5B9A\u8981${s.status?"\u542F\u7528":"\u7981\u7528"} ${s.username} \u8D26\u6237\u5417\uFF1F`,"\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{}).catch(()=>{s.status=!s.status})},m=s=>{console.log(`${s} items per page`)},y=s=>{u.value=s};return G(()=>{setTimeout(()=>{_.value=!1},1e3)}),(s,f)=>{const T=o("el-input"),A=o("el-form-item"),E=o("el-button"),k=o("el-form"),S=o("Plus"),a=o("el-icon"),b=o("el-table-column"),q=o("el-switch"),O=o("el-table"),M=o("el-pagination"),H=J("loading");return h(),R("div",te,[B("div",oe,[e(k,{inline:!0,model:p,ref_key:"ruleFormRef",ref:i},{default:t(()=>[e(A,{label:"\u7528\u6237\u540D",prop:"username"},{default:t(()=>[e(T,{modelValue:p.username,"onUpdate:modelValue":f[0]||(f[0]=c=>p.username=c),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D"},null,8,["modelValue"])]),_:1}),e(A,null,{default:t(()=>[e(E,{type:"primary",onClick:g,icon:j(K)},{default:t(()=>[F("\u67E5\u8BE2")]),_:1},8,["icon"]),e(E,{onClick:f[1]||(f[1]=c=>w(i.value))},{default:t(()=>[F("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),B("div",ae,[B("div",ne,[e(E,{type:"primary",onClick:C},{default:t(()=>[e(a,null,{default:t(()=>[e(S)]),_:1}),F(" \u65B0\u589E\u7528\u6237 ")]),_:1})]),B("div",se,[L((h(),D(O,{data:x.value,style:{width:"100%",height:"100%"},border:""},{default:t(()=>[e(b,{prop:"username",label:"\u7528\u6237\u540D",align:"center",width:"100"}),e(b,{prop:"nickname",label:"\u6635\u79F0",align:"center"}),e(b,{prop:"sex",label:"\u6027\u522B",align:"center"}),e(b,{prop:"role",label:"\u5173\u8054\u89D2\u8272",align:"center",width:"120"}),e(b,{prop:"photo",label:"\u624B\u673A\u53F7",align:"center",width:"120"}),e(b,{prop:"status",label:"\u7528\u6237\u72B6\u6001",align:"center"},{default:t(c=>[e(q,{"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528",modelValue:c.row.status,"onUpdate:modelValue":U=>c.row.status=U,onChange:U=>v(c.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(b,{prop:"describe","show-overflow-tooltip":!0,width:"180",label:"\u7528\u6237\u63CF\u8FF0",align:"center"}),e(b,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center",width:"180"}),e(b,{prop:"operator",label:"\u64CD\u4F5C",width:"200px",align:"center",fixed:"right"},{default:t(c=>[e(E,{type:"primary",size:"small",icon:"Edit",onClick:U=>n(c.row)},{default:t(()=>[F(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(E,{onClick:U=>l(c.row),type:"danger",size:"small",icon:"Delete"},{default:t(()=>[F(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[H,_.value]])]),B("div",re,[e(M,{currentPage:u.value,"onUpdate:currentPage":f[2]||(f[2]=c=>u.value=c),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:1e3,onSizeChange:m,onCurrentChange:y},null,8,["currentPage"])])]),e(le,{ref_key:"userDialog",ref:r},null,512)])}}});const ie=N(de,[["__scopeId","data-v-8d2ae026"]]),ce=V=>(Y("data-v-c4e94ca0"),V=V(),Z(),V),pe=ce(()=>B("div",{class:"title"},"\u90E8\u95E8\u5217\u8868",-1)),_e={class:"filter-tree"},me=$({__name:"userSide",setup(V){const x=d(z);Q(()=>{let u={id:"",deptName:"\u5168\u90E8"};x.value=[u,...z]});const r=d(""),i=d(),p={children:"children",label:"deptName",value:"id"};W(r,u=>{i.value.filter(u)});const _=(u,g)=>(console.log(g),u?g.deptName.includes(u):!0);return(u,g)=>{const w=o("el-input"),C=o("el-scrollbar"),n=o("el-card");return h(),D(n,{class:"m-dept-side"},{default:t(()=>[pe,e(w,{modelValue:r.value,"onUpdate:modelValue":g[0]||(g[0]=l=>r.value=l),placeholder:"\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u8FC7\u6EE4",class:"filter-search"},null,8,["modelValue"]),B("div",_e,[e(C,{class:"scrollbar"},{default:t(()=>[e(j(X),{ref_key:"treeRef",ref:i,data:x.value,props:p,"default-expand-all":"","filter-node-method":_},null,8,["data"])]),_:1})])]),_:1})}}});const fe=N(me,[["__scopeId","data-v-c4e94ca0"]]),ge={class:"app-container m-user"},ve=$({__name:"index",setup(V){return(x,r)=>(h(),R("div",ge,[e(fe),e(ie)]))}});const Be=N(ve,[["__scopeId","data-v-6663c133"]]);export{Be as default}; diff --git a/docs/assets/index.772cc20c.css b/docs/assets/index.772cc20c.css new file mode 100644 index 0000000..c64b390 --- /dev/null +++ b/docs/assets/index.772cc20c.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-636a71c7]:export{menuText:#bfcbd9;menuActiveText:#409eff;subMenuActiveText:#f4f4f5;menuBg:#304156;menuHover:#263445;subMenuBg:#1f2d3d;subMenuHover:#001528;sideBarWidth:210px;primaryColor:var(--el-color-primary)}.layout-vertical .main-container[data-v-636a71c7]{min-height:100%;transition:margin-left .28s;margin-left:210px;position:relative}.layout-vertical .hideSliderLayout[data-v-636a71c7]{margin-left:0}.layout-vertical .hideSliderLayout .el-menu--horizontal[data-v-636a71c7]{border-bottom:none}.layout-vertical .sidebar-container[data-v-636a71c7]{transition:width .28s;width:210px!important;background-color:#304156;height:100%;position:fixed;font-size:0px;top:0;bottom:0;left:0;z-index:98;overflow:hidden}.layout-vertical .sidebar-container .horizontal-collapse-transition[data-v-636a71c7]{transition:0s width ease-in-out,0s padding-left ease-in-out,0s padding-right ease-in-out}.layout-vertical .sidebar-container .scrollbar-wrapper[data-v-636a71c7]{overflow-x:hidden!important}.layout-vertical .sidebar-container .el-scrollbar__bar.is-vertical[data-v-636a71c7]{right:0px}.layout-vertical .sidebar-container .el-scrollbar[data-v-636a71c7]{height:100%}.layout-vertical .sidebar-container.has-logo .el-scrollbar[data-v-636a71c7]{height:calc(100% - 50px)}.layout-vertical .sidebar-container .is-horizontal[data-v-636a71c7]{display:none}.layout-vertical .sidebar-container a[data-v-636a71c7]{width:100%;overflow:hidden}.layout-vertical .sidebar-container .sub-el-icon[data-v-636a71c7]{margin-right:12px;margin-left:-2px}.layout-vertical .sidebar-container .el-menu[data-v-636a71c7]{border:none;height:100%;width:100%!important;background:none}.layout-vertical .sidebar-container .sub-menu-title-noDropdown[data-v-636a71c7]:hover,.layout-vertical .sidebar-container .el-sub-menu__title[data-v-636a71c7]:hover{background-color:#263445!important}.layout-vertical .sidebar-container .is-active>.el-sub-menu__title[data-v-636a71c7]{color:#f4f4f5!important}.layout-vertical .sidebar-container .el-menu-item.is-active[data-v-636a71c7]:before{position:absolute;top:0;bottom:0;left:0;width:4px;content:"";background:var(--el-color-primary)}.layout-vertical .sidebar-container .nest-menu .el-sub-menu>.el-sub-menu__title[data-v-636a71c7],.layout-vertical .sidebar-container .el-sub-menu .el-menu-item[data-v-636a71c7]{min-width:210px!important;background-color:#1f2d3d!important}.layout-vertical .sidebar-container .el-menu-item[data-v-636a71c7]:not(.is-active):hover{background-color:#001528!important}.layout-vertical .sidebar-container .el-menu-item.is-active[data-v-636a71c7]{background-color:#001528!important}.layout-vertical .hideSidebar .sidebar-container[data-v-636a71c7]{width:60px!important}.layout-vertical .hideSidebar .main-container[data-v-636a71c7]{margin-left:60px}.layout-vertical .hideSidebar .sub-menu-title-noDropdown[data-v-636a71c7]{padding:0!important;position:relative}.layout-vertical .hideSidebar .sub-menu-title-noDropdown .el-tooltip[data-v-636a71c7]{padding:0!important}.layout-vertical .hideSidebar .sub-menu-title-noDropdown .el-tooltip .svg-icon[data-v-636a71c7]{margin-left:20px}.layout-vertical .hideSidebar .sub-menu-title-noDropdown .el-tooltip .sub-el-icon[data-v-636a71c7]{margin-left:19px}.layout-vertical .hideSidebar .el-submenu[data-v-636a71c7]{overflow:hidden}.layout-vertical .hideSidebar .el-submenu>.el-submenu__title[data-v-636a71c7]{padding:0!important}.layout-vertical .hideSidebar .el-submenu>.el-submenu__title .svg-icon[data-v-636a71c7]{margin-left:20px}.layout-vertical .hideSidebar .el-submenu>.el-submenu__title .sub-el-icon[data-v-636a71c7]{margin-left:19px}.layout-vertical .hideSidebar .el-submenu>.el-submenu__title .el-sub-menu__icon-arrow[data-v-636a71c7]{display:none}.layout-vertical .hideSidebar .el-menu--collapse .el-sub-menu>.el-sub-menu__title>span[data-v-636a71c7]{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.layout-vertical .el-menu--collapse .el-menu .el-sub-menu[data-v-636a71c7]{min-width:210px!important}.layout-vertical .mobile .main-container[data-v-636a71c7]{margin-left:0}.layout-vertical .mobile .sidebar-container[data-v-636a71c7]{transition:transform .28s;width:210px!important}.layout-vertical .mobile.hideSidebar .sidebar-container[data-v-636a71c7]{pointer-events:none;transition-duration:.3s;transform:translate3d(-210px,0,0)}.layout-vertical .withoutAnimation .main-container[data-v-636a71c7],.layout-vertical .withoutAnimation .sidebar-container[data-v-636a71c7]{transition:none}.layout-vertical .el-menu--vertical>.el-menu .svg-icon[data-v-636a71c7]{margin-right:16px}.layout-vertical .el-menu--vertical>.el-menu .sub-el-icon[data-v-636a71c7]{margin-right:12px;margin-left:-2px}.layout-vertical .el-menu--vertical .nest-menu .el-sub-menu>.el-sub-menu__title[data-v-636a71c7]:hover,.layout-vertical .el-menu--vertical .el-menu-item[data-v-636a71c7]:hover{background-color:#263445!important}.layout-vertical .el-menu--vertical>.el-menu--popup[data-v-636a71c7]{max-height:100vh;overflow-y:auto}.layout-vertical .el-menu--vertical>.el-menu--popup[data-v-636a71c7]::-webkit-scrollbar-track-piece{background:#d3dce6}.layout-vertical .el-menu--vertical>.el-menu--popup[data-v-636a71c7]::-webkit-scrollbar{width:6px}.layout-vertical .el-menu--vertical>.el-menu--popup[data-v-636a71c7]::-webkit-scrollbar-thumb{background:#99a9bf;border-radius:20px}.fade-enter-active[data-v-636a71c7],.fade-leave-active[data-v-636a71c7]{transition:opacity .28s}.fade-enter[data-v-636a71c7],.fade-leave-active[data-v-636a71c7]{opacity:0}.fade-slide-leave-active[data-v-636a71c7],.fade-slide-enter-active[data-v-636a71c7]{transition:all .3s}.fade-slide-enter-from[data-v-636a71c7]{opacity:0;transform:translate(-30px)}.fade-slide-leave-to[data-v-636a71c7]{opacity:0;transform:translate(30px)}.sidebarLogoFade-enter-active[data-v-636a71c7]{transition:opacity 1.5s}.sidebarLogoFade-enter-from[data-v-636a71c7],.sidebarLogoFade-leave-to[data-v-636a71c7]{opacity:0}.breadcrumb-enter-active[data-v-636a71c7]{transition:all .25s}.breadcrumb-enter-from[data-v-636a71c7],.breadcrumb-leave-active[data-v-636a71c7]{opacity:0;transform:translate(10px) skew(-10deg)}html[data-v-636a71c7],body[data-v-636a71c7]{height:100%;width:100%;overflow:visible;overflow-x:hidden;margin:0;padding:0;font-size:14px}body[data-v-636a71c7]{background:#f0f2f5}.flex-center[data-v-636a71c7]{display:flex;align-items:center;justify-content:center}.flex-justify-between[data-v-636a71c7]{display:flex;align-items:center;justify-content:space-between}.flex-align-center[data-v-636a71c7]{display:flex;align-items:center}@media screen and (max-width: 540px){.app-breadcrumb[data-v-636a71c7]{display:none!important}}[data-v-636a71c7]::-webkit-scrollbar{width:7px;height:8px}[data-v-636a71c7]::-webkit-scrollbar-track{background-color:#0000000d}[data-v-636a71c7]::-webkit-scrollbar-thumb{background-color:#9093994d;border-radius:2px;box-shadow:inset 0 0 6px #0003}#nprogress .bar[data-v-636a71c7]{background:var(--el-color-primary)!important}#nprogress .spinner-icon[data-v-636a71c7]{border-top-color:var(--el-color-primary)!important;border-left-color:var(--el-color-primary)!important}#nprogress .peg[data-v-636a71c7]{box-shadow:0 0 10px var(--el-color-primary),0 0 5px var(--el-color-primary)!important}.app-container[data-v-636a71c7]{height:100%;width:100%;padding:10px 12px;box-sizing:border-box;display:flex;flex-direction:column}.app-container-inner[data-v-636a71c7]{height:100%;width:100%;box-shadow:0 2px 12px #0000001a;background:white;padding:20px;box-sizing:border-box}.layout-horizontal .header-icon[data-v-636a71c7],.layout-horizontal .el-dropdown-link[data-v-636a71c7]{color:#bfcbd9!important}.el-pager li[data-v-636a71c7]:focus{border:none}.el-dropdown[data-v-636a71c7]:focus{border:none;outline:none!important}.svg-icon[data-v-636a71c7]:focus{border:none!important;outline:none!important}.el-table__header th[data-v-636a71c7]{font-weight:700;color:#252525;background:#fafafa}.el-table .el-table__header th[data-v-636a71c7]{background:var(--el-fill-color-light)!important}.personal .name[data-v-636a71c7]{margin-top:15px;font-size:24px;font-weight:500;color:#262626}.personal .description[data-v-636a71c7]{margin-top:8px}.personal .list[data-v-636a71c7]{margin-top:18px;line-height:30px;text-align:left}.card-header[data-v-636a71c7]{display:flex;justify-content:space-between;align-items:center}.text[data-v-636a71c7]{font-size:14px}.grid-content[data-v-636a71c7]{display:flex}.grid-content .left[data-v-636a71c7]{width:40%;height:100px;display:flex;align-items:center;justify-content:center;background:#2d8cf0}.grid-content .right[data-v-636a71c7]{display:flex;flex-direction:column;padding-left:20px;justify-content:center}.grid-content .right .h2[data-v-636a71c7]{font-size:24px;margin-bottom:10px}.custom[data-v-636a71c7] .el-card__body{padding:0}.item[data-v-636a71c7]{margin-bottom:18px}.box-card[data-v-636a71c7]{position:relative;margin-bottom:10px;width:100%}.box-card .wechat[data-v-636a71c7]{position:absolute;width:150px;right:0;top:0}.card-item[data-v-636a71c7]{background:linear-gradient(50deg,#1890ff,#77e19d)}.home-container[data-v-636a71c7]{width:100%;height:100%;display:flex;padding:16px;box-sizing:border-box;font-size:14px} diff --git a/docs/assets/index.696b3ae6.js b/docs/assets/index.7869187d.js similarity index 99% rename from docs/assets/index.696b3ae6.js rename to docs/assets/index.7869187d.js index 750c064..f6c662e 100644 --- a/docs/assets/index.696b3ae6.js +++ b/docs/assets/index.7869187d.js @@ -1,4 +1,4 @@ -import{Q as mt,g as Pt,i as St,r as _t,o as It,c as Ot,a as Bt,b as gt,w as zt,d as jt,F as Wt,D as Zt,_ as Mt}from"./index.048a73c8.js";import{c as xt,e as Ht}from"./exceljs.min.ee80950b.js";var Rt={exports:{}};(function(Q,rt){(function(_,T){T()})(mt,function(){function _(c,v){return typeof v>"u"?v={autoBom:!1}:typeof v!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function T(c,v,g){var m=new XMLHttpRequest;m.open("GET",c),m.responseType="blob",m.onload=function(){h(m.response,v,g)},m.onerror=function(){console.error("could not download file")},m.send()}function w(c){var v=new XMLHttpRequest;v.open("HEAD",c,!1);try{v.send()}catch{}return 200<=v.status&&299>=v.status}function u(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var v=document.createEvent("MouseEvents");v.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(v)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof mt=="object"&&mt.global===mt?mt:void 0,r=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(c,v,g){var m=a.URL||a.webkitURL,i=document.createElement("a");v=v||c.name||"download",i.download=v,i.rel="noopener",typeof c=="string"?(i.href=c,i.origin===location.origin?u(i):w(i.href)?T(c,v,g):u(i,i.target="_blank")):(i.href=m.createObjectURL(c),setTimeout(function(){m.revokeObjectURL(i.href)},4e4),setTimeout(function(){u(i)},0))}:"msSaveOrOpenBlob"in navigator?function(c,v,g){if(v=v||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(_(c,g),v);else if(w(c))T(c,v,g);else{var m=document.createElement("a");m.href=c,m.target="_blank",setTimeout(function(){u(m)})}}:function(c,v,g,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof c=="string")return T(c,v,g);var i=c.type==="application/octet-stream",d=/constructor/i.test(a.HTMLElement)||a.safari,n=/CriOS\/[\d]+/.test(navigator.userAgent);if((n||i&&d||r)&&typeof FileReader<"u"){var l=new FileReader;l.onloadend=function(){var y=l.result;y=n?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=y:location=y,m=null},l.readAsDataURL(c)}else{var s=a.URL||a.webkitURL,p=s.createObjectURL(c);m?m.location=p:location.href=p,m=null,setTimeout(function(){s.revokeObjectURL(p)},4e4)}});a.saveAs=h.saveAs=h,Q.exports=h})})(Rt);var Dt={exports:{}};/*! +import{Q as mt,g as Pt,i as St,r as _t,o as It,c as Ot,a as Bt,b as gt,w as zt,d as jt,F as Wt,D as Zt,_ as Mt}from"./index.034c045c.js";import{c as xt,e as Ht}from"./exceljs.min.1781a218.js";var Rt={exports:{}};(function(Q,rt){(function(_,T){T()})(mt,function(){function _(c,v){return typeof v>"u"?v={autoBom:!1}:typeof v!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function T(c,v,g){var m=new XMLHttpRequest;m.open("GET",c),m.responseType="blob",m.onload=function(){h(m.response,v,g)},m.onerror=function(){console.error("could not download file")},m.send()}function w(c){var v=new XMLHttpRequest;v.open("HEAD",c,!1);try{v.send()}catch{}return 200<=v.status&&299>=v.status}function u(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var v=document.createEvent("MouseEvents");v.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(v)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof mt=="object"&&mt.global===mt?mt:void 0,r=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(c,v,g){var m=a.URL||a.webkitURL,i=document.createElement("a");v=v||c.name||"download",i.download=v,i.rel="noopener",typeof c=="string"?(i.href=c,i.origin===location.origin?u(i):w(i.href)?T(c,v,g):u(i,i.target="_blank")):(i.href=m.createObjectURL(c),setTimeout(function(){m.revokeObjectURL(i.href)},4e4),setTimeout(function(){u(i)},0))}:"msSaveOrOpenBlob"in navigator?function(c,v,g){if(v=v||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(_(c,g),v);else if(w(c))T(c,v,g);else{var m=document.createElement("a");m.href=c,m.target="_blank",setTimeout(function(){u(m)})}}:function(c,v,g,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof c=="string")return T(c,v,g);var i=c.type==="application/octet-stream",d=/constructor/i.test(a.HTMLElement)||a.safari,n=/CriOS\/[\d]+/.test(navigator.userAgent);if((n||i&&d||r)&&typeof FileReader<"u"){var l=new FileReader;l.onloadend=function(){var y=l.result;y=n?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=y:location=y,m=null},l.readAsDataURL(c)}else{var s=a.URL||a.webkitURL,p=s.createObjectURL(c);m?m.location=p:location.href=p,m=null,setTimeout(function(){s.revokeObjectURL(p)},4e4)}});a.saveAs=h.saveAs=h,Q.exports=h})})(Rt);var Dt={exports:{}};/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files diff --git a/docs/assets/index.7869187d.js.gz b/docs/assets/index.7869187d.js.gz new file mode 100644 index 0000000..dd457f0 Binary files /dev/null and b/docs/assets/index.7869187d.js.gz differ diff --git a/docs/assets/index.7aadd274.js b/docs/assets/index.7aadd274.js new file mode 100644 index 0000000..44b0da2 --- /dev/null +++ b/docs/assets/index.7aadd274.js @@ -0,0 +1 @@ +import{w as e}from"./we.9f0d4da4.js";import{g as a,r as n,o as r,c,a as t,b as i,s}from"./index.034c045c.js";const u={class:"app-container"},p={class:"app-container-inner"},_=t("div",{style:{"margin-bottom":"20px"}},"\u6B22\u8FCE\u5927\u5BB6\u52A0\u5FAE\u4FE1\u54C8\uFF0C\u5171\u540C\u8BA8\u8BBA\uFF0C\u5B66\u4E60",-1),F=a({__name:"index",setup(d){return(l,m)=>{const o=n("el-image");return r(),c("div",u,[t("div",p,[_,i(o,{src:s(e),"preview-src-list":[s(e)],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["src","preview-src-list","data-resid"])])])}}});export{F as default}; diff --git a/docs/assets/index.98ffd9c0.js b/docs/assets/index.7b6c24b5.js similarity index 98% rename from docs/assets/index.98ffd9c0.js rename to docs/assets/index.7b6c24b5.js index ab2dde4..89cb17a 100644 --- a/docs/assets/index.98ffd9c0.js +++ b/docs/assets/index.7b6c24b5.js @@ -1 +1 @@ -import{g as A,i as c,j as E,r as a,o as k,n as $,w as t,a as F,b as e,d as p,s as I,x as z,C as P,c as q,I as M,G as O,N,_ as S}from"./index.048a73c8.js";import{m as G,r as H}from"./system.79236d81.js";const J={class:"dialog-footer"},K=A({__name:"roleDrawer",setup(T,{expose:B}){const n=c(),i=c(!1),f=c("\u65B0\u589E\u89D2\u8272"),l=E({roleName:"",roleIdentification:"",describe:null,status:!0}),w={children:"children",label:"menuName"};function C(){n.value.resetFields(),Object.keys(l).forEach(s=>{s==="status"?l[s]=!0:l[s]=null})}const g=(s={})=>{f.value="\u65B0\u589E\u89D2\u8272",s.roleName&&(f.value="\u7F16\u8F91\u89D2\u8272",Object.keys(s).forEach(u=>{l[u]=s[u]})),i.value=!0},V=E({roleName:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0",trigger:"blur"}],roleIdentification:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u6807\u8BC6",trigger:"blur"}]}),h=async s=>{await n.value.validate((u,r)=>{u?(i.value=!1,console.log("submit!",obj)):console.log("error submit!",r)})};return B({show:g}),(s,u)=>{const r=a("el-input"),m=a("el-form-item"),v=a("el-switch"),_=a("el-tree"),x=a("el-form"),D=a("el-button"),y=a("el-drawer");return k(),$(y,{modelValue:i.value,"onUpdate:modelValue":u[6]||(u[6]=o=>i.value=o),title:f.value,size:"50%",onClose:C},{footer:t(()=>[F("span",J,[e(D,{onClick:u[4]||(u[4]=o=>i.value=!1)},{default:t(()=>[p("\u53D6\u6D88")]),_:1}),e(D,{type:"primary",onClick:u[5]||(u[5]=o=>h(n.value))},{default:t(()=>[p("\u786E\u5B9A")]),_:1})])]),default:t(()=>[e(x,{ref_key:"ruleFormRef",ref:n,model:l,rules:V,"label-width":"100px"},{default:t(()=>[e(m,{label:"\u89D2\u8272\u540D\u79F0",prop:"roleName"},{default:t(()=>[e(r,{modelValue:l.roleName,"onUpdate:modelValue":u[0]||(u[0]=o=>l.roleName=o),placeholder:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u89D2\u8272\u6807\u8BC6",prop:"roleIdentification"},{default:t(()=>[e(r,{modelValue:l.roleIdentification,"onUpdate:modelValue":u[1]||(u[1]=o=>l.roleIdentification=o),placeholder:"\u8BF7\u8F93\u5165\u89D2\u8272\u6807\u8BC6"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u89D2\u8272\u72B6\u6001"},{default:t(()=>[e(v,{modelValue:l.status,"onUpdate:modelValue":u[2]||(u[2]=o=>l.status=o),"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u89D2\u8272\u63CF\u8FF0"},{default:t(()=>[e(r,{modelValue:l.describe,"onUpdate:modelValue":u[3]||(u[3]=o=>l.describe=o),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u89D2\u8272\u63CF\u8FF0"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u83DC\u5355\u6743\u9650"},{default:t(()=>[e(_,{data:I(G),"show-checkbox":"","node-key":"id",props:w},null,8,["data"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),L={class:"app-container"},Q={class:"header"},W={class:"footer"},X={class:"util"},Y={class:"table-inner"},Z=A({__name:"index",setup(T){const B=c(H),n=c(!0),i=c();c("default");const f=c(),l=E({}),w=()=>{console.log("submit!",l),n.value=!0,setTimeout(()=>{n.value=!1},500)},C=u=>{n.value=!0,setTimeout(()=>{n.value=!1},500)},g=()=>{i.value.show()},V=u=>{i.value.show(u)},h=u=>{N.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})},s=u=>{N.confirm(`\u786E\u5B9A\u8981${u.status?"\u542F\u7528":"\u7981\u7528"} ${u.roleName} \u89D2\u8272\u5417\uFF1F`,"\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{}).catch(()=>{u.status=!u.status})};return z(()=>{setTimeout(()=>{n.value=!1},500)}),(u,r)=>{const m=a("el-input"),v=a("el-form-item"),_=a("el-button"),x=a("el-form"),D=a("Plus"),y=a("el-icon"),o=a("el-table-column"),U=a("el-switch"),j=a("el-table"),R=P("loading");return k(),q("div",L,[F("div",Q,[e(x,{inline:!0,model:l,class:"demo-form-inline",ref_key:"ruleFormRef",ref:f},{default:t(()=>[e(v,{label:"\u89D2\u8272\u540D\u79F0",prop:"roleName"},{default:t(()=>[e(m,{modelValue:l.roleName,"onUpdate:modelValue":r[0]||(r[0]=d=>l.roleName=d),placeholder:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(v,null,{default:t(()=>[e(_,{type:"primary",onClick:w,icon:I(M)},{default:t(()=>[p("\u67E5\u8BE2")]),_:1},8,["icon"]),e(_,{onClick:r[1]||(r[1]=d=>C(f.value))},{default:t(()=>[p("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),F("div",W,[F("div",X,[e(_,{type:"primary",onClick:g},{default:t(()=>[e(y,null,{default:t(()=>[e(D)]),_:1}),p(" \u65B0\u589E\u89D2\u8272 ")]),_:1})]),F("div",Y,[O((k(),$(j,{data:B.value,style:{width:"100%"},border:""},{default:t(()=>[e(o,{prop:"roleName",label:"\u89D2\u8272\u540D\u79F0"}),e(o,{prop:"roleIdentification",label:"\u89D2\u8272\u6807\u8BC6"}),e(o,{prop:"status",label:"\u89D2\u8272\u72B6\u6001",align:"center"},{default:t(d=>[e(U,{modelValue:d.row.status,"onUpdate:modelValue":b=>d.row.status=b,"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528",onChange:b=>s(d.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(o,{prop:"describe","show-overflow-tooltip":!0,width:"180",label:"\u89D2\u8272\u63CF\u8FF0"}),e(o,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4"}),e(o,{prop:"status",label:"\u64CD\u4F5C",width:"180"},{default:t(d=>[e(_,{type:"primary",size:"small",icon:"Edit",onClick:b=>V(d.row)},{default:t(()=>[p(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(_,{onClick:b=>h(d.row),type:"danger",size:"small",icon:"Delete"},{default:t(()=>[p(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[R,n.value]])])]),e(K,{ref_key:"roleDrawer",ref:i},null,512)])}}});const te=S(Z,[["__scopeId","data-v-3d266589"]]);export{te as default}; +import{g as A,i as c,j as E,r as a,o as k,n as $,w as t,a as F,b as e,d as p,s as I,x as z,C as P,c as q,I as M,G as O,N,_ as S}from"./index.034c045c.js";import{m as G,r as H}from"./system.79236d81.js";const J={class:"dialog-footer"},K=A({__name:"roleDrawer",setup(T,{expose:B}){const n=c(),i=c(!1),f=c("\u65B0\u589E\u89D2\u8272"),l=E({roleName:"",roleIdentification:"",describe:null,status:!0}),w={children:"children",label:"menuName"};function C(){n.value.resetFields(),Object.keys(l).forEach(s=>{s==="status"?l[s]=!0:l[s]=null})}const g=(s={})=>{f.value="\u65B0\u589E\u89D2\u8272",s.roleName&&(f.value="\u7F16\u8F91\u89D2\u8272",Object.keys(s).forEach(u=>{l[u]=s[u]})),i.value=!0},V=E({roleName:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0",trigger:"blur"}],roleIdentification:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u6807\u8BC6",trigger:"blur"}]}),h=async s=>{await n.value.validate((u,r)=>{u?(i.value=!1,console.log("submit!",obj)):console.log("error submit!",r)})};return B({show:g}),(s,u)=>{const r=a("el-input"),m=a("el-form-item"),v=a("el-switch"),_=a("el-tree"),x=a("el-form"),D=a("el-button"),y=a("el-drawer");return k(),$(y,{modelValue:i.value,"onUpdate:modelValue":u[6]||(u[6]=o=>i.value=o),title:f.value,size:"50%",onClose:C},{footer:t(()=>[F("span",J,[e(D,{onClick:u[4]||(u[4]=o=>i.value=!1)},{default:t(()=>[p("\u53D6\u6D88")]),_:1}),e(D,{type:"primary",onClick:u[5]||(u[5]=o=>h(n.value))},{default:t(()=>[p("\u786E\u5B9A")]),_:1})])]),default:t(()=>[e(x,{ref_key:"ruleFormRef",ref:n,model:l,rules:V,"label-width":"100px"},{default:t(()=>[e(m,{label:"\u89D2\u8272\u540D\u79F0",prop:"roleName"},{default:t(()=>[e(r,{modelValue:l.roleName,"onUpdate:modelValue":u[0]||(u[0]=o=>l.roleName=o),placeholder:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u89D2\u8272\u6807\u8BC6",prop:"roleIdentification"},{default:t(()=>[e(r,{modelValue:l.roleIdentification,"onUpdate:modelValue":u[1]||(u[1]=o=>l.roleIdentification=o),placeholder:"\u8BF7\u8F93\u5165\u89D2\u8272\u6807\u8BC6"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u89D2\u8272\u72B6\u6001"},{default:t(()=>[e(v,{modelValue:l.status,"onUpdate:modelValue":u[2]||(u[2]=o=>l.status=o),"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u89D2\u8272\u63CF\u8FF0"},{default:t(()=>[e(r,{modelValue:l.describe,"onUpdate:modelValue":u[3]||(u[3]=o=>l.describe=o),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u89D2\u8272\u63CF\u8FF0"},null,8,["modelValue"])]),_:1}),e(m,{label:"\u83DC\u5355\u6743\u9650"},{default:t(()=>[e(_,{data:I(G),"show-checkbox":"","node-key":"id",props:w},null,8,["data"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),L={class:"app-container"},Q={class:"header"},W={class:"footer"},X={class:"util"},Y={class:"table-inner"},Z=A({__name:"index",setup(T){const B=c(H),n=c(!0),i=c();c("default");const f=c(),l=E({}),w=()=>{console.log("submit!",l),n.value=!0,setTimeout(()=>{n.value=!1},500)},C=u=>{n.value=!0,setTimeout(()=>{n.value=!1},500)},g=()=>{i.value.show()},V=u=>{i.value.show(u)},h=u=>{N.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})},s=u=>{N.confirm(`\u786E\u5B9A\u8981${u.status?"\u542F\u7528":"\u7981\u7528"} ${u.roleName} \u89D2\u8272\u5417\uFF1F`,"\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{}).catch(()=>{u.status=!u.status})};return z(()=>{setTimeout(()=>{n.value=!1},500)}),(u,r)=>{const m=a("el-input"),v=a("el-form-item"),_=a("el-button"),x=a("el-form"),D=a("Plus"),y=a("el-icon"),o=a("el-table-column"),U=a("el-switch"),j=a("el-table"),R=P("loading");return k(),q("div",L,[F("div",Q,[e(x,{inline:!0,model:l,class:"demo-form-inline",ref_key:"ruleFormRef",ref:f},{default:t(()=>[e(v,{label:"\u89D2\u8272\u540D\u79F0",prop:"roleName"},{default:t(()=>[e(m,{modelValue:l.roleName,"onUpdate:modelValue":r[0]||(r[0]=d=>l.roleName=d),placeholder:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(v,null,{default:t(()=>[e(_,{type:"primary",onClick:w,icon:I(M)},{default:t(()=>[p("\u67E5\u8BE2")]),_:1},8,["icon"]),e(_,{onClick:r[1]||(r[1]=d=>C(f.value))},{default:t(()=>[p("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),F("div",W,[F("div",X,[e(_,{type:"primary",onClick:g},{default:t(()=>[e(y,null,{default:t(()=>[e(D)]),_:1}),p(" \u65B0\u589E\u89D2\u8272 ")]),_:1})]),F("div",Y,[O((k(),$(j,{data:B.value,style:{width:"100%"},border:""},{default:t(()=>[e(o,{prop:"roleName",label:"\u89D2\u8272\u540D\u79F0"}),e(o,{prop:"roleIdentification",label:"\u89D2\u8272\u6807\u8BC6"}),e(o,{prop:"status",label:"\u89D2\u8272\u72B6\u6001",align:"center"},{default:t(d=>[e(U,{modelValue:d.row.status,"onUpdate:modelValue":b=>d.row.status=b,"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528",onChange:b=>s(d.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(o,{prop:"describe","show-overflow-tooltip":!0,width:"180",label:"\u89D2\u8272\u63CF\u8FF0"}),e(o,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4"}),e(o,{prop:"status",label:"\u64CD\u4F5C",width:"180"},{default:t(d=>[e(_,{type:"primary",size:"small",icon:"Edit",onClick:b=>V(d.row)},{default:t(()=>[p(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(_,{onClick:b=>h(d.row),type:"danger",size:"small",icon:"Delete"},{default:t(()=>[p(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[R,n.value]])])]),e(K,{ref_key:"roleDrawer",ref:i},null,512)])}}});const te=S(Z,[["__scopeId","data-v-3d266589"]]);export{te as default}; diff --git a/docs/assets/index.91723afd.js b/docs/assets/index.7c116f58.js similarity index 98% rename from docs/assets/index.91723afd.js rename to docs/assets/index.7c116f58.js index 4565a99..4045b65 100644 --- a/docs/assets/index.91723afd.js +++ b/docs/assets/index.7c116f58.js @@ -1 +1 @@ -import{g as y,i as g,B as P,j as T,r as o,C as U,o as r,c as f,a as v,b as t,w as a,d as u,G as j,n as h,F as J,t as b,s as M,N as G,M as I,_ as O}from"./index.048a73c8.js";const R={class:"app-container"},q={class:"header"},H={class:"footer"},K={key:0,style:{display:"flex","align-items":"center"}},L={style:{width:"100%",display:"flex","justify-content":"center","padding-top":"20px"}},Q=y({name:"inline-table"}),W=y({...Q,setup(X){const C=[];for(let e=0;e<100;e++)C.push({date:"2016-05-02",name:"\u738B\u4E94"+e,price:1+e,province:"\u4E0A\u6D77",admin:"admin",sex:e%2?1:0,checked:!0,id:e+1,img:"https://img1.baidu.com/it/u=300787145,1214060415&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500",age:0,city:"\u666E\u9640\u533A",address:`\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 222${e} \u5F04`,zip:200333});const d=g(1),E=e=>{console.log(`${e} items per page`)},x=e=>{console.log(`current page: ${e}`),d.value=e},p=g(C),m=g(!1),F=P(()=>JSON.parse(JSON.stringify(p.value)).splice((d.value-1)*10,10)),k=e=>{e.edit=!1},B=e=>{e.edit=!1},_=T({username:""}),z=()=>{console.log("submit!"),m.value=!0,setTimeout(()=>{m.value=!1},500)},V=e=>{G.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{p.value=p.value.filter(i=>i.id!==e.id),I.success("\u5220\u9664\u6210\u529F")}).catch(()=>{})};return(e,i)=>{const w=o("el-input"),D=o("el-form-item"),s=o("el-button"),A=o("el-form"),l=o("el-table-column"),$=o("el-table"),N=o("el-pagination"),S=U("loading");return r(),f("div",R,[v("div",q,[t(A,{inline:!0,model:_},{default:a(()=>[t(D,{label:"\u59D3\u540D"},{default:a(()=>[t(w,{modelValue:_.username,"onUpdate:modelValue":i[0]||(i[0]=n=>_.username=n),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D"},null,8,["modelValue"])]),_:1}),t(D,null,{default:a(()=>[t(s,{type:"primary",onClick:z},{default:a(()=>[u("\u641C\u7D22")]),_:1})]),_:1})]),_:1},8,["model"])]),v("div",H,[j((r(),h($,{data:M(F),style:{width:"100%"},border:!0},{default:a(()=>[t(l,{prop:"id",width:"60",label:"id",align:"center"}),t(l,{prop:"name",label:"\u59D3\u540D","min-width":"200px",align:"center"},{default:a(n=>[n.row.edit?(r(),f("div",K,[t(w,{modelValue:n.row.name,"onUpdate:modelValue":c=>n.row.name=c,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),t(s,{size:"small",icon:"Refresh",type:"warning",onClick:c=>B(n.row)},{default:a(()=>[u(" \u53D6\u6D88 ")]),_:2},1032,["onClick"])])):(r(),f(J,{key:1},[u(b(n.row.name),1)],64))]),_:1}),t(l,{prop:"age",label:"\u5E74\u9F84",align:"center"}),t(l,{prop:"sex",label:"\u6027\u522B",align:"center"},{default:a(n=>[u(b(n.row.sex?"\u7537":"\u5973"),1)]),_:1}),t(l,{prop:"price",label:"\u4EF7\u683C",align:"center"}),t(l,{prop:"admin",label:"\u8D26\u53F7",align:"center"}),t(l,{prop:"address","show-overflow-tooltip":!0,label:"\u5730\u5740",width:"180",align:"center"}),t(l,{prop:"date",label:"\u65E5\u671F",width:"180",align:"center"}),t(l,{prop:"province",label:"\u7701\u4EFD",width:"120",align:"center"}),t(l,{prop:"city",label:"\u57CE\u5E02",align:"center"}),t(l,{prop:"operator",label:"\u64CD\u4F5C",width:"180px",fixed:"right",align:"center"},{default:a(n=>[n.row.edit?(r(),h(s,{key:0,type:"success",size:"small",icon:"CircleCheckFilled",onClick:c=>k(n.row)},{default:a(()=>[u(" \u4FDD\u5B58 ")]),_:2},1032,["onClick"])):(r(),h(s,{key:1,type:"primary",size:"small",icon:"Edit",onClick:c=>n.row.edit=!n.row.edit},{default:a(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),t(s,{type:"danger",size:"small",icon:"Delete",onClick:c=>V(n.row)},{default:a(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[S,m.value]]),v("div",L,[t(N,{currentPage:d.value,"onUpdate:currentPage":i[1]||(i[1]=n=>d.value=n),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:p.value.length,onSizeChange:E,onCurrentChange:x},null,8,["currentPage","total"])])])])}}});const Z=O(W,[["__scopeId","data-v-d18394e4"]]);export{Z as default}; +import{g as y,i as g,B as P,j as T,r as o,C as U,o as r,c as f,a as v,b as t,w as a,d as u,G as j,n as h,F as J,t as b,s as M,N as G,M as I,_ as O}from"./index.034c045c.js";const R={class:"app-container"},q={class:"header"},H={class:"footer"},K={key:0,style:{display:"flex","align-items":"center"}},L={style:{width:"100%",display:"flex","justify-content":"center","padding-top":"20px"}},Q=y({name:"inline-table"}),W=y({...Q,setup(X){const C=[];for(let e=0;e<100;e++)C.push({date:"2016-05-02",name:"\u738B\u4E94"+e,price:1+e,province:"\u4E0A\u6D77",admin:"admin",sex:e%2?1:0,checked:!0,id:e+1,img:"https://img1.baidu.com/it/u=300787145,1214060415&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500",age:0,city:"\u666E\u9640\u533A",address:`\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 222${e} \u5F04`,zip:200333});const d=g(1),E=e=>{console.log(`${e} items per page`)},x=e=>{console.log(`current page: ${e}`),d.value=e},p=g(C),m=g(!1),F=P(()=>JSON.parse(JSON.stringify(p.value)).splice((d.value-1)*10,10)),k=e=>{e.edit=!1},B=e=>{e.edit=!1},_=T({username:""}),z=()=>{console.log("submit!"),m.value=!0,setTimeout(()=>{m.value=!1},500)},V=e=>{G.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{p.value=p.value.filter(i=>i.id!==e.id),I.success("\u5220\u9664\u6210\u529F")}).catch(()=>{})};return(e,i)=>{const w=o("el-input"),D=o("el-form-item"),s=o("el-button"),A=o("el-form"),l=o("el-table-column"),$=o("el-table"),N=o("el-pagination"),S=U("loading");return r(),f("div",R,[v("div",q,[t(A,{inline:!0,model:_},{default:a(()=>[t(D,{label:"\u59D3\u540D"},{default:a(()=>[t(w,{modelValue:_.username,"onUpdate:modelValue":i[0]||(i[0]=n=>_.username=n),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D"},null,8,["modelValue"])]),_:1}),t(D,null,{default:a(()=>[t(s,{type:"primary",onClick:z},{default:a(()=>[u("\u641C\u7D22")]),_:1})]),_:1})]),_:1},8,["model"])]),v("div",H,[j((r(),h($,{data:M(F),style:{width:"100%"},border:!0},{default:a(()=>[t(l,{prop:"id",width:"60",label:"id",align:"center"}),t(l,{prop:"name",label:"\u59D3\u540D","min-width":"200px",align:"center"},{default:a(n=>[n.row.edit?(r(),f("div",K,[t(w,{modelValue:n.row.name,"onUpdate:modelValue":c=>n.row.name=c,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),t(s,{size:"small",icon:"Refresh",type:"warning",onClick:c=>B(n.row)},{default:a(()=>[u(" \u53D6\u6D88 ")]),_:2},1032,["onClick"])])):(r(),f(J,{key:1},[u(b(n.row.name),1)],64))]),_:1}),t(l,{prop:"age",label:"\u5E74\u9F84",align:"center"}),t(l,{prop:"sex",label:"\u6027\u522B",align:"center"},{default:a(n=>[u(b(n.row.sex?"\u7537":"\u5973"),1)]),_:1}),t(l,{prop:"price",label:"\u4EF7\u683C",align:"center"}),t(l,{prop:"admin",label:"\u8D26\u53F7",align:"center"}),t(l,{prop:"address","show-overflow-tooltip":!0,label:"\u5730\u5740",width:"180",align:"center"}),t(l,{prop:"date",label:"\u65E5\u671F",width:"180",align:"center"}),t(l,{prop:"province",label:"\u7701\u4EFD",width:"120",align:"center"}),t(l,{prop:"city",label:"\u57CE\u5E02",align:"center"}),t(l,{prop:"operator",label:"\u64CD\u4F5C",width:"180px",fixed:"right",align:"center"},{default:a(n=>[n.row.edit?(r(),h(s,{key:0,type:"success",size:"small",icon:"CircleCheckFilled",onClick:c=>k(n.row)},{default:a(()=>[u(" \u4FDD\u5B58 ")]),_:2},1032,["onClick"])):(r(),h(s,{key:1,type:"primary",size:"small",icon:"Edit",onClick:c=>n.row.edit=!n.row.edit},{default:a(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),t(s,{type:"danger",size:"small",icon:"Delete",onClick:c=>V(n.row)},{default:a(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[S,m.value]]),v("div",L,[t(N,{currentPage:d.value,"onUpdate:currentPage":i[1]||(i[1]=n=>d.value=n),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:p.value.length,onSizeChange:E,onCurrentChange:x},null,8,["currentPage","total"])])])])}}});const Z=O(W,[["__scopeId","data-v-d18394e4"]]);export{Z as default}; diff --git a/docs/assets/index.82fbc83f.js.gz b/docs/assets/index.82fbc83f.js.gz deleted file mode 100644 index 481ca55..0000000 Binary files a/docs/assets/index.82fbc83f.js.gz and /dev/null differ diff --git a/docs/assets/index.86261a1b.js b/docs/assets/index.86261a1b.js new file mode 100644 index 0000000..d122de0 --- /dev/null +++ b/docs/assets/index.86261a1b.js @@ -0,0 +1 @@ +import{g as A,r as l,o as B,c as y,b as t,w as e,s as i,a as u,A as w,d,v as p,p as D,f as b,_ as k}from"./index.034c045c.js";import{w as E}from"./we.9f0d4da4.js";import{C as h}from"./index.6a4bd455.js";import{_ as z}from"./bar.vue_vue_type_script_setup_true_lang.1158016e.js";import"./index.201c3aba.js";const s=c=>(D("data-v-636a71c7"),c=c(),b(),c),S={class:"home-container"},I={class:"personal"},N=s(()=>u("div",{class:"name"},null,-1)),T=s(()=>u("div",{class:"description"},null,-1)),V=s(()=>u("div",{class:"list"},[u("div",null,"\u6635\u79F0\uFF1A\u5C0F\u72FC"),u("div",null,"\u804C\u4E1A\uFF1A\u524D\u7AEF"),u("div",null,"\u516C\u53F8\uFF1A\u5C0F\u516C\u53F8"),u("div",null,"\u5E74\u9F84\uFF1A~~"),u("div",null,"\u6027\u522B\uFF1A\u7537"),u("div",null,"\u73B0\u4F4F\u5740\uFF1A\u4E2D\u56FD-\u6D59\u6C5F-\u676D\u5DDE"),u("div",null,"\u90AE\u7BB1\uFF1A1135957121@qq.com"),u("div",null,"\u5FAE\u4FE1\uFF1A19550102670(\u6B22\u8FCE\u52A0\u5FAE\u4FE1\u5165\u7FA4)"),u("div",null,"\u6280\u672F\u6808\uFF1AJavaScript\u3001HTML\u3001CSS\u3001Vue\u3001Node\u3001React")],-1)),L=s(()=>u("div",{style:{"margin-bottom":"15px"}},[u("h5",null,"\u4E2A\u6027\u6807\u7B7E")],-1)),$=s(()=>u("div",{style:{"margin-bottom":"15px"}},[u("h5",null,"\u6700\u559C\u6B22\u7684\u4E00\u53E5\u8BDD")],-1)),q=s(()=>u("div",null,"---------- \u5F00\u5FC3\u6700\u91CD\u8981",-1)),H=s(()=>u("div",{style:{"margin-bottom":"15px"}},[u("h5",null,"\u5982\u679C\u5BF9\u4F60\u6709\u5E2E\u52A9\u7684\u8BDD\uFF0C\u53EF\u4EE5\u9EBB\u70E6\u70B9\u4E00\u9897 Star\u3001Fork\u3001Watch! \u4F60\u7684\u9F13\u52B1\u662F\u6211\u7EE7\u7EED\u4F18\u5316\u7684\u52A8\u529B~~")],-1)),J={class:"grid-content"},M={class:"left"},R={class:"right"},W={class:"h2",style:{color:"#2d8cf0"}},j=s(()=>u("div",null,"\u7528\u6237\u8BBF\u95EE\u91CF ",-1)),G={class:"grid-content"},K={class:"left",style:{background:"#64d572"}},O={class:"right"},P={class:"h2",style:{color:"#64d572"}},Q=s(()=>u("div",null,"\u7CFB\u7EDF\u6D88\u606F ",-1)),U={class:"grid-content"},X={class:"left",style:{background:"#f25e43"}},Y={class:"right"},Z={class:"h2",style:{color:"#f25e43"}},uu=s(()=>u("div",null,"\u6570\u91CF ",-1)),tu=s(()=>u("div",{class:"card-header"},[u("span",null,"\u7CFB\u5217\u5F00\u6E90\u4EA7\u54C1")],-1)),eu={style:{display:"flex"}},su=s(()=>u("div",{style:{color:"white","margin-bottom":"10px"}},[u("h3",null,"zb-table")],-1)),ou=s(()=>u("div",{style:{"font-size":"12px",color:"white"}},"uniapp \u8868\u683C\u7EC4\u4EF6 \u652F\u6301\u56FA\u5B9A\u8868\u5934\u548C\u9996\u5217\u3001\u4E0A\u62C9\u52A0\u8F7D\u66F4\u591A\u3001\u53CA\u56FA\u5B9A\u591A\u5217\uFF0C\u8868\u683C\u81EA\u9002\u5E94\u5185\u5BB9\uFF0C\u6392\u5E8F\uFF0C\u591A\u9009checkbox\u3001\u53EF\u70B9\u51FB\u5220\u9664\uFF0C\u7F16\u8F91\u3001\u5408\u8BA1\u529F\u80FD\uFF0C\u517C\u5BB9\u591A\u7AEF",-1)),lu=s(()=>u("div",{style:{color:"white","margin-bottom":"10px"}},[u("h3",null,"vue-admin-perfect")],-1)),iu=s(()=>u("div",{style:{"font-size":"12px",color:"white"}},"\u7CFB\u7EDF\u57FA\u4E8Evue3+vuex+ element-plus+ts\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF",-1)),au=s(()=>u("div",{class:"card-header"},[u("span",null,"\u6BCF\u5468\u7528\u6237\u6D3B\u8DC3\u91CF")],-1)),nu=A({__name:"index",setup(c){const v=m=>{window.open(m,"_blank")};return(m,_)=>{const g=l("el-image"),x=l("el-avatar"),r=l("el-divider"),a=l("el-tag"),o=l("el-card"),n=l("el-col"),F=l("el-icon"),f=l("el-row");return B(),y("div",S,[t(f,{class:"row-bg",gutter:10},{default:e(()=>[t(n,{xs:24,sm:12,lg:8},{default:e(()=>[t(o,{class:"box-card",style:{height:"100%"}},{default:e(()=>[t(g,{class:"wechat",src:i(E),"preview-src-list":[i(E)],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["src","preview-src-list","data-resid"]),u("div",I,[u("div",null,[t(x,{size:50,src:i(w)},null,8,["src"])]),N,T,V,t(r),L,u("div",null,[t(a,{style:{"margin-right":"10px"}},{default:e(()=>[d("\u6015\u9EBB\u70E6")]),_:1}),t(a,{style:{"margin-right":"10px"}},{default:e(()=>[d("\u5065\u8EAB\u8FD0\u52A8")]),_:1}),t(a,{style:{"margin-right":"10px"}},{default:e(()=>[d("\u7761\u89C9")]),_:1}),t(a,{style:{"margin-right":"10px"}},{default:e(()=>[d("\u6F2B\u5A01")]),_:1}),t(a,null,{default:e(()=>[d("\u5411\u5F80")]),_:1})]),t(r),$,q,t(r),H])]),_:1})]),_:1}),t(n,{xs:24,sm:12,lg:16},{default:e(()=>[t(f,{class:"custom",gutter:10},{default:e(()=>[t(n,{xs:24,sm:12,lg:8},{default:e(()=>[t(o,{style:{"margin-bottom":"10px"}},{default:e(()=>[u("div",J,[u("div",M,[t(F,{style:{"font-size":"24px",color:"white"}},{default:e(()=>[t(i(p))]),_:1})]),u("div",R,[u("div",W,[t(h,{"start-val":0,"end-val":5268,duration:2e3,autoplay:!0})]),j])])]),_:1})]),_:1}),t(n,{xs:24,sm:12,lg:8},{default:e(()=>[t(o,{style:{"margin-bottom":"10px"}},{default:e(()=>[u("div",G,[u("div",K,[t(F,{style:{"font-size":"24px",color:"white"}},{default:e(()=>[t(i(p))]),_:1})]),u("div",O,[u("div",P,[t(h,{"start-val":0,"end-val":9599,duration:2e3,autoplay:!0})]),Q])])]),_:1})]),_:1}),t(n,{xs:24,sm:12,lg:8},{default:e(()=>[t(o,{style:{"margin-bottom":"10px"}},{default:e(()=>[u("div",U,[u("div",X,[t(F,{style:{"font-size":"24px",color:"white"}},{default:e(()=>[t(i(p))]),_:1})]),u("div",Y,[u("div",Z,[t(h,{"start-val":0,"end-val":595453,duration:2e3,autoplay:!0})]),uu])])]),_:1})]),_:1})]),_:1}),t(o,{class:"box-card"},{header:e(()=>[tu]),default:e(()=>[u("div",eu,[t(o,{style:{flex:"1","margin-right":"20px",cursor:"pointer"},class:"card-item",onClick:_[0]||(_[0]=C=>v("https://ext.dcloud.net.cn/plugin?id=7511"))},{default:e(()=>[su,ou]),_:1}),t(o,{style:{flex:"1",cursor:"pointer"},class:"card-item",onClick:_[1]||(_[1]=C=>v("https://github.com/zouzhibin/vue-admin-perfect"))},{default:e(()=>[lu,iu]),_:1})])]),_:1}),t(o,{class:"box-card"},{header:e(()=>[au]),default:e(()=>[u("div",null,[t(z,{height:"300px",width:"100%",id:"bar1"})])]),_:1})]),_:1})]),_:1})])}}});const pu=k(nu,[["__scopeId","data-v-636a71c7"]]);export{pu as default}; diff --git a/docs/assets/index.39508d0f.js b/docs/assets/index.86ddf174.js similarity index 99% rename from docs/assets/index.39508d0f.js rename to docs/assets/index.86ddf174.js index f8c59bc..d0e9785 100644 --- a/docs/assets/index.39508d0f.js +++ b/docs/assets/index.86ddf174.js @@ -1 +1 @@ -import{g as A,i as p,x as N,r as B,o as c,c as l,a as t,W as j,b as h,w as $,s as q,X as z,G as W,H as X,F as U,D as V,M as Y,p as I,f as M,_ as T,A as L,K as k,t as R,q as H,d as J,Y as Q}from"./index.048a73c8.js";const Z="/vue-admin-perfect/assets/emoji-after.664cb306.png",ee={imgs:["\u7231\u4F60","\u7231\u60C5","\u7231\u5FC3","\u50B2\u6162","\u767D\u773C","\u62B1\u62F3","\u9119\u89C6","\u95ED\u5634","\u4FBF\u4FBF","\u64E6\u6C57","\u83DC\u5200","\u5DEE\u52B2","\u5472\u7259","\u5927\u54ED","\u86CB\u7CD5","\u5200","\u5F97\u610F","\u51CB\u8C22","\u53D1\u5446","NO","OK","\u53D1\u6296","\u53D1\u6012","\u996D","\u98DE\u543B","\u594B\u6597","\u75AF\u4E86","\u5C34\u5C2C","\u52FE\u5F15","\u9F13\u638C","\u54C8\u6B20"]},te=a=>(I("data-v-a33089f1"),a=a(),M(),a),se={class:"g-layout-content-chat-util"},ne={class:"item-left"},oe=["onClick"],ae=te(()=>t("img",{src:Z,alt:"",style:{width:"20px"}},null,-1)),ce=[ae],le={class:"upload-picture",title:"\u4E0A\u4F20\u56FE\u7247"},ue={class:"emoje-border-wrap"},ie=["onClick"],re=["src","title"],de=A({__name:"index",emits:["insert","upload"],setup(a,{emit:u}){const i=p(ee.imgs),d=p(!1),g=(_,f)=>{if(_.target.tagName==="IMG"){let r=_.target.cloneNode(!0);r.title=f,u("insert",r,"IMG")}else u("insert",node)},C=()=>{d.value=!0,u("insert",null,null)},x=(_,f)=>new Promise((r,w)=>{var v=new FileReader;let m=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;v.readAsDataURL(_);let y=_.name;m.test(y)?v.onload=F=>{r(F.target.result),u("upload",F.target.result)}:(Y.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),w())});return N(()=>{window.onclick=function(_){d.value=!1}}),(_,f)=>{const r=B("el-icon"),w=B("el-upload");return c(),l("div",se,[t("div",ne,[t("div",{class:"emoje",title:"\u9009\u62E9\u8868\u60C5",onClick:j(C,["stop"])},ce,8,oe),t("div",le,[h(w,{action:"",multiple:"","show-file-list":!1,"before-upload":x},{default:$(()=>[h(r,{style:{"font-size":"20px"}},{default:$(()=>[h(q(z))]),_:1})]),_:1})]),W(t("div",ue,[(c(!0),l(U,null,V(i.value,(v,m)=>(c(),l("div",{class:"title-emoje",onClick:j(y=>g(y,v),["stop"]),key:m},[t("img",{src:`static/face/${v}.png`,title:v},null,8,re)],8,ie))),128))],512),[[X,d.value]])])])}}});const _e=T(de,[["__scopeId","data-v-a33089f1"]]),pe=[{is_self:0,created_at:"2022-11-15",content:"http://182.61.5.190:8889/we.png",id:1,type:2},{is_self:1,created_at:"2022-03-11",content:"hello \u4F60\u597D\u5440!",id:2,type:1}],S=a=>(I("data-v-ea640eae"),a=a(),M(),a),ve={class:"g-container-chat"},he={key:0,class:"from_user_info"},ge={class:"contact-nickname"},fe={class:"receive-message-wrap"},me=S(()=>t("div",{class:"avatar-show"},[t("img",{src:L})],-1)),Ce={style:{position:"relative",display:"flex"}},we=["innerHTML"],ye={key:1,class:"public-show-pic"},xe={key:1,class:"ower-user_info"},Fe={class:"contact-nickname"},De={class:"receive-message-wrap public-show-pic"},Be={style:{position:"relative",display:"flex"}},Ee={key:0,class:"receive-message-info"},be=["innerHTML"],ke={key:1,class:"public-show-pic"},$e=S(()=>t("div",{class:"avatar-show"},[t("img",{src:L})],-1)),Ae={class:"g-chat-container-footer-btn"},Ie=S(()=>t("div",{class:"",style:{"margin-right":"10px"}}," Ctrl+V\u7C98\u8D34, Ctrl+Enter\u6362\u884C ",-1)),Me=A({__name:"index",setup(a){const u=p(null),i=p(null),d=p(pe);p(L);const g=p(null),C=p(null),x=p([]),_=()=>{const e=g.value;e==null||e.focus(),i.value=document.getSelection(),u.value=i.value.getRangeAt(0)},f=e=>{if(window.getSelection){e.focus();let n=window.getSelection();n.selectAllChildren(e),n.collapseToEnd()}else if(document.selection){let n=document.selection.createRange();n.moveToElementText(e),n.collapse(!1),n.select()}},r=(e,n)=>{if(e){let s=document.createRange();s.selectNode(e),s.collapse(!!n),i.value.removeAllRanges(),i.value.addRange(s),s.value=s}else i.value.removeAllRanges(),i.value.addRange(u.value)},w=()=>{u.value=i.value.getRangeAt(0)},v=(e,n)=>{n==="IMG"?(u.value.insertNode(e),r(e,!1)):r()},m=(e,n=1)=>{const s=Q().format("YYYY-MM-DD");return{is_self:1,created_at:s,content:e,type:n,id:Date.now()+Math.random()}},y=()=>{x.value=[],k(()=>{d.value.forEach(e=>{e.type===2&&x.value.push(e.content)})})},F=e=>{const n=g.value;let s=new Image;s.onload=function(){n.appendChild(s),f&&f(n)},s.src=e,s.setAttribute("insert","insert"),s.width=100},G=()=>{k(()=>{setTimeout(()=>{C.value.scrollTop=C.value.scrollHeight},0)})},K=()=>{const e=g.value.innerHTML;if(console.log("value===",e),!e)return r(),Y.error("\u8BF7\u586B\u5199\u53D1\u9001\u5185\u5BB9");let n=//gi,s=//gi,D=e.replace(n,"[$2]"),o=[],E=D.match(s);if(console.log("content",E),E){let O=D.replace(s,(b,P)=>`/b/~${P}/b/~`).split("/b/~");for(let b of O)b&&d.value.push(m(b,2))}else o=m(e),d.value.push(o);y(),g.value.innerHTML="",console.log("content--",d.value),G()};return N(()=>{k(()=>{_()})}),(e,n)=>{const s=B("el-image"),D=B("el-button");return c(),l("div",ve,[t("div",{class:"g-layout-content-center",style:{width:"100%"},ref_key:"chatContentBoxs",ref:C},[(c(!0),l(U,null,V(d.value,(o,E)=>(c(),l("div",{key:o.id,style:{"padding-top":"15px"}},[o.is_self===0?(c(),l("div",he,[t("div",ge,R(o.created_at)+" \u6797\u5CF0",1),t("div",fe,[me,t("div",Ce,[o.type===1?(c(),l("div",{key:0,class:"receive-message-info",innerHTML:o.content},null,8,we)):o.type===2?(c(),l("div",ye,[h(s,{src:o.content,"preview-src-list":[o.content],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["src","preview-src-list","data-resid"])])):H("",!0)])])])):(c(),l("div",xe,[t("div",Fe,R(o.created_at)+" \u6797\u5CF0",1),t("div",De,[t("div",Be,[o.type==1?(c(),l("div",Ee,[t("div",{class:"text-content",innerHTML:o.content},null,8,be)])):o.type===2?(c(),l("div",ke,[h(s,{src:o.content,"preview-src-list":[o.content],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["src","preview-src-list","data-resid"])])):H("",!0)]),$e])]))]))),128))],512),h(_e,{onInsert:v,onUpload:F}),t("div",{onBlur:w,ref_key:"contenteditableInputs",ref:g,class:"g-chat-container-footer-input",contenteditable:"true"},null,544),t("div",Ae,[Ie,h(D,{onClick:K},{default:$(()=>[J("\u53D1\u9001")]),_:1})])])}}});const Te=T(Me,[["__scopeId","data-v-ea640eae"]]),Le=a=>(I("data-v-b3288350"),a=a(),M(),a),Se={class:"app-container"},je={class:"app-container-inner m-chat"},Re=Le(()=>t("div",{style:{"margin-bottom":"15px","flex-shrink":"0"}},"\u804A\u5929\u5185\u5BB9\u6846\uFF0C\u529F\u80FD\u6709\u53D1\u9001emoji\u8868\u60C5\uFF0C\u4E0A\u4F20\u56FE\u7247\uFF0C\u53D1\u9001\u56FE\u7247\uFF0C\u5185\u5BB9\u6EDA\u52A8\uFF0C\u53D1\u9001\u6587\u5B57",-1)),He=A({__name:"index",setup(a){return(u,i)=>(c(),l("div",Se,[t("div",je,[Re,h(Te,{class:"m-chat-box"})])]))}});const Ve=T(He,[["__scopeId","data-v-b3288350"]]);export{Ve as default}; +import{g as A,i as p,x as N,r as B,o as c,c as l,a as t,W as j,b as h,w as $,s as q,X as z,G as W,H as X,F as U,D as V,M as Y,p as I,f as M,_ as T,A as L,K as k,t as R,q as H,d as J,Y as Q}from"./index.034c045c.js";const Z="/vue-admin-perfect/assets/emoji-after.664cb306.png",ee={imgs:["\u7231\u4F60","\u7231\u60C5","\u7231\u5FC3","\u50B2\u6162","\u767D\u773C","\u62B1\u62F3","\u9119\u89C6","\u95ED\u5634","\u4FBF\u4FBF","\u64E6\u6C57","\u83DC\u5200","\u5DEE\u52B2","\u5472\u7259","\u5927\u54ED","\u86CB\u7CD5","\u5200","\u5F97\u610F","\u51CB\u8C22","\u53D1\u5446","NO","OK","\u53D1\u6296","\u53D1\u6012","\u996D","\u98DE\u543B","\u594B\u6597","\u75AF\u4E86","\u5C34\u5C2C","\u52FE\u5F15","\u9F13\u638C","\u54C8\u6B20"]},te=a=>(I("data-v-a33089f1"),a=a(),M(),a),se={class:"g-layout-content-chat-util"},ne={class:"item-left"},oe=["onClick"],ae=te(()=>t("img",{src:Z,alt:"",style:{width:"20px"}},null,-1)),ce=[ae],le={class:"upload-picture",title:"\u4E0A\u4F20\u56FE\u7247"},ue={class:"emoje-border-wrap"},ie=["onClick"],re=["src","title"],de=A({__name:"index",emits:["insert","upload"],setup(a,{emit:u}){const i=p(ee.imgs),d=p(!1),g=(_,f)=>{if(_.target.tagName==="IMG"){let r=_.target.cloneNode(!0);r.title=f,u("insert",r,"IMG")}else u("insert",node)},C=()=>{d.value=!0,u("insert",null,null)},x=(_,f)=>new Promise((r,w)=>{var v=new FileReader;let m=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;v.readAsDataURL(_);let y=_.name;m.test(y)?v.onload=F=>{r(F.target.result),u("upload",F.target.result)}:(Y.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),w())});return N(()=>{window.onclick=function(_){d.value=!1}}),(_,f)=>{const r=B("el-icon"),w=B("el-upload");return c(),l("div",se,[t("div",ne,[t("div",{class:"emoje",title:"\u9009\u62E9\u8868\u60C5",onClick:j(C,["stop"])},ce,8,oe),t("div",le,[h(w,{action:"",multiple:"","show-file-list":!1,"before-upload":x},{default:$(()=>[h(r,{style:{"font-size":"20px"}},{default:$(()=>[h(q(z))]),_:1})]),_:1})]),W(t("div",ue,[(c(!0),l(U,null,V(i.value,(v,m)=>(c(),l("div",{class:"title-emoje",onClick:j(y=>g(y,v),["stop"]),key:m},[t("img",{src:`static/face/${v}.png`,title:v},null,8,re)],8,ie))),128))],512),[[X,d.value]])])])}}});const _e=T(de,[["__scopeId","data-v-a33089f1"]]),pe=[{is_self:0,created_at:"2022-11-15",content:"http://182.61.5.190:8889/we.png",id:1,type:2},{is_self:1,created_at:"2022-03-11",content:"hello \u4F60\u597D\u5440!",id:2,type:1}],S=a=>(I("data-v-ea640eae"),a=a(),M(),a),ve={class:"g-container-chat"},he={key:0,class:"from_user_info"},ge={class:"contact-nickname"},fe={class:"receive-message-wrap"},me=S(()=>t("div",{class:"avatar-show"},[t("img",{src:L})],-1)),Ce={style:{position:"relative",display:"flex"}},we=["innerHTML"],ye={key:1,class:"public-show-pic"},xe={key:1,class:"ower-user_info"},Fe={class:"contact-nickname"},De={class:"receive-message-wrap public-show-pic"},Be={style:{position:"relative",display:"flex"}},Ee={key:0,class:"receive-message-info"},be=["innerHTML"],ke={key:1,class:"public-show-pic"},$e=S(()=>t("div",{class:"avatar-show"},[t("img",{src:L})],-1)),Ae={class:"g-chat-container-footer-btn"},Ie=S(()=>t("div",{class:"",style:{"margin-right":"10px"}}," Ctrl+V\u7C98\u8D34, Ctrl+Enter\u6362\u884C ",-1)),Me=A({__name:"index",setup(a){const u=p(null),i=p(null),d=p(pe);p(L);const g=p(null),C=p(null),x=p([]),_=()=>{const e=g.value;e==null||e.focus(),i.value=document.getSelection(),u.value=i.value.getRangeAt(0)},f=e=>{if(window.getSelection){e.focus();let n=window.getSelection();n.selectAllChildren(e),n.collapseToEnd()}else if(document.selection){let n=document.selection.createRange();n.moveToElementText(e),n.collapse(!1),n.select()}},r=(e,n)=>{if(e){let s=document.createRange();s.selectNode(e),s.collapse(!!n),i.value.removeAllRanges(),i.value.addRange(s),s.value=s}else i.value.removeAllRanges(),i.value.addRange(u.value)},w=()=>{u.value=i.value.getRangeAt(0)},v=(e,n)=>{n==="IMG"?(u.value.insertNode(e),r(e,!1)):r()},m=(e,n=1)=>{const s=Q().format("YYYY-MM-DD");return{is_self:1,created_at:s,content:e,type:n,id:Date.now()+Math.random()}},y=()=>{x.value=[],k(()=>{d.value.forEach(e=>{e.type===2&&x.value.push(e.content)})})},F=e=>{const n=g.value;let s=new Image;s.onload=function(){n.appendChild(s),f&&f(n)},s.src=e,s.setAttribute("insert","insert"),s.width=100},G=()=>{k(()=>{setTimeout(()=>{C.value.scrollTop=C.value.scrollHeight},0)})},K=()=>{const e=g.value.innerHTML;if(console.log("value===",e),!e)return r(),Y.error("\u8BF7\u586B\u5199\u53D1\u9001\u5185\u5BB9");let n=//gi,s=//gi,D=e.replace(n,"[$2]"),o=[],E=D.match(s);if(console.log("content",E),E){let O=D.replace(s,(b,P)=>`/b/~${P}/b/~`).split("/b/~");for(let b of O)b&&d.value.push(m(b,2))}else o=m(e),d.value.push(o);y(),g.value.innerHTML="",console.log("content--",d.value),G()};return N(()=>{k(()=>{_()})}),(e,n)=>{const s=B("el-image"),D=B("el-button");return c(),l("div",ve,[t("div",{class:"g-layout-content-center",style:{width:"100%"},ref_key:"chatContentBoxs",ref:C},[(c(!0),l(U,null,V(d.value,(o,E)=>(c(),l("div",{key:o.id,style:{"padding-top":"15px"}},[o.is_self===0?(c(),l("div",he,[t("div",ge,R(o.created_at)+" \u6797\u5CF0",1),t("div",fe,[me,t("div",Ce,[o.type===1?(c(),l("div",{key:0,class:"receive-message-info",innerHTML:o.content},null,8,we)):o.type===2?(c(),l("div",ye,[h(s,{src:o.content,"preview-src-list":[o.content],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["src","preview-src-list","data-resid"])])):H("",!0)])])])):(c(),l("div",xe,[t("div",Fe,R(o.created_at)+" \u6797\u5CF0",1),t("div",De,[t("div",Be,[o.type==1?(c(),l("div",Ee,[t("div",{class:"text-content",innerHTML:o.content},null,8,be)])):o.type===2?(c(),l("div",ke,[h(s,{src:o.content,"preview-src-list":[o.content],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["src","preview-src-list","data-resid"])])):H("",!0)]),$e])]))]))),128))],512),h(_e,{onInsert:v,onUpload:F}),t("div",{onBlur:w,ref_key:"contenteditableInputs",ref:g,class:"g-chat-container-footer-input",contenteditable:"true"},null,544),t("div",Ae,[Ie,h(D,{onClick:K},{default:$(()=>[J("\u53D1\u9001")]),_:1})])])}}});const Te=T(Me,[["__scopeId","data-v-ea640eae"]]),Le=a=>(I("data-v-b3288350"),a=a(),M(),a),Se={class:"app-container"},je={class:"app-container-inner m-chat"},Re=Le(()=>t("div",{style:{"margin-bottom":"15px","flex-shrink":"0"}},"\u804A\u5929\u5185\u5BB9\u6846\uFF0C\u529F\u80FD\u6709\u53D1\u9001emoji\u8868\u60C5\uFF0C\u4E0A\u4F20\u56FE\u7247\uFF0C\u53D1\u9001\u56FE\u7247\uFF0C\u5185\u5BB9\u6EDA\u52A8\uFF0C\u53D1\u9001\u6587\u5B57",-1)),He=A({__name:"index",setup(a){return(u,i)=>(c(),l("div",Se,[t("div",je,[Re,h(Te,{class:"m-chat-box"})])]))}});const Ve=T(He,[["__scopeId","data-v-b3288350"]]);export{Ve as default}; diff --git a/docs/assets/index.d7f6bf17.js b/docs/assets/index.881fef6a.js similarity index 95% rename from docs/assets/index.d7f6bf17.js rename to docs/assets/index.881fef6a.js index a9228c7..890e04c 100644 --- a/docs/assets/index.d7f6bf17.js +++ b/docs/assets/index.881fef6a.js @@ -1 +1 @@ -import{e as h}from"./exprotExcel.30cae770.js";import{g as f,i as s,r as e,o as E,c as m,a as n,b as u,w as l,d as y,F as w,D as B,p as z,f as V,_ as k}from"./index.048a73c8.js";import"./exceljs.min.ee80950b.js";const I=[{date:"2016-05-02",name:"\u738B\u4E94",price:20,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:1,age:18,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1518 \u5F04",zip:200333},{date:"2018-06-11",name:"\u68A6\u742A",price:20,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:2,age:22,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1519 \u5F04",zip:200333},{date:"2022-05-23",name:"\u5FC6\u67F3",price:22,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:3,age:23,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1520 \u5F04",zip:200333},{date:"2022-01-24",name:"\u4E4B\u6843",price:33,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:4,age:24,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2222 \u5F04",zip:200333},{date:"2022-07-22",name:"\u6155\u9752",price:45,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:5,age:25,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2223 \u5F04",zip:200333},{date:"2016-05-02",name:"\u95EE\u5170",price:47,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:6,age:26,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2224 \u5F04",zip:200333},{date:"2016-08-02",name:"\u5143\u9999",price:45,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:7,age:27,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2225 \u5F04",zip:200333},{date:"2019-11-11",name:"\u521D\u590F",price:23,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:8,age:28,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2226 \u5F04",zip:200333},{date:"2018-08-02",name:"\u6C9B\u83E1",price:33,province:"\u4E0A\u6D77",admin:"other",sex:0,id:9,age:29,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2227 \u5F04",zip:200339},{date:"2022-11-03",name:"\u50B2\u73CA",price:222,province:"\u6D59\u6C5F",admin:"admin",sex:1,id:10,age:30,city:"\u676D\u5DDE",address:"\u676D\u5DDE\u5E02\u6EE8\u6C5F\u533A\u5EFA\u4E1A\u8DEF228\u53F7",zip:200433}],N=t=>(z("data-v-6812afa4"),t=t(),V(),t),S={class:"app-container"},L={class:"header"},U=N(()=>n("label",{style:{"margin-right":"10px"}},"\u5BFC\u51FA\u683C\u5F0F",-1)),T={class:"footer"},W={class:"footer-inner"},j=f({__name:"index",setup(t){const c=[{name:"id",label:"id"},{name:"name",label:"\u59D3\u540D"},{name:"age",label:"\u5E74\u9F84",align:"right"},{name:"price",label:"\u4EF7\u683C"},{name:"admin",label:"\u8D26\u53F7"},{name:"address",label:"\u5730\u5740",width:250},{name:"date",label:"\u65E5\u671F",width:140},{name:"province",label:"\u7701\u4EFD"},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}],p=s(I),d=s(""),o=s("xlsx"),F=()=>{h({column:c,data:p.value,filename:d.value||"\u5BFC\u51FA excel",format:o.value,autoWidth:!0})};return(q,i)=>{const _=e("el-input"),r=e("el-option"),D=e("el-select"),A=e("Download"),x=e("el-icon"),C=e("el-button"),v=e("el-table-column"),b=e("el-table");return E(),m("div",S,[n("div",L,[u(_,{modelValue:d.value,"onUpdate:modelValue":i[0]||(i[0]=a=>d.value=a),placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),n("div",null,[U,u(D,{modelValue:o.value,"onUpdate:modelValue":i[1]||(i[1]=a=>o.value=a),class:"m-2",placeholder:"\u5BFC\u51FA\u683C\u5F0F",style:{width:"200px","margin-right":"10px"}},{default:l(()=>[u(r,{label:"xlsx",value:"xlsx"}),u(r,{label:"csv",value:"csv"})]),_:1},8,["modelValue"])]),u(C,{onClick:F,type:"primary"},{default:l(()=>[u(x,{style:{"margin-right":"6px"}},{default:l(()=>[u(A)]),_:1}),y("\u5BFC\u51FA Excel ")]),_:1})]),n("div",T,[n("div",W,[u(b,{data:p.value,border:"",class:"table"},{default:l(()=>[(E(),m(w,null,B(c,(a,g)=>u(v,{key:g,prop:a.name,label:a.label,width:a.width},null,8,["prop","label","width"])),64))]),_:1},8,["data"])])])])}}});const K=k(j,[["__scopeId","data-v-6812afa4"]]);export{K as default}; +import{e as h}from"./exprotExcel.a89d1fae.js";import{g as f,i as s,r as e,o as E,c as m,a as n,b as u,w as l,d as y,F as w,D as B,p as z,f as V,_ as k}from"./index.034c045c.js";import"./exceljs.min.1781a218.js";const I=[{date:"2016-05-02",name:"\u738B\u4E94",price:20,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:1,age:18,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1518 \u5F04",zip:200333},{date:"2018-06-11",name:"\u68A6\u742A",price:20,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:2,age:22,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1519 \u5F04",zip:200333},{date:"2022-05-23",name:"\u5FC6\u67F3",price:22,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:3,age:23,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1520 \u5F04",zip:200333},{date:"2022-01-24",name:"\u4E4B\u6843",price:33,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:4,age:24,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2222 \u5F04",zip:200333},{date:"2022-07-22",name:"\u6155\u9752",price:45,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:5,age:25,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2223 \u5F04",zip:200333},{date:"2016-05-02",name:"\u95EE\u5170",price:47,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:6,age:26,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2224 \u5F04",zip:200333},{date:"2016-08-02",name:"\u5143\u9999",price:45,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:7,age:27,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2225 \u5F04",zip:200333},{date:"2019-11-11",name:"\u521D\u590F",price:23,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:8,age:28,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2226 \u5F04",zip:200333},{date:"2018-08-02",name:"\u6C9B\u83E1",price:33,province:"\u4E0A\u6D77",admin:"other",sex:0,id:9,age:29,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2227 \u5F04",zip:200339},{date:"2022-11-03",name:"\u50B2\u73CA",price:222,province:"\u6D59\u6C5F",admin:"admin",sex:1,id:10,age:30,city:"\u676D\u5DDE",address:"\u676D\u5DDE\u5E02\u6EE8\u6C5F\u533A\u5EFA\u4E1A\u8DEF228\u53F7",zip:200433}],N=t=>(z("data-v-6812afa4"),t=t(),V(),t),S={class:"app-container"},L={class:"header"},U=N(()=>n("label",{style:{"margin-right":"10px"}},"\u5BFC\u51FA\u683C\u5F0F",-1)),T={class:"footer"},W={class:"footer-inner"},j=f({__name:"index",setup(t){const c=[{name:"id",label:"id"},{name:"name",label:"\u59D3\u540D"},{name:"age",label:"\u5E74\u9F84",align:"right"},{name:"price",label:"\u4EF7\u683C"},{name:"admin",label:"\u8D26\u53F7"},{name:"address",label:"\u5730\u5740",width:250},{name:"date",label:"\u65E5\u671F",width:140},{name:"province",label:"\u7701\u4EFD"},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}],p=s(I),d=s(""),o=s("xlsx"),F=()=>{h({column:c,data:p.value,filename:d.value||"\u5BFC\u51FA excel",format:o.value,autoWidth:!0})};return(q,i)=>{const _=e("el-input"),r=e("el-option"),D=e("el-select"),A=e("Download"),x=e("el-icon"),C=e("el-button"),v=e("el-table-column"),b=e("el-table");return E(),m("div",S,[n("div",L,[u(_,{modelValue:d.value,"onUpdate:modelValue":i[0]||(i[0]=a=>d.value=a),placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),n("div",null,[U,u(D,{modelValue:o.value,"onUpdate:modelValue":i[1]||(i[1]=a=>o.value=a),class:"m-2",placeholder:"\u5BFC\u51FA\u683C\u5F0F",style:{width:"200px","margin-right":"10px"}},{default:l(()=>[u(r,{label:"xlsx",value:"xlsx"}),u(r,{label:"csv",value:"csv"})]),_:1},8,["modelValue"])]),u(C,{onClick:F,type:"primary"},{default:l(()=>[u(x,{style:{"margin-right":"6px"}},{default:l(()=>[u(A)]),_:1}),y("\u5BFC\u51FA Excel ")]),_:1})]),n("div",T,[n("div",W,[u(b,{data:p.value,border:"",class:"table"},{default:l(()=>[(E(),m(w,null,B(c,(a,g)=>u(v,{key:g,prop:a.name,label:a.label,width:a.width},null,8,["prop","label","width"])),64))]),_:1},8,["data"])])])])}}});const K=k(j,[["__scopeId","data-v-6812afa4"]]);export{K as default}; diff --git a/docs/assets/index.45a3c1dc.js b/docs/assets/index.8efd975c.js similarity index 75% rename from docs/assets/index.45a3c1dc.js rename to docs/assets/index.8efd975c.js index 69ca612..0f9ceaa 100644 --- a/docs/assets/index.45a3c1dc.js +++ b/docs/assets/index.8efd975c.js @@ -1 +1 @@ -import{_ as t,r as o,o as s,c,b as n}from"./index.048a73c8.js";const a={},r={style:{padding:"30px"}};function l(_,d){const e=o("el-alert");return s(),c("div",r,[n(e,{title:"menu 1-3",type:"success",closable:!1})])}const i=t(a,[["render",l]]);export{i as default}; +import{_ as t,r as o,o as s,c,b as n}from"./index.034c045c.js";const a={},r={style:{padding:"30px"}};function l(_,d){const e=o("el-alert");return s(),c("div",r,[n(e,{title:"menu 1-3",type:"success",closable:!1})])}const i=t(a,[["render",l]]);export{i as default}; diff --git a/docs/assets/index.735095b4.js b/docs/assets/index.92e1b7b4.js similarity index 83% rename from docs/assets/index.735095b4.js rename to docs/assets/index.92e1b7b4.js index 0708cb4..5b88a8e 100644 --- a/docs/assets/index.735095b4.js +++ b/docs/assets/index.92e1b7b4.js @@ -1 +1 @@ -import{_ as c,r as e,o,c as r,a as l,b as t,w as _,n as i,T as p}from"./index.048a73c8.js";const d={},m={class:"app-container"},f={class:"app-container-inner"};function u(v,x){const n=e("el-alert"),a=e("router-view");return o(),r("div",m,[l("div",f,[t(n,{title:"menu 1",closable:!1}),t(a,null,{default:_(({Component:s})=>[(o(),i(p(s)))]),_:1})])])}const w=c(d,[["render",u]]);export{w as default}; +import{_ as c,r as e,o,c as r,a as l,b as t,w as _,n as i,T as p}from"./index.034c045c.js";const d={},m={class:"app-container"},f={class:"app-container-inner"};function u(v,x){const n=e("el-alert"),a=e("router-view");return o(),r("div",m,[l("div",f,[t(n,{title:"menu 1",closable:!1}),t(a,null,{default:_(({Component:s})=>[(o(),i(p(s)))]),_:1})])])}const w=c(d,[["render",u]]);export{w as default}; diff --git a/docs/assets/index.bd6cc042.js b/docs/assets/index.9bb02df8.js similarity index 97% rename from docs/assets/index.bd6cc042.js rename to docs/assets/index.9bb02df8.js index d1d40bd..c7be708 100644 --- a/docs/assets/index.bd6cc042.js +++ b/docs/assets/index.9bb02df8.js @@ -1 +1 @@ -import{i as n}from"./index.201c3aba.js";import{g as l,i,x as u,o as s,c as m,a as c,_ as d}from"./index.048a73c8.js";const p={class:"app-container"},x=l({__name:"index",setup(f){const t=i();let r={normal:{top:200,left:300,width:500,height:400,zIndex:6,backgroundColor:""},color:["rgba(245, 166, 35, 1)","rgba(19, 173, 255, 1)"],title:{show:!0,text:"\u57FA\u7840\u96F7\u8FBE\u56FE",left:"40%",top:"1%",textStyle:{fontSize:18,fontStyle:"normal",fontWeight:"normal"}},legend:{show:!0,icon:"circle",left:"35%",top:"90%",orient:"horizontal",textStyle:{fontSize:14},data:["\u6570\u636E1","\u6570\u636E2"]},radar:{center:["50%","50%"],radius:"70%",startAngle:90,splitNumber:4,shape:"circle",splitArea:{areaStyle:{color:["transparent"]}},axisLabel:{show:!1,fontSize:18,color:"#fff",fontStyle:"normal",fontWeight:"normal"},axisLine:{show:!0,lineStyle:{color:"grey"}},splitLine:{show:!0,lineStyle:{color:"grey"}},indicator:[{name:"\u9053\u8DEF\u7ED3\u51B0",max:88},{name:"\u66B4\u96EA",max:88},{name:"\u66B4\u96E8",max:88},{name:"\u51B0\u96F9",max:88},{name:"\u5927\u98CE",max:88},{name:"\u5927\u96FE",max:88},{name:"\u9AD8\u6E29",max:88},{name:"\u5E72\u65F1",max:88},{name:"\u5BD2\u6F6E",max:88},{name:"\u96F7\u7535",max:88},{name:"\u973E",max:88},{name:"\u6C99\u5C18\u66B4",max:88},{name:"\u971C\u51BB",max:88},{name:"\u53F0\u98CE",max:88},{name:"\u6D2A\u6C34",max:88}]},series:[{name:"\u6570\u636E1",type:"radar",symbol:"circle",symbolSize:10,areaStyle:{normal:{color:"rgba(245, 166, 35, 0.4)"}},itemStyle:{color:"rgba(245, 166, 35, 1)",borderColor:"rgba(245, 166, 35, 0.3)",borderWidth:10},lineStyle:{normal:{type:"dashed",color:"rgba(245, 166, 35, 1)",width:2}},data:[[80,50,55,80,50,80,48,43,60,78,60,40,42,44,65]]},{name:"\u6570\u636E2",type:"radar",symbol:"circle",symbolSize:10,itemStyle:{normal:{color:"rgba(19, 173, 255, 1)",borderColor:"rgba(19, 173, 255, 0.4)",borderWidth:10}},areaStyle:{normal:{color:"rgba(19, 173, 255, 0.5)"}},lineStyle:{normal:{color:"rgba(19, 173, 255, 1)",width:2,type:"dashed"}},data:[[60,60,65,60,70,40,80,63,68,60,77,60,80,62,80]]}]},e;const o=()=>{const a=n(t.value);return a.setOption(r),a};return u(()=>{e=o(),window.addEventListener("resize",function(){e&&e.resize()})}),(a,h)=>(s(),m("div",p,[c("div",{ref_key:"chartsRef",ref:t,class:"app-echarts"},null,512)]))}});const b=d(x,[["__scopeId","data-v-d188ccf7"]]);export{b as default}; +import{i as n}from"./index.201c3aba.js";import{g as l,i,x as u,o as s,c as m,a as c,_ as d}from"./index.034c045c.js";const p={class:"app-container"},x=l({__name:"index",setup(f){const t=i();let r={normal:{top:200,left:300,width:500,height:400,zIndex:6,backgroundColor:""},color:["rgba(245, 166, 35, 1)","rgba(19, 173, 255, 1)"],title:{show:!0,text:"\u57FA\u7840\u96F7\u8FBE\u56FE",left:"40%",top:"1%",textStyle:{fontSize:18,fontStyle:"normal",fontWeight:"normal"}},legend:{show:!0,icon:"circle",left:"35%",top:"90%",orient:"horizontal",textStyle:{fontSize:14},data:["\u6570\u636E1","\u6570\u636E2"]},radar:{center:["50%","50%"],radius:"70%",startAngle:90,splitNumber:4,shape:"circle",splitArea:{areaStyle:{color:["transparent"]}},axisLabel:{show:!1,fontSize:18,color:"#fff",fontStyle:"normal",fontWeight:"normal"},axisLine:{show:!0,lineStyle:{color:"grey"}},splitLine:{show:!0,lineStyle:{color:"grey"}},indicator:[{name:"\u9053\u8DEF\u7ED3\u51B0",max:88},{name:"\u66B4\u96EA",max:88},{name:"\u66B4\u96E8",max:88},{name:"\u51B0\u96F9",max:88},{name:"\u5927\u98CE",max:88},{name:"\u5927\u96FE",max:88},{name:"\u9AD8\u6E29",max:88},{name:"\u5E72\u65F1",max:88},{name:"\u5BD2\u6F6E",max:88},{name:"\u96F7\u7535",max:88},{name:"\u973E",max:88},{name:"\u6C99\u5C18\u66B4",max:88},{name:"\u971C\u51BB",max:88},{name:"\u53F0\u98CE",max:88},{name:"\u6D2A\u6C34",max:88}]},series:[{name:"\u6570\u636E1",type:"radar",symbol:"circle",symbolSize:10,areaStyle:{normal:{color:"rgba(245, 166, 35, 0.4)"}},itemStyle:{color:"rgba(245, 166, 35, 1)",borderColor:"rgba(245, 166, 35, 0.3)",borderWidth:10},lineStyle:{normal:{type:"dashed",color:"rgba(245, 166, 35, 1)",width:2}},data:[[80,50,55,80,50,80,48,43,60,78,60,40,42,44,65]]},{name:"\u6570\u636E2",type:"radar",symbol:"circle",symbolSize:10,itemStyle:{normal:{color:"rgba(19, 173, 255, 1)",borderColor:"rgba(19, 173, 255, 0.4)",borderWidth:10}},areaStyle:{normal:{color:"rgba(19, 173, 255, 0.5)"}},lineStyle:{normal:{color:"rgba(19, 173, 255, 1)",width:2,type:"dashed"}},data:[[60,60,65,60,70,40,80,63,68,60,77,60,80,62,80]]}]},e;const o=()=>{const a=n(t.value);return a.setOption(r),a};return u(()=>{e=o(),window.addEventListener("resize",function(){e&&e.resize()})}),(a,h)=>(s(),m("div",p,[c("div",{ref_key:"chartsRef",ref:t,class:"app-echarts"},null,512)]))}});const b=d(x,[["__scopeId","data-v-d188ccf7"]]);export{b as default}; diff --git a/docs/assets/index.4c5e2966.js b/docs/assets/index.a0346396.js similarity index 96% rename from docs/assets/index.4c5e2966.js rename to docs/assets/index.a0346396.js index a96a69a..245fd5b 100644 --- a/docs/assets/index.4c5e2966.js +++ b/docs/assets/index.a0346396.js @@ -1 +1 @@ -import{g as t,r as e,o as u,n as _,w as p,a as n,b as s,bK as o,p as d,f,_ as m}from"./index.048a73c8.js";const i=a=>(d("data-v-da9b4b85"),a=a(),f(),a),r={class:"content-box"},x=i(()=>n("br",null,null,-1)),y=i(()=>n("div",{class:"icon-list"},[n("span",{class:"iconfont icon-dabaoyu"}),n("span",{class:"iconfont icon-yin"}),n("span",{class:"iconfont icon-dabaoyu"}),n("span",{class:"iconfont icon-shuaxin1"}),n("span",{class:"iconfont icon-shuaxin"}),n("span",{class:"iconfont icon-duoyun-2-copy"}),n("span",{class:"iconfont icon-duoyun-1"}),n("span",{class:"iconfont icon-daxue"}),n("span",{class:"iconfont icon-dayu"}),n("span",{class:"iconfont icon-feng"})],-1)),b={class:"icon-list"},g=t({name:"svgIcon"}),h=t({...g,setup(a){return(v,F)=>{const c=e("el-alert"),l=e("PageWrapLayout");return u(),_(l,{class:"components-container"},{default:p(()=>[n("div",r,[s(c,{title:"\u666E\u901A\u5F15\u5165\u65B9\u5F0F Font Class",type:"warning",closable:!1}),x,y,s(c,{title:"Symbol \u7684\u65B9\u5F0F\u6E32\u67D3\u56FE\u6807 \u652F\u6301\u591A\u8272",type:"warning",closable:!1}),n("div",b,[s(o,{"icon-class":"feng","class-name":"iconfont"}),s(o,{"icon-class":"zhongxue","class-name":"iconfont"}),s(o,{"icon-class":"yangchen","class-name":"iconfont"}),s(o,{"icon-class":"yujiaxue","class-name":"iconfont"}),s(o,{"icon-class":"qing","class-name":"iconfont"}),s(o,{"icon-class":"mai","class-name":"iconfont"}),s(o,{"icon-class":"wu","class-name":"iconfont"}),s(o,{"icon-class":"xiaoyu","class-name":"iconfont"}),s(o,{"icon-class":"xiaoxue","class-name":"iconfont"}),s(o,{"icon-class":"shandian","class-name":"iconfont"}),s(o,{"icon-class":"xue","class-name":"iconfont"})])])]),_:1})}}});const I=m(h,[["__scopeId","data-v-da9b4b85"]]);export{I as default}; +import{g as t,r as e,o as u,n as _,w as p,a as n,b as s,bK as o,p as d,f,_ as m}from"./index.034c045c.js";const i=a=>(d("data-v-da9b4b85"),a=a(),f(),a),r={class:"content-box"},x=i(()=>n("br",null,null,-1)),y=i(()=>n("div",{class:"icon-list"},[n("span",{class:"iconfont icon-dabaoyu"}),n("span",{class:"iconfont icon-yin"}),n("span",{class:"iconfont icon-dabaoyu"}),n("span",{class:"iconfont icon-shuaxin1"}),n("span",{class:"iconfont icon-shuaxin"}),n("span",{class:"iconfont icon-duoyun-2-copy"}),n("span",{class:"iconfont icon-duoyun-1"}),n("span",{class:"iconfont icon-daxue"}),n("span",{class:"iconfont icon-dayu"}),n("span",{class:"iconfont icon-feng"})],-1)),b={class:"icon-list"},g=t({name:"svgIcon"}),h=t({...g,setup(a){return(v,F)=>{const c=e("el-alert"),l=e("PageWrapLayout");return u(),_(l,{class:"components-container"},{default:p(()=>[n("div",r,[s(c,{title:"\u666E\u901A\u5F15\u5165\u65B9\u5F0F Font Class",type:"warning",closable:!1}),x,y,s(c,{title:"Symbol \u7684\u65B9\u5F0F\u6E32\u67D3\u56FE\u6807 \u652F\u6301\u591A\u8272",type:"warning",closable:!1}),n("div",b,[s(o,{"icon-class":"feng","class-name":"iconfont"}),s(o,{"icon-class":"zhongxue","class-name":"iconfont"}),s(o,{"icon-class":"yangchen","class-name":"iconfont"}),s(o,{"icon-class":"yujiaxue","class-name":"iconfont"}),s(o,{"icon-class":"qing","class-name":"iconfont"}),s(o,{"icon-class":"mai","class-name":"iconfont"}),s(o,{"icon-class":"wu","class-name":"iconfont"}),s(o,{"icon-class":"xiaoyu","class-name":"iconfont"}),s(o,{"icon-class":"xiaoxue","class-name":"iconfont"}),s(o,{"icon-class":"shandian","class-name":"iconfont"}),s(o,{"icon-class":"xue","class-name":"iconfont"})])])]),_:1})}}});const I=m(h,[["__scopeId","data-v-da9b4b85"]]);export{I as default}; diff --git a/docs/assets/index.ddf6c1ec.js b/docs/assets/index.a034a620.js similarity index 98% rename from docs/assets/index.ddf6c1ec.js rename to docs/assets/index.a034a620.js index ec2367c..917f7f7 100644 --- a/docs/assets/index.ddf6c1ec.js +++ b/docs/assets/index.a034a620.js @@ -1 +1 @@ -import{g as x,i as d,j as w,r as t,o as N,c as h,b as e,w as l,a as D,d as _,s as A,I as $,N as U,_ as I}from"./index.048a73c8.js";import{m as k}from"./system.79236d81.js";const z={class:"dialog-footer"},P=x({__name:"MenuDrawer",setup(R,{expose:C}){d(k);const i=d(),m=d(),p=w({roleName:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0",trigger:"blur"}],roleIdentification:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u6807\u8BC6",trigger:"blur"}]}),f=d("\u65B0\u589E\u83DC\u5355"),n=w({name:"",roleIdentification:"",describe:null,status:!0}),v={value:"menuName",label:"menuName",checkStrictly:!0},B=(r={})=>{f.value="\u65B0\u589E\u83DC\u5355",r.name&&(f.value="\u7F16\u8F91\u83DC\u5355",Object.keys(r).forEach(u=>{n[u]=r[u]})),m.value=!0},y=async r=>{await i.value.validate((u,c)=>{u?console.log("submit!"):console.log("error submit!",c)})};return C({show:B}),(r,u)=>{const c=t("el-radio-button"),F=t("el-radio-group"),a=t("el-form-item"),b=t("el-input"),E=t("el-cascader"),V=t("el-form"),s=t("el-button"),g=t("el-drawer");return N(),h("div",null,[e(g,{modelValue:m.value,"onUpdate:modelValue":u[6]||(u[6]=o=>m.value=o),title:f.value,size:"50%"},{footer:l(()=>[D("span",z,[e(s,{onClick:u[4]||(u[4]=o=>m.value=!1)},{default:l(()=>[_("\u53D6\u6D88")]),_:1}),e(s,{type:"primary",onClick:u[5]||(u[5]=o=>y(i.value))},{default:l(()=>[_("\u786E\u5B9A")]),_:1})])]),default:l(()=>[e(V,{ref_key:"ruleFormRef",ref:i,model:n,rules:p,"label-width":"120px"},{default:l(()=>[e(a,{label:"\u83DC\u5355\u7C7B\u578B",prop:"menuType"},{default:l(()=>[e(F,{modelValue:n.menuType,"onUpdate:modelValue":u[0]||(u[0]=o=>n.menuType=o)},{default:l(()=>[e(c,{label:"\u76EE\u5F55"}),e(c,{label:"\u83DC\u5355"}),e(c,{label:"\u6309\u94AE"})]),_:1},8,["modelValue"])]),_:1}),e(a,{label:"\u83DC\u5355\u540D\u79F0",prop:"menuName"},{default:l(()=>[e(b,{modelValue:n.menuName,"onUpdate:modelValue":u[1]||(u[1]=o=>n.menuName=o),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(a,{label:"\u7236\u7EA7\u83DC\u5355",prop:"role"},{default:l(()=>[e(E,{style:{width:"100%"},options:A(k),props:v,clearable:""},null,8,["options"])]),_:1}),e(a,{label:"\u6743\u9650\u6807\u8BC6",prop:"identification"},{default:l(()=>[e(b,{modelValue:n.identification,"onUpdate:modelValue":u[2]||(u[2]=o=>n.identification=o),placeholder:"\u8BF7\u8F93\u5165\u6743\u9650\u6807\u8BC6"},null,8,["modelValue"])]),_:1}),e(a,{label:"\u8DEF\u7531\u5730\u5740",prop:"identification"},{default:l(()=>[e(b,{modelValue:n.url,"onUpdate:modelValue":u[3]||(u[3]=o=>n.url=o),placeholder:"\u8BF7\u8F93\u5165\u8DEF\u7531\u5730\u5740"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}}),j={class:"app-container"},q={class:"header"},M={class:"footer"},S={class:"util"},O={class:"table-wrap"},G=x({__name:"index",setup(R){const C=d(k);d("\u65B0\u589E");const i=d(),m=d(),p=w({}),f=r=>{},n=()=>{console.log("submit!",p)},v=()=>{i.value.show()},B=r=>{i.value.show(r)},y=r=>{U.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})};return(r,u)=>{const c=t("el-input"),F=t("el-form-item"),a=t("el-button"),b=t("el-form"),E=t("Plus"),V=t("el-icon"),s=t("el-table-column"),g=t("el-table");return N(),h("div",j,[D("div",q,[e(b,{inline:!0,model:p,ref_key:"ruleFormRef",ref:m},{default:l(()=>[e(F,{label:"\u83DC\u5355\u540D\u79F0",prop:"username"},{default:l(()=>[e(c,{modelValue:p.username,"onUpdate:modelValue":u[0]||(u[0]=o=>p.username=o),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(F,null,{default:l(()=>[e(a,{type:"primary",onClick:n,icon:A($)},{default:l(()=>[_("\u67E5\u8BE2")]),_:1},8,["icon"]),e(a,{onClick:u[1]||(u[1]=o=>f(m.value))},{default:l(()=>[_("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),D("div",M,[D("div",S,[e(a,{type:"primary",onClick:v},{default:l(()=>[e(V,null,{default:l(()=>[e(E)]),_:1}),_(" \u65B0\u589E\u83DC\u5355 ")]),_:1})]),D("div",O,[e(g,{data:C.value,style:{width:"100%"},border:"","default-expand-all":"","row-key":"id",class:"table"},{default:l(()=>[e(s,{prop:"menuName",label:"\u6743\u9650\u540D\u79F0"}),e(s,{prop:"menuType",label:"\u6743\u9650\u7C7B\u578B"}),e(s,{prop:"menuRouter",label:"\u6743\u9650\u8DEF\u7531"}),e(s,{prop:"identification",label:"\u6743\u9650\u6807\u8BC6"}),e(s,{prop:"status",label:"\u64CD\u4F5C"},{default:l(o=>[e(a,{type:"primary",size:"small",icon:"Edit",onClick:T=>B(o.row)},{default:l(()=>[_(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(a,{onClick:T=>y(o.row),type:"danger",size:"small",icon:"Delete"},{default:l(()=>[_(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])]),e(P,{ref_key:"menuDrawerRef",ref:i},null,512)])}}});const K=I(G,[["__scopeId","data-v-27d49517"]]);export{K as default}; +import{g as x,i as d,j as w,r as t,o as N,c as h,b as e,w as l,a as D,d as _,s as A,I as $,N as U,_ as I}from"./index.034c045c.js";import{m as k}from"./system.79236d81.js";const z={class:"dialog-footer"},P=x({__name:"MenuDrawer",setup(R,{expose:C}){d(k);const i=d(),m=d(),p=w({roleName:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0",trigger:"blur"}],roleIdentification:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u6807\u8BC6",trigger:"blur"}]}),f=d("\u65B0\u589E\u83DC\u5355"),n=w({name:"",roleIdentification:"",describe:null,status:!0}),v={value:"menuName",label:"menuName",checkStrictly:!0},B=(r={})=>{f.value="\u65B0\u589E\u83DC\u5355",r.name&&(f.value="\u7F16\u8F91\u83DC\u5355",Object.keys(r).forEach(u=>{n[u]=r[u]})),m.value=!0},y=async r=>{await i.value.validate((u,c)=>{u?console.log("submit!"):console.log("error submit!",c)})};return C({show:B}),(r,u)=>{const c=t("el-radio-button"),F=t("el-radio-group"),a=t("el-form-item"),b=t("el-input"),E=t("el-cascader"),V=t("el-form"),s=t("el-button"),g=t("el-drawer");return N(),h("div",null,[e(g,{modelValue:m.value,"onUpdate:modelValue":u[6]||(u[6]=o=>m.value=o),title:f.value,size:"50%"},{footer:l(()=>[D("span",z,[e(s,{onClick:u[4]||(u[4]=o=>m.value=!1)},{default:l(()=>[_("\u53D6\u6D88")]),_:1}),e(s,{type:"primary",onClick:u[5]||(u[5]=o=>y(i.value))},{default:l(()=>[_("\u786E\u5B9A")]),_:1})])]),default:l(()=>[e(V,{ref_key:"ruleFormRef",ref:i,model:n,rules:p,"label-width":"120px"},{default:l(()=>[e(a,{label:"\u83DC\u5355\u7C7B\u578B",prop:"menuType"},{default:l(()=>[e(F,{modelValue:n.menuType,"onUpdate:modelValue":u[0]||(u[0]=o=>n.menuType=o)},{default:l(()=>[e(c,{label:"\u76EE\u5F55"}),e(c,{label:"\u83DC\u5355"}),e(c,{label:"\u6309\u94AE"})]),_:1},8,["modelValue"])]),_:1}),e(a,{label:"\u83DC\u5355\u540D\u79F0",prop:"menuName"},{default:l(()=>[e(b,{modelValue:n.menuName,"onUpdate:modelValue":u[1]||(u[1]=o=>n.menuName=o),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(a,{label:"\u7236\u7EA7\u83DC\u5355",prop:"role"},{default:l(()=>[e(E,{style:{width:"100%"},options:A(k),props:v,clearable:""},null,8,["options"])]),_:1}),e(a,{label:"\u6743\u9650\u6807\u8BC6",prop:"identification"},{default:l(()=>[e(b,{modelValue:n.identification,"onUpdate:modelValue":u[2]||(u[2]=o=>n.identification=o),placeholder:"\u8BF7\u8F93\u5165\u6743\u9650\u6807\u8BC6"},null,8,["modelValue"])]),_:1}),e(a,{label:"\u8DEF\u7531\u5730\u5740",prop:"identification"},{default:l(()=>[e(b,{modelValue:n.url,"onUpdate:modelValue":u[3]||(u[3]=o=>n.url=o),placeholder:"\u8BF7\u8F93\u5165\u8DEF\u7531\u5730\u5740"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}}),j={class:"app-container"},q={class:"header"},M={class:"footer"},S={class:"util"},O={class:"table-wrap"},G=x({__name:"index",setup(R){const C=d(k);d("\u65B0\u589E");const i=d(),m=d(),p=w({}),f=r=>{},n=()=>{console.log("submit!",p)},v=()=>{i.value.show()},B=r=>{i.value.show(r)},y=r=>{U.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})};return(r,u)=>{const c=t("el-input"),F=t("el-form-item"),a=t("el-button"),b=t("el-form"),E=t("Plus"),V=t("el-icon"),s=t("el-table-column"),g=t("el-table");return N(),h("div",j,[D("div",q,[e(b,{inline:!0,model:p,ref_key:"ruleFormRef",ref:m},{default:l(()=>[e(F,{label:"\u83DC\u5355\u540D\u79F0",prop:"username"},{default:l(()=>[e(c,{modelValue:p.username,"onUpdate:modelValue":u[0]||(u[0]=o=>p.username=o),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(F,null,{default:l(()=>[e(a,{type:"primary",onClick:n,icon:A($)},{default:l(()=>[_("\u67E5\u8BE2")]),_:1},8,["icon"]),e(a,{onClick:u[1]||(u[1]=o=>f(m.value))},{default:l(()=>[_("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),D("div",M,[D("div",S,[e(a,{type:"primary",onClick:v},{default:l(()=>[e(V,null,{default:l(()=>[e(E)]),_:1}),_(" \u65B0\u589E\u83DC\u5355 ")]),_:1})]),D("div",O,[e(g,{data:C.value,style:{width:"100%"},border:"","default-expand-all":"","row-key":"id",class:"table"},{default:l(()=>[e(s,{prop:"menuName",label:"\u6743\u9650\u540D\u79F0"}),e(s,{prop:"menuType",label:"\u6743\u9650\u7C7B\u578B"}),e(s,{prop:"menuRouter",label:"\u6743\u9650\u8DEF\u7531"}),e(s,{prop:"identification",label:"\u6743\u9650\u6807\u8BC6"}),e(s,{prop:"status",label:"\u64CD\u4F5C"},{default:l(o=>[e(a,{type:"primary",size:"small",icon:"Edit",onClick:T=>B(o.row)},{default:l(()=>[_(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(a,{onClick:T=>y(o.row),type:"danger",size:"small",icon:"Delete"},{default:l(()=>[_(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])]),e(P,{ref_key:"menuDrawerRef",ref:i},null,512)])}}});const K=I(G,[["__scopeId","data-v-27d49517"]]);export{K as default}; diff --git a/docs/assets/index.198fbab8.js b/docs/assets/index.a048a65f.js similarity index 98% rename from docs/assets/index.198fbab8.js rename to docs/assets/index.a048a65f.js index e7e663a..8d2c51f 100644 --- a/docs/assets/index.198fbab8.js +++ b/docs/assets/index.a048a65f.js @@ -1,4 +1,4 @@ -import{a as v}from"./index.5be08a55.js";import{g as D,i as b,x as w,K as y,r as f,o as h,c as k,b as t,w as u,d as l}from"./index.048a73c8.js";function C(_){const{container:d=document.body,width:c="240",height:n="100",textAlign:E="left",textBaseline:F="bottom",font:s="16px Microsoft Yahei",fillStyle:o="#000",content:e="Vue Admin Perfect",globalAlpha:r=.3,rotate:p=16,zIndex:a=1e3,isCancel:B=!0}=_,i=document.createElement("canvas");i.setAttribute("width",c),i.setAttribute("height",n);const m=i.getContext("2d");m.globalAlpha=r,m.textAlign=E,m.textBaseline=F,m.font=s,m.fillStyle=o,m.rotate(Math.PI*p/180),m.fillText(e,50,50);const x=i.toDataURL(),A=document.querySelector(".__wm")||document.createElement("div"),g=` +import{a as v}from"./index.5be08a55.js";import{g as D,i as b,x as w,K as y,r as f,o as h,c as k,b as t,w as u,d as l}from"./index.034c045c.js";function C(_){const{container:d=document.body,width:c="240",height:n="100",textAlign:E="left",textBaseline:F="bottom",font:s="16px Microsoft Yahei",fillStyle:o="#000",content:e="Vue Admin Perfect",globalAlpha:r=.3,rotate:p=16,zIndex:a=1e3,isCancel:B=!0}=_,i=document.createElement("canvas");i.setAttribute("width",c),i.setAttribute("height",n);const m=i.getContext("2d");m.globalAlpha=r,m.textAlign=E,m.textBaseline=F,m.font=s,m.fillStyle=o,m.rotate(Math.PI*p/180),m.fillText(e,50,50);const x=i.toDataURL(),A=document.querySelector(".__wm")||document.createElement("div"),g=` position:absolute; top:0px; left:0px; diff --git a/docs/assets/index.aaa08644.js b/docs/assets/index.aaa08644.js deleted file mode 100644 index 03ce8cd..0000000 --- a/docs/assets/index.aaa08644.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,r as a,o as n,c as o,a as e,b as c}from"./index.048a73c8.js";const r={},i={class:"app-container"},p={class:"app-container-inner"},_=e("div",{style:{"margin-bottom":"20px"}},"\u6B22\u8FCE\u5927\u5BB6\u52A0\u5FAE\u4FE1\u54C8\uFF0C\u5171\u540C\u8BA8\u8BBA\uFF0C\u5B66\u4E60",-1);function d(l,m){const t=a("el-image");return n(),o("div",i,[e("div",p,[_,c(t,{src:"http://182.61.5.190:8889/we.png","preview-src-list":["http://182.61.5.190:8889/we.png"],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["preview-src-list","data-resid"])])])}const x=s(r,[["render",d]]);export{x as default}; diff --git a/docs/assets/index.9a238e2e.js b/docs/assets/index.ac1f0d12.js similarity index 96% rename from docs/assets/index.9a238e2e.js rename to docs/assets/index.ac1f0d12.js index 8d142ea..6311f4b 100644 --- a/docs/assets/index.9a238e2e.js +++ b/docs/assets/index.ac1f0d12.js @@ -1 +1 @@ -import{v as A}from"./vue-qr.fbb19789.js";import{g as v,i as d,r as n,o as g,n as y,w as e,a as m,b as u,d as t,l as k}from"./index.048a73c8.js";import{a as h}from"./index.5be08a55.js";const x={style:{display:"flex"}},w=m("a",{href:"https://github.com/Binaryify/vue-qr",target:"_blank"},"https://github.com/Binaryify/vue-qr",-1),S=v({__name:"index",setup(z){const E=d(null),F=d(null),p=d("black"),C=d("https://github.com/zouzhibin/vue-admin-perfect"),i=c=>{switch(c){case 1:p.value="black",E.value=null;return;case 2:E.value=k;return;case 3:p.value=h();return;case 4:let l=new Date().getTime(),a=document.createElement("a");a.style.display="none",a.download=l,a.href=F.value,document.body.appendChild(a),a.click(),a.remove();return}},_=c=>{F.value=c};return(c,l)=>{const a=n("el-input"),B=n("collection"),f=n("el-icon"),s=n("el-button"),o=n("el-descriptions-item"),b=n("el-descriptions"),D=n("PageWrapLayout");return g(),y(D,null,{default:e(()=>[m("div",x,[u(a,{modelValue:C.value,"onUpdate:modelValue":l[0]||(l[0]=r=>C.value=r),placeholder:"\u8BF7\u8F93\u5165",style:{width:"400px","max-width":"100%"}},null,8,["modelValue"]),u(s,{type:"primary",onClick:l[1]||(l[1]=r=>i(1))},{default:e(()=>[u(f,{style:{"margin-right":"6px"}},{default:e(()=>[u(B)]),_:1}),t(" \u751F\u6210\u666E\u901A\u4E8C\u7EF4\u7801 ")]),_:1}),u(s,{type:"primary",onClick:l[2]||(l[2]=r=>i(2))},{default:e(()=>[t("\u751F\u6210\u5E26logo")]),_:1}),u(s,{type:"primary",onClick:l[3]||(l[3]=r=>i(3))},{default:e(()=>[t("\u751F\u6210\u968F\u673A\u989C\u8272\u4E8C\u7EF4\u7801")]),_:1}),u(s,{type:"primary",onClick:l[4]||(l[4]=r=>i(4))},{default:e(()=>[t("\u4E0B\u8F7D")]),_:1})]),m("div",null,[u(A,{logoSrc:E.value,text:C.value,size:200,callback:_,"color-dark":p.value},null,8,["logoSrc","text","color-dark"])]),u(b,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:e(()=>[u(o,{label:"\u5B98\u65B9\u6587\u6863"},{default:e(()=>[w]),_:1}),u(o,{label:"text"},{default:e(()=>[t(" \u4E8C\u7EF4\u7801\u5185\u5BB9\uFF0C\u9ED8\u8BA4\u4E3A 'https://github.com/zouzhibin/vue-admin-perfect' ")]),_:1}),u(o,{label:"logoSrc"},{default:e(()=>[t(" \u5D4C\u5165\u81F3\u4E8C\u7EF4\u7801\u4E2D\u5FC3\u7684 LOGO \u5730\u5740 ")]),_:1}),u(o,{label:"size"},{default:e(()=>[t(" \u5C3A\u5BF8, \u957F\u5BBD\u4E00\u81F4, \u5305\u542B\u5916\u8FB9\u8DDD\uFF0C\u9ED8\u8BA4\u4E3A 200 ")]),_:1}),u(o,{label:"margin"},{default:e(()=>[t(" \u4E8C\u7EF4\u7801\u56FE\u50CF\u7684\u5916\u8FB9\u8DDD, \u9ED8\u8BA4 20px ")]),_:1}),u(o,{label:"logoMargin"},{default:e(()=>[t(" \u6807\u8BC6\u5468\u56F4\u7684\u7A7A\u767D\u8FB9\u6846, \u9ED8\u8BA4\u4E3A0 ")]),_:1}),u(o,{label:"correctLevel"},{default:e(()=>[t(" \u5BB9\u9519\u7EA7\u522B 0-3 ")]),_:1}),u(o,{label:"autoColor"},{default:e(()=>[t(" \u82E5\u4E3A true, \u80CC\u666F\u56FE\u7684\u4E3B\u8981\u989C\u8272\u5C06\u4F5C\u4E3A\u5B9E\u70B9\u7684\u989C\u8272, \u5373 colorDark,\u9ED8\u8BA4 true ")]),_:1}),u(o,{label:"colorDark"},{default:e(()=>[t(" \u5B9E\u70B9\u7684\u989C\u8272,\u9ED8\u8BA4\u989C\u8272\u503C =>\u9ED1\u8272 ")]),_:1}),u(o,{label:"colorLight"},{default:e(()=>[t(" \u7A7A\u767D\u533A\u7684\u989C\u8272 ")]),_:1}),u(o,{label:"callback"},{default:e(()=>[t(" \u751F\u6210\u7684\u4E8C\u7EF4\u7801 Data URI \u53EF\u4EE5\u5728\u56DE\u8C03\u4E2D\u53D6\u5F97,\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E3A\u4E8C\u7EF4\u7801 data URL, \u7B2C\u4E8C\u4E2A\u53C2\u6570\u4E3A props \u4F20\u8FC7\u6765\u7684 qid(\u56E0\u4E3A\u4E8C\u7EF4\u7801\u751F\u6210\u662F\u5F02\u6B65\u7684,\u6240\u4EE5\u52A0\u4E2A id \u7528\u4E8E\u6392\u5E8F) ")]),_:1})]),_:1})]),_:1})}}});export{S as default}; +import{v as A}from"./vue-qr.019531fb.js";import{g as v,i as d,r as n,o as g,n as y,w as e,a as m,b as u,d as t,l as k}from"./index.034c045c.js";import{a as h}from"./index.5be08a55.js";const x={style:{display:"flex"}},w=m("a",{href:"https://github.com/Binaryify/vue-qr",target:"_blank"},"https://github.com/Binaryify/vue-qr",-1),S=v({__name:"index",setup(z){const E=d(null),F=d(null),p=d("black"),C=d("https://github.com/zouzhibin/vue-admin-perfect"),i=c=>{switch(c){case 1:p.value="black",E.value=null;return;case 2:E.value=k;return;case 3:p.value=h();return;case 4:let l=new Date().getTime(),a=document.createElement("a");a.style.display="none",a.download=l,a.href=F.value,document.body.appendChild(a),a.click(),a.remove();return}},_=c=>{F.value=c};return(c,l)=>{const a=n("el-input"),B=n("collection"),f=n("el-icon"),s=n("el-button"),o=n("el-descriptions-item"),b=n("el-descriptions"),D=n("PageWrapLayout");return g(),y(D,null,{default:e(()=>[m("div",x,[u(a,{modelValue:C.value,"onUpdate:modelValue":l[0]||(l[0]=r=>C.value=r),placeholder:"\u8BF7\u8F93\u5165",style:{width:"400px","max-width":"100%"}},null,8,["modelValue"]),u(s,{type:"primary",onClick:l[1]||(l[1]=r=>i(1))},{default:e(()=>[u(f,{style:{"margin-right":"6px"}},{default:e(()=>[u(B)]),_:1}),t(" \u751F\u6210\u666E\u901A\u4E8C\u7EF4\u7801 ")]),_:1}),u(s,{type:"primary",onClick:l[2]||(l[2]=r=>i(2))},{default:e(()=>[t("\u751F\u6210\u5E26logo")]),_:1}),u(s,{type:"primary",onClick:l[3]||(l[3]=r=>i(3))},{default:e(()=>[t("\u751F\u6210\u968F\u673A\u989C\u8272\u4E8C\u7EF4\u7801")]),_:1}),u(s,{type:"primary",onClick:l[4]||(l[4]=r=>i(4))},{default:e(()=>[t("\u4E0B\u8F7D")]),_:1})]),m("div",null,[u(A,{logoSrc:E.value,text:C.value,size:200,callback:_,"color-dark":p.value},null,8,["logoSrc","text","color-dark"])]),u(b,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:e(()=>[u(o,{label:"\u5B98\u65B9\u6587\u6863"},{default:e(()=>[w]),_:1}),u(o,{label:"text"},{default:e(()=>[t(" \u4E8C\u7EF4\u7801\u5185\u5BB9\uFF0C\u9ED8\u8BA4\u4E3A 'https://github.com/zouzhibin/vue-admin-perfect' ")]),_:1}),u(o,{label:"logoSrc"},{default:e(()=>[t(" \u5D4C\u5165\u81F3\u4E8C\u7EF4\u7801\u4E2D\u5FC3\u7684 LOGO \u5730\u5740 ")]),_:1}),u(o,{label:"size"},{default:e(()=>[t(" \u5C3A\u5BF8, \u957F\u5BBD\u4E00\u81F4, \u5305\u542B\u5916\u8FB9\u8DDD\uFF0C\u9ED8\u8BA4\u4E3A 200 ")]),_:1}),u(o,{label:"margin"},{default:e(()=>[t(" \u4E8C\u7EF4\u7801\u56FE\u50CF\u7684\u5916\u8FB9\u8DDD, \u9ED8\u8BA4 20px ")]),_:1}),u(o,{label:"logoMargin"},{default:e(()=>[t(" \u6807\u8BC6\u5468\u56F4\u7684\u7A7A\u767D\u8FB9\u6846, \u9ED8\u8BA4\u4E3A0 ")]),_:1}),u(o,{label:"correctLevel"},{default:e(()=>[t(" \u5BB9\u9519\u7EA7\u522B 0-3 ")]),_:1}),u(o,{label:"autoColor"},{default:e(()=>[t(" \u82E5\u4E3A true, \u80CC\u666F\u56FE\u7684\u4E3B\u8981\u989C\u8272\u5C06\u4F5C\u4E3A\u5B9E\u70B9\u7684\u989C\u8272, \u5373 colorDark,\u9ED8\u8BA4 true ")]),_:1}),u(o,{label:"colorDark"},{default:e(()=>[t(" \u5B9E\u70B9\u7684\u989C\u8272,\u9ED8\u8BA4\u989C\u8272\u503C =>\u9ED1\u8272 ")]),_:1}),u(o,{label:"colorLight"},{default:e(()=>[t(" \u7A7A\u767D\u533A\u7684\u989C\u8272 ")]),_:1}),u(o,{label:"callback"},{default:e(()=>[t(" \u751F\u6210\u7684\u4E8C\u7EF4\u7801 Data URI \u53EF\u4EE5\u5728\u56DE\u8C03\u4E2D\u53D6\u5F97,\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E3A\u4E8C\u7EF4\u7801 data URL, \u7B2C\u4E8C\u4E2A\u53C2\u6570\u4E3A props \u4F20\u8FC7\u6765\u7684 qid(\u56E0\u4E3A\u4E8C\u7EF4\u7801\u751F\u6210\u662F\u5F02\u6B65\u7684,\u6240\u4EE5\u52A0\u4E2A id \u7528\u4E8E\u6392\u5E8F) ")]),_:1})]),_:1})]),_:1})}}});export{S as default}; diff --git a/docs/assets/index.c531920c.js b/docs/assets/index.b8aaeec6.js similarity index 99% rename from docs/assets/index.c531920c.js rename to docs/assets/index.b8aaeec6.js index 3f10d62..3710356 100644 --- a/docs/assets/index.c531920c.js +++ b/docs/assets/index.b8aaeec6.js @@ -1 +1 @@ -import{g as P,i as w,j as Z,B as x,O as p,K as B,b2 as ee,x as te,o as k,c as re,a as H,J as $,s as z,z as ie,r as j,n as I,w as A,b as ne,d as ae,t as se,q as ue,_ as oe}from"./index.048a73c8.js";var L=null;function _e(e){return L||(L=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(r){return setTimeout(r,16)}).bind(window)),L(e)}var S=null;function de(e){S||(S=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(r){clearTimeout(r)}).bind(window)),S(e)}function le(e){var r=document.createElement("style");return r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(r),r}function E(e,r){r===void 0&&(r={});var t=document.createElement(e);return Object.keys(r).forEach(function(a){t[a]=r[a]}),t}function U(e,r,t){var a=window.getComputedStyle(e,t||null)||{display:"none"};return a[r]}function D(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};for(var r=e;r!==document;){if(U(r,"display")==="none")return{detached:!1,rendered:!1};r=r.parentNode}return{detached:!1,rendered:!0}}var ce='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',R=0,b=null;function fe(e,r){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=pe.bind(e));var t=e.__resize_listeners__;if(!t){if(e.__resize_listeners__=[],window.ResizeObserver){var a=e.offsetWidth,s=e.offsetHeight,u=new ResizeObserver(function(){!e.__resize_observer_triggered__&&(e.__resize_observer_triggered__=!0,e.offsetWidth===a&&e.offsetHeight===s)||C(e)}),i=D(e),_=i.detached,d=i.rendered;e.__resize_observer_triggered__=_===!1&&d===!1,e.__resize_observer__=u,u.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){C(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(R||(b=le(ce)),ge(e),e.__resize_rendered__=D(e).rendered,window.MutationObserver){var o=new MutationObserver(e.__resize_mutation_handler__);o.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=o}}e.__resize_listeners__.push(r),R++}function he(e,r){var t=e.__resize_listeners__;if(!!t){if(r&&t.splice(t.indexOf(r),1),!t.length||!r){if(e.detachEvent&&e.removeEventListener){e.detachEvent("onresize",e.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);return}e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",q),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--R&&b&&b.parentNode.removeChild(b)}}function ve(e){var r=e.__resize_last__,t=r.width,a=r.height,s=e.offsetWidth,u=e.offsetHeight;return s!==t||u!==a?{width:s,height:u}:null}function pe(){var e=D(this),r=e.rendered,t=e.detached;r!==this.__resize_rendered__&&(!t&&this.__resize_triggers__&&(N(this),this.addEventListener("scroll",q,!0)),this.__resize_rendered__=r,C(this))}function q(){var e=this;N(this),this.__resize_raf__&&de(this.__resize_raf__),this.__resize_raf__=_e(function(){var r=ve(e);r&&(e.__resize_last__=r,C(e))})}function C(e){!e||!e.__resize_listeners__||e.__resize_listeners__.forEach(function(r){r.call(e,e)})}function ge(e){var r=U(e,"position");(!r||r==="static")&&(e.style.position="relative"),e.__resize_old_position__=r,e.__resize_last__={};var t=E("div",{className:"resize-triggers"}),a=E("div",{className:"resize-expand-trigger"}),s=E("div"),u=E("div",{className:"resize-contract-trigger"});a.appendChild(s),t.appendChild(a),t.appendChild(u),e.appendChild(t),e.__resize_triggers__={triggers:t,expand:a,expandChild:s,contract:u},N(e),e.addEventListener("scroll",q,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function N(e){var r=e.__resize_triggers__,t=r.expand,a=r.expandChild,s=r.contract,u=s.scrollWidth,i=s.scrollHeight,_=t.offsetWidth,d=t.offsetHeight,o=t.scrollWidth,h=t.scrollHeight;s.scrollLeft=u,s.scrollTop=i,a.style.width=_+1+"px",a.style.height=d+1+"px",t.scrollLeft=o,t.scrollTop=h}const xe=["aria-label"];var G=P({__name:"text-clamp",props:{text:{type:String,required:!0},maxHeight:{type:[String,Number],required:!1},maxLines:{type:Number,required:!1},expanded:{type:Boolean,required:!1,default:!1},location:{type:String,required:!1,default:"end"},ellipsis:{type:String,required:!1,default:"\u2026"},autoResize:{type:Boolean,required:!1,default:!1}},emits:["clamp-change","update:expanded"],setup(e,{emit:r}){const t=e,a=w(null),s=w(null),u=w(null),i=Z({offset:0,localExpanded:!!t.expanded,unregisterResizeCallback:null}),_=x(()=>{if(!i.localExpanded&&t.maxHeight)return typeof(t==null?void 0:t.maxHeight)=="number"?`${t==null?void 0:t.maxHeight}px`:t==null?void 0:t.maxHeight}),d=()=>{u.value&&(u.value.textContent=X.value)},o=()=>{i.localExpanded||(d(),(g()||l.value)&&y())},h=()=>{t.text&&(i.offset=t.text.length,M(),t.autoResize&&a.value&&(fe(a.value,o),i.unregisterResizeCallback=()=>{a.value&&he(a.value,o)}),o())},M=()=>{var n;(n=i.unregisterResizeCallback)==null||n.call(i)},g=()=>!(!t.maxLines&&!t.maxHeight)&&!!a.value&&(!!(t.maxLines&&m()>t.maxLines)||!!(t.maxHeight&&a.value.scrollHeight>a.value.offsetHeight)),m=()=>s.value?Object.keys(Array.prototype.slice.call(s.value.getClientRects()).reduce((n,{top:c,bottom:v})=>{const f=`${c}/${v}`;return n[f]||(n[f]=!0),n},{})).length:0,y=(...n)=>{const[c=0,v=i.offset]=n;if(v-c<=3)return void J();const f=Math.floor((v+c)/2);F(f),g()?y(c,f):y(f,v)},F=n=>{i.offset=n,d()},J=()=>{K(),Q()},K=()=>{for(;(!g()||m()<2)&&i.offset{for(;g()&&m()>1&&i.offset>0;)O(-1)},O=n=>{F(i.offset+n)},l=x(()=>!!t.text&&i.offset!==t.text.length);p(()=>l.value,n=>{B(()=>{r("clamp-change",n)})},{immediate:!0});const X=x(()=>l.value?Y.value:t.text),Y=x(()=>{if(t.location==="start")return t.ellipsis+(t.text.slice(0,i.offset)||"").trim();if(t.location==="middle"){const n=Math.floor(i.offset/2);return(t.text.slice(0,n)||"").trim()+t.ellipsis+(t.text.slice(-n)||"").trim()}return(t.text.slice(0,i.offset)||"").trim()+t.ellipsis}),W=()=>{i.localExpanded=!0},T=()=>{i.localExpanded=!1},V=()=>{i.localExpanded=!i.localExpanded};return p(()=>t.expanded,n=>{i.localExpanded=n}),p(()=>i.localExpanded,n=>{n?F(t.text.length):o(),t.expanded!==n&&r("update:expanded",n)}),p(()=>[t.maxLines,t.maxHeight,t.ellipsis,t.location,l.value].join(),()=>{B(()=>{o()})}),p(()=>[t.text,t.autoResize].join(),()=>{B(()=>{h()})}),ee(()=>{M()}),te(()=>{h()}),(n,c)=>(k(),re("div",{ref_key:"textClampRef",ref:a,class:"text-clamp",style:ie({overflow:"hidden",maxHeight:z(_)})},[H("span",{ref_key:"contentRef",ref:s},[$(n.$slots,"before",{expand:W,collapse:T,toggle:V,clamped:z(l),expanded:i.localExpanded}),H("span",{ref_key:"textRef",ref:u,"aria-label":e.text},null,8,xe),$(n.$slots,"after",{expand:W,collapse:T,toggle:V,clamped:z(l),expanded:i.localExpanded})],512)],4))}});G.__file="package/text-clamp.vue";const Ee=e=>(e.install=function(r){r.component(e.__name,e)},e),ze=Ee(G),be={class:"text-clamp-wrap"},Ce=P({__name:"index",setup(e){const r="Vue (\u8BFB\u97F3 /vju\u02D0/\uFF0C\u7C7B\u4F3C\u4E8E view) \u662F\u4E00\u5957\u7528\u4E8E\u6784\u5EFA\u7528\u6237\u754C\u9762\u7684\u6E10\u8FDB\u5F0F\u6846\u67B6\u3002\u4E0E\u5176\u5B83\u5927\u578B\u6846\u67B6\u4E0D\u540C\u7684\u662F\uFF0CVue \u88AB\u8BBE\u8BA1\u4E3A\u53EF\u4EE5\u81EA\u5E95\u5411\u4E0A\u9010\u5C42\u5E94\u7528\u3002Vue \u7684\u6838\u5FC3\u5E93\u53EA\u5173\u6CE8\u89C6\u56FE\u5C42\uFF0C\u4E0D\u4EC5\u6613\u4E8E\u4E0A\u624B\uFF0C\u8FD8\u4FBF\u4E8E\u4E0E\u7B2C\u4E09\u65B9\u5E93\u6216\u65E2\u6709\u9879\u76EE\u6574\u5408\u3002\u53E6\u4E00\u65B9\u9762\uFF0C\u5F53\u4E0E\u73B0\u4EE3\u5316\u7684\u5DE5\u5177\u94FE\u4EE5\u53CA\u5404\u79CD\u652F\u6301\u7C7B\u5E93\u7ED3\u5408\u4F7F\u7528\u65F6\uFF0CVue \u4E5F\u5B8C\u5168\u80FD\u591F\u4E3A\u590D\u6742\u7684\u5355\u9875\u5E94\u7528\u63D0\u4F9B\u9A71\u52A8\u3002";return(t,a)=>{const s=j("el-button"),u=j("PageWrapLayout");return k(),I(u,null,{default:A(()=>[H("div",be,[ne(z(ze),{text:r,"max-lines":3},{after:A(({toggle:i,expanded:_,clamped:d})=>[_||d?(k(),I(s,{key:0,type:"primary",onClick:i},{default:A(()=>[ae(se(_?"\u6536\u8D77":"\u5C55\u5F00"),1)]),_:2},1032,["onClick"])):ue("",!0)]),_:1})])]),_:1})}}});const ye=oe(Ce,[["__scopeId","data-v-bb6cacbd"]]);export{ye as default}; +import{g as P,i as w,j as Z,B as x,O as p,K as B,b2 as ee,x as te,o as k,c as re,a as H,J as $,s as z,z as ie,r as j,n as I,w as A,b as ne,d as ae,t as se,q as ue,_ as oe}from"./index.034c045c.js";var L=null;function _e(e){return L||(L=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(r){return setTimeout(r,16)}).bind(window)),L(e)}var S=null;function de(e){S||(S=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(r){clearTimeout(r)}).bind(window)),S(e)}function le(e){var r=document.createElement("style");return r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(r),r}function E(e,r){r===void 0&&(r={});var t=document.createElement(e);return Object.keys(r).forEach(function(a){t[a]=r[a]}),t}function U(e,r,t){var a=window.getComputedStyle(e,t||null)||{display:"none"};return a[r]}function D(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};for(var r=e;r!==document;){if(U(r,"display")==="none")return{detached:!1,rendered:!1};r=r.parentNode}return{detached:!1,rendered:!0}}var ce='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',R=0,b=null;function fe(e,r){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=pe.bind(e));var t=e.__resize_listeners__;if(!t){if(e.__resize_listeners__=[],window.ResizeObserver){var a=e.offsetWidth,s=e.offsetHeight,u=new ResizeObserver(function(){!e.__resize_observer_triggered__&&(e.__resize_observer_triggered__=!0,e.offsetWidth===a&&e.offsetHeight===s)||C(e)}),i=D(e),_=i.detached,d=i.rendered;e.__resize_observer_triggered__=_===!1&&d===!1,e.__resize_observer__=u,u.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){C(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(R||(b=le(ce)),ge(e),e.__resize_rendered__=D(e).rendered,window.MutationObserver){var o=new MutationObserver(e.__resize_mutation_handler__);o.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=o}}e.__resize_listeners__.push(r),R++}function he(e,r){var t=e.__resize_listeners__;if(!!t){if(r&&t.splice(t.indexOf(r),1),!t.length||!r){if(e.detachEvent&&e.removeEventListener){e.detachEvent("onresize",e.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);return}e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",q),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--R&&b&&b.parentNode.removeChild(b)}}function ve(e){var r=e.__resize_last__,t=r.width,a=r.height,s=e.offsetWidth,u=e.offsetHeight;return s!==t||u!==a?{width:s,height:u}:null}function pe(){var e=D(this),r=e.rendered,t=e.detached;r!==this.__resize_rendered__&&(!t&&this.__resize_triggers__&&(N(this),this.addEventListener("scroll",q,!0)),this.__resize_rendered__=r,C(this))}function q(){var e=this;N(this),this.__resize_raf__&&de(this.__resize_raf__),this.__resize_raf__=_e(function(){var r=ve(e);r&&(e.__resize_last__=r,C(e))})}function C(e){!e||!e.__resize_listeners__||e.__resize_listeners__.forEach(function(r){r.call(e,e)})}function ge(e){var r=U(e,"position");(!r||r==="static")&&(e.style.position="relative"),e.__resize_old_position__=r,e.__resize_last__={};var t=E("div",{className:"resize-triggers"}),a=E("div",{className:"resize-expand-trigger"}),s=E("div"),u=E("div",{className:"resize-contract-trigger"});a.appendChild(s),t.appendChild(a),t.appendChild(u),e.appendChild(t),e.__resize_triggers__={triggers:t,expand:a,expandChild:s,contract:u},N(e),e.addEventListener("scroll",q,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function N(e){var r=e.__resize_triggers__,t=r.expand,a=r.expandChild,s=r.contract,u=s.scrollWidth,i=s.scrollHeight,_=t.offsetWidth,d=t.offsetHeight,o=t.scrollWidth,h=t.scrollHeight;s.scrollLeft=u,s.scrollTop=i,a.style.width=_+1+"px",a.style.height=d+1+"px",t.scrollLeft=o,t.scrollTop=h}const xe=["aria-label"];var G=P({__name:"text-clamp",props:{text:{type:String,required:!0},maxHeight:{type:[String,Number],required:!1},maxLines:{type:Number,required:!1},expanded:{type:Boolean,required:!1,default:!1},location:{type:String,required:!1,default:"end"},ellipsis:{type:String,required:!1,default:"\u2026"},autoResize:{type:Boolean,required:!1,default:!1}},emits:["clamp-change","update:expanded"],setup(e,{emit:r}){const t=e,a=w(null),s=w(null),u=w(null),i=Z({offset:0,localExpanded:!!t.expanded,unregisterResizeCallback:null}),_=x(()=>{if(!i.localExpanded&&t.maxHeight)return typeof(t==null?void 0:t.maxHeight)=="number"?`${t==null?void 0:t.maxHeight}px`:t==null?void 0:t.maxHeight}),d=()=>{u.value&&(u.value.textContent=X.value)},o=()=>{i.localExpanded||(d(),(g()||l.value)&&y())},h=()=>{t.text&&(i.offset=t.text.length,M(),t.autoResize&&a.value&&(fe(a.value,o),i.unregisterResizeCallback=()=>{a.value&&he(a.value,o)}),o())},M=()=>{var n;(n=i.unregisterResizeCallback)==null||n.call(i)},g=()=>!(!t.maxLines&&!t.maxHeight)&&!!a.value&&(!!(t.maxLines&&m()>t.maxLines)||!!(t.maxHeight&&a.value.scrollHeight>a.value.offsetHeight)),m=()=>s.value?Object.keys(Array.prototype.slice.call(s.value.getClientRects()).reduce((n,{top:c,bottom:v})=>{const f=`${c}/${v}`;return n[f]||(n[f]=!0),n},{})).length:0,y=(...n)=>{const[c=0,v=i.offset]=n;if(v-c<=3)return void J();const f=Math.floor((v+c)/2);F(f),g()?y(c,f):y(f,v)},F=n=>{i.offset=n,d()},J=()=>{K(),Q()},K=()=>{for(;(!g()||m()<2)&&i.offset{for(;g()&&m()>1&&i.offset>0;)O(-1)},O=n=>{F(i.offset+n)},l=x(()=>!!t.text&&i.offset!==t.text.length);p(()=>l.value,n=>{B(()=>{r("clamp-change",n)})},{immediate:!0});const X=x(()=>l.value?Y.value:t.text),Y=x(()=>{if(t.location==="start")return t.ellipsis+(t.text.slice(0,i.offset)||"").trim();if(t.location==="middle"){const n=Math.floor(i.offset/2);return(t.text.slice(0,n)||"").trim()+t.ellipsis+(t.text.slice(-n)||"").trim()}return(t.text.slice(0,i.offset)||"").trim()+t.ellipsis}),W=()=>{i.localExpanded=!0},T=()=>{i.localExpanded=!1},V=()=>{i.localExpanded=!i.localExpanded};return p(()=>t.expanded,n=>{i.localExpanded=n}),p(()=>i.localExpanded,n=>{n?F(t.text.length):o(),t.expanded!==n&&r("update:expanded",n)}),p(()=>[t.maxLines,t.maxHeight,t.ellipsis,t.location,l.value].join(),()=>{B(()=>{o()})}),p(()=>[t.text,t.autoResize].join(),()=>{B(()=>{h()})}),ee(()=>{M()}),te(()=>{h()}),(n,c)=>(k(),re("div",{ref_key:"textClampRef",ref:a,class:"text-clamp",style:ie({overflow:"hidden",maxHeight:z(_)})},[H("span",{ref_key:"contentRef",ref:s},[$(n.$slots,"before",{expand:W,collapse:T,toggle:V,clamped:z(l),expanded:i.localExpanded}),H("span",{ref_key:"textRef",ref:u,"aria-label":e.text},null,8,xe),$(n.$slots,"after",{expand:W,collapse:T,toggle:V,clamped:z(l),expanded:i.localExpanded})],512)],4))}});G.__file="package/text-clamp.vue";const Ee=e=>(e.install=function(r){r.component(e.__name,e)},e),ze=Ee(G),be={class:"text-clamp-wrap"},Ce=P({__name:"index",setup(e){const r="Vue (\u8BFB\u97F3 /vju\u02D0/\uFF0C\u7C7B\u4F3C\u4E8E view) \u662F\u4E00\u5957\u7528\u4E8E\u6784\u5EFA\u7528\u6237\u754C\u9762\u7684\u6E10\u8FDB\u5F0F\u6846\u67B6\u3002\u4E0E\u5176\u5B83\u5927\u578B\u6846\u67B6\u4E0D\u540C\u7684\u662F\uFF0CVue \u88AB\u8BBE\u8BA1\u4E3A\u53EF\u4EE5\u81EA\u5E95\u5411\u4E0A\u9010\u5C42\u5E94\u7528\u3002Vue \u7684\u6838\u5FC3\u5E93\u53EA\u5173\u6CE8\u89C6\u56FE\u5C42\uFF0C\u4E0D\u4EC5\u6613\u4E8E\u4E0A\u624B\uFF0C\u8FD8\u4FBF\u4E8E\u4E0E\u7B2C\u4E09\u65B9\u5E93\u6216\u65E2\u6709\u9879\u76EE\u6574\u5408\u3002\u53E6\u4E00\u65B9\u9762\uFF0C\u5F53\u4E0E\u73B0\u4EE3\u5316\u7684\u5DE5\u5177\u94FE\u4EE5\u53CA\u5404\u79CD\u652F\u6301\u7C7B\u5E93\u7ED3\u5408\u4F7F\u7528\u65F6\uFF0CVue \u4E5F\u5B8C\u5168\u80FD\u591F\u4E3A\u590D\u6742\u7684\u5355\u9875\u5E94\u7528\u63D0\u4F9B\u9A71\u52A8\u3002";return(t,a)=>{const s=j("el-button"),u=j("PageWrapLayout");return k(),I(u,null,{default:A(()=>[H("div",be,[ne(z(ze),{text:r,"max-lines":3},{after:A(({toggle:i,expanded:_,clamped:d})=>[_||d?(k(),I(s,{key:0,type:"primary",onClick:i},{default:A(()=>[ae(se(_?"\u6536\u8D77":"\u5C55\u5F00"),1)]),_:2},1032,["onClick"])):ue("",!0)]),_:1})])]),_:1})}}});const ye=oe(Ce,[["__scopeId","data-v-bb6cacbd"]]);export{ye as default}; diff --git a/docs/assets/index.db3b52d0.js b/docs/assets/index.b8be7f4f.js similarity index 93% rename from docs/assets/index.db3b52d0.js rename to docs/assets/index.b8be7f4f.js index 37dcd7c..4bdbb02 100644 --- a/docs/assets/index.db3b52d0.js +++ b/docs/assets/index.b8be7f4f.js @@ -1 +1 @@ -import{g as v,i as C,bT as i,r as F,o as x,c as h,a as e,b as _,w as l,d,t as r,s,p as y,f as g,_ as B}from"./index.048a73c8.js";const p=t=>(y("data-v-286516fe"),t=t(),g(),t),k={class:"app-container"},w={class:"app-container-inner"},S={class:"header"},b=p(()=>e("div",{class:"title"},"window\u5207\u6362\u5168\u5C4F",-1)),A=p(()=>e("div",{class:"title"},"DOM\u5143\u7D20\u5207\u6362\u5168\u5C4F",-1)),I={class:"inner"},D=v({__name:"index",setup(t){const o=C(null),{enter:N,toggle:f,exit:V,isFullscreen:n}=i(),{toggle:c}=i(o);return(R,a)=>{const u=F("el-button");return x(),h("div",k,[e("div",w,[e("div",S,[b,_(u,{type:"primary",onClick:s(f)},{default:l(()=>[d(r(s(n)?"\u9000\u51FA\u5168\u5C4F":"\u70B9\u51FB\u5168\u5C4F"),1)]),_:1},8,["onClick"])]),e("div",{class:"fullscreen",onClick:a[0]||(a[0]=(...m)=>s(c)&&s(c)(...m)),ref_key:"domRef",ref:o},[A,e("div",I,[_(u,{type:"primary"},{default:l(()=>[d(r(s(n)?"\u9000\u51FA\u5168\u5C4F":"\u70B9\u51FB\u5168\u5C4F"),1)]),_:1})])],512)])])}}});const E=B(D,[["__scopeId","data-v-286516fe"]]);export{E as default}; +import{g as v,i as C,bT as i,r as F,o as x,c as h,a as e,b as _,w as l,d,t as r,s,p as y,f as g,_ as B}from"./index.034c045c.js";const p=t=>(y("data-v-286516fe"),t=t(),g(),t),k={class:"app-container"},w={class:"app-container-inner"},S={class:"header"},b=p(()=>e("div",{class:"title"},"window\u5207\u6362\u5168\u5C4F",-1)),A=p(()=>e("div",{class:"title"},"DOM\u5143\u7D20\u5207\u6362\u5168\u5C4F",-1)),I={class:"inner"},D=v({__name:"index",setup(t){const o=C(null),{enter:N,toggle:f,exit:V,isFullscreen:n}=i(),{toggle:c}=i(o);return(R,a)=>{const u=F("el-button");return x(),h("div",k,[e("div",w,[e("div",S,[b,_(u,{type:"primary",onClick:s(f)},{default:l(()=>[d(r(s(n)?"\u9000\u51FA\u5168\u5C4F":"\u70B9\u51FB\u5168\u5C4F"),1)]),_:1},8,["onClick"])]),e("div",{class:"fullscreen",onClick:a[0]||(a[0]=(...m)=>s(c)&&s(c)(...m)),ref_key:"domRef",ref:o},[A,e("div",I,[_(u,{type:"primary"},{default:l(()=>[d(r(s(n)?"\u9000\u51FA\u5168\u5C4F":"\u70B9\u51FB\u5168\u5C4F"),1)]),_:1})])],512)])])}}});const E=B(D,[["__scopeId","data-v-286516fe"]]);export{E as default}; diff --git a/docs/assets/index.a3314aae.js b/docs/assets/index.ba2d34e6.js similarity index 98% rename from docs/assets/index.a3314aae.js rename to docs/assets/index.ba2d34e6.js index e4d4da0..49f4ddc 100644 --- a/docs/assets/index.a3314aae.js +++ b/docs/assets/index.ba2d34e6.js @@ -1 +1 @@ -import{g as $,i as d,j as k,r as a,o as A,n as T,w as l,a as v,b as e,d as f,M as S,x as j,C as I,c as P,s as q,I as z,G as H,N,_ as G}from"./index.048a73c8.js";import{d as U}from"./system.79236d81.js";const J={class:"dialog-footer"},K=$({__name:"deptDialog",setup(M,{expose:D}){const s=d(),r=d(!1),F=d(U),c=d("\u65B0\u589E\u90E8\u95E8"),w={value:"id",label:"deptName",checkStrictly:!0},B=k({deptName:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",trigger:"blur"}],id:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8",trigger:"change"}]}),o=k({deptName:"",id:"",remark:null,status:!0});function V(){s.value.resetFields(),Object.keys(o).forEach(u=>{u==="sex"?o[u]="\u7537":u==="status"?o[u]=!0:o[u]=null})}const h=(u={})=>{c.value="\u65B0\u589E\u90E8\u95E8",u.deptName&&(c.value="\u7F16\u8F91\u90E8\u95E8",Object.keys(u).forEach(t=>{o[t]=u[t]})),r.value=!0},x=async u=>{await s.value.validate((t,E)=>{t?(r.value=!1,S.success(`\u63D0\u4EA4\u6570\u636E\uFF1A${JSON.stringify(o)}`),console.log("submit!",o)):console.log("error submit!",E)})};return D({show:h}),(u,t)=>{const E=a("el-cascader"),p=a("el-form-item"),m=a("el-input"),C=a("el-switch"),y=a("el-form"),g=a("el-button"),_=a("el-dialog");return A(),T(_,{onClose:V,modelValue:r.value,"onUpdate:modelValue":t[6]||(t[6]=n=>r.value=n),title:c.value,width:"50%"},{footer:l(()=>[v("span",J,[e(g,{onClick:t[4]||(t[4]=n=>r.value=!1)},{default:l(()=>[f("\u53D6\u6D88")]),_:1}),e(g,{type:"primary",onClick:t[5]||(t[5]=n=>x(s.value))},{default:l(()=>[f("\u786E\u5B9A")]),_:1})])]),default:l(()=>[e(y,{ref_key:"ruleFormRef",ref:s,model:o,rules:B,"label-width":"100px"},{default:l(()=>[e(p,{label:"\u4E0A\u7EA7\u90E8\u95E8",prop:"id"},{default:l(()=>[e(E,{modelValue:o.id,"onUpdate:modelValue":t[0]||(t[0]=n=>o.id=n),options:F.value,props:w,clearable:"",style:{width:"100%"}},null,8,["modelValue","options"])]),_:1}),e(p,{label:"\u90E8\u95E8\u540D\u79F0",prop:"deptName"},{default:l(()=>[e(m,{modelValue:o.deptName,"onUpdate:modelValue":t[1]||(t[1]=n=>o.deptName=n),placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u72B6\u6001"},{default:l(()=>[e(C,{modelValue:o.status,"onUpdate:modelValue":t[2]||(t[2]=n=>o.status=n),"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u5907\u6CE8"},{default:l(()=>[e(m,{modelValue:o.remark,"onUpdate:modelValue":t[3]||(t[3]=n=>o.remark=n),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),L={class:"app-container"},Q={class:"header"},W={class:"footer"},X={class:"util"},Y={class:"table-inner"},Z=$({__name:"index",setup(M){const D=d(U),s=d(!0);d(!1);const r=d(),F=d(),c=k({});j(()=>{setTimeout(()=>{s.value=!1},500)});const w=()=>{console.log("submit!",c),s.value=!0,setTimeout(()=>{s.value=!1},500)},B=u=>{s.value=!0,setTimeout(()=>{s.value=!1},500)},o=()=>{r.value.show()},V=u=>{r.value.show(u)},h=u=>{N.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})},x=u=>{N.confirm(`\u786E\u5B9A\u8981${u.status?"\u542F\u7528":"\u7981\u7528"} ${u.deptName} \u8D26\u6237\u5417\uFF1F`,"\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{}).catch(()=>{u.status=!u.status})};return(u,t)=>{const E=a("el-input"),p=a("el-form-item"),m=a("el-button"),C=a("el-form"),y=a("Plus"),g=a("el-icon"),_=a("el-table-column"),n=a("el-switch"),O=a("el-table"),R=I("loading");return A(),P("div",L,[v("div",Q,[e(C,{inline:!0,model:c,ref_key:"ruleFormRef",ref:F},{default:l(()=>[e(p,{label:"\u90E8\u95E8\u540D\u79F0",prop:"username"},{default:l(()=>[e(E,{modelValue:c.username,"onUpdate:modelValue":t[0]||(t[0]=i=>c.username=i),placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(p,null,{default:l(()=>[e(m,{type:"primary",onClick:w,icon:q(z)},{default:l(()=>[f("\u67E5\u8BE2")]),_:1},8,["icon"]),e(m,{onClick:t[1]||(t[1]=i=>B(F.value))},{default:l(()=>[f("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),v("div",W,[v("div",X,[e(m,{type:"primary",onClick:o},{default:l(()=>[e(g,null,{default:l(()=>[e(y)]),_:1}),f(" \u65B0\u589E\u90E8\u95E8 ")]),_:1})]),v("div",Y,[H((A(),T(O,{"row-key":"id",data:D.value,style:{width:"100%"},border:""},{default:l(()=>[e(_,{prop:"deptName",label:"\u90E8\u95E8\u540D\u79F0",align:"center"}),e(_,{prop:"status",label:"\u72B6\u6001",align:"center"},{default:l(i=>[e(n,{"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528",modelValue:i.row.status,"onUpdate:modelValue":b=>i.row.status=b,onChange:b=>x(i.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(_,{prop:"remark","show-overflow-tooltip":!0,width:"300",label:"\u5907\u6CE8",align:"center"}),e(_,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center",width:"180"}),e(_,{prop:"operator",label:"\u64CD\u4F5C",width:"200px",align:"center"},{default:l(i=>[e(m,{type:"primary",size:"small",icon:"Edit",onClick:b=>V(i.row)},{default:l(()=>[f(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(m,{onClick:b=>h(i.row),type:"danger",size:"small",icon:"Delete"},{default:l(()=>[f(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[R,s.value]])])]),e(K,{ref_key:"deptDialog",ref:r},null,512)])}}});const ue=G(Z,[["__scopeId","data-v-c3ce73d1"]]);export{ue as default}; +import{g as $,i as d,j as k,r as a,o as A,n as T,w as l,a as v,b as e,d as f,M as S,x as j,C as I,c as P,s as q,I as z,G as H,N,_ as G}from"./index.034c045c.js";import{d as U}from"./system.79236d81.js";const J={class:"dialog-footer"},K=$({__name:"deptDialog",setup(M,{expose:D}){const s=d(),r=d(!1),F=d(U),c=d("\u65B0\u589E\u90E8\u95E8"),w={value:"id",label:"deptName",checkStrictly:!0},B=k({deptName:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",trigger:"blur"}],id:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8",trigger:"change"}]}),o=k({deptName:"",id:"",remark:null,status:!0});function V(){s.value.resetFields(),Object.keys(o).forEach(u=>{u==="sex"?o[u]="\u7537":u==="status"?o[u]=!0:o[u]=null})}const h=(u={})=>{c.value="\u65B0\u589E\u90E8\u95E8",u.deptName&&(c.value="\u7F16\u8F91\u90E8\u95E8",Object.keys(u).forEach(t=>{o[t]=u[t]})),r.value=!0},x=async u=>{await s.value.validate((t,E)=>{t?(r.value=!1,S.success(`\u63D0\u4EA4\u6570\u636E\uFF1A${JSON.stringify(o)}`),console.log("submit!",o)):console.log("error submit!",E)})};return D({show:h}),(u,t)=>{const E=a("el-cascader"),p=a("el-form-item"),m=a("el-input"),C=a("el-switch"),y=a("el-form"),g=a("el-button"),_=a("el-dialog");return A(),T(_,{onClose:V,modelValue:r.value,"onUpdate:modelValue":t[6]||(t[6]=n=>r.value=n),title:c.value,width:"50%"},{footer:l(()=>[v("span",J,[e(g,{onClick:t[4]||(t[4]=n=>r.value=!1)},{default:l(()=>[f("\u53D6\u6D88")]),_:1}),e(g,{type:"primary",onClick:t[5]||(t[5]=n=>x(s.value))},{default:l(()=>[f("\u786E\u5B9A")]),_:1})])]),default:l(()=>[e(y,{ref_key:"ruleFormRef",ref:s,model:o,rules:B,"label-width":"100px"},{default:l(()=>[e(p,{label:"\u4E0A\u7EA7\u90E8\u95E8",prop:"id"},{default:l(()=>[e(E,{modelValue:o.id,"onUpdate:modelValue":t[0]||(t[0]=n=>o.id=n),options:F.value,props:w,clearable:"",style:{width:"100%"}},null,8,["modelValue","options"])]),_:1}),e(p,{label:"\u90E8\u95E8\u540D\u79F0",prop:"deptName"},{default:l(()=>[e(m,{modelValue:o.deptName,"onUpdate:modelValue":t[1]||(t[1]=n=>o.deptName=n),placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u72B6\u6001"},{default:l(()=>[e(C,{modelValue:o.status,"onUpdate:modelValue":t[2]||(t[2]=n=>o.status=n),"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u5907\u6CE8"},{default:l(()=>[e(m,{modelValue:o.remark,"onUpdate:modelValue":t[3]||(t[3]=n=>o.remark=n),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),L={class:"app-container"},Q={class:"header"},W={class:"footer"},X={class:"util"},Y={class:"table-inner"},Z=$({__name:"index",setup(M){const D=d(U),s=d(!0);d(!1);const r=d(),F=d(),c=k({});j(()=>{setTimeout(()=>{s.value=!1},500)});const w=()=>{console.log("submit!",c),s.value=!0,setTimeout(()=>{s.value=!1},500)},B=u=>{s.value=!0,setTimeout(()=>{s.value=!1},500)},o=()=>{r.value.show()},V=u=>{r.value.show(u)},h=u=>{N.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})},x=u=>{N.confirm(`\u786E\u5B9A\u8981${u.status?"\u542F\u7528":"\u7981\u7528"} ${u.deptName} \u8D26\u6237\u5417\uFF1F`,"\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{}).catch(()=>{u.status=!u.status})};return(u,t)=>{const E=a("el-input"),p=a("el-form-item"),m=a("el-button"),C=a("el-form"),y=a("Plus"),g=a("el-icon"),_=a("el-table-column"),n=a("el-switch"),O=a("el-table"),R=I("loading");return A(),P("div",L,[v("div",Q,[e(C,{inline:!0,model:c,ref_key:"ruleFormRef",ref:F},{default:l(()=>[e(p,{label:"\u90E8\u95E8\u540D\u79F0",prop:"username"},{default:l(()=>[e(E,{modelValue:c.username,"onUpdate:modelValue":t[0]||(t[0]=i=>c.username=i),placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(p,null,{default:l(()=>[e(m,{type:"primary",onClick:w,icon:q(z)},{default:l(()=>[f("\u67E5\u8BE2")]),_:1},8,["icon"]),e(m,{onClick:t[1]||(t[1]=i=>B(F.value))},{default:l(()=>[f("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),v("div",W,[v("div",X,[e(m,{type:"primary",onClick:o},{default:l(()=>[e(g,null,{default:l(()=>[e(y)]),_:1}),f(" \u65B0\u589E\u90E8\u95E8 ")]),_:1})]),v("div",Y,[H((A(),T(O,{"row-key":"id",data:D.value,style:{width:"100%"},border:""},{default:l(()=>[e(_,{prop:"deptName",label:"\u90E8\u95E8\u540D\u79F0",align:"center"}),e(_,{prop:"status",label:"\u72B6\u6001",align:"center"},{default:l(i=>[e(n,{"inline-prompt":"","active-text":"\u542F\u7528","inactive-text":"\u7981\u7528",modelValue:i.row.status,"onUpdate:modelValue":b=>i.row.status=b,onChange:b=>x(i.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(_,{prop:"remark","show-overflow-tooltip":!0,width:"300",label:"\u5907\u6CE8",align:"center"}),e(_,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center",width:"180"}),e(_,{prop:"operator",label:"\u64CD\u4F5C",width:"200px",align:"center"},{default:l(i=>[e(m,{type:"primary",size:"small",icon:"Edit",onClick:b=>V(i.row)},{default:l(()=>[f(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(m,{onClick:b=>h(i.row),type:"danger",size:"small",icon:"Delete"},{default:l(()=>[f(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[R,s.value]])])]),e(K,{ref_key:"deptDialog",ref:r},null,512)])}}});const ue=G(Z,[["__scopeId","data-v-c3ce73d1"]]);export{ue as default}; diff --git a/docs/assets/index.3b541407.js b/docs/assets/index.bc5fe196.js similarity index 93% rename from docs/assets/index.3b541407.js rename to docs/assets/index.bc5fe196.js index 1bddee6..19ef296 100644 --- a/docs/assets/index.3b541407.js +++ b/docs/assets/index.bc5fe196.js @@ -1 +1 @@ -import{b as g}from"./exprotExcel.30cae770.js";import{g as w,i as u,r as a,o as r,c as _,a as s,b as t,w as c,d as y,F as A,D as C,_ as B}from"./index.048a73c8.js";import"./exceljs.min.ee80950b.js";const V={class:"app-container"},k={class:"header"},N={class:"footer"},z={class:"footer-inner"},I=w({__name:"index",setup(L){const n=[];for(let e=0;e<10;e++)n.push({date:"2016-05-02",name:"\u738B\u4E94"+e,price:1+e,province:"\u4E0A\u6D77",admin:"admin",sex:e%2?1:0,checked:!0,id:e+1,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333});const d=[{name:"id",label:"id"},{name:"name",label:"\u59D3\u540D"},{name:"age",label:"\u5E74\u9F84",align:"right"},{name:"price",label:"\u4EF7\u683C"},{name:"admin",label:"\u8D26\u53F7"},{name:"address",label:"\u5730\u5740",width:180},{name:"date",label:"\u65E5\u671F",width:140},{name:"province",label:"\u7701\u4EFD"},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}],p=u(n),o=u(""),m=u("xlsx"),b=()=>{g({column:d,data:n,filename:o.value||"\u5BFC\u51FA excel",format:m.value,autoWidth:!0})};return(e,i)=>{const x=a("el-input"),E=a("Download"),h=a("el-icon"),F=a("el-button"),f=a("el-table-column"),v=a("el-table");return r(),_("div",V,[s("div",k,[t(x,{modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=l=>o.value=l),placeholder:"\u9ED8\u8BA4\u6587\u4EF6\u540D\u5BFC\u51FA excel",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),t(F,{onClick:b,type:"primary"},{default:c(()=>[t(h,{style:{"margin-right":"6px"}},{default:c(()=>[t(E)]),_:1}),y("\u5BFC\u51FA\u6837\u5F0F Excel ")]),_:1})]),s("div",N,[s("div",z,[t(v,{data:p.value,class:"table",border:""},{default:c(()=>[(r(),_(A,null,C(d,(l,D)=>t(f,{key:D,prop:l.name,label:l.label,width:l.width},null,8,["prop","label","width"])),64))]),_:1},8,["data"])])])])}}});const W=B(I,[["__scopeId","data-v-7a49142d"]]);export{W as default}; +import{b as g}from"./exprotExcel.a89d1fae.js";import{g as w,i as u,r as a,o as r,c as _,a as s,b as t,w as c,d as y,F as A,D as C,_ as B}from"./index.034c045c.js";import"./exceljs.min.1781a218.js";const V={class:"app-container"},k={class:"header"},N={class:"footer"},z={class:"footer-inner"},I=w({__name:"index",setup(L){const n=[];for(let e=0;e<10;e++)n.push({date:"2016-05-02",name:"\u738B\u4E94"+e,price:1+e,province:"\u4E0A\u6D77",admin:"admin",sex:e%2?1:0,checked:!0,id:e+1,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333});const d=[{name:"id",label:"id"},{name:"name",label:"\u59D3\u540D"},{name:"age",label:"\u5E74\u9F84",align:"right"},{name:"price",label:"\u4EF7\u683C"},{name:"admin",label:"\u8D26\u53F7"},{name:"address",label:"\u5730\u5740",width:180},{name:"date",label:"\u65E5\u671F",width:140},{name:"province",label:"\u7701\u4EFD"},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}],p=u(n),o=u(""),m=u("xlsx"),b=()=>{g({column:d,data:n,filename:o.value||"\u5BFC\u51FA excel",format:m.value,autoWidth:!0})};return(e,i)=>{const x=a("el-input"),E=a("Download"),h=a("el-icon"),F=a("el-button"),f=a("el-table-column"),v=a("el-table");return r(),_("div",V,[s("div",k,[t(x,{modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=l=>o.value=l),placeholder:"\u9ED8\u8BA4\u6587\u4EF6\u540D\u5BFC\u51FA excel",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),t(F,{onClick:b,type:"primary"},{default:c(()=>[t(h,{style:{"margin-right":"6px"}},{default:c(()=>[t(E)]),_:1}),y("\u5BFC\u51FA\u6837\u5F0F Excel ")]),_:1})]),s("div",N,[s("div",z,[t(v,{data:p.value,class:"table",border:""},{default:c(()=>[(r(),_(A,null,C(d,(l,D)=>t(f,{key:D,prop:l.name,label:l.label,width:l.width},null,8,["prop","label","width"])),64))]),_:1},8,["data"])])])])}}});const W=B(I,[["__scopeId","data-v-7a49142d"]]);export{W as default}; diff --git a/docs/assets/index.e89d5f33.js b/docs/assets/index.c9faabf1.js similarity index 99% rename from docs/assets/index.e89d5f33.js rename to docs/assets/index.c9faabf1.js index 1ef513d..5c7fff5 100644 --- a/docs/assets/index.e89d5f33.js +++ b/docs/assets/index.c9faabf1.js @@ -1 +1 @@ -import{g as T,i as c,j as $,r as n,o as x,n as P,w as u,a as g,b as l,d as B,s as j,x as J,C as K,c as I,I as Q,G as X,N,_ as R,U as Y,O as Z,V as ee,t as le,W as q,q as ue,p as te,f as oe}from"./index.048a73c8.js";import{a as S,b as z}from"./system.79236d81.js";const ne={class:"dialog-footer"},ae=T({__name:"dictionaryEntryDialog",setup(k,{expose:y}){const d=c(),a=c(!1),p=c("\u65B0\u589E\u5B57\u5178\u9879"),v={value:"id",label:"name",checkStrictly:!0},m=$({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],key:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u952E\u503C",trigger:"blur"}],pid:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u5B57\u5178",trigger:"change"}]}),t=$({pid:"",name:null,remark:"",key:null});function h(){d.value.resetFields(),Object.keys(t).forEach(s=>{t[s]=null})}const E=(s={})=>{console.log("======item=======",s),p.value="\u65B0\u589E\u5B57\u5178\u9879",s.pid&&(p.value="\u7F16\u8F91\u5B57\u5178\u9879",Object.keys(s).forEach(e=>{t[e]=s[e]})),a.value=!0},D=async s=>{await d.value.validate((e,r)=>{e?(a.value=!1,console.log("submit!",t)):console.log("error submit!",r)})};return y({show:E}),(s,e)=>{const r=n("el-cascader"),f=n("el-form-item"),F=n("el-input"),i=n("el-form"),_=n("el-button"),C=n("el-dialog");return x(),P(C,{onClose:h,modelValue:a.value,"onUpdate:modelValue":e[6]||(e[6]=o=>a.value=o),title:p.value,width:"50%"},{footer:u(()=>[g("span",ne,[l(_,{onClick:e[4]||(e[4]=o=>a.value=!1)},{default:u(()=>[B("\u53D6\u6D88")]),_:1}),l(_,{type:"primary",onClick:e[5]||(e[5]=o=>D(d.value))},{default:u(()=>[B("\u786E\u5B9A")]),_:1})])]),default:u(()=>[l(i,{ref_key:"ruleFormRef",ref:d,model:t,rules:m,"label-width":"100px"},{default:u(()=>[l(f,{label:"\u6240\u5C5E\u5B57\u5178",prop:"pid"},{default:u(()=>[l(r,{modelValue:t.pid,"onUpdate:modelValue":e[0]||(e[0]=o=>t.pid=o),style:{width:"100%"},options:j(S),props:v,clearable:""},null,8,["modelValue","options"])]),_:1}),l(f,{label:"\u5B57\u5178\u9879\u540D\u79F0",prop:"name"},{default:u(()=>[l(F,{modelValue:t.name,"onUpdate:modelValue":e[1]||(e[1]=o=>t.name=o),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u540D\u79F0"},null,8,["modelValue"])]),_:1}),l(f,{label:"\u5B57\u5178\u9879\u952E\u503C",prop:"key"},{default:u(()=>[l(F,{modelValue:t.key,"onUpdate:modelValue":e[2]||(e[2]=o=>t.key=o),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u952E\u503C"},null,8,["modelValue"])]),_:1}),l(f,{label:"\u5B57\u5178\u9879\u63CF\u8FF0",prop:"remark"},{default:u(()=>[l(F,{modelValue:t.remark,"onUpdate:modelValue":e[3]||(e[3]=o=>t.remark=o),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u63CF\u8FF0"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),se={class:"m-user-table"},re={class:"header"},ie={class:"footer"},de={class:"util"},ce={class:"table-inner"},_e={class:"pagination"},pe=T({__name:"Table",setup(k,{expose:y}){const d=c(z[0].children);c(!1);const a=c(),p=c(),v=$({}),m=c(!0),t=c(1),h=()=>{console.log("submit!",v),m.value=!0,setTimeout(()=>{m.value=!1},1e3)},E=i=>{m.value=!0,setTimeout(()=>{m.value=!1},1e3)},D=i=>{if(m.value=!0,!i.id)d.value=[];else{let _=z.find(C=>C.id===i.id);d.value=_.children}setTimeout(()=>{m.value=!1},500)},s=()=>{a.value.show()},e=i=>{a.value.show(i)},r=i=>{N.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})},f=i=>{console.log(`${i} items per page`)},F=i=>{t.value=i};return J(()=>{setTimeout(()=>{m.value=!1},1e3)}),y({getList:D}),(i,_)=>{const C=n("el-input"),o=n("el-form-item"),b=n("el-button"),w=n("el-form"),U=n("Plus"),M=n("el-icon"),A=n("el-table-column"),H=n("el-table"),L=n("el-pagination"),G=K("loading");return x(),I("div",se,[g("div",re,[l(w,{inline:!0,model:v,ref_key:"ruleFormRef",ref:p},{default:u(()=>[l(o,{label:"\u540D\u79F0",prop:"username"},{default:u(()=>[l(C,{modelValue:v.username,"onUpdate:modelValue":_[0]||(_[0]=V=>v.username=V),placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue"])]),_:1}),l(o,null,{default:u(()=>[l(b,{type:"primary",onClick:h,icon:j(Q)},{default:u(()=>[B("\u67E5\u8BE2")]),_:1},8,["icon"]),l(b,{onClick:_[1]||(_[1]=V=>E(p.value))},{default:u(()=>[B("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),g("div",ie,[g("div",de,[l(b,{type:"primary",onClick:s},{default:u(()=>[l(M,null,{default:u(()=>[l(U)]),_:1}),B(" \u65B0\u589E\u5B57\u5178\u9879 ")]),_:1})]),g("div",ce,[X((x(),P(H,{data:d.value,style:{width:"100%",height:"100%"},border:""},{default:u(()=>[l(A,{prop:"id",label:"id",align:"center",width:"100"}),l(A,{prop:"name",label:"\u540D\u79F0",align:"center",width:"100"}),l(A,{prop:"key",label:"\u952E\u503C",align:"center"}),l(A,{prop:"remark","show-overflow-tooltip":!0,width:"180",label:"\u63CF\u8FF0",align:"center"}),l(A,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center",width:"180"}),l(A,{prop:"operator",label:"\u64CD\u4F5C",width:"200px",align:"center",fixed:"right"},{default:u(V=>[l(b,{type:"primary",size:"small",icon:"Edit",onClick:W=>e(V.row)},{default:u(()=>[B(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),l(b,{onClick:W=>r(V.row),type:"danger",size:"small",icon:"Delete"},{default:u(()=>[B(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[G,m.value]])]),g("div",_e,[l(L,{currentPage:t.value,"onUpdate:currentPage":_[2]||(_[2]=V=>t.value=V),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:1e3,onSizeChange:f,onCurrentChange:F},null,8,["currentPage"])])]),l(ae,{ref_key:"dictionaryEntryDialog",ref:a},null,512)])}}});const me=R(pe,[["__scopeId","data-v-2a6a18a4"]]),fe={class:"dialog-footer"},ge=T({__name:"dictsortDialog",setup(k,{expose:y}){const d=c(),a=c(!1),p=c("\u65B0\u589E\u5B57\u5178\u9879"),v={value:"id",label:"name",checkStrictly:!0},m=$({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],keyCode:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B57\u5178\u7F16\u7801",trigger:"blur"}]}),t=$({id:"",name:null,remark:"",keyCode:null});function h(){d.value.resetFields(),Object.keys(t).forEach(s=>{t[s]=null})}const E=(s={})=>{p.value="\u65B0\u589E\u5B57\u5178\u9879",s.id&&(p.value="\u7F16\u8F91\u5B57\u5178\u9879",Object.keys(s).forEach(e=>{t[e]=s[e]})),a.value=!0},D=async s=>{await d.value.validate((e,r)=>{e?(a.value=!1,console.log("submit!",t)):console.log("error submit!",r)})};return y({show:E}),(s,e)=>{const r=n("el-cascader"),f=n("el-form-item"),F=n("el-input"),i=n("el-form"),_=n("el-button"),C=n("el-dialog");return x(),P(C,{onClose:h,modelValue:a.value,"onUpdate:modelValue":e[6]||(e[6]=o=>a.value=o),title:p.value,width:"50%"},{footer:u(()=>[g("span",fe,[l(_,{onClick:e[4]||(e[4]=o=>a.value=!1)},{default:u(()=>[B("\u53D6\u6D88")]),_:1}),l(_,{type:"primary",onClick:e[5]||(e[5]=o=>D(d.value))},{default:u(()=>[B("\u786E\u5B9A")]),_:1})])]),default:u(()=>[l(i,{ref_key:"ruleFormRef",ref:d,model:t,rules:m,"label-width":"100px"},{default:u(()=>[l(f,{label:"\u7236\u7EA7\u5B57\u5178"},{default:u(()=>[l(r,{modelValue:t.pid,"onUpdate:modelValue":e[0]||(e[0]=o=>t.pid=o),style:{width:"100%"},options:j(S),placeholder:"\u8BF7\u9009\u62E9\u7236\u7EA7\u5B57\u5178\uFF0C\u9ED8\u8BA4\u4E3A\u6839\u5B57\u5178",props:v,clearable:""},null,8,["modelValue","options"])]),_:1}),l(f,{label:"\u5B57\u5178\u540D\u79F0",prop:"name"},{default:u(()=>[l(F,{modelValue:t.name,"onUpdate:modelValue":e[1]||(e[1]=o=>t.name=o),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u540D\u79F0"},null,8,["modelValue"])]),_:1}),l(f,{label:"\u5B57\u5178\u7F16\u7801",prop:"keyCode"},{default:u(()=>[l(F,{modelValue:t.keyCode,"onUpdate:modelValue":e[2]||(e[2]=o=>t.keyCode=o),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u7F16\u7801"},null,8,["modelValue"])]),_:1}),l(f,{label:"\u5B57\u5178\u63CF\u8FF0",prop:"remark"},{default:u(()=>[l(F,{modelValue:t.remark,"onUpdate:modelValue":e[3]||(e[3]=o=>t.remark=o),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u63CF\u8FF0"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),O=k=>(te("data-v-0b734915"),k=k(),oe(),k),ve=O(()=>g("div",{class:"title"},"\u5B57\u5178\u7BA1\u7406",-1)),Fe=O(()=>g("span",{style:{"margin-left":"8px"}},"\u6DFB\u52A0\u5B57\u5178\u5206\u7C7B",-1)),be={class:"filter-tree"},Be=["onClick"],ye={key:0},Ce=T({__name:"Side",emits:["change"],setup(k,{emit:y}){const d=c(S),a=c(null);Y(()=>{let e={id:null,name:"\u5168\u90E8"};d.value=[e,...S]});const p=c(""),v=c(),m={children:"children",label:"name",value:"id"};Z(p,e=>{v.value.filter(e)});const t=(e,r)=>(console.log(r),e?r.name.includes(e):!0),h=()=>{a.value.show()},E=e=>{a.value.show(e)},D=(e,r)=>{y("change",r),console.log("node, data============",e,r)},s=(e,r)=>{N.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{}),console.log("data===",e,r)};return(e,r)=>{const f=n("Plus"),F=n("el-icon"),i=n("el-button"),_=n("el-input"),C=n("el-scrollbar"),o=n("el-card");return x(),P(o,{class:"m-dept-side"},{default:u(()=>[ve,l(i,{type:"primary",onClick:h},{default:u(()=>[l(F,{color:"#fff"},{default:u(()=>[l(f)]),_:1}),Fe]),_:1}),l(_,{modelValue:p.value,"onUpdate:modelValue":r[0]||(r[0]=b=>p.value=b),placeholder:"\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u8FC7\u6EE4",class:"filter-search"},null,8,["modelValue"]),g("div",be,[l(C,{class:"scrollbar"},{default:u(()=>[l(j(ee),{ref_key:"treeRef",ref:v,data:d.value,props:m,"default-expand-all":"","filter-node-method":t},{default:u(({node:b,data:w})=>[g("span",{class:"custom-tree-node",onClick:U=>D(b,w)},[g("span",null,le(b.label),1),w.id!=null?(x(),I("span",ye,[l(i,{onClick:q(U=>E(w),["stop"]),type:"primary",link:""},{default:u(()=>[B("\u7F16\u8F91")]),_:2},1032,["onClick"]),l(i,{style:{"margin-left":"6px"},type:"danger",link:"",onClick:q(U=>s(b,w),["stop"])},{default:u(()=>[B("\u5220\u9664")]),_:2},1032,["onClick"])])):ue("",!0)],8,Be)]),_:1},8,["data"])]),_:1})]),l(ge,{ref_key:"dictsortDialog",ref:a},null,512)]),_:1})}}});const ke=R(Ce,[["__scopeId","data-v-0b734915"]]),he={class:"app-container m-user"},Ee=T({__name:"index",setup(k){const y=c(),d=a=>{y.value.getList(a)};return(a,p)=>(x(),I("div",he,[l(ke,{onChange:d}),l(me,{ref_key:"table",ref:y},null,512)]))}});const xe=R(Ee,[["__scopeId","data-v-57d3360c"]]);export{xe as default}; +import{g as T,i as c,j as $,r as n,o as x,n as P,w as u,a as g,b as l,d as B,s as j,x as J,C as K,c as I,I as Q,G as X,N,_ as R,U as Y,O as Z,V as ee,t as le,W as q,q as ue,p as te,f as oe}from"./index.034c045c.js";import{a as S,b as z}from"./system.79236d81.js";const ne={class:"dialog-footer"},ae=T({__name:"dictionaryEntryDialog",setup(k,{expose:y}){const d=c(),a=c(!1),p=c("\u65B0\u589E\u5B57\u5178\u9879"),v={value:"id",label:"name",checkStrictly:!0},m=$({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],key:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u952E\u503C",trigger:"blur"}],pid:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u5B57\u5178",trigger:"change"}]}),t=$({pid:"",name:null,remark:"",key:null});function h(){d.value.resetFields(),Object.keys(t).forEach(s=>{t[s]=null})}const E=(s={})=>{console.log("======item=======",s),p.value="\u65B0\u589E\u5B57\u5178\u9879",s.pid&&(p.value="\u7F16\u8F91\u5B57\u5178\u9879",Object.keys(s).forEach(e=>{t[e]=s[e]})),a.value=!0},D=async s=>{await d.value.validate((e,r)=>{e?(a.value=!1,console.log("submit!",t)):console.log("error submit!",r)})};return y({show:E}),(s,e)=>{const r=n("el-cascader"),f=n("el-form-item"),F=n("el-input"),i=n("el-form"),_=n("el-button"),C=n("el-dialog");return x(),P(C,{onClose:h,modelValue:a.value,"onUpdate:modelValue":e[6]||(e[6]=o=>a.value=o),title:p.value,width:"50%"},{footer:u(()=>[g("span",ne,[l(_,{onClick:e[4]||(e[4]=o=>a.value=!1)},{default:u(()=>[B("\u53D6\u6D88")]),_:1}),l(_,{type:"primary",onClick:e[5]||(e[5]=o=>D(d.value))},{default:u(()=>[B("\u786E\u5B9A")]),_:1})])]),default:u(()=>[l(i,{ref_key:"ruleFormRef",ref:d,model:t,rules:m,"label-width":"100px"},{default:u(()=>[l(f,{label:"\u6240\u5C5E\u5B57\u5178",prop:"pid"},{default:u(()=>[l(r,{modelValue:t.pid,"onUpdate:modelValue":e[0]||(e[0]=o=>t.pid=o),style:{width:"100%"},options:j(S),props:v,clearable:""},null,8,["modelValue","options"])]),_:1}),l(f,{label:"\u5B57\u5178\u9879\u540D\u79F0",prop:"name"},{default:u(()=>[l(F,{modelValue:t.name,"onUpdate:modelValue":e[1]||(e[1]=o=>t.name=o),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u540D\u79F0"},null,8,["modelValue"])]),_:1}),l(f,{label:"\u5B57\u5178\u9879\u952E\u503C",prop:"key"},{default:u(()=>[l(F,{modelValue:t.key,"onUpdate:modelValue":e[2]||(e[2]=o=>t.key=o),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u952E\u503C"},null,8,["modelValue"])]),_:1}),l(f,{label:"\u5B57\u5178\u9879\u63CF\u8FF0",prop:"remark"},{default:u(()=>[l(F,{modelValue:t.remark,"onUpdate:modelValue":e[3]||(e[3]=o=>t.remark=o),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u63CF\u8FF0"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),se={class:"m-user-table"},re={class:"header"},ie={class:"footer"},de={class:"util"},ce={class:"table-inner"},_e={class:"pagination"},pe=T({__name:"Table",setup(k,{expose:y}){const d=c(z[0].children);c(!1);const a=c(),p=c(),v=$({}),m=c(!0),t=c(1),h=()=>{console.log("submit!",v),m.value=!0,setTimeout(()=>{m.value=!1},1e3)},E=i=>{m.value=!0,setTimeout(()=>{m.value=!1},1e3)},D=i=>{if(m.value=!0,!i.id)d.value=[];else{let _=z.find(C=>C.id===i.id);d.value=_.children}setTimeout(()=>{m.value=!1},500)},s=()=>{a.value.show()},e=i=>{a.value.show(i)},r=i=>{N.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})},f=i=>{console.log(`${i} items per page`)},F=i=>{t.value=i};return J(()=>{setTimeout(()=>{m.value=!1},1e3)}),y({getList:D}),(i,_)=>{const C=n("el-input"),o=n("el-form-item"),b=n("el-button"),w=n("el-form"),U=n("Plus"),M=n("el-icon"),A=n("el-table-column"),H=n("el-table"),L=n("el-pagination"),G=K("loading");return x(),I("div",se,[g("div",re,[l(w,{inline:!0,model:v,ref_key:"ruleFormRef",ref:p},{default:u(()=>[l(o,{label:"\u540D\u79F0",prop:"username"},{default:u(()=>[l(C,{modelValue:v.username,"onUpdate:modelValue":_[0]||(_[0]=V=>v.username=V),placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue"])]),_:1}),l(o,null,{default:u(()=>[l(b,{type:"primary",onClick:h,icon:j(Q)},{default:u(()=>[B("\u67E5\u8BE2")]),_:1},8,["icon"]),l(b,{onClick:_[1]||(_[1]=V=>E(p.value))},{default:u(()=>[B("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),g("div",ie,[g("div",de,[l(b,{type:"primary",onClick:s},{default:u(()=>[l(M,null,{default:u(()=>[l(U)]),_:1}),B(" \u65B0\u589E\u5B57\u5178\u9879 ")]),_:1})]),g("div",ce,[X((x(),P(H,{data:d.value,style:{width:"100%",height:"100%"},border:""},{default:u(()=>[l(A,{prop:"id",label:"id",align:"center",width:"100"}),l(A,{prop:"name",label:"\u540D\u79F0",align:"center",width:"100"}),l(A,{prop:"key",label:"\u952E\u503C",align:"center"}),l(A,{prop:"remark","show-overflow-tooltip":!0,width:"180",label:"\u63CF\u8FF0",align:"center"}),l(A,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center",width:"180"}),l(A,{prop:"operator",label:"\u64CD\u4F5C",width:"200px",align:"center",fixed:"right"},{default:u(V=>[l(b,{type:"primary",size:"small",icon:"Edit",onClick:W=>e(V.row)},{default:u(()=>[B(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),l(b,{onClick:W=>r(V.row),type:"danger",size:"small",icon:"Delete"},{default:u(()=>[B(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[G,m.value]])]),g("div",_e,[l(L,{currentPage:t.value,"onUpdate:currentPage":_[2]||(_[2]=V=>t.value=V),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:1e3,onSizeChange:f,onCurrentChange:F},null,8,["currentPage"])])]),l(ae,{ref_key:"dictionaryEntryDialog",ref:a},null,512)])}}});const me=R(pe,[["__scopeId","data-v-2a6a18a4"]]),fe={class:"dialog-footer"},ge=T({__name:"dictsortDialog",setup(k,{expose:y}){const d=c(),a=c(!1),p=c("\u65B0\u589E\u5B57\u5178\u9879"),v={value:"id",label:"name",checkStrictly:!0},m=$({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],keyCode:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B57\u5178\u7F16\u7801",trigger:"blur"}]}),t=$({id:"",name:null,remark:"",keyCode:null});function h(){d.value.resetFields(),Object.keys(t).forEach(s=>{t[s]=null})}const E=(s={})=>{p.value="\u65B0\u589E\u5B57\u5178\u9879",s.id&&(p.value="\u7F16\u8F91\u5B57\u5178\u9879",Object.keys(s).forEach(e=>{t[e]=s[e]})),a.value=!0},D=async s=>{await d.value.validate((e,r)=>{e?(a.value=!1,console.log("submit!",t)):console.log("error submit!",r)})};return y({show:E}),(s,e)=>{const r=n("el-cascader"),f=n("el-form-item"),F=n("el-input"),i=n("el-form"),_=n("el-button"),C=n("el-dialog");return x(),P(C,{onClose:h,modelValue:a.value,"onUpdate:modelValue":e[6]||(e[6]=o=>a.value=o),title:p.value,width:"50%"},{footer:u(()=>[g("span",fe,[l(_,{onClick:e[4]||(e[4]=o=>a.value=!1)},{default:u(()=>[B("\u53D6\u6D88")]),_:1}),l(_,{type:"primary",onClick:e[5]||(e[5]=o=>D(d.value))},{default:u(()=>[B("\u786E\u5B9A")]),_:1})])]),default:u(()=>[l(i,{ref_key:"ruleFormRef",ref:d,model:t,rules:m,"label-width":"100px"},{default:u(()=>[l(f,{label:"\u7236\u7EA7\u5B57\u5178"},{default:u(()=>[l(r,{modelValue:t.pid,"onUpdate:modelValue":e[0]||(e[0]=o=>t.pid=o),style:{width:"100%"},options:j(S),placeholder:"\u8BF7\u9009\u62E9\u7236\u7EA7\u5B57\u5178\uFF0C\u9ED8\u8BA4\u4E3A\u6839\u5B57\u5178",props:v,clearable:""},null,8,["modelValue","options"])]),_:1}),l(f,{label:"\u5B57\u5178\u540D\u79F0",prop:"name"},{default:u(()=>[l(F,{modelValue:t.name,"onUpdate:modelValue":e[1]||(e[1]=o=>t.name=o),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u540D\u79F0"},null,8,["modelValue"])]),_:1}),l(f,{label:"\u5B57\u5178\u7F16\u7801",prop:"keyCode"},{default:u(()=>[l(F,{modelValue:t.keyCode,"onUpdate:modelValue":e[2]||(e[2]=o=>t.keyCode=o),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u7F16\u7801"},null,8,["modelValue"])]),_:1}),l(f,{label:"\u5B57\u5178\u63CF\u8FF0",prop:"remark"},{default:u(()=>[l(F,{modelValue:t.remark,"onUpdate:modelValue":e[3]||(e[3]=o=>t.remark=o),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u9879\u63CF\u8FF0"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}}),O=k=>(te("data-v-0b734915"),k=k(),oe(),k),ve=O(()=>g("div",{class:"title"},"\u5B57\u5178\u7BA1\u7406",-1)),Fe=O(()=>g("span",{style:{"margin-left":"8px"}},"\u6DFB\u52A0\u5B57\u5178\u5206\u7C7B",-1)),be={class:"filter-tree"},Be=["onClick"],ye={key:0},Ce=T({__name:"Side",emits:["change"],setup(k,{emit:y}){const d=c(S),a=c(null);Y(()=>{let e={id:null,name:"\u5168\u90E8"};d.value=[e,...S]});const p=c(""),v=c(),m={children:"children",label:"name",value:"id"};Z(p,e=>{v.value.filter(e)});const t=(e,r)=>(console.log(r),e?r.name.includes(e):!0),h=()=>{a.value.show()},E=e=>{a.value.show(e)},D=(e,r)=>{y("change",r),console.log("node, data============",e,r)},s=(e,r)=>{N.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{}),console.log("data===",e,r)};return(e,r)=>{const f=n("Plus"),F=n("el-icon"),i=n("el-button"),_=n("el-input"),C=n("el-scrollbar"),o=n("el-card");return x(),P(o,{class:"m-dept-side"},{default:u(()=>[ve,l(i,{type:"primary",onClick:h},{default:u(()=>[l(F,{color:"#fff"},{default:u(()=>[l(f)]),_:1}),Fe]),_:1}),l(_,{modelValue:p.value,"onUpdate:modelValue":r[0]||(r[0]=b=>p.value=b),placeholder:"\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u8FC7\u6EE4",class:"filter-search"},null,8,["modelValue"]),g("div",be,[l(C,{class:"scrollbar"},{default:u(()=>[l(j(ee),{ref_key:"treeRef",ref:v,data:d.value,props:m,"default-expand-all":"","filter-node-method":t},{default:u(({node:b,data:w})=>[g("span",{class:"custom-tree-node",onClick:U=>D(b,w)},[g("span",null,le(b.label),1),w.id!=null?(x(),I("span",ye,[l(i,{onClick:q(U=>E(w),["stop"]),type:"primary",link:""},{default:u(()=>[B("\u7F16\u8F91")]),_:2},1032,["onClick"]),l(i,{style:{"margin-left":"6px"},type:"danger",link:"",onClick:q(U=>s(b,w),["stop"])},{default:u(()=>[B("\u5220\u9664")]),_:2},1032,["onClick"])])):ue("",!0)],8,Be)]),_:1},8,["data"])]),_:1})]),l(ge,{ref_key:"dictsortDialog",ref:a},null,512)]),_:1})}}});const ke=R(Ce,[["__scopeId","data-v-0b734915"]]),he={class:"app-container m-user"},Ee=T({__name:"index",setup(k){const y=c(),d=a=>{y.value.getList(a)};return(a,p)=>(x(),I("div",he,[l(ke,{onChange:d}),l(me,{ref_key:"table",ref:y},null,512)]))}});const xe=R(Ee,[["__scopeId","data-v-57d3360c"]]);export{xe as default}; diff --git a/docs/assets/index.e89d5f33.js.gz b/docs/assets/index.c9faabf1.js.gz similarity index 96% rename from docs/assets/index.e89d5f33.js.gz rename to docs/assets/index.c9faabf1.js.gz index 10aaab9..1e00355 100644 Binary files a/docs/assets/index.e89d5f33.js.gz and b/docs/assets/index.c9faabf1.js.gz differ diff --git a/docs/assets/index.cbae27bb.js.gz b/docs/assets/index.cbae27bb.js.gz deleted file mode 100644 index 65e99b0..0000000 Binary files a/docs/assets/index.cbae27bb.js.gz and /dev/null differ diff --git a/docs/assets/index.37779a13.js b/docs/assets/index.cbcf715c.js similarity index 96% rename from docs/assets/index.37779a13.js rename to docs/assets/index.cbcf715c.js index 9b2314e..cff2d3e 100644 --- a/docs/assets/index.37779a13.js +++ b/docs/assets/index.cbcf715c.js @@ -1 +1 @@ -import{g as l,r as a,o as p,n as r,w as c,a as t,b as s,bK as e,d as u,p as m,f as F,_ as f}from"./index.048a73c8.js";const E=o=>(m("data-v-b1d795aa"),o=o(),F(),o),b={class:"content-box"},g=E(()=>t("br",null,null,-1)),v={class:"icon-list"},h=l({name:"svgIcon"}),B=l({...h,setup(o){return(x,C)=>{const i=a("el-alert"),n=a("el-descriptions-item"),_=a("el-descriptions"),d=a("PageWrapLayout");return p(),r(d,{class:"components-container"},{default:c(()=>[t("div",b,[s(i,{title:"SVG \u56FE\u6807\u76EE\u524D\u4F7F\u7528 vite-plugin-svg-icons \u63D2\u4EF6\u5B8C\u6210\uFF0C\u5B98\u65B9\u6587\u6863\u8BF7\u67E5\u770B \uFF1Ahttps://github.com/vbenjs/vite-plugin-svg-icons",type:"warning",closable:!1}),g,t("div",v,[s(e,{"icon-class":"borrow","class-name":"icon"}),s(e,{"icon-class":"compass","class-name":"icon"}),s(e,{"icon-class":"dashboard","class-name":"icon"}),s(e,{"icon-class":"entrust","class-name":"icon"}),s(e,{"icon-class":"example","class-name":"icon"}),s(e,{"icon-class":"exit-fullscreen","class-name":"icon"}),s(e,{"icon-class":"eye","class-name":"icon"}),s(e,{"icon-class":"eye-open","class-name":"icon"}),s(e,{"icon-class":"form","class-name":"icon"}),s(e,{"icon-class":"fullscreen","class-name":"icon"}),s(e,{"icon-class":"go-out","class-name":"icon"})]),s(_,{title:"\u914D\u7F6E\u9879",column:1,border:""},{default:c(()=>[s(n,{label:"name"},{default:c(()=>[u(" \u56FE\u6807\u7684\u540D\u79F0\uFF0Csvg \u56FE\u6807\u5FC5\u987B\u5B58\u50A8\u5728 src/icons \u76EE\u5F55\u4E0B ")]),_:1}),s(n,{label:"prefix"},{default:c(()=>[u(' \u56FE\u6807\u7684\u524D\u7F00\uFF0C\u9ED8\u8BA4\u4E3A "icon-class" ')]),_:1}),s(n,{label:"iconStyle"},{default:c(()=>[u(' \u56FE\u6807\u7684\u6837\u5F0F\uFF0C\u9ED8\u8BA4\u6837\u5F0F\u4E3A { width: "1em", height: " 1em" } ')]),_:1})]),_:1})])]),_:1})}}});const D=f(B,[["__scopeId","data-v-b1d795aa"]]);export{D as default}; +import{g as l,r as a,o as p,n as r,w as c,a as t,b as s,bK as e,d as u,p as m,f as F,_ as f}from"./index.034c045c.js";const E=o=>(m("data-v-b1d795aa"),o=o(),F(),o),b={class:"content-box"},g=E(()=>t("br",null,null,-1)),v={class:"icon-list"},h=l({name:"svgIcon"}),B=l({...h,setup(o){return(x,C)=>{const i=a("el-alert"),n=a("el-descriptions-item"),_=a("el-descriptions"),d=a("PageWrapLayout");return p(),r(d,{class:"components-container"},{default:c(()=>[t("div",b,[s(i,{title:"SVG \u56FE\u6807\u76EE\u524D\u4F7F\u7528 vite-plugin-svg-icons \u63D2\u4EF6\u5B8C\u6210\uFF0C\u5B98\u65B9\u6587\u6863\u8BF7\u67E5\u770B \uFF1Ahttps://github.com/vbenjs/vite-plugin-svg-icons",type:"warning",closable:!1}),g,t("div",v,[s(e,{"icon-class":"borrow","class-name":"icon"}),s(e,{"icon-class":"compass","class-name":"icon"}),s(e,{"icon-class":"dashboard","class-name":"icon"}),s(e,{"icon-class":"entrust","class-name":"icon"}),s(e,{"icon-class":"example","class-name":"icon"}),s(e,{"icon-class":"exit-fullscreen","class-name":"icon"}),s(e,{"icon-class":"eye","class-name":"icon"}),s(e,{"icon-class":"eye-open","class-name":"icon"}),s(e,{"icon-class":"form","class-name":"icon"}),s(e,{"icon-class":"fullscreen","class-name":"icon"}),s(e,{"icon-class":"go-out","class-name":"icon"})]),s(_,{title:"\u914D\u7F6E\u9879",column:1,border:""},{default:c(()=>[s(n,{label:"name"},{default:c(()=>[u(" \u56FE\u6807\u7684\u540D\u79F0\uFF0Csvg \u56FE\u6807\u5FC5\u987B\u5B58\u50A8\u5728 src/icons \u76EE\u5F55\u4E0B ")]),_:1}),s(n,{label:"prefix"},{default:c(()=>[u(' \u56FE\u6807\u7684\u524D\u7F00\uFF0C\u9ED8\u8BA4\u4E3A "icon-class" ')]),_:1}),s(n,{label:"iconStyle"},{default:c(()=>[u(' \u56FE\u6807\u7684\u6837\u5F0F\uFF0C\u9ED8\u8BA4\u6837\u5F0F\u4E3A { width: "1em", height: " 1em" } ')]),_:1})]),_:1})])]),_:1})}}});const D=f(B,[["__scopeId","data-v-b1d795aa"]]);export{D as default}; diff --git a/docs/assets/index.9f1c23fa.js b/docs/assets/index.ced757da.js similarity index 98% rename from docs/assets/index.9f1c23fa.js rename to docs/assets/index.ced757da.js index 7575bf6..87ca05d 100644 --- a/docs/assets/index.9f1c23fa.js +++ b/docs/assets/index.ced757da.js @@ -1 +1 @@ -import{L as a,i as d}from"./index.201c3aba.js";import{g as p,i as b,x as f,o as y,c as h,a as g,_ as x}from"./index.048a73c8.js";const m={class:"app-container"},_=p({__name:"index",setup(v){const l=b();let s=["2022-01","2022-02","2022-03","2022-04","2022-05","2022-06","2022-07","2022-08","2022-09","2022-10","2022-11","2022-12"],t={jfsbs:[805,860,400,400,400,400,990,985,990,850,560,772],md:[300,390,290,285,290,288,790,795,795,760,660,480],znhbl:[95,78,50,60,85,78,76,70,65,90,74,66]},i={tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{shadowColor:"rgba(60, 161, 246, 0.43)",shadowBlur:10}},backgroundColor:"#FFFFFF",borderColor:"rgba(60, 161, 246, 0.43)",borderWidth:1,shadowColor:" rgba(111, 193, 253, 0.35)",shadowBlur:10,formatter:function(e){e[0].seriesName;let r=e[0].value;e[1].seriesName;let c=e[1].value;e[2].seriesName;let u=e[2].value;return'
\u5BC6\u5EA6\u6570'+r+'
\u8BBE\u5907\u6570'+c+'
\u667A\u80FD\u5316\u6BD4\u4F8B'+u+"%
"},textStyle:{rich:{name:{color:"rgba(36, 36, 36, 1)",fontSize:13,align:"center"},percent:{fontFamily:"DIN",fontWeight:500,fontSize:22,color:"#1D91F5",align:"center"}}}},grid:{left:"2%",right:"4%",bottom:"14%",top:"16%",containLabel:!0},legend:{top:"5%",textStyle:{color:"rgba(128, 125, 125, 1)",fontSize:12},icon:"rect",itemWidth:12,itemHeight:12,itemGap:25},xAxis:{type:"category",data:s,axisLine:{lineStyle:{color:"rgba(204, 204, 204, 1)"}},axisLabel:{textStyle:{color:"rgba(185, 185, 185, 1)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{textStyle:{color:"rgba(185, 185, 185, 1)"}},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{color:"rgba(237, 237, 237, 1)",type:"dotted"}}},{type:"value",nameTextStyle:{color:"rgba(185, 185, 185, 1)"},position:"right",axisLine:{show:!1},splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,formatter:"{value} %",textStyle:{color:"rgba(185, 185, 185, 1)"}}}],series:[{name:"\u65B0\u589E\u57FA\u6869\u6570",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new a(0,0,0,1,[{offset:0,color:"rgba(141, 113, 226, 1)"},{offset:1,color:"rgba(141, 113, 226, 0.2)"}])}},data:t.jfsbs},{name:"\u672C\u6708\u68C0\u6D4B\u6570",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new a(0,0,0,1,[{offset:0,color:"rgba(116, 178, 252, 1)"},{offset:1,color:"rgba(116, 178, 252, 0.2)"}])}},data:t.md},{name:"\u7D2F\u8BA1\u5B8C\u6210\u7387",type:"line",smooth:!0,yAxisIndex:1,symbol:"emptycircle",symbolSize:0,itemStyle:{color:"rgba(65, 197, 95, 1)"},areaStyle:{color:new a(0,0,0,1,[{offset:0,color:"rgba(65, 197, 95, 0.4)"},{offset:1,color:"rgba(255,255,255, 0)"}],!1)},data:t.znhbl}]},o;const n=()=>{const e=d(l.value);return e.setOption(i),e};return f(()=>{o=n(),window.addEventListener("resize",function(){o&&o.resize()})}),(e,r)=>(y(),h("div",m,[g("div",{ref_key:"chartsRef",ref:l,class:"app-echarts"},null,512)]))}});const S=x(_,[["__scopeId","data-v-62744798"]]);export{S as default}; +import{L as a,i as d}from"./index.201c3aba.js";import{g as p,i as b,x as f,o as y,c as h,a as g,_ as x}from"./index.034c045c.js";const m={class:"app-container"},_=p({__name:"index",setup(v){const l=b();let s=["2022-01","2022-02","2022-03","2022-04","2022-05","2022-06","2022-07","2022-08","2022-09","2022-10","2022-11","2022-12"],t={jfsbs:[805,860,400,400,400,400,990,985,990,850,560,772],md:[300,390,290,285,290,288,790,795,795,760,660,480],znhbl:[95,78,50,60,85,78,76,70,65,90,74,66]},i={tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{shadowColor:"rgba(60, 161, 246, 0.43)",shadowBlur:10}},backgroundColor:"#FFFFFF",borderColor:"rgba(60, 161, 246, 0.43)",borderWidth:1,shadowColor:" rgba(111, 193, 253, 0.35)",shadowBlur:10,formatter:function(e){e[0].seriesName;let r=e[0].value;e[1].seriesName;let c=e[1].value;e[2].seriesName;let u=e[2].value;return'
\u5BC6\u5EA6\u6570'+r+'
\u8BBE\u5907\u6570'+c+'
\u667A\u80FD\u5316\u6BD4\u4F8B'+u+"%
"},textStyle:{rich:{name:{color:"rgba(36, 36, 36, 1)",fontSize:13,align:"center"},percent:{fontFamily:"DIN",fontWeight:500,fontSize:22,color:"#1D91F5",align:"center"}}}},grid:{left:"2%",right:"4%",bottom:"14%",top:"16%",containLabel:!0},legend:{top:"5%",textStyle:{color:"rgba(128, 125, 125, 1)",fontSize:12},icon:"rect",itemWidth:12,itemHeight:12,itemGap:25},xAxis:{type:"category",data:s,axisLine:{lineStyle:{color:"rgba(204, 204, 204, 1)"}},axisLabel:{textStyle:{color:"rgba(185, 185, 185, 1)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{textStyle:{color:"rgba(185, 185, 185, 1)"}},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{color:"rgba(237, 237, 237, 1)",type:"dotted"}}},{type:"value",nameTextStyle:{color:"rgba(185, 185, 185, 1)"},position:"right",axisLine:{show:!1},splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,formatter:"{value} %",textStyle:{color:"rgba(185, 185, 185, 1)"}}}],series:[{name:"\u65B0\u589E\u57FA\u6869\u6570",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new a(0,0,0,1,[{offset:0,color:"rgba(141, 113, 226, 1)"},{offset:1,color:"rgba(141, 113, 226, 0.2)"}])}},data:t.jfsbs},{name:"\u672C\u6708\u68C0\u6D4B\u6570",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new a(0,0,0,1,[{offset:0,color:"rgba(116, 178, 252, 1)"},{offset:1,color:"rgba(116, 178, 252, 0.2)"}])}},data:t.md},{name:"\u7D2F\u8BA1\u5B8C\u6210\u7387",type:"line",smooth:!0,yAxisIndex:1,symbol:"emptycircle",symbolSize:0,itemStyle:{color:"rgba(65, 197, 95, 1)"},areaStyle:{color:new a(0,0,0,1,[{offset:0,color:"rgba(65, 197, 95, 0.4)"},{offset:1,color:"rgba(255,255,255, 0)"}],!1)},data:t.znhbl}]},o;const n=()=>{const e=d(l.value);return e.setOption(i),e};return f(()=>{o=n(),window.addEventListener("resize",function(){o&&o.resize()})}),(e,r)=>(y(),h("div",m,[g("div",{ref_key:"chartsRef",ref:l,class:"app-echarts"},null,512)]))}});const S=x(_,[["__scopeId","data-v-62744798"]]);export{S as default}; diff --git a/docs/assets/index.92f25605.js b/docs/assets/index.e0bf1acf.js similarity index 99% rename from docs/assets/index.92f25605.js rename to docs/assets/index.e0bf1acf.js index f160a9b..32756a7 100644 --- a/docs/assets/index.92f25605.js +++ b/docs/assets/index.e0bf1acf.js @@ -1 +1 @@ -import{d as P}from"./index.5be08a55.js";import{g as Y,i as D,x as G,O as H,r as s,o,c as r,b as a,w as l,d as n,q as O,F as v,D as S,n as y,t as V,J as Q,a as B,s as L,_ as I,M as N}from"./index.048a73c8.js";const R={class:"m-edit-table"},X={key:0,style:{"margin-top":"15px","margin-bottom":"15px"}},Z={key:1},ee={key:1},te={key:1},le={style:{display:"flex","align-items":"center","margin-bottom":"10px"}},ue={style:{"text-align":"right",margin:"0"}},ae={key:1,style:{"margin-top":"15px"}},oe=Y({__name:"index",props:{columns:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},editableKeys:{type:Array,default:()=>[]},mode:{type:String,default:"bottom"}},emits:["del","add","onChange"],setup(F,{expose:A,emit:w}){const c=F;let _=D([]);const g=e=>{},h=()=>{let e=P(_.value);for(let u of e)for(let i in u)i.includes("te__mp")&&delete u[i];w("onChange",e)};let C={};for(let e of c.columns)c.data.forEach(u=>{C[e.name]||(C[e.name]=null)});const k=()=>{_.value=c.data;for(let e of _.value)c.editableKeys.includes(e.id)&&(e.edit=!0);h()};G(()=>{H(()=>c.data,e=>{_.value=P(e);for(let u of _.value){c.editableKeys.includes(u.id)&&(u.edit=!0);for(let i in u){let p=`${i}te__mp`;u[p]=u[i]}}},{immediate:!0,deep:!0})}),D(!1),D(!1);const $=e=>{e.edit=!1;for(let u in e)u.includes("te__mp")&&(e[u]=e[u.replace("te__mp","")]);h()},U=e=>{e.edit=!e.edit;for(let u in e)u!=="edit"&&(u.includes("te__mp")||(e[u]=e[u+"te__mp"]))},K=e=>{e.visible=!1,_.value=_.value.filter(u=>u.id!==e.id),w("del",e)},x=()=>{let e=~~(Math.random()*1e6).toFixed(0),u=Object.assign({},C,{id:e,edit:!0,visible:!1});for(let i in u){let p=`${i}te__mp`;u[p]=u[i]}c.mode==="bottom"&&_.value.push(u),c.mode==="top"&&_.value.unshift(u)},T=(e,u)=>{let i=e.options.find(p=>p.value===u.row[e.name]);return i?i.label:"--"};return A({reset:k}),(e,u)=>{const i=s("plus"),p=s("el-icon"),m=s("el-button"),E=s("el-table-column"),f=s("el-option"),j=s("el-select"),z=s("el-date-picker"),M=s("el-input"),W=s("warning-filled"),q=s("el-popover"),J=s("el-table");return o(),r("div",R,[F.mode!=="hide"&&F.mode!=="bottom"?(o(),r("div",X,[a(m,{style:{width:"100%"},onClick:x},{default:l(()=>[a(p,{style:{"margin-right":"4px"}},{default:l(()=>[a(i)]),_:1}),n(" \u6DFB\u52A0\u4E00\u884C\u6570\u636E")]),_:1})])):O("",!0),a(J,{data:L(_),style:{width:"100%"},"row-key":"id",border:""},{default:l(()=>[(o(!0),r(v,null,S(F.columns,t=>(o(),r(v,null,[t.type?(o(),y(E,{key:0,type:t.type,width:t.width,align:t.align,fixed:t.fixed,label:t.label},null,8,["type","width","align","fixed","label"])):(o(),y(E,{key:1,prop:t.name,width:t.width,align:t.align,fixed:t.fixed,label:t.label},{default:l(d=>[t.slot?Q(e.$slots,t.name,{key:1,item:t,row:d.row},void 0,!0):(o(),r(v,{key:0},[t.readonly?(o(),r(v,{key:0},[n(V(d.row[t.name]),1)],64)):t.valueType==="select"?(o(),r(v,{key:1},[d.row.edit?(o(),y(j,{key:0,clearable:"",placeholder:"\u8BF7\u9009\u62E9",modelValue:d.row[t.name],"onUpdate:modelValue":b=>d.row[t.name]=b},{default:l(()=>[(o(!0),r(v,null,S(t.options,b=>(o(),y(f,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):(o(),r("span",Z,V(T(t,d)),1))],64)):t.valueType==="date"?(o(),r(v,{key:2},[d.row.edit?(o(),y(z,{key:0,modelValue:d.row[t.name],"onUpdate:modelValue":b=>d.row[t.name]=b,type:"date","value-format":"YYYY-MM-DD",clearable:"",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue","onUpdate:modelValue"])):(o(),r("span",ee,V(d.row[t.name]||"--"),1))],64)):(o(),r(v,{key:3},[d.row.edit?(o(),y(M,{key:0,clearable:"",placeholder:"\u8BF7\u8F93\u5165",modelValue:d.row[t.name],"onUpdate:modelValue":b=>d.row[t.name]=b},null,8,["modelValue","onUpdate:modelValue"])):(o(),r("span",te,V(d.row[t.name]||"--"),1))],64))],64))]),_:2},1032,["prop","width","align","fixed","label"]))],64))),256)),a(E,{prop:"operator",label:"\u64CD\u4F5C",width:"250px",fixed:"right"},{default:l(t=>[t.row.edit?(o(),y(m,{key:0,type:"primary",size:"small",icon:"CircleCheckFilled",onClick:d=>$(t.row)},{default:l(()=>[n(" \u4FDD\u5B58 ")]),_:2},1032,["onClick"])):(o(),y(m,{key:1,type:"primary",size:"small",icon:"Edit",onClick:d=>t.row.edit=!t.row.edit},{default:l(()=>[n(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),a(q,{trigger:"click",visible:t.row.visible,"onUpdate:visible":d=>t.row.visible=d,placement:"top",width:160},{reference:l(()=>[a(m,{icon:"Delete",onClick:d=>g(t.row),type:"danger",size:"small"},{default:l(()=>[n("\u5220\u9664")]),_:2},1032,["onClick"])]),default:l(()=>[B("p",le,[a(p,{color:"#faad14",style:{"margin-right":"10px"}},{default:l(()=>[a(W)]),_:1}),n(" \u5220\u9664\u6B64\u884C\uFF1F")]),B("div",ue,[a(m,{size:"small",onClick:d=>t.row.visible=!1},{default:l(()=>[n("\u53D6\u6D88")]),_:2},1032,["onClick"]),a(m,{size:"small",type:"primary",onClick:d=>K(t.row)},{default:l(()=>[n("\u786E\u5B9A")]),_:2},1032,["onClick"])])]),_:2},1032,["visible","onUpdate:visible"]),t.row.edit?(o(),y(m,{key:2,type:"primary",size:"small",icon:"Edit",onClick:d=>U(t.row)},{default:l(()=>[n(" \u53D6\u6D88 ")]),_:2},1032,["onClick"])):O("",!0)]),_:1})]),_:3},8,["data"]),F.mode!=="hide"&&F.mode!=="top"?(o(),r("div",ae,[a(m,{style:{width:"100%"},onClick:x},{default:l(()=>[a(p,{style:{"margin-right":"4px"}},{default:l(()=>[a(i)]),_:1}),n(" \u6DFB\u52A0\u4E00\u884C\u6570\u636E")]),_:1})])):O("",!0)])}}});const ne=I(oe,[["__scopeId","data-v-df54fc83"]]),de={style:{"margin-bottom":"20px"}},ie={style:{display:"flex","justify-content":"flex-end"}},se={style:{"margin-top":"20px"}},re=Y({__name:"index",setup(F){const A=D(),w=[{name:"title",label:"\u6D3B\u52A8\u540D\u79F0",width:160},{name:"state",label:"\u72B6\u6001",options:[{value:-1,label:"\u5168\u90E8"},{value:1,label:"\u672A\u89E3\u51B3"},{value:0,label:"\u5DF2\u89E3\u51B3"}],valueType:"select"},{name:"decs",label:"\u63CF\u8FF0",valueType:"input"},{name:"created_at",label:"\u6D3B\u52A8\u65F6\u95F4",valueType:"date"}];let c=[{id:6247418504,title:"\u6D3B\u52A8\u540D\u79F0\u4E00",readonly:"\u6D3B\u52A8\u540D\u79F0\u4E00",decs:"\u8FD9\u4E2A\u6D3B\u52A8\u771F\u597D\u73A9",state:1,created_at:"2020-05-26",update_at:"2020-05-26"},{id:6246921229,title:"\u6D3B\u52A8\u540D\u79F0\u4E8C",readonly:"\u6D3B\u52A8\u540D\u79F0\u4E8C",decs:"\u8FD9\u4E2A\u6D3B\u52A8\u771F\u597D\u73A9",state:0,created_at:"2020-05-26",update_at:"2020-05-26"},{id:6242991229,title:"\u6D3B\u52A8\u540D\u79F0\u4E09",readonly:"\u6D3B\u52A8\u540D\u79F0\u4E09",decs:"\u8FD9\u4E2A\u6D3B\u52A8\u771F\u597D\u73A9",state:1,created_at:"2020-05-26",update_at:"2020-05-26"},{id:6242981229,title:"\u6D3B\u52A8\u540D\u79F0\u56DB",readonly:"\u6D3B\u52A8\u540D\u79F0\u56DB",decs:"\u8FD9\u4E2A\u6D3B\u52A8\u771F\u597D\u73A9",state:1,created_at:"2020-05-26",update_at:"2020-05-26"}],_=c.map(e=>e.id).filter(e=>![6247418504,6246921229].includes(e));const g=D("bottom"),h=D(c);let C=D(_);const k=D(c),$=e=>{console.log("\u5220\u9664",e),N.success("\u70B9\u51FB\u5220\u9664")},U=e=>{k.value=e},K=e=>{},x=e=>{N.success("\u91CD\u7F6E\u6210\u529F"),A.value.reset()},T=()=>{h.value=k.value,console.log("\u70B9\u51FB\u63D0\u4EA4=========",k.value),N.success("\u70B9\u51FB\u63D0\u4EA4\u6570\u636E")};return(e,u)=>{const i=s("el-radio"),p=s("el-radio-group"),m=s("el-divider"),E=s("el-button"),f=s("el-descriptions-item"),j=s("el-descriptions"),z=s("PageWrapLayout");return o(),y(z,null,{default:l(()=>[B("div",de,[B("div",ie,[a(p,{modelValue:g.value,"onUpdate:modelValue":u[0]||(u[0]=M=>g.value=M)},{default:l(()=>[a(i,{label:"top"},{default:l(()=>[n("\u6DFB\u52A0\u5230\u9876\u90E8")]),_:1}),a(i,{label:"bottom"},{default:l(()=>[n("\u6DFB\u52A0\u5230\u5E95\u90E8")]),_:1}),a(i,{label:"hide"},{default:l(()=>[n("\u9690\u85CF")]),_:1})]),_:1},8,["modelValue"])]),a(m),a(ne,{mode:g.value,columns:w,data:h.value,onAdd:K,ref_key:"table",ref:A,editableKeys:L(C),onOnChange:U,onDel:$},null,8,["mode","data","editableKeys"]),B("div",se,[a(E,{onClick:x},{default:l(()=>[n("\u91CD\u7F6E")]),_:1}),a(E,{type:"primary",onClick:T},{default:l(()=>[n("\u63D0\u4EA4")]),_:1})])]),a(j,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:l(()=>[a(f,{label:"\u7EC4\u4EF6\u540D"},{default:l(()=>[n(" EditableProTable ")]),_:1}),a(f,{label:"columns"},{default:l(()=>[n(" \u663E\u793A\u7684\u5217\u6570\u636E ")]),_:1}),a(f,{label:"data"},{default:l(()=>[n(" \u6E90\u6570\u636E ")]),_:1}),a(f,{label:"editableKeys"},{default:l(()=>[n(" \u663E\u793A\u53EF\u7F16\u8F91\u8F93\u5165\u6846\u7684key\u96C6\u5408 ")]),_:1}),a(f,{label:"mode"},{default:l(()=>[n(" \u64CD\u4F5C\u6309\u94AE\u663E\u793A\u7684\u5730\u65B9\uFF0C\u9ED8\u8BA4\u663E\u793A\u5728\u5E95\u90E8'bottom', 'top bottom hide' ")]),_:1}),a(f,{label:"del"},{default:l(()=>[n(" \u5220\u9664\u5F53\u524D\u884C\u89E6\u53D1\u7684\u4E8B\u4EF6 ")]),_:1}),a(f,{label:"add"},{default:l(()=>[n(" \u6DFB\u52A0\u4E00\u884C\u89E6\u53D1\u7684\u4E8B\u4EF6 ")]),_:1}),a(f,{label:"onChange"},{default:l(()=>[n(" \u6570\u636E\u5B9E\u65F6\u6539\u53D8 ")]),_:1})]),_:1})]),_:1})}}});const pe=I(re,[["__scopeId","data-v-11f43697"]]);export{pe as default}; +import{d as P}from"./index.5be08a55.js";import{g as Y,i as D,x as G,O as H,r as s,o,c as r,b as a,w as l,d as n,q as O,F as v,D as S,n as y,t as V,J as Q,a as B,s as L,_ as I,M as N}from"./index.034c045c.js";const R={class:"m-edit-table"},X={key:0,style:{"margin-top":"15px","margin-bottom":"15px"}},Z={key:1},ee={key:1},te={key:1},le={style:{display:"flex","align-items":"center","margin-bottom":"10px"}},ue={style:{"text-align":"right",margin:"0"}},ae={key:1,style:{"margin-top":"15px"}},oe=Y({__name:"index",props:{columns:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},editableKeys:{type:Array,default:()=>[]},mode:{type:String,default:"bottom"}},emits:["del","add","onChange"],setup(F,{expose:A,emit:w}){const c=F;let _=D([]);const g=e=>{},h=()=>{let e=P(_.value);for(let u of e)for(let i in u)i.includes("te__mp")&&delete u[i];w("onChange",e)};let C={};for(let e of c.columns)c.data.forEach(u=>{C[e.name]||(C[e.name]=null)});const k=()=>{_.value=c.data;for(let e of _.value)c.editableKeys.includes(e.id)&&(e.edit=!0);h()};G(()=>{H(()=>c.data,e=>{_.value=P(e);for(let u of _.value){c.editableKeys.includes(u.id)&&(u.edit=!0);for(let i in u){let p=`${i}te__mp`;u[p]=u[i]}}},{immediate:!0,deep:!0})}),D(!1),D(!1);const $=e=>{e.edit=!1;for(let u in e)u.includes("te__mp")&&(e[u]=e[u.replace("te__mp","")]);h()},U=e=>{e.edit=!e.edit;for(let u in e)u!=="edit"&&(u.includes("te__mp")||(e[u]=e[u+"te__mp"]))},K=e=>{e.visible=!1,_.value=_.value.filter(u=>u.id!==e.id),w("del",e)},x=()=>{let e=~~(Math.random()*1e6).toFixed(0),u=Object.assign({},C,{id:e,edit:!0,visible:!1});for(let i in u){let p=`${i}te__mp`;u[p]=u[i]}c.mode==="bottom"&&_.value.push(u),c.mode==="top"&&_.value.unshift(u)},T=(e,u)=>{let i=e.options.find(p=>p.value===u.row[e.name]);return i?i.label:"--"};return A({reset:k}),(e,u)=>{const i=s("plus"),p=s("el-icon"),m=s("el-button"),E=s("el-table-column"),f=s("el-option"),j=s("el-select"),z=s("el-date-picker"),M=s("el-input"),W=s("warning-filled"),q=s("el-popover"),J=s("el-table");return o(),r("div",R,[F.mode!=="hide"&&F.mode!=="bottom"?(o(),r("div",X,[a(m,{style:{width:"100%"},onClick:x},{default:l(()=>[a(p,{style:{"margin-right":"4px"}},{default:l(()=>[a(i)]),_:1}),n(" \u6DFB\u52A0\u4E00\u884C\u6570\u636E")]),_:1})])):O("",!0),a(J,{data:L(_),style:{width:"100%"},"row-key":"id",border:""},{default:l(()=>[(o(!0),r(v,null,S(F.columns,t=>(o(),r(v,null,[t.type?(o(),y(E,{key:0,type:t.type,width:t.width,align:t.align,fixed:t.fixed,label:t.label},null,8,["type","width","align","fixed","label"])):(o(),y(E,{key:1,prop:t.name,width:t.width,align:t.align,fixed:t.fixed,label:t.label},{default:l(d=>[t.slot?Q(e.$slots,t.name,{key:1,item:t,row:d.row},void 0,!0):(o(),r(v,{key:0},[t.readonly?(o(),r(v,{key:0},[n(V(d.row[t.name]),1)],64)):t.valueType==="select"?(o(),r(v,{key:1},[d.row.edit?(o(),y(j,{key:0,clearable:"",placeholder:"\u8BF7\u9009\u62E9",modelValue:d.row[t.name],"onUpdate:modelValue":b=>d.row[t.name]=b},{default:l(()=>[(o(!0),r(v,null,S(t.options,b=>(o(),y(f,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):(o(),r("span",Z,V(T(t,d)),1))],64)):t.valueType==="date"?(o(),r(v,{key:2},[d.row.edit?(o(),y(z,{key:0,modelValue:d.row[t.name],"onUpdate:modelValue":b=>d.row[t.name]=b,type:"date","value-format":"YYYY-MM-DD",clearable:"",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue","onUpdate:modelValue"])):(o(),r("span",ee,V(d.row[t.name]||"--"),1))],64)):(o(),r(v,{key:3},[d.row.edit?(o(),y(M,{key:0,clearable:"",placeholder:"\u8BF7\u8F93\u5165",modelValue:d.row[t.name],"onUpdate:modelValue":b=>d.row[t.name]=b},null,8,["modelValue","onUpdate:modelValue"])):(o(),r("span",te,V(d.row[t.name]||"--"),1))],64))],64))]),_:2},1032,["prop","width","align","fixed","label"]))],64))),256)),a(E,{prop:"operator",label:"\u64CD\u4F5C",width:"250px",fixed:"right"},{default:l(t=>[t.row.edit?(o(),y(m,{key:0,type:"primary",size:"small",icon:"CircleCheckFilled",onClick:d=>$(t.row)},{default:l(()=>[n(" \u4FDD\u5B58 ")]),_:2},1032,["onClick"])):(o(),y(m,{key:1,type:"primary",size:"small",icon:"Edit",onClick:d=>t.row.edit=!t.row.edit},{default:l(()=>[n(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),a(q,{trigger:"click",visible:t.row.visible,"onUpdate:visible":d=>t.row.visible=d,placement:"top",width:160},{reference:l(()=>[a(m,{icon:"Delete",onClick:d=>g(t.row),type:"danger",size:"small"},{default:l(()=>[n("\u5220\u9664")]),_:2},1032,["onClick"])]),default:l(()=>[B("p",le,[a(p,{color:"#faad14",style:{"margin-right":"10px"}},{default:l(()=>[a(W)]),_:1}),n(" \u5220\u9664\u6B64\u884C\uFF1F")]),B("div",ue,[a(m,{size:"small",onClick:d=>t.row.visible=!1},{default:l(()=>[n("\u53D6\u6D88")]),_:2},1032,["onClick"]),a(m,{size:"small",type:"primary",onClick:d=>K(t.row)},{default:l(()=>[n("\u786E\u5B9A")]),_:2},1032,["onClick"])])]),_:2},1032,["visible","onUpdate:visible"]),t.row.edit?(o(),y(m,{key:2,type:"primary",size:"small",icon:"Edit",onClick:d=>U(t.row)},{default:l(()=>[n(" \u53D6\u6D88 ")]),_:2},1032,["onClick"])):O("",!0)]),_:1})]),_:3},8,["data"]),F.mode!=="hide"&&F.mode!=="top"?(o(),r("div",ae,[a(m,{style:{width:"100%"},onClick:x},{default:l(()=>[a(p,{style:{"margin-right":"4px"}},{default:l(()=>[a(i)]),_:1}),n(" \u6DFB\u52A0\u4E00\u884C\u6570\u636E")]),_:1})])):O("",!0)])}}});const ne=I(oe,[["__scopeId","data-v-df54fc83"]]),de={style:{"margin-bottom":"20px"}},ie={style:{display:"flex","justify-content":"flex-end"}},se={style:{"margin-top":"20px"}},re=Y({__name:"index",setup(F){const A=D(),w=[{name:"title",label:"\u6D3B\u52A8\u540D\u79F0",width:160},{name:"state",label:"\u72B6\u6001",options:[{value:-1,label:"\u5168\u90E8"},{value:1,label:"\u672A\u89E3\u51B3"},{value:0,label:"\u5DF2\u89E3\u51B3"}],valueType:"select"},{name:"decs",label:"\u63CF\u8FF0",valueType:"input"},{name:"created_at",label:"\u6D3B\u52A8\u65F6\u95F4",valueType:"date"}];let c=[{id:6247418504,title:"\u6D3B\u52A8\u540D\u79F0\u4E00",readonly:"\u6D3B\u52A8\u540D\u79F0\u4E00",decs:"\u8FD9\u4E2A\u6D3B\u52A8\u771F\u597D\u73A9",state:1,created_at:"2020-05-26",update_at:"2020-05-26"},{id:6246921229,title:"\u6D3B\u52A8\u540D\u79F0\u4E8C",readonly:"\u6D3B\u52A8\u540D\u79F0\u4E8C",decs:"\u8FD9\u4E2A\u6D3B\u52A8\u771F\u597D\u73A9",state:0,created_at:"2020-05-26",update_at:"2020-05-26"},{id:6242991229,title:"\u6D3B\u52A8\u540D\u79F0\u4E09",readonly:"\u6D3B\u52A8\u540D\u79F0\u4E09",decs:"\u8FD9\u4E2A\u6D3B\u52A8\u771F\u597D\u73A9",state:1,created_at:"2020-05-26",update_at:"2020-05-26"},{id:6242981229,title:"\u6D3B\u52A8\u540D\u79F0\u56DB",readonly:"\u6D3B\u52A8\u540D\u79F0\u56DB",decs:"\u8FD9\u4E2A\u6D3B\u52A8\u771F\u597D\u73A9",state:1,created_at:"2020-05-26",update_at:"2020-05-26"}],_=c.map(e=>e.id).filter(e=>![6247418504,6246921229].includes(e));const g=D("bottom"),h=D(c);let C=D(_);const k=D(c),$=e=>{console.log("\u5220\u9664",e),N.success("\u70B9\u51FB\u5220\u9664")},U=e=>{k.value=e},K=e=>{},x=e=>{N.success("\u91CD\u7F6E\u6210\u529F"),A.value.reset()},T=()=>{h.value=k.value,console.log("\u70B9\u51FB\u63D0\u4EA4=========",k.value),N.success("\u70B9\u51FB\u63D0\u4EA4\u6570\u636E")};return(e,u)=>{const i=s("el-radio"),p=s("el-radio-group"),m=s("el-divider"),E=s("el-button"),f=s("el-descriptions-item"),j=s("el-descriptions"),z=s("PageWrapLayout");return o(),y(z,null,{default:l(()=>[B("div",de,[B("div",ie,[a(p,{modelValue:g.value,"onUpdate:modelValue":u[0]||(u[0]=M=>g.value=M)},{default:l(()=>[a(i,{label:"top"},{default:l(()=>[n("\u6DFB\u52A0\u5230\u9876\u90E8")]),_:1}),a(i,{label:"bottom"},{default:l(()=>[n("\u6DFB\u52A0\u5230\u5E95\u90E8")]),_:1}),a(i,{label:"hide"},{default:l(()=>[n("\u9690\u85CF")]),_:1})]),_:1},8,["modelValue"])]),a(m),a(ne,{mode:g.value,columns:w,data:h.value,onAdd:K,ref_key:"table",ref:A,editableKeys:L(C),onOnChange:U,onDel:$},null,8,["mode","data","editableKeys"]),B("div",se,[a(E,{onClick:x},{default:l(()=>[n("\u91CD\u7F6E")]),_:1}),a(E,{type:"primary",onClick:T},{default:l(()=>[n("\u63D0\u4EA4")]),_:1})])]),a(j,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:l(()=>[a(f,{label:"\u7EC4\u4EF6\u540D"},{default:l(()=>[n(" EditableProTable ")]),_:1}),a(f,{label:"columns"},{default:l(()=>[n(" \u663E\u793A\u7684\u5217\u6570\u636E ")]),_:1}),a(f,{label:"data"},{default:l(()=>[n(" \u6E90\u6570\u636E ")]),_:1}),a(f,{label:"editableKeys"},{default:l(()=>[n(" \u663E\u793A\u53EF\u7F16\u8F91\u8F93\u5165\u6846\u7684key\u96C6\u5408 ")]),_:1}),a(f,{label:"mode"},{default:l(()=>[n(" \u64CD\u4F5C\u6309\u94AE\u663E\u793A\u7684\u5730\u65B9\uFF0C\u9ED8\u8BA4\u663E\u793A\u5728\u5E95\u90E8'bottom', 'top bottom hide' ")]),_:1}),a(f,{label:"del"},{default:l(()=>[n(" \u5220\u9664\u5F53\u524D\u884C\u89E6\u53D1\u7684\u4E8B\u4EF6 ")]),_:1}),a(f,{label:"add"},{default:l(()=>[n(" \u6DFB\u52A0\u4E00\u884C\u89E6\u53D1\u7684\u4E8B\u4EF6 ")]),_:1}),a(f,{label:"onChange"},{default:l(()=>[n(" \u6570\u636E\u5B9E\u65F6\u6539\u53D8 ")]),_:1})]),_:1})]),_:1})}}});const pe=I(re,[["__scopeId","data-v-11f43697"]]);export{pe as default}; diff --git a/docs/assets/index.6535d4ca.js b/docs/assets/index.e0f57b3a.js similarity index 98% rename from docs/assets/index.6535d4ca.js rename to docs/assets/index.e0f57b3a.js index 69bd6f1..a6c47ba 100644 --- a/docs/assets/index.6535d4ca.js +++ b/docs/assets/index.e0f57b3a.js @@ -1 +1 @@ -import{i as g,L as v}from"./index.201c3aba.js";import{g as h,i as z,x as f,o as u,c as p,y as m,z as y,r as _,n as L,w as i,b as s,a as d}from"./index.048a73c8.js";import{_ as F}from"./bar.vue_vue_type_script_setup_true_lang.59811325.js";const A=["id"],B=h({__name:"line",props:{className:{type:String,default:"chart"},xAxisData:{type:Array,default:()=>["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},config:{type:Object,default:()=>{}},seriesData:{type:Array,default:()=>[150,230,224,218,135,147,260]},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r=z(),e={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{type:"category",data:l.xAxisData},yAxis:{type:"value"},series:[{data:l.seriesData,type:"line"}],...l.config};let a;const n=()=>{const o=g(r.value);return o.setOption(e),o};return f(()=>{a=n(),window.addEventListener("resize",function(){a&&a.resize()})}),(o,b)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width}),ref_key:"chartsRef",ref:r},null,14,A))}}),O=["id"],C=h({__name:"pie",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},tooltip:{trigger:"item"},legend:{top:"0%",left:"center"},series:[{name:"Access From",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:"40",fontWeight:"bold"}},labelLine:{show:!1},data:[{value:1048,name:"Search Engine"},{value:735,name:"Direct"},{value:580,name:"Email"},{value:484,name:"Union Ads"},{value:300,name:"Video Ads"}]}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,O))}}),N=["id"],$=h({__name:"scatter",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{},yAxis:{},series:[{symbolSize:20,data:[[10,8.04],[8.07,6.95],[13,7.58],[9.05,8.81],[11,8.33],[14,7.66],[13.4,6.81],[10,6.33],[14,8.96],[12.5,6.82],[9.15,7.2],[11.5,7.2],[3.03,4.23],[12.2,7.83],[2.02,4.47],[1.05,3.33],[4.05,4.96],[6.03,7.24],[12,6.26],[12,8.84],[7.08,5.82],[5.02,5.68]],type:"scatter"}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,N))}}),D=["id"],k=h({__name:"gauge",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={tooltip:{formatter:"{a}
{b} : {c}%"},series:[{name:"Pressure",type:"gauge",detail:{formatter:"{value}"},data:[{value:50,name:"SCORE"}]}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,D))}}),I=["id"],j=h({__name:"funnel",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={grid:{top:0,left:"2%",right:"2%",bottom:"0%",containLabel:!0},tooltip:{trigger:"item",formatter:"{a}
{b} : {c}%"},toolbox:{feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}},legend:{show:!1,data:["Show","Click","Visit","Inquiry","Order"]},series:[{name:"Funnel",type:"funnel",left:"10%",top:30,bottom:10,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{fontSize:20}},data:[{value:60,name:"Visit"},{value:40,name:"Inquiry"},{value:20,name:"Order"},{value:80,name:"Click"},{value:100,name:"Show"}]}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,I))}}),M=["id"],W=h({__name:"candlestick",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{data:["2017-10-24","2017-10-25","2017-10-26","2017-10-27"]},yAxis:{},series:[{type:"candlestick",data:[[20,34,10,38],[40,35,30,50],[31,38,33,44],[38,15,5,42]]}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,M))}}),V=["id"],R=h({__name:"graph",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r=["Mon","Tue","Wed","Very Loooong Thu","Fri","Sat","Sun"],e=r.map(function(x,c){return Math.round(Math.random()*1e3*(c+1))}),a=e.map(function(x,c){return{source:c,target:c+1}});a.pop();const n={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},tooltip:{},xAxis:{type:"category",boundaryGap:!1,data:r},yAxis:{type:"value"},series:[{type:"graph",layout:"none",coordinateSystem:"cartesian2d",symbolSize:40,label:{show:!0},edgeSymbol:["circle","arrow"],edgeSymbolSize:[4,10],data:e,links:a,lineStyle:{color:"#2f4554"}}]};let o;const b=()=>{let x=g(document.getElementById(l.id));return x.setOption(n),x};return f(()=>{o=b(),window.addEventListener("resize",function(){o&&o.resize()})}),(x,c)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,V))}}),P=["id"],T=h({__name:"pictorialBar",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t;let r=[],e=+new Date,a=[],n=[];for(let c=0;c<20;c++){let w=new Date(e+=864e5);r.push([w.getFullYear(),w.getMonth()+1,w.getDate()].join("-"));let S=Math.random()*200,E=Math.random()*200;n.push(S),a.push(E+S)}const o={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},backgroundColor:"#0f375f",tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["line","bar"],textStyle:{color:"#ccc"}},xAxis:{data:r,axisLine:{lineStyle:{color:"#ccc"}}},yAxis:{splitLine:{show:!1},axisLine:{lineStyle:{color:"#ccc"}}},series:[{name:"line",type:"line",smooth:!0,showAllSymbol:!0,symbol:"emptyCircle",symbolSize:15,data:a},{name:"bar",type:"bar",barWidth:10,itemStyle:{borderRadius:5,color:new v(0,0,0,1,[{offset:0,color:"#14c8d4"},{offset:1,color:"#43eec6"}])},data:n},{name:"line",type:"bar",barGap:"-100%",barWidth:10,itemStyle:{color:new v(0,0,0,1,[{offset:0,color:"rgba(20,200,212,0.5)"},{offset:.2,color:"rgba(20,200,212,0.2)"},{offset:1,color:"rgba(20,200,212,0)"}])},z:-12,data:a},{name:"dotted",type:"pictorialBar",symbol:"rect",itemStyle:{color:"#0f375f"},symbolRepeat:!0,symbolSize:[12,4],symbolMargin:1,z:-10,data:a}]};let b;const x=()=>{let c=g(document.getElementById(l.id));return c.setOption(o),c};return f(()=>{b=x(),window.addEventListener("resize",function(){b&&b.resize()})}),(c,w)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,P))}}),G=d("div",{class:"card-header"},[d("span",null,"\u6298\u7EBF\u56FE")],-1),q=d("div",{class:"card-header"},[d("span",null,"\u67F1\u72B6\u56FE")],-1),K=d("div",{class:"card-header"},[d("span",null,"\u997C\u56FE")],-1),U=d("div",{class:"card-header"},[d("span",null,"\u6563\u70B9\u56FE")],-1),Y=d("div",{class:"card-header"},[d("span",null,"\u4EEA\u8868\u76D8")],-1),H=d("div",{class:"card-header"},[d("span",null,"\u6F0F\u6597\u56FE")],-1),J=d("div",{class:"card-header"},[d("span",null,"K \u7EBF\u56FE")],-1),Q=d("div",{class:"card-header"},[d("span",null,"\u96F7\u8FBE\u56FE")],-1),X=d("div",{class:"card-header"},[d("span",null,"\u865A\u7EBF\u67F1\u72B6\u56FE\u6548\u679C")],-1),at=h({__name:"index",setup(t){return(l,r)=>{const e=_("el-card"),a=_("el-col"),n=_("el-row"),o=_("PageWrapLayout");return u(),L(o,{style:{width:"100%"}},{default:i(()=>[s(n,{class:"row-bg",gutter:10},{default:i(()=>[s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[G]),default:i(()=>[s(B,{height:"200px",width:"100%"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[q]),default:i(()=>[s(F,{height:"200px",width:"100%",id:"bar"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[K]),default:i(()=>[s(C,{height:"200px",width:"100%",id:"pie"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[U]),default:i(()=>[s($,{height:"200px",width:"100%",id:"scatter"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[Y]),default:i(()=>[s(k,{height:"200px",width:"100%",id:"gauge"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[H]),default:i(()=>[s(j,{height:"200px",width:"100%",id:"funnel"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[J]),default:i(()=>[s(W,{height:"200px",width:"100%",id:"candlestick"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[Q]),default:i(()=>[s(R,{height:"200px",width:"100%",id:"graph"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[X]),default:i(()=>[s(T,{height:"200px",width:"100%",id:"pictorial"})]),_:1})]),_:1})]),_:1})]),_:1})}}});export{at as default}; +import{i as g,L as v}from"./index.201c3aba.js";import{g as h,i as z,x as f,o as u,c as p,y as m,z as y,r as _,n as L,w as i,b as s,a as d}from"./index.034c045c.js";import{_ as F}from"./bar.vue_vue_type_script_setup_true_lang.1158016e.js";const A=["id"],B=h({__name:"line",props:{className:{type:String,default:"chart"},xAxisData:{type:Array,default:()=>["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},config:{type:Object,default:()=>{}},seriesData:{type:Array,default:()=>[150,230,224,218,135,147,260]},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r=z(),e={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{type:"category",data:l.xAxisData},yAxis:{type:"value"},series:[{data:l.seriesData,type:"line"}],...l.config};let a;const n=()=>{const o=g(r.value);return o.setOption(e),o};return f(()=>{a=n(),window.addEventListener("resize",function(){a&&a.resize()})}),(o,b)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width}),ref_key:"chartsRef",ref:r},null,14,A))}}),O=["id"],C=h({__name:"pie",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},tooltip:{trigger:"item"},legend:{top:"0%",left:"center"},series:[{name:"Access From",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:"40",fontWeight:"bold"}},labelLine:{show:!1},data:[{value:1048,name:"Search Engine"},{value:735,name:"Direct"},{value:580,name:"Email"},{value:484,name:"Union Ads"},{value:300,name:"Video Ads"}]}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,O))}}),N=["id"],$=h({__name:"scatter",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{},yAxis:{},series:[{symbolSize:20,data:[[10,8.04],[8.07,6.95],[13,7.58],[9.05,8.81],[11,8.33],[14,7.66],[13.4,6.81],[10,6.33],[14,8.96],[12.5,6.82],[9.15,7.2],[11.5,7.2],[3.03,4.23],[12.2,7.83],[2.02,4.47],[1.05,3.33],[4.05,4.96],[6.03,7.24],[12,6.26],[12,8.84],[7.08,5.82],[5.02,5.68]],type:"scatter"}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,N))}}),D=["id"],k=h({__name:"gauge",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={tooltip:{formatter:"{a}
{b} : {c}%"},series:[{name:"Pressure",type:"gauge",detail:{formatter:"{value}"},data:[{value:50,name:"SCORE"}]}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,D))}}),I=["id"],j=h({__name:"funnel",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={grid:{top:0,left:"2%",right:"2%",bottom:"0%",containLabel:!0},tooltip:{trigger:"item",formatter:"{a}
{b} : {c}%"},toolbox:{feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}},legend:{show:!1,data:["Show","Click","Visit","Inquiry","Order"]},series:[{name:"Funnel",type:"funnel",left:"10%",top:30,bottom:10,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{fontSize:20}},data:[{value:60,name:"Visit"},{value:40,name:"Inquiry"},{value:20,name:"Order"},{value:80,name:"Click"},{value:100,name:"Show"}]}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,I))}}),M=["id"],W=h({__name:"candlestick",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{data:["2017-10-24","2017-10-25","2017-10-26","2017-10-27"]},yAxis:{},series:[{type:"candlestick",data:[[20,34,10,38],[40,35,30,50],[31,38,33,44],[38,15,5,42]]}]};let e;const a=()=>{let n=g(document.getElementById(l.id));return n.setOption(r),n};return f(()=>{e=a(),window.addEventListener("resize",function(){e&&e.resize()})}),(n,o)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,M))}}),V=["id"],R=h({__name:"graph",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t,r=["Mon","Tue","Wed","Very Loooong Thu","Fri","Sat","Sun"],e=r.map(function(x,c){return Math.round(Math.random()*1e3*(c+1))}),a=e.map(function(x,c){return{source:c,target:c+1}});a.pop();const n={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},tooltip:{},xAxis:{type:"category",boundaryGap:!1,data:r},yAxis:{type:"value"},series:[{type:"graph",layout:"none",coordinateSystem:"cartesian2d",symbolSize:40,label:{show:!0},edgeSymbol:["circle","arrow"],edgeSymbolSize:[4,10],data:e,links:a,lineStyle:{color:"#2f4554"}}]};let o;const b=()=>{let x=g(document.getElementById(l.id));return x.setOption(n),x};return f(()=>{o=b(),window.addEventListener("resize",function(){o&&o.resize()})}),(x,c)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,V))}}),P=["id"],T=h({__name:"pictorialBar",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const l=t;let r=[],e=+new Date,a=[],n=[];for(let c=0;c<20;c++){let w=new Date(e+=864e5);r.push([w.getFullYear(),w.getMonth()+1,w.getDate()].join("-"));let S=Math.random()*200,E=Math.random()*200;n.push(S),a.push(E+S)}const o={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},backgroundColor:"#0f375f",tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["line","bar"],textStyle:{color:"#ccc"}},xAxis:{data:r,axisLine:{lineStyle:{color:"#ccc"}}},yAxis:{splitLine:{show:!1},axisLine:{lineStyle:{color:"#ccc"}}},series:[{name:"line",type:"line",smooth:!0,showAllSymbol:!0,symbol:"emptyCircle",symbolSize:15,data:a},{name:"bar",type:"bar",barWidth:10,itemStyle:{borderRadius:5,color:new v(0,0,0,1,[{offset:0,color:"#14c8d4"},{offset:1,color:"#43eec6"}])},data:n},{name:"line",type:"bar",barGap:"-100%",barWidth:10,itemStyle:{color:new v(0,0,0,1,[{offset:0,color:"rgba(20,200,212,0.5)"},{offset:.2,color:"rgba(20,200,212,0.2)"},{offset:1,color:"rgba(20,200,212,0)"}])},z:-12,data:a},{name:"dotted",type:"pictorialBar",symbol:"rect",itemStyle:{color:"#0f375f"},symbolRepeat:!0,symbolSize:[12,4],symbolMargin:1,z:-10,data:a}]};let b;const x=()=>{let c=g(document.getElementById(l.id));return c.setOption(o),c};return f(()=>{b=x(),window.addEventListener("resize",function(){b&&b.resize()})}),(c,w)=>(u(),p("div",{id:t.id,class:m(t.className),style:y({height:t.height,width:t.width})},null,14,P))}}),G=d("div",{class:"card-header"},[d("span",null,"\u6298\u7EBF\u56FE")],-1),q=d("div",{class:"card-header"},[d("span",null,"\u67F1\u72B6\u56FE")],-1),K=d("div",{class:"card-header"},[d("span",null,"\u997C\u56FE")],-1),U=d("div",{class:"card-header"},[d("span",null,"\u6563\u70B9\u56FE")],-1),Y=d("div",{class:"card-header"},[d("span",null,"\u4EEA\u8868\u76D8")],-1),H=d("div",{class:"card-header"},[d("span",null,"\u6F0F\u6597\u56FE")],-1),J=d("div",{class:"card-header"},[d("span",null,"K \u7EBF\u56FE")],-1),Q=d("div",{class:"card-header"},[d("span",null,"\u96F7\u8FBE\u56FE")],-1),X=d("div",{class:"card-header"},[d("span",null,"\u865A\u7EBF\u67F1\u72B6\u56FE\u6548\u679C")],-1),at=h({__name:"index",setup(t){return(l,r)=>{const e=_("el-card"),a=_("el-col"),n=_("el-row"),o=_("PageWrapLayout");return u(),L(o,{style:{width:"100%"}},{default:i(()=>[s(n,{class:"row-bg",gutter:10},{default:i(()=>[s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[G]),default:i(()=>[s(B,{height:"200px",width:"100%"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[q]),default:i(()=>[s(F,{height:"200px",width:"100%",id:"bar"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[K]),default:i(()=>[s(C,{height:"200px",width:"100%",id:"pie"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[U]),default:i(()=>[s($,{height:"200px",width:"100%",id:"scatter"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[Y]),default:i(()=>[s(k,{height:"200px",width:"100%",id:"gauge"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[H]),default:i(()=>[s(j,{height:"200px",width:"100%",id:"funnel"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[J]),default:i(()=>[s(W,{height:"200px",width:"100%",id:"candlestick"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[Q]),default:i(()=>[s(R,{height:"200px",width:"100%",id:"graph"})]),_:1})]),_:1}),s(a,{xs:24,sm:12,lg:8},{default:i(()=>[s(e,{class:"box-card"},{header:i(()=>[X]),default:i(()=>[s(T,{height:"200px",width:"100%",id:"pictorial"})]),_:1})]),_:1})]),_:1})]),_:1})}}});export{at as default}; diff --git a/docs/assets/index.e0f57b3a.js.gz b/docs/assets/index.e0f57b3a.js.gz new file mode 100644 index 0000000..540a08d Binary files /dev/null and b/docs/assets/index.e0f57b3a.js.gz differ diff --git a/docs/assets/index.cbae27bb.js b/docs/assets/index.e67eda32.js similarity index 99% rename from docs/assets/index.cbae27bb.js rename to docs/assets/index.e67eda32.js index d364249..ec15ac5 100644 --- a/docs/assets/index.cbae27bb.js +++ b/docs/assets/index.e67eda32.js @@ -1,4 +1,4 @@ -import{g as S,o as O,c as W,G as A,H as T,a as f,z as X,q as k,y as _,t as B,i as b,j as q,n as G,s as y,r as H,b as w,w as C,a1 as z,d as Y,M as N,p as F,f as U,_ as P,W as M}from"./index.048a73c8.js";const D={};D.getData=t=>new Promise((e,i)=>{let s={};Z(t).then(o=>{s.arrayBuffer=o,s.orientation=tt(o),e(s)}).catch(o=>{i(o)})});function Z(t){let e=null;return new Promise((i,s)=>{if(t.src)if(/^data\:/i.test(t.src))e=K(t.src),i(e);else if(/^blob\:/i.test(t.src)){var o=new FileReader;o.onload=function(a){e=a.target.result,i(e)},J(t.src,function(a){o.readAsArrayBuffer(a)})}else{var r=new XMLHttpRequest;r.onload=function(){if(this.status==200||this.status===0)e=r.response,i(e);else throw"Could not load image";r=null},r.open("GET",t.src,!0),r.responseType="arraybuffer",r.send(null)}else s("img error")})}function J(t,e){var i=new XMLHttpRequest;i.open("GET",t,!0),i.responseType="blob",i.onload=function(s){(this.status==200||this.status===0)&&e(this.response)},i.send()}function K(t){t=t.replace(/^data\:([^\;]+)\;base64,/gmi,"");for(var e=atob(t),i=e.length,s=new ArrayBuffer(i),o=new Uint8Array(s),r=0;r=8&&(n=r+a)))),n){for(i=e.getUint16(n,h),p=0;p{const i=t.__vccOpts||t;for(const[s,o]of e)i[s]=o;return i};const st=S({data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10}},computed:{cropInfo(){let t={};if(t.top=this.cropOffsertY>21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){let e=1;this.high&&!this.full&&(e=window.devicePixelRatio),this.enlarge!==1&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(t){t!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(t,e){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(t){t&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(t){var e=navigator.userAgent.split(" "),i="";let s=0;const o=new RegExp(t,"i");for(var r=0;r=81)e=-1;else if(this.getVersion("safari")[0]>=605){const a=this.getVersion("version");a[0]>13&&a[1]>1&&(e=-1)}else{const a=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(a){let h=a[1];h=h.split("_"),(h[0]>13||h[0]>=13&&h[1]>=4)&&(e=-1)}}let o=document.createElement("canvas"),r=o.getContext("2d");switch(r.save(),e){case 2:o.width=i,o.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:o.width=i,o.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:o.width=i,o.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:o.width=s,o.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:o.height=i,o.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:o.width=i,o.height=s}r.drawImage(t,0,0,i,s),r.restore(),o.toBlob(a=>{let h=URL.createObjectURL(a);URL.revokeObjectURL(this.imgs),this.imgs=h},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let t=new Image;if(t.onload=()=>{if(this.img==="")return this.$emit("img-load","error"),!1;let i=t.width,s=t.height;D.getData(t).then(o=>{this.orientation=o.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&ir&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(t,this.orientation,i,s)})},t.onerror=()=>{this.$emit("img-load","error")},this.img.substr(0,4)!=="data"&&(t.crossOrigin=""),this.isIE){var e=new XMLHttpRequest;e.onload=function(){var i=URL.createObjectURL(this.response);t.src=i},e.open("GET",this.img,!0),e.responseType="blob",e.send()}else t.src=this.img},startMove(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),t.touches.length==2&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(t){t.preventDefault();let e=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:t.touches[0].clientX,y:t.touches[0].clientY},o={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:t.touches[1].clientX,y:t.touches[1].clientY},a=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),h=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),c=h-a,u=1;u=u/this.trueWidth>u/this.trueHeight?u/this.trueHeight:u/this.trueWidth,u=u>.1?.1:u;var n=u*c;if(!this.touchNow){if(this.touchNow=!0,c>0?e+=Math.abs(n):c<0&&e>Math.abs(n)&&(e-=Math.abs(n)),this.touches=t.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e}},cancelTouchScale(t){window.removeEventListener("touchmove",this.touchScale)},moveImg(t){if(t.preventDefault(),t.touches&&t.touches.length===2)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let e="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY,s,o;s=e-this.moveX,o=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,o,this.scale),a=this.getCropAxis(),h=this.trueHeight*this.scale,c=this.trueWidth*this.scale,u,n,l,p;switch(this.rotate){case 1:case-1:case 3:case-3:u=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(h-c)/2,n=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(c-h)/2,l=u-h+this.cropW,p=n-c+this.cropH;break;default:u=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,n=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,l=u-c+this.cropW,p=n-h+this.cropH;break}r.x1>=a.x1&&(s=u),r.y1>=a.y1&&(o=n),r.x2<=a.x2&&(s=l),r.y2<=a.y2&&(o=p)}this.x=s,this.y=o,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(t){t.preventDefault();let e=this.scale;var i=t.deltaY||t.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var o=this.coe;o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth;var r=o*i;r<0?e+=Math.abs(r):e>Math.abs(r)&&(e-=Math.abs(r));let a=r<0?"add":"reduce";if(a!==this.coeStatus&&(this.coeStatus=a,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},changeScale(t){let e=this.scale;t=t||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,t=t*i,t>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick(()=>{var s=e-this.cropX,o=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)o>0?(this.cropH=o+this.cropChangeY>this.h?this.h-this.cropChangeY:o,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(o)>this.h?this.cropChangeY:Math.abs(o),this.cropOffsertY=this.cropChangeY+o>0?this.cropChangeY+o:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(t,e,i,s,o){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=o,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;let s=this.w,o=this.h,r=0,a=0;if(this.centerBox){let h=this.getImgAxis(),c=h.x2,u=h.y2;r=h.x1>0?h.x1:0,a=h.y1>0?h.y1:0,s>c&&(s=c),o>u&&(o=u)}this.$nextTick(()=>{var h=e-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-h>0?(this.cropW=s-this.cropChangeX-h<=s-r?this.cropOldW-h:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-h<=s-r?this.cropChangeX+h:r):(this.cropW=Math.abs(h)+this.cropChangeX<=s?Math.abs(h)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+h>0?(this.cropW=this.cropOldW+h+this.cropOffsertX<=s?this.cropOldW+h:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(h+this.cropOldW)<=s-r?Math.abs(h+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(h+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(h+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c>0?(this.cropH=o-this.cropChangeY-c<=o-a?this.cropOldH-c:this.cropOldH+this.cropChangeY-a,this.cropOffsertY=o-this.cropChangeY-c<=o-a?this.cropChangeY+c:a):(this.cropH=Math.abs(c)+this.cropChangeY<=o?Math.abs(c)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=o?this.cropOldH+c:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(c+this.cropOldH)<=o-a?Math.abs(c+this.cropOldH):this.cropChangeY-a,this.cropOffsertY=o-this.cropChangeY+Math.abs(c+this.cropOldH)<=o-a?this.cropChangeY-Math.abs(c+this.cropOldH):a))),this.canChangeX&&this.fixed){var u=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];u+this.cropOffsertY>o?(this.cropH=o-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0]):this.cropH=u}if(this.canChangeY&&this.fixed){var n=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];n+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=n}})},checkCropLimitSize(){let{cropW:t,cropH:e,limitMinSize:i}=this,s=new Array;return Array.isArray[i]?s=i:s=[i,i],t=parseFloat(s[0]),e=parseFloat(s[1]),[t,e]},changeCropEnd(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&t.touches.length===2)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let e="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY,s,o;s=e-this.cropOffsertX,o=i-this.cropOffsertY,this.cropX=s,this.cropY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(t,e){let i=0,s=0;t&&(t.preventDefault(),i="clientX"in t?t.clientX:t.touches[0].clientX,s="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick(()=>{let o,r,a=i-this.cropX,h=s-this.cropY;if(e&&(a=this.cropOffsertX,h=this.cropOffsertY),a<=0?o=0:a+this.cropW>this.w?o=this.w-this.cropW:o=a,h<=0?r=0:h+this.cropH>this.h?r=this.h-this.cropH:r=h,this.centerBox){let c=this.getImgAxis();o<=c.x1&&(o=c.x1),o+this.cropW>c.x2&&(o=c.x2-this.cropW),r<=c.y1&&(r=c.y1),r+this.cropH>c.y2&&(r=c.y2-this.cropH)}this.cropOffsertX=o,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(t,e,i){t=t||this.x,e=e||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=t+this.trueWidth*(1-i)/2+(o-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=e+this.trueHeight*(1-i)/2+(r-o)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(t){let e=document.createElement("canvas"),i=new Image,s=this.rotate,o=this.trueWidth,r=this.trueHeight,a=this.cropOffsertX,h=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let n=e.getContext("2d"),l=1;this.high&!this.full&&(l=window.devicePixelRatio),this.enlarge!==1&!this.full&&(l=Math.abs(Number(this.enlarge)));let p=this.cropW*l,x=this.cropH*l,d=o*this.scale*l,g=r*this.scale*l,m=(this.x-a+this.trueWidth*(1-this.scale)/2)*l,v=(this.y-h+this.trueHeight*(1-this.scale)/2)*l;switch(u(p,x),n.save(),s){case 0:this.full?(u(p/this.scale,x/this.scale),n.drawImage(i,m/this.scale,v/this.scale,d/this.scale,g/this.scale)):n.drawImage(i,m,v,d,g);break;case 1:case-3:this.full?(u(p/this.scale,x/this.scale),m=m/this.scale+(d/this.scale-g/this.scale)/2,v=v/this.scale+(g/this.scale-d/this.scale)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,v,-m-g/this.scale,d/this.scale,g/this.scale)):(m=m+(d-g)/2,v=v+(g-d)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,v,-m-g,d,g));break;case 2:case-2:this.full?(u(p/this.scale,x/this.scale),n.rotate(s*90*Math.PI/180),m=m/this.scale,v=v/this.scale,n.drawImage(i,-m-d/this.scale,-v-g/this.scale,d/this.scale,g/this.scale)):(n.rotate(s*90*Math.PI/180),n.drawImage(i,-m-d,-v-g,d,g));break;case 3:case-1:this.full?(u(p/this.scale,x/this.scale),m=m/this.scale+(d/this.scale-g/this.scale)/2,v=v/this.scale+(g/this.scale-d/this.scale)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,-v-d/this.scale,m,d/this.scale,g/this.scale)):(m=m+(d-g)/2,v=v+(g-d)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,-v-d,m,d,g));break;default:this.full?(u(p/this.scale,x/this.scale),n.drawImage(i,m/this.scale,v/this.scale,d/this.scale,g/this.scale)):n.drawImage(i,m,v,d,g)}n.restore()}else{let n=o*this.scale,l=r*this.scale,p=e.getContext("2d");switch(p.save(),s){case 0:u(n,l),p.drawImage(i,0,0,n,l);break;case 1:case-3:u(l,n),p.rotate(s*90*Math.PI/180),p.drawImage(i,0,-l,n,l);break;case 2:case-2:u(n,l),p.rotate(s*90*Math.PI/180),p.drawImage(i,-n,-l,n,l);break;case 3:case-1:u(l,n),p.rotate(s*90*Math.PI/180),p.drawImage(i,-n,0,n,l);break;default:u(n,l),p.drawImage(i,0,0,n,l)}p.restore()}t(e)};var c=this.img.substr(0,4);c!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function u(n,l){e.width=Math.round(n),e.height=Math.round(l)}},getCropData(t){this.getCropChecked(e=>{t(e.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(t){this.getCropChecked(e=>{e.toBlob(i=>t(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let t=this.cropW,e=this.cropH,i=this.scale;var s={};s.div={width:`${t}px`,height:`${e}px`};let o=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,a=0;s.w=t,s.h=e,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${o}px, ${r}px, ${a}px)rotateZ(${this.rotate*90}deg)`},s.html=` +import{g as S,o as O,c as W,G as A,H as T,a as f,z as X,q as k,y as _,t as B,i as b,j as q,n as G,s as y,r as H,b as w,w as C,a1 as z,d as Y,M as N,p as F,f as U,_ as P,W as M}from"./index.034c045c.js";const D={};D.getData=t=>new Promise((e,i)=>{let s={};Z(t).then(o=>{s.arrayBuffer=o,s.orientation=tt(o),e(s)}).catch(o=>{i(o)})});function Z(t){let e=null;return new Promise((i,s)=>{if(t.src)if(/^data\:/i.test(t.src))e=K(t.src),i(e);else if(/^blob\:/i.test(t.src)){var o=new FileReader;o.onload=function(a){e=a.target.result,i(e)},J(t.src,function(a){o.readAsArrayBuffer(a)})}else{var r=new XMLHttpRequest;r.onload=function(){if(this.status==200||this.status===0)e=r.response,i(e);else throw"Could not load image";r=null},r.open("GET",t.src,!0),r.responseType="arraybuffer",r.send(null)}else s("img error")})}function J(t,e){var i=new XMLHttpRequest;i.open("GET",t,!0),i.responseType="blob",i.onload=function(s){(this.status==200||this.status===0)&&e(this.response)},i.send()}function K(t){t=t.replace(/^data\:([^\;]+)\;base64,/gmi,"");for(var e=atob(t),i=e.length,s=new ArrayBuffer(i),o=new Uint8Array(s),r=0;r=8&&(n=r+a)))),n){for(i=e.getUint16(n,h),p=0;p{const i=t.__vccOpts||t;for(const[s,o]of e)i[s]=o;return i};const st=S({data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10}},computed:{cropInfo(){let t={};if(t.top=this.cropOffsertY>21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){let e=1;this.high&&!this.full&&(e=window.devicePixelRatio),this.enlarge!==1&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(t){t!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(t,e){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(t){t&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(t){var e=navigator.userAgent.split(" "),i="";let s=0;const o=new RegExp(t,"i");for(var r=0;r=81)e=-1;else if(this.getVersion("safari")[0]>=605){const a=this.getVersion("version");a[0]>13&&a[1]>1&&(e=-1)}else{const a=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(a){let h=a[1];h=h.split("_"),(h[0]>13||h[0]>=13&&h[1]>=4)&&(e=-1)}}let o=document.createElement("canvas"),r=o.getContext("2d");switch(r.save(),e){case 2:o.width=i,o.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:o.width=i,o.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:o.width=i,o.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:o.width=s,o.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:o.height=i,o.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:o.width=i,o.height=s}r.drawImage(t,0,0,i,s),r.restore(),o.toBlob(a=>{let h=URL.createObjectURL(a);URL.revokeObjectURL(this.imgs),this.imgs=h},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let t=new Image;if(t.onload=()=>{if(this.img==="")return this.$emit("img-load","error"),!1;let i=t.width,s=t.height;D.getData(t).then(o=>{this.orientation=o.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&ir&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(t,this.orientation,i,s)})},t.onerror=()=>{this.$emit("img-load","error")},this.img.substr(0,4)!=="data"&&(t.crossOrigin=""),this.isIE){var e=new XMLHttpRequest;e.onload=function(){var i=URL.createObjectURL(this.response);t.src=i},e.open("GET",this.img,!0),e.responseType="blob",e.send()}else t.src=this.img},startMove(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),t.touches.length==2&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(t){t.preventDefault();let e=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:t.touches[0].clientX,y:t.touches[0].clientY},o={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:t.touches[1].clientX,y:t.touches[1].clientY},a=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),h=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),c=h-a,u=1;u=u/this.trueWidth>u/this.trueHeight?u/this.trueHeight:u/this.trueWidth,u=u>.1?.1:u;var n=u*c;if(!this.touchNow){if(this.touchNow=!0,c>0?e+=Math.abs(n):c<0&&e>Math.abs(n)&&(e-=Math.abs(n)),this.touches=t.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e}},cancelTouchScale(t){window.removeEventListener("touchmove",this.touchScale)},moveImg(t){if(t.preventDefault(),t.touches&&t.touches.length===2)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let e="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY,s,o;s=e-this.moveX,o=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,o,this.scale),a=this.getCropAxis(),h=this.trueHeight*this.scale,c=this.trueWidth*this.scale,u,n,l,p;switch(this.rotate){case 1:case-1:case 3:case-3:u=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(h-c)/2,n=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(c-h)/2,l=u-h+this.cropW,p=n-c+this.cropH;break;default:u=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,n=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,l=u-c+this.cropW,p=n-h+this.cropH;break}r.x1>=a.x1&&(s=u),r.y1>=a.y1&&(o=n),r.x2<=a.x2&&(s=l),r.y2<=a.y2&&(o=p)}this.x=s,this.y=o,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(t){t.preventDefault();let e=this.scale;var i=t.deltaY||t.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var o=this.coe;o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth;var r=o*i;r<0?e+=Math.abs(r):e>Math.abs(r)&&(e-=Math.abs(r));let a=r<0?"add":"reduce";if(a!==this.coeStatus&&(this.coeStatus=a,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},changeScale(t){let e=this.scale;t=t||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,t=t*i,t>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick(()=>{var s=e-this.cropX,o=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)o>0?(this.cropH=o+this.cropChangeY>this.h?this.h-this.cropChangeY:o,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(o)>this.h?this.cropChangeY:Math.abs(o),this.cropOffsertY=this.cropChangeY+o>0?this.cropChangeY+o:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(t,e,i,s,o){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=o,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;let s=this.w,o=this.h,r=0,a=0;if(this.centerBox){let h=this.getImgAxis(),c=h.x2,u=h.y2;r=h.x1>0?h.x1:0,a=h.y1>0?h.y1:0,s>c&&(s=c),o>u&&(o=u)}this.$nextTick(()=>{var h=e-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-h>0?(this.cropW=s-this.cropChangeX-h<=s-r?this.cropOldW-h:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-h<=s-r?this.cropChangeX+h:r):(this.cropW=Math.abs(h)+this.cropChangeX<=s?Math.abs(h)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+h>0?(this.cropW=this.cropOldW+h+this.cropOffsertX<=s?this.cropOldW+h:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(h+this.cropOldW)<=s-r?Math.abs(h+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(h+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(h+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c>0?(this.cropH=o-this.cropChangeY-c<=o-a?this.cropOldH-c:this.cropOldH+this.cropChangeY-a,this.cropOffsertY=o-this.cropChangeY-c<=o-a?this.cropChangeY+c:a):(this.cropH=Math.abs(c)+this.cropChangeY<=o?Math.abs(c)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=o?this.cropOldH+c:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(c+this.cropOldH)<=o-a?Math.abs(c+this.cropOldH):this.cropChangeY-a,this.cropOffsertY=o-this.cropChangeY+Math.abs(c+this.cropOldH)<=o-a?this.cropChangeY-Math.abs(c+this.cropOldH):a))),this.canChangeX&&this.fixed){var u=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];u+this.cropOffsertY>o?(this.cropH=o-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0]):this.cropH=u}if(this.canChangeY&&this.fixed){var n=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];n+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=n}})},checkCropLimitSize(){let{cropW:t,cropH:e,limitMinSize:i}=this,s=new Array;return Array.isArray[i]?s=i:s=[i,i],t=parseFloat(s[0]),e=parseFloat(s[1]),[t,e]},changeCropEnd(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&t.touches.length===2)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let e="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY,s,o;s=e-this.cropOffsertX,o=i-this.cropOffsertY,this.cropX=s,this.cropY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(t,e){let i=0,s=0;t&&(t.preventDefault(),i="clientX"in t?t.clientX:t.touches[0].clientX,s="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick(()=>{let o,r,a=i-this.cropX,h=s-this.cropY;if(e&&(a=this.cropOffsertX,h=this.cropOffsertY),a<=0?o=0:a+this.cropW>this.w?o=this.w-this.cropW:o=a,h<=0?r=0:h+this.cropH>this.h?r=this.h-this.cropH:r=h,this.centerBox){let c=this.getImgAxis();o<=c.x1&&(o=c.x1),o+this.cropW>c.x2&&(o=c.x2-this.cropW),r<=c.y1&&(r=c.y1),r+this.cropH>c.y2&&(r=c.y2-this.cropH)}this.cropOffsertX=o,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(t,e,i){t=t||this.x,e=e||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=t+this.trueWidth*(1-i)/2+(o-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=e+this.trueHeight*(1-i)/2+(r-o)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(t){let e=document.createElement("canvas"),i=new Image,s=this.rotate,o=this.trueWidth,r=this.trueHeight,a=this.cropOffsertX,h=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let n=e.getContext("2d"),l=1;this.high&!this.full&&(l=window.devicePixelRatio),this.enlarge!==1&!this.full&&(l=Math.abs(Number(this.enlarge)));let p=this.cropW*l,x=this.cropH*l,d=o*this.scale*l,g=r*this.scale*l,m=(this.x-a+this.trueWidth*(1-this.scale)/2)*l,v=(this.y-h+this.trueHeight*(1-this.scale)/2)*l;switch(u(p,x),n.save(),s){case 0:this.full?(u(p/this.scale,x/this.scale),n.drawImage(i,m/this.scale,v/this.scale,d/this.scale,g/this.scale)):n.drawImage(i,m,v,d,g);break;case 1:case-3:this.full?(u(p/this.scale,x/this.scale),m=m/this.scale+(d/this.scale-g/this.scale)/2,v=v/this.scale+(g/this.scale-d/this.scale)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,v,-m-g/this.scale,d/this.scale,g/this.scale)):(m=m+(d-g)/2,v=v+(g-d)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,v,-m-g,d,g));break;case 2:case-2:this.full?(u(p/this.scale,x/this.scale),n.rotate(s*90*Math.PI/180),m=m/this.scale,v=v/this.scale,n.drawImage(i,-m-d/this.scale,-v-g/this.scale,d/this.scale,g/this.scale)):(n.rotate(s*90*Math.PI/180),n.drawImage(i,-m-d,-v-g,d,g));break;case 3:case-1:this.full?(u(p/this.scale,x/this.scale),m=m/this.scale+(d/this.scale-g/this.scale)/2,v=v/this.scale+(g/this.scale-d/this.scale)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,-v-d/this.scale,m,d/this.scale,g/this.scale)):(m=m+(d-g)/2,v=v+(g-d)/2,n.rotate(s*90*Math.PI/180),n.drawImage(i,-v-d,m,d,g));break;default:this.full?(u(p/this.scale,x/this.scale),n.drawImage(i,m/this.scale,v/this.scale,d/this.scale,g/this.scale)):n.drawImage(i,m,v,d,g)}n.restore()}else{let n=o*this.scale,l=r*this.scale,p=e.getContext("2d");switch(p.save(),s){case 0:u(n,l),p.drawImage(i,0,0,n,l);break;case 1:case-3:u(l,n),p.rotate(s*90*Math.PI/180),p.drawImage(i,0,-l,n,l);break;case 2:case-2:u(n,l),p.rotate(s*90*Math.PI/180),p.drawImage(i,-n,-l,n,l);break;case 3:case-1:u(l,n),p.rotate(s*90*Math.PI/180),p.drawImage(i,-n,0,n,l);break;default:u(n,l),p.drawImage(i,0,0,n,l)}p.restore()}t(e)};var c=this.img.substr(0,4);c!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function u(n,l){e.width=Math.round(n),e.height=Math.round(l)}},getCropData(t){this.getCropChecked(e=>{t(e.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(t){this.getCropChecked(e=>{e.toBlob(i=>t(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let t=this.cropW,e=this.cropH,i=this.scale;var s={};s.div={width:`${t}px`,height:`${e}px`};let o=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,a=0;s.w=t,s.h=e,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${o}px, ${r}px, ${a}px)rotateZ(${this.rotate*90}deg)`},s.html=`
{const{clientWidth:a,clientHeight:s}=document.body;var o=1920,c=1080;let l,d,n;a/s>o/c?(n=s/c,d=0,l=(a-o*n)/2):(n=a/o,l=0,d=(s-c*n)/2),r.value&&Object.assign(e.value.style,{transform:`scale(${n})`,left:`${l}px`,top:`${d}px`})};return m(()=>{r.value=!0,i(),window.addEventListener("resize",i)}),B(()=>{r.value=!1,window.removeEventListener("resize",i)}),(a,s)=>(A(),p("div",I,[t("div",{ref_key:"domRef",ref:e,class:"inner"},[L(a.$slots,"default",{},void 0,!0)],512)]))}});const V=v(G,[["__scopeId","data-v-b8ff7a7a"]]),N=h({__name:"index",setup(u){const r=f(),e={grid:{top:"10%",left:"3%",right:"4%",bottom:"10%",containLabel:!0},tooltip:{trigger:"axis",backgroundColor:"rgba(0,0,0,0.7)",borderWidth:0,borderColor:"rgba(0,0,0,0.7)",formatter:(s,o)=>` +import{g as h,i as f,x as m,P as B,o as A,c as p,a as t,J as L,_ as v,n as E,w as F,t as C,F as z,D as k,b as _,s as D,p as O,f as R}from"./index.034c045c.js";import{C as T}from"./index.6a4bd455.js";import{i as g,L as y}from"./index.201c3aba.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang.0cc6321a.js";const W="/vue-admin-perfect/assets/circle-bg.dedbd709.png",$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAMAAAAF48UCAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAe1BMVEUAAAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAAAAADSEKGcAAAAJ3RSTlMAItNp5Diy9xpy1kCoMZGC9PLp0QQNEZrJDgVerGy2Z7ljvL/YR6mccWXvAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAGJJREFUCNdNzEkSgzAMRFGBgSSMMYR5CgnQ978hshFV/I3epkXEOa6iKw/whQGAx9PyBVNoGOEsJkpwlVKGt5XOC/qUVc1s2s6Oe/YgP0f2JJ7ZX/HC/t38Fyv2Kt601jvfA+R8C1Cz+gi5AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTIyVDE4OjQ1OjI2KzA4OjAwOmcHGQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMlQxODo0NToyNiswODowMEs6v6UAAAAASUVORK5CYII=",I={class:"m-full-screen-container"},G=h({__name:"full-screen-container",setup(u){const r=f(!0),e=f(),i=()=>{const{clientWidth:a,clientHeight:s}=document.body;var o=1920,c=1080;let l,d,n;a/s>o/c?(n=s/c,d=0,l=(a-o*n)/2):(n=a/o,l=0,d=(s-c*n)/2),r.value&&Object.assign(e.value.style,{transform:`scale(${n})`,left:`${l}px`,top:`${d}px`})};return m(()=>{r.value=!0,i(),window.addEventListener("resize",i)}),B(()=>{r.value=!1,window.removeEventListener("resize",i)}),(a,s)=>(A(),p("div",I,[t("div",{ref_key:"domRef",ref:e,class:"inner"},[L(a.$slots,"default",{},void 0,!0)],512)]))}});const V=v(G,[["__scopeId","data-v-b8ff7a7a"]]),N=h({__name:"index",setup(u){const r=f(),e={grid:{top:"10%",left:"3%",right:"4%",bottom:"10%",containLabel:!0},tooltip:{trigger:"axis",backgroundColor:"rgba(0,0,0,0.7)",borderWidth:0,borderColor:"rgba(0,0,0,0.7)",formatter:(s,o)=>`
\u5B8C\u6210\u5360\u6BD4${s[0].data}
diff --git a/docs/assets/index.e74b5c16.js.gz b/docs/assets/index.e74b5c16.js.gz new file mode 100644 index 0000000..130d7c7 Binary files /dev/null and b/docs/assets/index.e74b5c16.js.gz differ diff --git a/docs/assets/index.6043017c.js b/docs/assets/index.e7ca893f.js similarity index 70% rename from docs/assets/index.6043017c.js rename to docs/assets/index.e7ca893f.js index 68591b0..5f5725c 100644 --- a/docs/assets/index.6043017c.js +++ b/docs/assets/index.e7ca893f.js @@ -1 +1 @@ -import{_ as c,o as t,c as o,p as a,f as d,a as s}from"./index.048a73c8.js";const _={},n=e=>(a("data-v-f3bd1ed6"),e=e(),d(),e),r={class:"app-container"},p=n(()=>s("div",{class:"app-container-inner"},[s("iframe",{src:"https://ext.dcloud.net.cn/plugin?id=7511",frameborder:"0",class:"full-iframe"})],-1)),i=[p];function f(e,l){return t(),o("div",r,i)}const h=c(_,[["render",f],["__scopeId","data-v-f3bd1ed6"]]);export{h as default}; +import{_ as c,o as t,c as o,p as a,f as d,a as s}from"./index.034c045c.js";const _={},n=e=>(a("data-v-f3bd1ed6"),e=e(),d(),e),r={class:"app-container"},p=n(()=>s("div",{class:"app-container-inner"},[s("iframe",{src:"https://ext.dcloud.net.cn/plugin?id=7511",frameborder:"0",class:"full-iframe"})],-1)),i=[p];function f(e,l){return t(),o("div",r,i)}const h=c(_,[["render",f],["__scopeId","data-v-f3bd1ed6"]]);export{h as default}; diff --git a/docs/assets/index.e0b2f51b.js b/docs/assets/index.e7f13c3c.js similarity index 78% rename from docs/assets/index.e0b2f51b.js rename to docs/assets/index.e7f13c3c.js index c81f4b8..338c90c 100644 --- a/docs/assets/index.e0b2f51b.js +++ b/docs/assets/index.e7f13c3c.js @@ -1 +1 @@ -import{_ as n,r as e,o as s,c as r,b as t}from"./index.048a73c8.js";const _={},a={style:{padding:"30px"}};function l(i,p){const o=e("el-alert"),c=e("router-view");return s(),r("div",a,[t(o,{title:"menu 1-1",type:"success",closable:!1}),t(c)])}const m=n(_,[["render",l]]);export{m as default}; +import{_ as n,r as e,o as s,c as r,b as t}from"./index.034c045c.js";const _={},a={style:{padding:"30px"}};function l(i,p){const o=e("el-alert"),c=e("router-view");return s(),r("div",a,[t(o,{title:"menu 1-1",type:"success",closable:!1}),t(c)])}const m=n(_,[["render",l]]);export{m as default}; diff --git a/docs/assets/index.63a015b4.js b/docs/assets/index.f4ab959e.js similarity index 99% rename from docs/assets/index.63a015b4.js rename to docs/assets/index.f4ab959e.js index 1bfa640..805c924 100644 --- a/docs/assets/index.63a015b4.js +++ b/docs/assets/index.f4ab959e.js @@ -1 +1 @@ -import{g as H,i as d,B as ae,j as L,r as t,C as te,o as s,c as x,a as E,b as u,w as l,F as j,D as J,G as K,n as h,q as Q,H as ne,d as f,s as W,I as oe,t as G,J as X,_ as ee,x as se,K as re,L as ie,M as C,N as Z}from"./index.048a73c8.js";const ce={class:"zb-pro-table"},de={class:"header"},pe={class:"search"},_e={class:"footer"},me={class:"operator"},fe={class:"table"},ve={key:0},ge={class:"pagination"},be=H({__name:"index",props:{columns:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1}},emits:["reset","onSubmit","selection-change"],setup(w,{emit:_}){const T=w,k=d(),B=d(1),r=d(!1),N=o=>{console.log(`${o} items per page`)},A=o=>{console.log(`current page: ${o}`),B.value=o},p=ae(()=>JSON.parse(JSON.stringify(T.data)).splice((B.value-1)*10,10));d(!1);let $={},b=[];for(let o of T.columns)o.inSearch&&($[o.name]=null),o.inSearch&&b.push(o);const D=d(b),v=L($),z=()=>{console.log("submit!",v),_("onSubmit",v)},M=o=>{D.value.forEach(m=>{v[m.name]=null}),_("reset")};return(o,m)=>{const O=t("el-input"),P=t("el-option"),R=t("el-select"),q=t("el-form-item"),I=t("el-form"),a=t("el-button"),n=t("arrow-down"),V=t("arrow-up"),g=t("el-icon"),i=t("el-table-column"),Y=t("el-table"),U=t("el-pagination"),S=te("loading");return s(),x("div",ce,[E("div",de,[u(I,{inline:!0,class:"search-form",model:v,ref_key:"ruleFormRef",ref:k},{default:l(()=>[(s(!0),x(j,null,J(D.value,(e,F)=>K((s(),h(q,{key:F,label:e.label},{default:l(()=>[e.valueType==="input"?(s(),h(O,{key:0,modelValue:v[e.name],"onUpdate:modelValue":y=>v[e.name]=y,placeholder:`\u8BF7\u8F93\u5165${e.label}`},null,8,["modelValue","onUpdate:modelValue","placeholder"])):Q("",!0),e.valueType==="select"?(s(),h(R,{key:1,style:{width:"100%"},modelValue:v[e.name],"onUpdate:modelValue":y=>v[e.name]=y,placeholder:`\u8BF7\u9009\u62E9${e.label}`},{default:l(()=>[(s(!0),x(j,null,J(e.options,y=>(s(),h(P,{key:y.value,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):Q("",!0)]),_:2},1032,["label"])),[[ne,r.value?r.value:F<2]])),128))]),_:1},8,["model"]),E("div",pe,[u(a,{type:"primary",onClick:z,icon:W(oe)},{default:l(()=>[f("\u67E5\u8BE2")]),_:1},8,["icon"]),u(a,{onClick:m[0]||(m[0]=e=>M(k.value))},{default:l(()=>[f("\u91CD\u7F6E")]),_:1}),u(a,{link:"",type:"primary",onClick:m[1]||(m[1]=e=>r.value=!r.value)},{default:l(()=>[f(G(r.value?"\u5408\u5E76":"\u5C55\u5F00"),1),u(g,null,{default:l(()=>[r.value?(s(),h(V,{key:1})):(s(),h(n,{key:0}))]),_:1})]),_:1})])]),E("div",_e,[E("div",me,[X(o.$slots,"btn",{},void 0,!0)]),E("div",fe,[K((s(),h(Y,{class:"zb-table",onSelectionChange:m[2]||(m[2]=e=>_("selection-change",e)),data:W(p),border:!0},{default:l(()=>[(s(!0),x(j,null,J(w.columns,e=>(s(),x(j,null,[e.type?(s(),h(i,{key:0,type:e.type,width:e.width,align:e.align!=null?e.align:"center",fixed:e.fixed,label:e.label},null,8,["type","width","align","fixed","label"])):(s(),h(i,{key:1,prop:e.name,width:e.width,align:e.align!=null?e.align:"center",fixed:e.fixed,label:e.label},{default:l(F=>[e.slot?X(o.$slots,e.name,{key:1,item:e,row:F.row},void 0,!0):(s(),x("span",ve,G(F.row[e.name]),1))]),_:2},1032,["prop","width","align","fixed","label"]))],64))),256))]),_:3},8,["data"])),[[S,w.loading]])]),E("div",ge,[u(U,{currentPage:B.value,"onUpdate:currentPage":m[3]||(m[3]=e=>B.value=e),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:w.data.length,onSizeChange:N,onCurrentChange:A},null,8,["currentPage","total"])])])])}}});const ye=ee(be,[["__scopeId","data-v-9e323fdc"]]),he={style:{display:"flex","justify-content":"flex-end"}},Ee={class:"dialog-footer"},De=H({name:"comprehensive"}),Fe=H({...De,setup(w){const _=d(!0),T=d(null),k=[];for(let a=0;a<100;a++)k.push({date:"2016-05-02",name:"\u738B\u4E94"+a,price:1+a,province:"\u4E0A\u6D77",admin:"admin",sex:a%2?1:0,checked:!0,id:a+1,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333});const B=[{type:"selection",width:60,fixed:"left"},{name:"name",label:"\u59D3\u540D",inSearch:!0,valueType:"input",width:80},{name:"age",label:"\u5E74\u9F84",align:"right"},{name:"sex",label:"\u6027\u522B",slot:!0,inSearch:!0,options:[{value:1,label:"\u7537"},{value:0,label:"\u5973"}],valueType:"select"},{name:"price",label:"\u4EF7\u683C",inSearch:!0,valueType:"input"},{name:"admin",label:"\u8D26\u53F7",inSearch:!0,valueType:"input"},{name:"address",label:"\u5730\u5740",inSearch:!0,valueType:"input",width:180},{name:"date",label:"\u65E5\u671F",sorter:!0,inSearch:!0,valueType:"input",width:180},{name:"province",label:"\u7701\u4EFD",width:100},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"},{name:"operation",slot:!0,fixed:"right",width:200,label:"\u64CD\u4F5C"}],r=d(k),N=d("default"),A=d(),p=L({name:"",sex:null,price:null}),$=L({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u6D3B\u52A8\u540D\u79F0\u6D3B\u52A8\u533A\u57DF",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],price:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EF7\u683C",trigger:"blur"}],sex:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B",trigger:"change"}]}),b=d(!1),D=d("\u65B0\u589E"),v=d({}),z=d([]),M=async a=>{await A.value.validate((n,V)=>{if(n){let g={id:Date.now(),...p,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333,province:"\u4E0A\u6D77",admin:"admin",date:ie().format("YYYY-MM-DD")};D.value==="\u65B0\u589E"?(r.value=[g,...r.value],C.success("\u6DFB\u52A0\u6210\u529F")):r.value.forEach(i=>{i.id===v.value.id&&(i.name=g.name,i.sex=g.sex,i.price=g.price)}),b.value=!1,console.log("submit!",g)}else console.log("error submit!",V)})},o=()=>{D.value="\u65B0\u589E",b.value=!0},m=()=>{if(!z.value.length)return C.error("\u672A\u9009\u4E2D\u4EFB\u4F55\u884C");Z.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u9009\u4E2D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{C.success("\u6A21\u62DF\u5220\u9664\u6210\u529F"),r.value=r.value.concat([])}).catch(()=>{})},O=a=>{z.value=a},P=a=>{D.value="\u7F16\u8F91",v.value=a,b.value=!0,p.name=a.name,p.sex=a.sex,p.price=a.price},R=a=>{console.log("row==",a),Z.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{r.value=r.value.filter(n=>n.id!==a.id),C.success("\u5220\u9664\u6210\u529F"),_.value=!0,setTimeout(()=>{_.value=!1},500)}).catch(()=>{})},q=()=>{_.value=!0,setTimeout(()=>{_.value=!1},500),C.success("\u89E6\u53D1\u91CD\u7F6E\u65B9\u6CD5")},I=a=>{console.log("val===",a),C.success("\u89E6\u53D1\u67E5\u8BE2\u65B9\u6CD5"),_.value=!0,setTimeout(()=>{_.value=!1},500)};return se(()=>{re(()=>{}),setTimeout(()=>{_.value=!1},500)}),(a,n)=>{const V=t("plus"),g=t("el-icon"),i=t("el-button"),Y=t("delete"),U=t("el-input"),S=t("el-form-item"),e=t("el-radio"),F=t("el-radio-group"),y=t("el-form"),le=t("el-dialog");return s(),x("div",{class:"app-container",ref_key:"appContainer",ref:T},[u(ye,{loading:_.value,onSelectionChange:O,columns:B,data:r.value,onReset:q,onOnSubmit:I},{btn:l(()=>[E("div",he,[u(i,{type:"primary",onClick:o},{default:l(()=>[u(g,null,{default:l(()=>[u(V)]),_:1}),f(" \u6DFB\u52A0")]),_:1}),u(i,{type:"danger",onClick:m},{default:l(()=>[u(g,null,{default:l(()=>[u(Y)]),_:1}),f("\u5220\u9664")]),_:1})])]),sex:l(c=>[f(G(c.row.sex?"\u7537":"\u5973"),1)]),operation:l(c=>[u(i,{type:"primary",size:"small",icon:"Edit",onClick:ue=>P(c.row)},{default:l(()=>[f(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),u(i,{onClick:ue=>R(c.row),type:"danger",size:"small",icon:"Delete"},{default:l(()=>[f(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1},8,["loading","data"]),u(le,{modelValue:b.value,"onUpdate:modelValue":n[5]||(n[5]=c=>b.value=c),title:D.value,width:"50%"},{footer:l(()=>[E("span",Ee,[u(i,{onClick:n[3]||(n[3]=c=>b.value=!1)},{default:l(()=>[f("\u53D6\u6D88")]),_:1}),u(i,{type:"primary",onClick:n[4]||(n[4]=c=>M(A.value))},{default:l(()=>[f("\u786E\u5B9A")]),_:1})])]),default:l(()=>[u(y,{ref_key:"ruleFormRef",ref:A,model:p,rules:$,"label-width":"120px",class:"demo-ruleForm",size:N.value},{default:l(()=>[u(S,{label:"\u6D3B\u52A8\u540D\u79F0",prop:"name"},{default:l(()=>[u(U,{modelValue:p.name,"onUpdate:modelValue":n[0]||(n[0]=c=>p.name=c)},null,8,["modelValue"])]),_:1}),u(S,{label:"\u6027\u522B",prop:"sex"},{default:l(()=>[u(F,{modelValue:p.sex,"onUpdate:modelValue":n[1]||(n[1]=c=>p.sex=c)},{default:l(()=>[u(e,{label:1},{default:l(()=>[f("\u7537")]),_:1}),u(e,{label:0},{default:l(()=>[f("\u5973")]),_:1})]),_:1},8,["modelValue"])]),_:1}),u(S,{label:"\u4EF7\u683C",prop:"price"},{default:l(()=>[u(U,{modelValue:p.price,"onUpdate:modelValue":n[2]||(n[2]=c=>p.price=c)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","size"])]),_:1},8,["modelValue","title"])],512)}}});const Be=ee(Fe,[["__scopeId","data-v-41a59f8c"]]);export{Be as default}; +import{g as H,i as d,B as ae,j as L,r as t,C as te,o as s,c as x,a as E,b as u,w as l,F as j,D as J,G as K,n as h,q as Q,H as ne,d as f,s as W,I as oe,t as G,J as X,_ as ee,x as se,K as re,L as ie,M as C,N as Z}from"./index.034c045c.js";const ce={class:"zb-pro-table"},de={class:"header"},pe={class:"search"},_e={class:"footer"},me={class:"operator"},fe={class:"table"},ve={key:0},ge={class:"pagination"},be=H({__name:"index",props:{columns:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1}},emits:["reset","onSubmit","selection-change"],setup(w,{emit:_}){const T=w,k=d(),B=d(1),r=d(!1),N=o=>{console.log(`${o} items per page`)},A=o=>{console.log(`current page: ${o}`),B.value=o},p=ae(()=>JSON.parse(JSON.stringify(T.data)).splice((B.value-1)*10,10));d(!1);let $={},b=[];for(let o of T.columns)o.inSearch&&($[o.name]=null),o.inSearch&&b.push(o);const D=d(b),v=L($),z=()=>{console.log("submit!",v),_("onSubmit",v)},M=o=>{D.value.forEach(m=>{v[m.name]=null}),_("reset")};return(o,m)=>{const O=t("el-input"),P=t("el-option"),R=t("el-select"),q=t("el-form-item"),I=t("el-form"),a=t("el-button"),n=t("arrow-down"),V=t("arrow-up"),g=t("el-icon"),i=t("el-table-column"),Y=t("el-table"),U=t("el-pagination"),S=te("loading");return s(),x("div",ce,[E("div",de,[u(I,{inline:!0,class:"search-form",model:v,ref_key:"ruleFormRef",ref:k},{default:l(()=>[(s(!0),x(j,null,J(D.value,(e,F)=>K((s(),h(q,{key:F,label:e.label},{default:l(()=>[e.valueType==="input"?(s(),h(O,{key:0,modelValue:v[e.name],"onUpdate:modelValue":y=>v[e.name]=y,placeholder:`\u8BF7\u8F93\u5165${e.label}`},null,8,["modelValue","onUpdate:modelValue","placeholder"])):Q("",!0),e.valueType==="select"?(s(),h(R,{key:1,style:{width:"100%"},modelValue:v[e.name],"onUpdate:modelValue":y=>v[e.name]=y,placeholder:`\u8BF7\u9009\u62E9${e.label}`},{default:l(()=>[(s(!0),x(j,null,J(e.options,y=>(s(),h(P,{key:y.value,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):Q("",!0)]),_:2},1032,["label"])),[[ne,r.value?r.value:F<2]])),128))]),_:1},8,["model"]),E("div",pe,[u(a,{type:"primary",onClick:z,icon:W(oe)},{default:l(()=>[f("\u67E5\u8BE2")]),_:1},8,["icon"]),u(a,{onClick:m[0]||(m[0]=e=>M(k.value))},{default:l(()=>[f("\u91CD\u7F6E")]),_:1}),u(a,{link:"",type:"primary",onClick:m[1]||(m[1]=e=>r.value=!r.value)},{default:l(()=>[f(G(r.value?"\u5408\u5E76":"\u5C55\u5F00"),1),u(g,null,{default:l(()=>[r.value?(s(),h(V,{key:1})):(s(),h(n,{key:0}))]),_:1})]),_:1})])]),E("div",_e,[E("div",me,[X(o.$slots,"btn",{},void 0,!0)]),E("div",fe,[K((s(),h(Y,{class:"zb-table",onSelectionChange:m[2]||(m[2]=e=>_("selection-change",e)),data:W(p),border:!0},{default:l(()=>[(s(!0),x(j,null,J(w.columns,e=>(s(),x(j,null,[e.type?(s(),h(i,{key:0,type:e.type,width:e.width,align:e.align!=null?e.align:"center",fixed:e.fixed,label:e.label},null,8,["type","width","align","fixed","label"])):(s(),h(i,{key:1,prop:e.name,width:e.width,align:e.align!=null?e.align:"center",fixed:e.fixed,label:e.label},{default:l(F=>[e.slot?X(o.$slots,e.name,{key:1,item:e,row:F.row},void 0,!0):(s(),x("span",ve,G(F.row[e.name]),1))]),_:2},1032,["prop","width","align","fixed","label"]))],64))),256))]),_:3},8,["data"])),[[S,w.loading]])]),E("div",ge,[u(U,{currentPage:B.value,"onUpdate:currentPage":m[3]||(m[3]=e=>B.value=e),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:w.data.length,onSizeChange:N,onCurrentChange:A},null,8,["currentPage","total"])])])])}}});const ye=ee(be,[["__scopeId","data-v-9e323fdc"]]),he={style:{display:"flex","justify-content":"flex-end"}},Ee={class:"dialog-footer"},De=H({name:"comprehensive"}),Fe=H({...De,setup(w){const _=d(!0),T=d(null),k=[];for(let a=0;a<100;a++)k.push({date:"2016-05-02",name:"\u738B\u4E94"+a,price:1+a,province:"\u4E0A\u6D77",admin:"admin",sex:a%2?1:0,checked:!0,id:a+1,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333});const B=[{type:"selection",width:60,fixed:"left"},{name:"name",label:"\u59D3\u540D",inSearch:!0,valueType:"input",width:80},{name:"age",label:"\u5E74\u9F84",align:"right"},{name:"sex",label:"\u6027\u522B",slot:!0,inSearch:!0,options:[{value:1,label:"\u7537"},{value:0,label:"\u5973"}],valueType:"select"},{name:"price",label:"\u4EF7\u683C",inSearch:!0,valueType:"input"},{name:"admin",label:"\u8D26\u53F7",inSearch:!0,valueType:"input"},{name:"address",label:"\u5730\u5740",inSearch:!0,valueType:"input",width:180},{name:"date",label:"\u65E5\u671F",sorter:!0,inSearch:!0,valueType:"input",width:180},{name:"province",label:"\u7701\u4EFD",width:100},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"},{name:"operation",slot:!0,fixed:"right",width:200,label:"\u64CD\u4F5C"}],r=d(k),N=d("default"),A=d(),p=L({name:"",sex:null,price:null}),$=L({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u6D3B\u52A8\u540D\u79F0\u6D3B\u52A8\u533A\u57DF",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],price:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EF7\u683C",trigger:"blur"}],sex:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B",trigger:"change"}]}),b=d(!1),D=d("\u65B0\u589E"),v=d({}),z=d([]),M=async a=>{await A.value.validate((n,V)=>{if(n){let g={id:Date.now(),...p,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333,province:"\u4E0A\u6D77",admin:"admin",date:ie().format("YYYY-MM-DD")};D.value==="\u65B0\u589E"?(r.value=[g,...r.value],C.success("\u6DFB\u52A0\u6210\u529F")):r.value.forEach(i=>{i.id===v.value.id&&(i.name=g.name,i.sex=g.sex,i.price=g.price)}),b.value=!1,console.log("submit!",g)}else console.log("error submit!",V)})},o=()=>{D.value="\u65B0\u589E",b.value=!0},m=()=>{if(!z.value.length)return C.error("\u672A\u9009\u4E2D\u4EFB\u4F55\u884C");Z.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u9009\u4E2D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{C.success("\u6A21\u62DF\u5220\u9664\u6210\u529F"),r.value=r.value.concat([])}).catch(()=>{})},O=a=>{z.value=a},P=a=>{D.value="\u7F16\u8F91",v.value=a,b.value=!0,p.name=a.name,p.sex=a.sex,p.price=a.price},R=a=>{console.log("row==",a),Z.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{r.value=r.value.filter(n=>n.id!==a.id),C.success("\u5220\u9664\u6210\u529F"),_.value=!0,setTimeout(()=>{_.value=!1},500)}).catch(()=>{})},q=()=>{_.value=!0,setTimeout(()=>{_.value=!1},500),C.success("\u89E6\u53D1\u91CD\u7F6E\u65B9\u6CD5")},I=a=>{console.log("val===",a),C.success("\u89E6\u53D1\u67E5\u8BE2\u65B9\u6CD5"),_.value=!0,setTimeout(()=>{_.value=!1},500)};return se(()=>{re(()=>{}),setTimeout(()=>{_.value=!1},500)}),(a,n)=>{const V=t("plus"),g=t("el-icon"),i=t("el-button"),Y=t("delete"),U=t("el-input"),S=t("el-form-item"),e=t("el-radio"),F=t("el-radio-group"),y=t("el-form"),le=t("el-dialog");return s(),x("div",{class:"app-container",ref_key:"appContainer",ref:T},[u(ye,{loading:_.value,onSelectionChange:O,columns:B,data:r.value,onReset:q,onOnSubmit:I},{btn:l(()=>[E("div",he,[u(i,{type:"primary",onClick:o},{default:l(()=>[u(g,null,{default:l(()=>[u(V)]),_:1}),f(" \u6DFB\u52A0")]),_:1}),u(i,{type:"danger",onClick:m},{default:l(()=>[u(g,null,{default:l(()=>[u(Y)]),_:1}),f("\u5220\u9664")]),_:1})])]),sex:l(c=>[f(G(c.row.sex?"\u7537":"\u5973"),1)]),operation:l(c=>[u(i,{type:"primary",size:"small",icon:"Edit",onClick:ue=>P(c.row)},{default:l(()=>[f(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),u(i,{onClick:ue=>R(c.row),type:"danger",size:"small",icon:"Delete"},{default:l(()=>[f(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1},8,["loading","data"]),u(le,{modelValue:b.value,"onUpdate:modelValue":n[5]||(n[5]=c=>b.value=c),title:D.value,width:"50%"},{footer:l(()=>[E("span",Ee,[u(i,{onClick:n[3]||(n[3]=c=>b.value=!1)},{default:l(()=>[f("\u53D6\u6D88")]),_:1}),u(i,{type:"primary",onClick:n[4]||(n[4]=c=>M(A.value))},{default:l(()=>[f("\u786E\u5B9A")]),_:1})])]),default:l(()=>[u(y,{ref_key:"ruleFormRef",ref:A,model:p,rules:$,"label-width":"120px",class:"demo-ruleForm",size:N.value},{default:l(()=>[u(S,{label:"\u6D3B\u52A8\u540D\u79F0",prop:"name"},{default:l(()=>[u(U,{modelValue:p.name,"onUpdate:modelValue":n[0]||(n[0]=c=>p.name=c)},null,8,["modelValue"])]),_:1}),u(S,{label:"\u6027\u522B",prop:"sex"},{default:l(()=>[u(F,{modelValue:p.sex,"onUpdate:modelValue":n[1]||(n[1]=c=>p.sex=c)},{default:l(()=>[u(e,{label:1},{default:l(()=>[f("\u7537")]),_:1}),u(e,{label:0},{default:l(()=>[f("\u5973")]),_:1})]),_:1},8,["modelValue"])]),_:1}),u(S,{label:"\u4EF7\u683C",prop:"price"},{default:l(()=>[u(U,{modelValue:p.price,"onUpdate:modelValue":n[2]||(n[2]=c=>p.price=c)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","size"])]),_:1},8,["modelValue","title"])],512)}}});const Be=ee(Fe,[["__scopeId","data-v-41a59f8c"]]);export{Be as default}; diff --git a/docs/assets/index.f695f769.js b/docs/assets/index.f4f147c3.js similarity index 75% rename from docs/assets/index.f695f769.js rename to docs/assets/index.f4f147c3.js index aebc010..8c3b9d6 100644 --- a/docs/assets/index.f695f769.js +++ b/docs/assets/index.f4f147c3.js @@ -1 +1 @@ -import{_ as t,r as n,o,c,b as s}from"./index.048a73c8.js";const a={},r={style:{padding:"30px"}};function l(_,d){const e=n("el-alert");return o(),c("div",r,[s(e,{title:"menu 1-2-2",type:"warning",closable:!1})])}const p=t(a,[["render",l]]);export{p as default}; +import{_ as t,r as n,o,c,b as s}from"./index.034c045c.js";const a={},r={style:{padding:"30px"}};function l(_,d){const e=n("el-alert");return o(),c("div",r,[s(e,{title:"menu 1-2-2",type:"warning",closable:!1})])}const p=t(a,[["render",l]]);export{p as default}; diff --git a/docs/assets/index.437dac93.js b/docs/assets/index.f5622438.js similarity index 78% rename from docs/assets/index.437dac93.js rename to docs/assets/index.f5622438.js index fb81403..838df16 100644 --- a/docs/assets/index.437dac93.js +++ b/docs/assets/index.f5622438.js @@ -1 +1 @@ -import{_ as e,o as s,c,a as n}from"./index.048a73c8.js";const o={},t={class:"app-container"},a=n("div",{class:"app-container-inner"}," \u7B80\u6613\u7248\u672C\u5206\u652F\u5728 \uFF1Avue-admin-simple ",-1),r=[a];function _(i,d){return s(),c("div",t,r)}const l=e(o,[["render",_]]);export{l as default}; +import{_ as e,o as s,c,a as n}from"./index.034c045c.js";const o={},t={class:"app-container"},a=n("div",{class:"app-container-inner"}," \u7B80\u6613\u7248\u672C\u5206\u652F\u5728 \uFF1Avue-admin-simple ",-1),r=[a];function _(i,d){return s(),c("div",t,r)}const l=e(o,[["render",_]]);export{l as default}; diff --git a/docs/assets/index.fb671bc4.js.gz b/docs/assets/index.fb671bc4.js.gz deleted file mode 100644 index a4b5b9c..0000000 Binary files a/docs/assets/index.fb671bc4.js.gz and /dev/null differ diff --git a/docs/assets/index.vue_vue_type_script_setup_true_lang.c3cd7d59.js b/docs/assets/index.vue_vue_type_script_setup_true_lang.0cc6321a.js similarity index 99% rename from docs/assets/index.vue_vue_type_script_setup_true_lang.c3cd7d59.js rename to docs/assets/index.vue_vue_type_script_setup_true_lang.0cc6321a.js index 562bd31..f4c1c2d 100644 --- a/docs/assets/index.vue_vue_type_script_setup_true_lang.c3cd7d59.js +++ b/docs/assets/index.vue_vue_type_script_setup_true_lang.0cc6321a.js @@ -1,4 +1,4 @@ -import{r as P,i as x}from"./index.201c3aba.js";import{g as C,l as w,x as S,o as E,c as z,y as B,z as D}from"./index.048a73c8.js";const j={type:"FeatureCollection",features:[{type:"Feature",id:"xin_jiang",properties:{name:"\u65B0\u7586",cp:[84.9023,41.748],childNum:18},geometry:{type:"Polygon",coordinates:[[[96.416,42.7588],[96.416,42.7148],[95.9766,42.4951],[96.0645,42.3193],[96.2402,42.2314],[95.9766,41.9238],[95.2734,41.6162],[95.1855,41.792],[94.5703,41.4844],[94.043,41.0889],[93.8672,40.6934],[93.0762,40.6494],[92.6367,39.6387],[92.373,39.3311],[92.373,39.1113],[92.373,39.0234],[90.1758,38.4961],[90.3516,38.2324],[90.6152,38.3203],[90.5273,37.8369],[91.0547,37.4414],[91.3184,37.0898],[90.7031,36.7822],[90.791,36.6064],[91.0547,36.5186],[91.0547,36.0791],[90.8789,36.0352],[90,36.2549],[89.9121,36.0791],[89.7363,36.0791],[89.209,36.2988],[88.7695,36.3428],[88.5938,36.4746],[87.3633,36.4307],[86.2207,36.167],[86.1328,35.8594],[85.6055,35.6836],[85.0781,35.7275],[84.1992,35.376],[83.1445,35.4199],[82.8809,35.6836],[82.4414,35.7275],[82.002,35.332],[81.6504,35.2441],[80.4199,35.4199],[80.2441,35.2881],[80.332,35.1563],[80.2441,35.2002],[79.8926,34.8047],[79.8047,34.4971],[79.1016,34.4531],[79.0137,34.3213],[78.2227,34.7168],[78.0469,35.2441],[78.0469,35.5078],[77.4316,35.4639],[76.8164,35.6396],[76.5527,35.8594],[76.2012,35.8154],[75.9375,36.0352],[76.0254,36.4746],[75.8496,36.6943],[75.498,36.7383],[75.4102,36.958],[75.0586,37.002],[74.8828,36.9141],[74.7949,37.0459],[74.5313,37.0898],[74.5313,37.2217],[74.8828,37.2217],[75.1465,37.4414],[74.8828,37.5732],[74.9707,37.749],[74.8828,38.4521],[74.3555,38.6719],[74.1797,38.6719],[74.0918,38.54],[73.8281,38.584],[73.7402,38.8477],[73.8281,38.9795],[73.4766,39.375],[73.916,39.5068],[73.916,39.6826],[73.8281,39.7705],[74.0039,40.0342],[74.8828,40.3418],[74.7949,40.5176],[75.2344,40.4297],[75.5859,40.6494],[75.7617,40.2979],[76.377,40.3857],[76.9043,41.001],[77.6074,41.001],[78.1348,41.2207],[78.1348,41.3965],[80.1563,42.0557],[80.2441,42.2754],[80.1563,42.627],[80.2441,42.8467],[80.5078,42.8906],[80.4199,43.0664],[80.7715,43.1982],[80.4199,44.165],[80.4199,44.6045],[79.9805,44.8242],[79.9805,44.9561],[81.7383,45.3955],[82.0898,45.2197],[82.5293,45.2197],[82.2656,45.6592],[83.0566,47.2412],[83.6719,47.0215],[84.7266,47.0215],[84.9023,46.8896],[85.5176,47.0654],[85.6934,47.2852],[85.5176,48.1201],[85.7813,48.4277],[86.5723,48.5596],[86.8359,48.8232],[86.748,48.9551],[86.8359,49.1309],[87.8027,49.1748],[87.8906,48.999],[87.7148,48.9111],[88.0664,48.7354],[87.9785,48.6035],[88.5059,48.3838],[88.6816,48.1641],[89.1211,47.9883],[89.5605,48.0322],[89.7363,47.8564],[90.0879,47.8564],[90.3516,47.6807],[90.5273,47.2412],[90.8789,46.9775],[91.0547,46.582],[90.8789,46.3184],[91.0547,46.0107],[90.7031,45.7471],[90.7031,45.5273],[90.8789,45.2197],[91.582,45.0879],[93.5156,44.9561],[94.7461,44.3408],[95.3613,44.2969],[95.3613,44.0332],[95.5371,43.9014],[95.8887,43.2422],[96.3281,42.9346],[96.416,42.7588]]]}},{type:"Feature",id:"xi_zang",properties:{name:"\u897F\u85CF",cp:[88.7695,31.6846],childNum:7},geometry:{type:"Polygon",coordinates:[[[79.0137,34.3213],[79.1016,34.4531],[79.8047,34.4971],[79.8926,34.8047],[80.2441,35.2002],[80.332,35.1563],[80.2441,35.2881],[80.4199,35.4199],[81.6504,35.2441],[82.002,35.332],[82.4414,35.7275],[82.8809,35.6836],[83.1445,35.4199],[84.1992,35.376],[85.0781,35.7275],[85.6055,35.6836],[86.1328,35.8594],[86.2207,36.167],[87.3633,36.4307],[88.5938,36.4746],[88.7695,36.3428],[89.209,36.2988],[89.7363,36.0791],[89.3848,36.0352],[89.4727,35.9033],[89.7363,35.7715],[89.7363,35.4199],[89.4727,35.376],[89.4727,35.2441],[89.5605,34.8926],[89.8242,34.8486],[89.7363,34.6729],[89.8242,34.3652],[89.6484,34.0137],[90.0879,33.4863],[90.7031,33.1348],[91.4063,33.1348],[91.9336,32.8271],[92.1973,32.8271],[92.2852,32.7393],[92.9883,32.7393],[93.5156,32.4756],[93.7793,32.5635],[94.1309,32.4316],[94.6582,32.6074],[95.1855,32.4316],[95.0098,32.2998],[95.1855,32.3438],[95.2734,32.2119],[95.3613,32.168],[95.3613,31.9922],[95.4492,31.8164],[95.8008,31.6846],[95.9766,31.8164],[96.1523,31.5967],[96.2402,31.9482],[96.5039,31.7285],[96.8555,31.6846],[96.7676,31.9922],[97.2949,32.0801],[97.3828,32.5635],[97.7344,32.5195],[98.1738,32.3438],[98.4375,31.8604],[98.877,31.4209],[98.6133,31.2012],[98.9648,30.7617],[99.1406,29.2676],[98.9648,29.1357],[98.9648,28.8281],[98.7891,28.8721],[98.7891,29.0039],[98.7012,28.916],[98.6133,28.5205],[98.7891,28.3447],[98.7012,28.2129],[98.3496,28.125],[98.2617,28.3887],[98.1738,28.125],[97.5586,28.5205],[97.2949,28.0811],[97.3828,27.9053],[97.0313,27.7295],[96.5039,28.125],[95.7129,28.2568],[95.3613,28.125],[95.2734,27.9492],[94.2188,27.5537],[93.8672,27.0264],[93.6035,26.9385],[92.1094,26.8506],[92.0215,27.4658],[91.582,27.5537],[91.582,27.9053],[91.4063,28.0371],[91.0547,27.8613],[90.7031,28.0811],[89.8242,28.2129],[89.6484,28.1689],[89.1211,27.5977],[89.1211,27.334],[89.0332,27.2021],[88.7695,27.4219],[88.8574,27.9932],[88.6816,28.125],[88.1543,27.9053],[87.8906,27.9492],[87.7148,27.8174],[87.0996,27.8174],[86.748,28.125],[86.5723,28.125],[86.4844,27.9053],[86.1328,28.125],[86.0449,27.9053],[85.6934,28.3447],[85.6055,28.2568],[85.166,28.3447],[85.166,28.6523],[84.9023,28.5645],[84.4629,28.7402],[84.2871,28.8721],[84.1992,29.2236],[84.1113,29.2676],[83.584,29.1797],[83.2324,29.5752],[82.1777,30.0586],[82.0898,30.3223],[81.3867,30.3662],[81.2109,30.0146],[81.0352,30.2344],[80.0684,30.5859],[79.7168,30.9375],[79.0137,31.0693],[78.75,31.333],[78.8379,31.5967],[78.6621,31.8164],[78.75,31.9043],[78.4863,32.124],[78.3984,32.5195],[78.75,32.6953],[78.9258,32.3438],[79.2773,32.5635],[79.1016,33.1787],[78.6621,33.6621],[78.6621,34.1016],[78.9258,34.1455],[79.0137,34.3213]]]}},{type:"Feature",id:"nei_meng_gu",properties:{name:"\u5185\u8499\u53E4",cp:[117.5977,44.3408],childNum:12},geometry:{type:"Polygon",coordinates:[[[97.207,42.8027],[99.4922,42.583],[100.8105,42.6709],[101.7773,42.4951],[102.041,42.2314],[102.7441,42.1436],[103.3594,41.8799],[103.8867,41.792],[104.502,41.8799],[104.502,41.6602],[105.0293,41.5723],[105.7324,41.9238],[107.4023,42.4512],[109.4238,42.4512],[110.3906,42.7588],[111.0059,43.3301],[111.9727,43.6816],[111.9727,43.8135],[111.4453,44.3848],[111.7969,45],[111.9727,45.0879],[113.6426,44.7363],[114.1699,44.9561],[114.5215,45.3955],[115.6641,45.4395],[116.1914,45.7031],[116.2793,45.9668],[116.543,46.2744],[117.334,46.3623],[117.4219,46.582],[117.7734,46.5381],[118.3008,46.7578],[118.7402,46.7139],[118.916,46.7578],[119.0918,46.6699],[119.707,46.626],[119.9707,46.7139],[119.707,47.1973],[118.4766,47.9883],[117.8613,48.0322],[117.334,47.6807],[116.8066,47.9004],[116.1914,47.8564],[115.9277,47.6807],[115.5762,47.9004],[115.4883,48.1641],[115.8398,48.252],[115.8398,48.5596],[116.7188,49.834],[117.7734,49.5264],[118.5645,49.9219],[119.2676,50.0977],[119.3555,50.3174],[119.1797,50.3613],[119.5313,50.7568],[119.5313,50.8887],[119.707,51.0645],[120.1465,51.6797],[120.6738,51.9434],[120.7617,52.1191],[120.7617,52.251],[120.5859,52.3389],[120.6738,52.5146],[120.4102,52.6465],[120.0586,52.6025],[120.0586,52.7344],[120.8496,53.2617],[121.4648,53.3496],[121.8164,53.042],[121.2012,52.5586],[121.6406,52.4268],[121.7285,52.2949],[121.9922,52.2949],[122.168,52.5146],[122.6953,52.251],[122.6074,52.0752],[122.959,51.3281],[123.3105,51.2402],[123.6621,51.3721],[124.3652,51.2842],[124.541,51.3721],[124.8926,51.3721],[125.0684,51.6357],[125.332,51.6357],[126.0352,51.0205],[125.7715,50.7568],[125.7715,50.5371],[125.332,50.1416],[125.1563,49.834],[125.2441,49.1748],[124.8047,49.1309],[124.4531,48.1201],[124.2773,48.5156],[122.4316,47.373],[123.0469,46.7139],[123.3984,46.8896],[123.3984,46.9775],[123.4863,46.9775],[123.5742,46.8457],[123.5742,46.8896],[123.5742,46.6699],[123.0469,46.582],[123.2227,46.2305],[122.7832,46.0107],[122.6953,45.7031],[122.4316,45.8789],[122.2559,45.791],[121.8164,46.0107],[121.7285,45.7471],[121.9043,45.7031],[122.2559,45.2637],[122.0801,44.8682],[122.3438,44.2529],[123.1348,44.4727],[123.4863,43.7256],[123.3105,43.5059],[123.6621,43.374],[123.5742,43.0225],[123.3105,42.9785],[123.1348,42.8027],[122.7832,42.7148],[122.3438,42.8467],[122.3438,42.6709],[121.9922,42.7148],[121.7285,42.4512],[121.4648,42.4951],[120.498,42.0996],[120.1465,41.7041],[119.8828,42.1875],[119.5313,42.3633],[119.3555,42.2754],[119.2676,41.7041],[119.4434,41.6162],[119.2676,41.3086],[118.3887,41.3086],[118.125,41.748],[118.3008,41.792],[118.3008,42.0996],[118.125,42.0557],[117.9492,42.2314],[118.0371,42.4072],[117.7734,42.627],[117.5098,42.583],[117.334,42.4512],[116.8945,42.4072],[116.8066,42.0117],[116.2793,42.0117],[116.0156,41.792],[115.9277,41.9238],[115.2246,41.5723],[114.9609,41.6162],[114.873,42.0996],[114.5215,42.1436],[114.1699,41.792],[114.2578,41.5723],[113.9063,41.4404],[113.9941,41.2207],[113.9063,41.1328],[114.082,40.7373],[114.082,40.5176],[113.8184,40.5176],[113.5547,40.3418],[113.2031,40.3857],[112.7637,40.166],[112.3242,40.2539],[111.9727,39.5947],[111.4453,39.6387],[111.3574,39.4189],[111.0938,39.375],[111.0938,39.5947],[110.6543,39.2871],[110.127,39.4629],[110.2148,39.2871],[109.8633,39.2432],[109.9512,39.1553],[108.9844,38.3203],[109.0723,38.0127],[108.8965,37.9688],[108.8086,38.0127],[108.7207,37.7051],[108.1934,37.6172],[107.666,37.8809],[107.3145,38.1006],[106.7871,38.1885],[106.5234,38.3203],[106.9629,38.9795],[106.7871,39.375],[106.3477,39.2871],[105.9082,38.7158],[105.8203,37.793],[104.3262,37.4414],[103.4473,37.8369],[103.3594,38.0127],[103.5352,38.1445],[103.4473,38.3643],[104.2383,38.9795],[104.0625,39.4189],[103.3594,39.3311],[103.0078,39.1113],[102.4805,39.2432],[101.8652,39.1113],[102.041,38.8916],[101.7773,38.6719],[101.3379,38.7598],[101.25,39.0234],[100.9863,38.9355],[100.8105,39.4189],[100.5469,39.4189],[100.0195,39.7705],[99.4922,39.8584],[100.1074,40.2539],[100.1953,40.6494],[99.9316,41.001],[99.2285,40.8691],[99.0527,40.6934],[98.9648,40.7813],[98.7891,40.6055],[98.5254,40.7373],[98.6133,40.6494],[98.3496,40.5615],[98.3496,40.9131],[97.4707,41.4844],[97.8223,41.6162],[97.8223,41.748],[97.207,42.8027]]]}},{type:"Feature",id:"qing_hai",properties:{name:"\u9752\u6D77",cp:[96.2402,35.4199],childNum:8},geometry:{type:"Polygon",coordinates:[[[89.7363,36.0791],[89.9121,36.0791],[90,36.2549],[90.8789,36.0352],[91.0547,36.0791],[91.0547,36.5186],[90.791,36.6064],[90.7031,36.7822],[91.3184,37.0898],[91.0547,37.4414],[90.5273,37.8369],[90.6152,38.3203],[90.3516,38.2324],[90.1758,38.4961],[92.373,39.0234],[92.373,39.1113],[93.1641,39.1992],[93.1641,38.9795],[93.6914,38.9355],[93.8672,38.7158],[94.3066,38.7598],[94.5703,38.3643],[95.0098,38.4082],[95.4492,38.2764],[95.7129,38.3643],[96.2402,38.1006],[96.416,38.2324],[96.6797,38.1885],[96.6797,38.4521],[97.1191,38.584],[97.0313,39.1992],[98.1738,38.8037],[98.3496,39.0234],[98.6133,38.9355],[98.7891,39.0674],[99.1406,38.9355],[99.8438,38.3643],[100.1953,38.2764],[100.0195,38.4521],[100.1074,38.4961],[100.459,38.2764],[100.7227,38.2324],[101.1621,37.8369],[101.5137,37.8809],[101.7773,37.6172],[101.9531,37.7051],[102.1289,37.4414],[102.5684,37.1777],[102.4805,36.958],[102.6563,36.8262],[102.5684,36.7383],[102.832,36.3428],[103.0078,36.2549],[102.9199,36.0791],[102.9199,35.9033],[102.6563,35.7715],[102.832,35.5957],[102.4805,35.5957],[102.3047,35.4199],[102.3926,35.2002],[101.9531,34.8486],[101.9531,34.6289],[102.2168,34.4092],[102.1289,34.2773],[101.6895,34.1016],[100.9863,34.3652],[100.8105,34.2773],[101.25,33.6621],[101.5137,33.7061],[101.6016,33.5303],[101.7773,33.5303],[101.6895,33.3105],[101.7773,33.2227],[101.6016,33.1348],[101.1621,33.2227],[101.25,32.6953],[100.7227,32.6514],[100.7227,32.5195],[100.3711,32.7393],[100.1074,32.6514],[100.1074,32.8711],[99.8438,33.0029],[99.7559,32.7393],[99.2285,32.915],[99.2285,33.0469],[98.877,33.1787],[98.4375,34.0576],[97.8223,34.1895],[97.6465,34.1016],[97.7344,33.9258],[97.3828,33.8818],[97.4707,33.5742],[97.7344,33.3984],[97.3828,32.8711],[97.4707,32.6953],[97.7344,32.5195],[97.3828,32.5635],[97.2949,32.0801],[96.7676,31.9922],[96.8555,31.6846],[96.5039,31.7285],[96.2402,31.9482],[96.1523,31.5967],[95.9766,31.8164],[95.8008,31.6846],[95.4492,31.8164],[95.3613,31.9922],[95.3613,32.168],[95.2734,32.2119],[95.1855,32.3438],[95.0098,32.2998],[95.1855,32.4316],[94.6582,32.6074],[94.1309,32.4316],[93.7793,32.5635],[93.5156,32.4756],[92.9883,32.7393],[92.2852,32.7393],[92.1973,32.8271],[91.9336,32.8271],[91.4063,33.1348],[90.7031,33.1348],[90.0879,33.4863],[89.6484,34.0137],[89.8242,34.3652],[89.7363,34.6729],[89.8242,34.8486],[89.5605,34.8926],[89.4727,35.2441],[89.4727,35.376],[89.7363,35.4199],[89.7363,35.7715],[89.4727,35.9033],[89.3848,36.0352],[89.7363,36.0791]]]}},{type:"Feature",id:"si_chuan",properties:{name:"\u56DB\u5DDD",cp:[102.9199,30.1904],childNum:21},geometry:{type:"Polygon",coordinates:[[[101.7773,33.5303],[101.8652,33.5742],[101.9531,33.4424],[101.8652,33.0908],[102.4805,33.4424],[102.2168,33.9258],[102.9199,34.3213],[103.0957,34.1895],[103.1836,33.7939],[104.1504,33.6182],[104.2383,33.3984],[104.4141,33.3105],[104.3262,33.2227],[104.4141,33.0469],[104.3262,32.8711],[104.4141,32.7393],[105.2051,32.6074],[105.3809,32.7393],[105.3809,32.8711],[105.4688,32.915],[105.5566,32.7393],[106.084,32.8711],[106.084,32.7393],[106.3477,32.6514],[107.0508,32.6953],[107.1387,32.4756],[107.2266,32.4316],[107.4023,32.5195],[108.0176,32.168],[108.2813,32.2559],[108.5449,32.2119],[108.3691,32.168],[108.2813,31.9043],[108.5449,31.6846],[108.1934,31.5088],[107.9297,30.8496],[107.4902,30.8496],[107.4023,30.7617],[107.4902,30.6299],[107.0508,30.0146],[106.7871,30.0146],[106.6113,30.3223],[106.2598,30.1904],[105.8203,30.4541],[105.6445,30.2783],[105.5566,30.1025],[105.7324,29.8828],[105.293,29.5313],[105.4688,29.3115],[105.7324,29.2676],[105.8203,28.96],[106.2598,28.8721],[106.3477,28.5205],[105.9961,28.7402],[105.6445,28.4326],[105.9082,28.125],[106.1719,28.125],[106.3477,27.8174],[105.6445,27.6416],[105.5566,27.7734],[105.293,27.7295],[105.2051,27.9932],[105.0293,28.0811],[104.8535,27.9053],[104.4141,27.9492],[104.3262,28.0371],[104.4141,28.125],[104.4141,28.2568],[104.2383,28.4326],[104.4141,28.6084],[103.8867,28.6523],[103.7988,28.3008],[103.4473,28.125],[103.4473,27.7734],[102.9199,27.29],[103.0078,26.3672],[102.6563,26.1914],[102.5684,26.3672],[102.1289,26.1035],[101.8652,26.0596],[101.6016,26.2354],[101.6895,26.3672],[101.4258,26.5869],[101.4258,26.8066],[101.4258,26.7188],[101.1621,27.0264],[101.1621,27.1582],[100.7227,27.8613],[100.3711,27.8174],[100.2832,27.7295],[100.0195,28.125],[100.1953,28.3447],[99.668,28.8281],[99.4043,28.5205],[99.4043,28.1689],[99.2285,28.3008],[99.1406,29.2676],[98.9648,30.7617],[98.6133,31.2012],[98.877,31.4209],[98.4375,31.8604],[98.1738,32.3438],[97.7344,32.5195],[97.4707,32.6953],[97.3828,32.8711],[97.7344,33.3984],[97.4707,33.5742],[97.3828,33.8818],[97.7344,33.9258],[97.6465,34.1016],[97.8223,34.1895],[98.4375,34.0576],[98.877,33.1787],[99.2285,33.0469],[99.2285,32.915],[99.7559,32.7393],[99.8438,33.0029],[100.1074,32.8711],[100.1074,32.6514],[100.3711,32.7393],[100.7227,32.5195],[100.7227,32.6514],[101.25,32.6953],[101.1621,33.2227],[101.6016,33.1348],[101.7773,33.2227],[101.6895,33.3105],[101.7773,33.5303]]]}},{type:"Feature",id:"hei_long_jiang",properties:{name:"\u9ED1\u9F99\u6C5F",cp:[128.1445,48.5156],childNum:13},geometry:{type:"Polygon",coordinates:[[[121.4648,53.3496],[123.6621,53.5693],[124.8926,53.0859],[125.0684,53.2178],[125.5957,53.0859],[125.6836,52.9102],[126.123,52.7783],[126.0352,52.6025],[126.2109,52.5146],[126.3867,52.2949],[126.3867,52.207],[126.5625,52.1631],[126.4746,51.9434],[126.9141,51.3721],[126.8262,51.2842],[127.002,51.3281],[126.9141,51.1084],[127.2656,50.7568],[127.3535,50.2734],[127.6172,50.2295],[127.5293,49.8779],[127.793,49.6143],[128.7598,49.5703],[129.1113,49.3506],[129.4629,49.4385],[130.2539,48.8672],[130.6934,48.8672],[130.5176,48.6475],[130.8691,48.2959],[130.6934,48.1201],[131.0449,47.6807],[132.5391,47.7246],[132.627,47.9443],[133.0664,48.1201],[133.5059,48.1201],[134.209,48.3838],[135.0879,48.4277],[134.7363,48.252],[134.5605,47.9883],[134.7363,47.6807],[134.5605,47.4609],[134.3848,47.4609],[134.209,47.2852],[134.209,47.1533],[133.8574,46.5381],[133.9453,46.2744],[133.5059,45.835],[133.418,45.5713],[133.2422,45.5273],[133.0664,45.1318],[132.8906,45.0439],[131.9238,45.3516],[131.5723,45.0439],[131.0449,44.8682],[131.3086,44.0771],[131.2207,43.7256],[131.3086,43.4619],[130.8691,43.418],[130.5176,43.6377],[130.3418,43.9893],[129.9902,43.8574],[129.9023,44.0332],[129.8145,43.9014],[129.2871,43.8135],[129.1992,43.5938],[128.8477,43.5498],[128.4961,44.165],[128.4082,44.4727],[128.0566,44.3408],[128.0566,44.1211],[127.7051,44.1211],[127.5293,44.6045],[127.0898,44.6045],[127.002,44.7803],[127.0898,45],[126.9141,45.1318],[126.5625,45.2637],[126.0352,45.1758],[125.7715,45.3076],[125.6836,45.5273],[125.0684,45.3955],[124.8926,45.5273],[124.3652,45.4395],[124.0137,45.7471],[123.9258,46.2305],[123.2227,46.2305],[123.0469,46.582],[123.5742,46.6699],[123.5742,46.8896],[123.5742,46.8457],[123.4863,46.9775],[123.3984,46.9775],[123.3984,46.8896],[123.0469,46.7139],[122.4316,47.373],[124.2773,48.5156],[124.4531,48.1201],[124.8047,49.1309],[125.2441,49.1748],[125.1563,49.834],[125.332,50.1416],[125.7715,50.5371],[125.7715,50.7568],[126.0352,51.0205],[125.332,51.6357],[125.0684,51.6357],[124.8926,51.3721],[124.541,51.3721],[124.3652,51.2842],[123.6621,51.3721],[123.3105,51.2402],[122.959,51.3281],[122.6074,52.0752],[122.6953,52.251],[122.168,52.5146],[121.9922,52.2949],[121.7285,52.2949],[121.6406,52.4268],[121.2012,52.5586],[121.8164,53.042],[121.4648,53.3496]]]}},{type:"Feature",id:"gan_su",properties:{name:"\u7518\u8083",cp:[95.7129,40.166],childNum:14},geometry:{type:"Polygon",coordinates:[[[96.416,42.7148],[97.207,42.8027],[97.8223,41.748],[97.8223,41.6162],[97.4707,41.4844],[98.3496,40.9131],[98.3496,40.5615],[98.6133,40.6494],[98.5254,40.7373],[98.7891,40.6055],[98.9648,40.7813],[99.0527,40.6934],[99.2285,40.8691],[99.9316,41.001],[100.1953,40.6494],[100.1074,40.2539],[99.4922,39.8584],[100.0195,39.7705],[100.5469,39.4189],[100.8105,39.4189],[100.9863,38.9355],[101.25,39.0234],[101.3379,38.7598],[101.7773,38.6719],[102.041,38.8916],[101.8652,39.1113],[102.4805,39.2432],[103.0078,39.1113],[103.3594,39.3311],[104.0625,39.4189],[104.2383,38.9795],[103.4473,38.3643],[103.5352,38.1445],[103.3594,38.0127],[103.4473,37.8369],[104.3262,37.4414],[104.5898,37.4414],[104.5898,37.2217],[104.8535,37.2217],[105.293,36.8262],[105.2051,36.6943],[105.4688,36.123],[105.293,35.9912],[105.3809,35.7715],[105.7324,35.7275],[105.8203,35.5518],[105.9961,35.4639],[105.9082,35.4199],[105.9961,35.4199],[106.084,35.376],[106.2598,35.4199],[106.3477,35.2441],[106.5234,35.332],[106.4355,35.6836],[106.6992,35.6836],[106.9629,35.8154],[106.875,36.123],[106.5234,36.2549],[106.5234,36.4746],[106.4355,36.5625],[106.6113,36.7822],[106.6113,37.0898],[107.3145,37.0898],[107.3145,36.9141],[108.7207,36.3428],[108.6328,35.9912],[108.5449,35.8594],[108.6328,35.5518],[108.5449,35.2881],[107.7539,35.2881],[107.7539,35.1123],[107.8418,35.0244],[107.666,34.9365],[107.2266,34.8926],[106.9629,35.0684],[106.6113,35.0684],[106.5234,34.7607],[106.3477,34.585],[106.6992,34.3213],[106.5234,34.2773],[106.6113,34.1455],[106.4355,33.9258],[106.5234,33.5303],[105.9961,33.6182],[105.7324,33.3984],[105.9961,33.1787],[105.9082,33.0029],[105.4688,32.915],[105.3809,32.8711],[105.3809,32.7393],[105.2051,32.6074],[104.4141,32.7393],[104.3262,32.8711],[104.4141,33.0469],[104.3262,33.2227],[104.4141,33.3105],[104.2383,33.3984],[104.1504,33.6182],[103.1836,33.7939],[103.0957,34.1895],[102.9199,34.3213],[102.2168,33.9258],[102.4805,33.4424],[101.8652,33.0908],[101.9531,33.4424],[101.8652,33.5742],[101.7773,33.5303],[101.6016,33.5303],[101.5137,33.7061],[101.25,33.6621],[100.8105,34.2773],[100.9863,34.3652],[101.6895,34.1016],[102.1289,34.2773],[102.2168,34.4092],[101.9531,34.6289],[101.9531,34.8486],[102.3926,35.2002],[102.3047,35.4199],[102.4805,35.5957],[102.832,35.5957],[102.6563,35.7715],[102.9199,35.9033],[102.9199,36.0791],[103.0078,36.2549],[102.832,36.3428],[102.5684,36.7383],[102.6563,36.8262],[102.4805,36.958],[102.5684,37.1777],[102.1289,37.4414],[101.9531,37.7051],[101.7773,37.6172],[101.5137,37.8809],[101.1621,37.8369],[100.7227,38.2324],[100.459,38.2764],[100.1074,38.4961],[100.0195,38.4521],[100.1953,38.2764],[99.8438,38.3643],[99.1406,38.9355],[98.7891,39.0674],[98.6133,38.9355],[98.3496,39.0234],[98.1738,38.8037],[97.0313,39.1992],[97.1191,38.584],[96.6797,38.4521],[96.6797,38.1885],[96.416,38.2324],[96.2402,38.1006],[95.7129,38.3643],[95.4492,38.2764],[95.0098,38.4082],[94.5703,38.3643],[94.3066,38.7598],[93.8672,38.7158],[93.6914,38.9355],[93.1641,38.9795],[93.1641,39.1992],[92.373,39.1113],[92.373,39.3311],[92.6367,39.6387],[93.0762,40.6494],[93.8672,40.6934],[94.043,41.0889],[94.5703,41.4844],[95.1855,41.792],[95.2734,41.6162],[95.9766,41.9238],[96.2402,42.2314],[96.0645,42.3193],[95.9766,42.4951],[96.416,42.7148]]]}},{type:"Feature",id:"yun_nan",properties:{name:"\u4E91\u5357",cp:[101.8652,25.1807],childNum:16},geometry:{type:"Polygon",coordinates:[[[98.1738,28.125],[98.2617,28.3887],[98.3496,28.125],[98.7012,28.2129],[98.7891,28.3447],[98.6133,28.5205],[98.7012,28.916],[98.7891,29.0039],[98.7891,28.8721],[98.9648,28.8281],[98.9648,29.1357],[99.1406,29.2676],[99.2285,28.3008],[99.4043,28.1689],[99.4043,28.5205],[99.668,28.8281],[100.1953,28.3447],[100.0195,28.125],[100.2832,27.7295],[100.3711,27.8174],[100.7227,27.8613],[101.1621,27.1582],[101.1621,27.0264],[101.4258,26.7188],[101.4258,26.8066],[101.4258,26.5869],[101.6895,26.3672],[101.6016,26.2354],[101.8652,26.0596],[102.1289,26.1035],[102.5684,26.3672],[102.6563,26.1914],[103.0078,26.3672],[102.9199,27.29],[103.4473,27.7734],[103.4473,28.125],[103.7988,28.3008],[103.8867,28.6523],[104.4141,28.6084],[104.2383,28.4326],[104.4141,28.2568],[104.4141,28.125],[104.3262,28.0371],[104.4141,27.9492],[104.8535,27.9053],[105.0293,28.0811],[105.2051,27.9932],[105.293,27.7295],[105.2051,27.3779],[104.5898,27.334],[104.4141,27.4658],[104.1504,27.2461],[103.8867,27.4219],[103.623,27.0264],[103.7109,26.9824],[103.7109,26.7627],[103.8867,26.543],[104.4141,26.6748],[104.6777,26.4111],[104.3262,25.708],[104.8535,25.2246],[104.5898,25.0488],[104.6777,24.9609],[104.502,24.7412],[104.6777,24.3457],[104.7656,24.4775],[105.0293,24.4336],[105.2051,24.082],[105.4688,24.0381],[105.5566,24.126],[105.9961,24.126],[106.1719,23.8184],[106.1719,23.5547],[105.6445,23.4229],[105.5566,23.2031],[105.293,23.3789],[104.8535,23.1592],[104.7656,22.8516],[104.3262,22.6758],[104.1504,22.8076],[103.9746,22.5439],[103.623,22.7637],[103.5352,22.5879],[103.3594,22.8076],[103.0957,22.4561],[102.4805,22.7637],[102.3047,22.4121],[101.8652,22.3682],[101.7773,22.5],[101.6016,22.1924],[101.8652,21.6211],[101.7773,21.1377],[101.6016,21.2256],[101.25,21.1816],[101.1621,21.7529],[100.6348,21.4453],[100.1074,21.4893],[99.9316,22.0605],[99.2285,22.1484],[99.4043,22.5879],[99.3164,22.7197],[99.4922,23.0713],[98.877,23.2031],[98.7012,23.9502],[98.877,24.126],[98.1738,24.082],[97.7344,23.8623],[97.5586,23.9063],[97.7344,24.126],[97.6465,24.4336],[97.5586,24.4336],[97.5586,24.7412],[97.7344,24.8291],[97.8223,25.2686],[98.1738,25.4004],[98.1738,25.6201],[98.3496,25.5762],[98.5254,25.8398],[98.7012,25.8838],[98.6133,26.0596],[98.7012,26.1475],[98.7891,26.5869],[98.7012,27.5098],[98.5254,27.6416],[98.3496,27.5098],[98.1738,28.125]]]}},{type:"Feature",id:"guang_xi",properties:{name:"\u5E7F\u897F",cp:[108.2813,23.6426],childNum:14},geometry:{type:"Polygon",coordinates:[[[104.502,24.7412],[104.6777,24.6094],[105.2051,24.9609],[105.9961,24.6533],[106.1719,24.7852],[106.1719,24.9609],[106.875,25.1807],[107.0508,25.2686],[106.9629,25.4883],[107.2266,25.6201],[107.4902,25.2246],[107.7539,25.2246],[107.8418,25.1367],[108.1055,25.2246],[108.1934,25.4443],[108.3691,25.5322],[108.6328,25.3125],[108.6328,25.5762],[109.0723,25.5322],[108.9844,25.752],[109.3359,25.708],[109.5117,26.0156],[109.7754,25.8838],[109.9512,26.1914],[110.2148,25.9717],[110.5664,26.3232],[111.1816,26.3232],[111.2695,26.2354],[111.2695,25.8838],[111.4453,25.8398],[111.0059,25.0049],[111.0938,24.9609],[111.3574,25.1367],[111.5332,24.6533],[111.709,24.7852],[112.0605,24.7412],[111.8848,24.6533],[112.0605,24.3457],[111.8848,24.2139],[111.8848,23.9941],[111.7969,23.8184],[111.6211,23.8184],[111.6211,23.6865],[111.3574,23.4668],[111.4453,23.0273],[111.2695,22.8076],[110.7422,22.5439],[110.7422,22.2803],[110.6543,22.1484],[110.3027,22.1484],[110.3027,21.8848],[109.9512,21.8408],[109.8633,21.665],[109.7754,21.6211],[109.7754,21.4014],[109.5996,21.4453],[109.1602,21.3574],[109.248,20.874],[109.0723,20.9619],[109.0723,21.5332],[108.7207,21.5332],[108.6328,21.665],[108.2813,21.4893],[107.8418,21.6211],[107.4023,21.6211],[107.0508,21.7969],[107.0508,21.9287],[106.6992,22.0166],[106.6113,22.4121],[106.7871,22.7637],[106.6992,22.8955],[105.9082,22.9395],[105.5566,23.0713],[105.5566,23.2031],[105.6445,23.4229],[106.1719,23.5547],[106.1719,23.8184],[105.9961,24.126],[105.5566,24.126],[105.4688,24.0381],[105.2051,24.082],[105.0293,24.4336],[104.7656,24.4775],[104.6777,24.3457],[104.502,24.7412]]]}},{type:"Feature",id:"hu_nan",properties:{name:"\u6E56\u5357",cp:[111.5332,27.3779],childNum:14},geometry:{type:"Polygon",coordinates:[[[109.248,28.4766],[109.248,29.1357],[109.5117,29.6191],[109.6875,29.6191],[109.7754,29.751],[110.4785,29.6631],[110.6543,29.751],[110.4785,30.0146],[110.8301,30.1465],[111.7969,29.9268],[112.2363,29.5313],[112.5,29.6191],[112.6758,29.5752],[112.9395,29.7949],[113.0273,29.751],[112.9395,29.4873],[113.0273,29.4434],[113.5547,29.8389],[113.5547,29.707],[113.7305,29.5752],[113.6426,29.3115],[113.7305,29.0918],[113.9063,29.0479],[114.1699,28.8281],[114.082,28.5645],[114.2578,28.3447],[113.7305,27.9492],[113.6426,27.5977],[113.6426,27.3779],[113.8184,27.29],[113.7305,27.1143],[113.9063,26.9385],[113.9063,26.6309],[114.082,26.5869],[113.9941,26.1914],[114.2578,26.1475],[113.9941,26.0596],[113.9063,25.4443],[113.6426,25.3125],[113.2031,25.5322],[112.8516,25.3564],[113.0273,25.2246],[113.0273,24.9609],[112.8516,24.917],[112.5879,25.1367],[112.2363,25.1807],[112.1484,24.873],[112.0605,24.7412],[111.709,24.7852],[111.5332,24.6533],[111.3574,25.1367],[111.0938,24.9609],[111.0059,25.0049],[111.4453,25.8398],[111.2695,25.8838],[111.2695,26.2354],[111.1816,26.3232],[110.5664,26.3232],[110.2148,25.9717],[109.9512,26.1914],[109.7754,25.8838],[109.5117,26.0156],[109.4238,26.2793],[109.248,26.3232],[109.4238,26.5869],[109.3359,26.7188],[109.5117,26.8066],[109.5117,27.0264],[109.3359,27.1582],[108.8965,27.0264],[108.8086,27.1143],[109.4238,27.5977],[109.3359,27.9053],[109.3359,28.2568],[109.248,28.4766]]]}},{type:"Feature",id:"shan_xi_1",properties:{name:"\u9655\u897F",cp:[109.5996,35.6396],childNum:10},geometry:{type:"Polygon",coordinates:[[[105.4688,32.915],[105.9082,33.0029],[105.9961,33.1787],[105.7324,33.3984],[105.9961,33.6182],[106.5234,33.5303],[106.4355,33.9258],[106.6113,34.1455],[106.5234,34.2773],[106.6992,34.3213],[106.3477,34.585],[106.5234,34.7607],[106.6113,35.0684],[106.9629,35.0684],[107.2266,34.8926],[107.666,34.9365],[107.8418,35.0244],[107.7539,35.1123],[107.7539,35.2881],[108.5449,35.2881],[108.6328,35.5518],[108.5449,35.8594],[108.6328,35.9912],[108.7207,36.3428],[107.3145,36.9141],[107.3145,37.0898],[107.3145,37.6172],[107.666,37.8809],[108.1934,37.6172],[108.7207,37.7051],[108.8086,38.0127],[108.8965,37.9688],[109.0723,38.0127],[108.9844,38.3203],[109.9512,39.1553],[109.8633,39.2432],[110.2148,39.2871],[110.127,39.4629],[110.6543,39.2871],[111.0938,39.5947],[111.0938,39.375],[111.1816,39.2432],[110.918,38.7158],[110.8301,38.4961],[110.4785,38.1885],[110.4785,37.9688],[110.8301,37.6611],[110.3906,37.002],[110.4785,36.123],[110.5664,35.6396],[110.2148,34.8926],[110.2148,34.6729],[110.3906,34.585],[110.4785,34.2334],[110.6543,34.1455],[110.6543,33.8379],[111.0059,33.5303],[111.0059,33.2666],[110.7422,33.1348],[110.5664,33.2666],[110.3027,33.1787],[109.5996,33.2666],[109.4238,33.1348],[109.7754,33.0469],[109.7754,32.915],[110.127,32.7393],[110.127,32.6074],[109.6875,32.6074],[109.5117,32.4316],[109.5996,31.7285],[109.248,31.7285],[109.0723,31.9482],[108.5449,32.2119],[108.2813,32.2559],[108.0176,32.168],[107.4023,32.5195],[107.2266,32.4316],[107.1387,32.4756],[107.0508,32.6953],[106.3477,32.6514],[106.084,32.7393],[106.084,32.8711],[105.5566,32.7393],[105.4688,32.915]]]}},{type:"Feature",id:"guang_dong",properties:{name:"\u5E7F\u4E1C",cp:[113.4668,22.8076],childNum:21},geometry:{type:"Polygon",coordinates:[[[109.7754,21.4014],[109.7754,21.6211],[109.8633,21.665],[109.9512,21.8408],[110.3027,21.8848],[110.3027,22.1484],[110.6543,22.1484],[110.7422,22.2803],[110.7422,22.5439],[111.2695,22.8076],[111.4453,23.0273],[111.3574,23.4668],[111.6211,23.6865],[111.6211,23.8184],[111.7969,23.8184],[111.8848,23.9941],[111.8848,24.2139],[112.0605,24.3457],[111.8848,24.6533],[112.0605,24.7412],[112.1484,24.873],[112.2363,25.1807],[112.5879,25.1367],[112.8516,24.917],[113.0273,24.9609],[113.0273,25.2246],[112.8516,25.3564],[113.2031,25.5322],[113.6426,25.3125],[113.9063,25.4443],[113.9941,25.2686],[114.6094,25.4004],[114.7852,25.2686],[114.6973,25.1367],[114.4336,24.9609],[114.1699,24.6973],[114.4336,24.5215],[115.4004,24.7852],[115.8398,24.5654],[115.752,24.7852],[115.9277,24.917],[116.2793,24.7852],[116.3672,24.873],[116.543,24.6094],[116.7188,24.6533],[116.9824,24.1699],[116.9824,23.9063],[117.1582,23.5547],[117.334,23.2471],[116.8945,23.3789],[116.6309,23.1152],[116.543,22.8516],[115.9277,22.7197],[115.6641,22.7637],[115.5762,22.6318],[115.0488,22.6758],[114.6094,22.3682],[114.3457,22.5439],[113.9941,22.5],[113.8184,22.1924],[114.3457,22.1484],[114.4336,22.0166],[114.082,21.9287],[113.9941,21.7969],[113.5547,22.0166],[113.1152,21.8408],[112.9395,21.5771],[112.4121,21.4453],[112.2363,21.5332],[111.5332,21.4893],[111.2695,21.3574],[110.7422,21.3574],[110.6543,21.2256],[110.7422,20.918],[110.4785,20.874],[110.6543,20.2588],[110.5664,20.2588],[110.3906,20.127],[110.0391,20.127],[109.8633,20.127],[109.8633,20.3027],[109.5996,20.918],[109.7754,21.4014],[109.7754,21.4014]],[[113.5986,22.1649],[113.6096,22.1265],[113.5547,22.11],[113.5437,22.2034],[113.5767,22.2034],[113.5986,22.1649]]]}},{type:"Feature",id:"ji_lin",properties:{name:"\u5409\u6797",cp:[126.4746,43.5938],childNum:9},geometry:{type:"Polygon",coordinates:[[[123.2227,46.2305],[123.9258,46.2305],[124.0137,45.7471],[124.3652,45.4395],[124.8926,45.5273],[125.0684,45.3955],[125.6836,45.5273],[125.7715,45.3076],[126.0352,45.1758],[126.5625,45.2637],[126.9141,45.1318],[127.0898,45],[127.002,44.7803],[127.0898,44.6045],[127.5293,44.6045],[127.7051,44.1211],[128.0566,44.1211],[128.0566,44.3408],[128.4082,44.4727],[128.4961,44.165],[128.8477,43.5498],[129.1992,43.5938],[129.2871,43.8135],[129.8145,43.9014],[129.9023,44.0332],[129.9902,43.8574],[130.3418,43.9893],[130.5176,43.6377],[130.8691,43.418],[131.3086,43.4619],[131.3086,43.3301],[131.1328,42.9346],[130.4297,42.7148],[130.6055,42.6709],[130.6055,42.4512],[130.2539,42.7588],[130.2539,42.8906],[130.166,42.9785],[129.9023,43.0225],[129.7266,42.4951],[129.375,42.4512],[128.9355,42.0117],[128.0566,42.0117],[128.3203,41.5723],[128.1445,41.3525],[127.0898,41.5283],[127.1777,41.5723],[126.9141,41.792],[126.6504,41.6602],[126.4746,41.3965],[126.123,40.957],[125.6836,40.8691],[125.5957,40.9131],[125.7715,41.2207],[125.332,41.6602],[125.332,41.9678],[125.4199,42.0996],[125.332,42.1436],[124.8926,42.8027],[124.8926,43.0664],[124.7168,43.0664],[124.4531,42.8467],[124.2773,43.2422],[123.8379,43.4619],[123.6621,43.374],[123.3105,43.5059],[123.4863,43.7256],[123.1348,44.4727],[122.3438,44.2529],[122.0801,44.8682],[122.2559,45.2637],[121.9043,45.7031],[121.7285,45.7471],[121.8164,46.0107],[122.2559,45.791],[122.4316,45.8789],[122.6953,45.7031],[122.7832,46.0107],[123.2227,46.2305]]]}},{type:"Feature",id:"he_bei",properties:{name:"\u6CB3\u5317",cp:[115.4004,37.9688],childNum:11},geometry:{type:"MultiPolygon",coordinates:[[[[114.5215,39.5068],[114.3457,39.8584],[113.9941,39.9902],[114.5215,40.3418],[114.3457,40.3857],[114.2578,40.6055],[114.082,40.7373],[113.9063,41.1328],[113.9941,41.2207],[113.9063,41.4404],[114.2578,41.5723],[114.1699,41.792],[114.5215,42.1436],[114.873,42.0996],[114.9609,41.6162],[115.2246,41.5723],[115.9277,41.9238],[116.0156,41.792],[116.2793,42.0117],[116.8066,42.0117],[116.8945,42.4072],[117.334,42.4512],[117.5098,42.583],[117.7734,42.627],[118.0371,42.4072],[117.9492,42.2314],[118.125,42.0557],[118.3008,42.0996],[118.3008,41.792],[118.125,41.748],[118.3887,41.3086],[119.2676,41.3086],[118.8281,40.8252],[119.2676,40.5176],[119.5313,40.5615],[119.707,40.1221],[119.8828,39.9463],[119.5313,39.6826],[119.4434,39.4189],[118.916,39.0674],[118.4766,38.9355],[118.125,39.0234],[118.0371,39.1992],[118.0371,39.2432],[117.8613,39.4189],[117.9492,39.5947],[117.6855,39.5947],[117.5098,39.7705],[117.5098,39.9902],[117.6855,39.9902],[117.6855,40.0781],[117.4219,40.21],[117.2461,40.5176],[117.4219,40.6494],[116.9824,40.6934],[116.6309,41.0449],[116.3672,40.9131],[116.4551,40.7813],[116.1914,40.7813],[116.1035,40.6055],[115.752,40.5615],[115.9277,40.2539],[115.4004,39.9463],[115.4883,39.6387],[115.752,39.5068],[116.1914,39.5947],[116.3672,39.4629],[116.543,39.5947],[116.8066,39.5947],[116.8945,39.1113],[116.7188,38.9355],[116.7188,38.8037],[117.2461,38.54],[117.5977,38.6279],[117.9492,38.3203],[117.4219,37.8369],[116.8066,37.8369],[116.4551,37.4854],[116.2793,37.5732],[116.2793,37.3535],[116.0156,37.3535],[115.752,36.9141],[115.3125,36.5186],[115.4883,36.167],[115.3125,36.0791],[115.1367,36.2109],[114.9609,36.0791],[114.873,36.123],[113.7305,36.3428],[113.4668,36.6504],[113.7305,36.8701],[113.7305,37.1338],[114.1699,37.6611],[113.9941,37.7051],[113.8184,38.1445],[113.5547,38.2764],[113.5547,38.54],[113.8184,38.8037],[113.8184,38.9355],[113.9063,39.0234],[114.3457,39.0674],[114.5215,39.5068]]],[[[117.2461,40.0781],[117.1582,39.8145],[117.1582,39.6387],[116.8945,39.6826],[116.8945,39.8145],[116.8066,39.9902],[117.2461,40.0781]]]]}},{type:"Feature",id:"hu_bei",properties:{name:"\u6E56\u5317",cp:[112.2363,31.1572],childNum:17},geometry:{type:"Polygon",coordinates:[[[110.2148,31.1572],[110.127,31.377],[109.6875,31.5527],[109.7754,31.6846],[109.5996,31.7285],[109.5117,32.4316],[109.6875,32.6074],[110.127,32.6074],[110.127,32.7393],[109.7754,32.915],[109.7754,33.0469],[109.4238,33.1348],[109.5996,33.2666],[110.3027,33.1787],[110.5664,33.2666],[110.7422,33.1348],[111.0059,33.2666],[111.5332,32.6074],[112.3242,32.3438],[113.2031,32.4316],[113.4668,32.2998],[113.7305,32.4316],[113.8184,31.8604],[113.9941,31.7725],[114.1699,31.8604],[114.5215,31.7725],[114.6094,31.5527],[114.7852,31.4648],[115.1367,31.5967],[115.2246,31.4209],[115.4004,31.4209],[115.5762,31.2012],[116.0156,31.0254],[115.752,30.6738],[116.1035,30.1904],[116.1035,29.8389],[115.9277,29.707],[115.4883,29.7949],[114.873,29.3994],[114.2578,29.3555],[113.9063,29.0479],[113.7305,29.0918],[113.6426,29.3115],[113.7305,29.5752],[113.5547,29.707],[113.5547,29.8389],[113.0273,29.4434],[112.9395,29.4873],[113.0273,29.751],[112.9395,29.7949],[112.6758,29.5752],[112.5,29.6191],[112.2363,29.5313],[111.7969,29.9268],[110.8301,30.1465],[110.4785,30.0146],[110.6543,29.751],[110.4785,29.6631],[109.7754,29.751],[109.6875,29.6191],[109.5117,29.6191],[109.248,29.1357],[109.0723,29.3555],[108.9844,29.3115],[108.6328,29.8389],[108.457,29.7949],[108.5449,30.2344],[108.457,30.4102],[108.6328,30.5859],[108.8086,30.498],[109.0723,30.6299],[109.1602,30.542],[109.248,30.6299],[109.4238,30.542],[109.8633,30.8936],[110.0391,30.8057],[110.2148,31.1572]]]}},{type:"Feature",id:"gui_zhou",properties:{name:"\u8D35\u5DDE",cp:[106.6113,26.9385],childNum:9},geometry:{type:"Polygon",coordinates:[[[104.1504,27.2461],[104.4141,27.4658],[104.5898,27.334],[105.2051,27.3779],[105.293,27.7295],[105.5566,27.7734],[105.6445,27.6416],[106.3477,27.8174],[106.1719,28.125],[105.9082,28.125],[105.6445,28.4326],[105.9961,28.7402],[106.3477,28.5205],[106.5234,28.5645],[106.4355,28.7842],[106.5234,28.7842],[106.6113,28.6523],[106.6113,28.5205],[106.6992,28.4766],[106.875,28.7842],[107.4023,28.8721],[107.4023,29.1797],[107.5781,29.2236],[107.8418,29.1357],[107.8418,29.0039],[108.2813,29.0918],[108.3691,28.6523],[108.5449,28.6523],[108.5449,28.3887],[108.7207,28.4766],[108.7207,28.2129],[109.0723,28.2129],[109.248,28.4766],[109.3359,28.2568],[109.3359,27.9053],[109.4238,27.5977],[108.8086,27.1143],[108.8965,27.0264],[109.3359,27.1582],[109.5117,27.0264],[109.5117,26.8066],[109.3359,26.7188],[109.4238,26.5869],[109.248,26.3232],[109.4238,26.2793],[109.5117,26.0156],[109.3359,25.708],[108.9844,25.752],[109.0723,25.5322],[108.6328,25.5762],[108.6328,25.3125],[108.3691,25.5322],[108.1934,25.4443],[108.1055,25.2246],[107.8418,25.1367],[107.7539,25.2246],[107.4902,25.2246],[107.2266,25.6201],[106.9629,25.4883],[107.0508,25.2686],[106.875,25.1807],[106.1719,24.9609],[106.1719,24.7852],[105.9961,24.6533],[105.2051,24.9609],[104.6777,24.6094],[104.502,24.7412],[104.6777,24.9609],[104.5898,25.0488],[104.8535,25.2246],[104.3262,25.708],[104.6777,26.4111],[104.4141,26.6748],[103.8867,26.543],[103.7109,26.7627],[103.7109,26.9824],[103.623,27.0264],[103.8867,27.4219],[104.1504,27.2461]]]}},{type:"Feature",id:"shan_dong",properties:{name:"\u5C71\u4E1C",cp:[118.7402,36.4307],childNum:17},geometry:{type:"Polygon",coordinates:[[[115.4883,36.167],[115.3125,36.5186],[115.752,36.9141],[116.0156,37.3535],[116.2793,37.3535],[116.2793,37.5732],[116.4551,37.4854],[116.8066,37.8369],[117.4219,37.8369],[117.9492,38.3203],[118.125,38.1445],[118.916,38.1445],[119.3555,37.6611],[119.0039,37.5293],[119.0039,37.3535],[119.3555,37.1338],[119.707,37.1338],[119.8828,37.3975],[120.498,37.8369],[120.5859,38.1445],[120.9375,38.4521],[121.0254,37.8369],[121.2012,37.6611],[121.9043,37.4854],[122.168,37.6172],[122.2559,37.4854],[122.6074,37.4854],[122.6953,37.3535],[122.6074,36.9141],[122.4316,36.7822],[121.8164,36.8701],[121.7285,36.6943],[121.1133,36.6064],[121.1133,36.4307],[121.377,36.2549],[120.7617,36.167],[120.9375,35.8594],[120.6738,36.0352],[119.707,35.4639],[119.9707,34.9805],[119.3555,35.0244],[119.2676,35.1123],[118.916,35.0244],[118.7402,34.7168],[118.4766,34.6729],[118.3887,34.4092],[118.2129,34.4092],[118.125,34.6289],[117.9492,34.6729],[117.5977,34.4531],[117.334,34.585],[117.2461,34.4531],[116.8066,34.9365],[116.4551,34.8926],[116.3672,34.6289],[116.1914,34.585],[115.5762,34.585],[115.4004,34.8486],[114.7852,35.0684],[115.0488,35.376],[115.2246,35.4199],[115.4883,35.7275],[116.1035,36.0791],[115.3125,35.8154],[115.4883,36.167]]]}},{type:"Feature",id:"jiang_xi",properties:{name:"\u6C5F\u897F",cp:[116.0156,27.29],childNum:11},geometry:{type:"Polygon",coordinates:[[[114.2578,28.3447],[114.082,28.5645],[114.1699,28.8281],[113.9063,29.0479],[114.2578,29.3555],[114.873,29.3994],[115.4883,29.7949],[115.9277,29.707],[116.1035,29.8389],[116.2793,29.7949],[116.7188,30.0586],[116.8945,29.9268],[116.7188,29.751],[116.7188,29.6191],[117.1582,29.707],[117.0703,29.8389],[117.1582,29.9268],[117.5098,29.6191],[118.0371,29.5752],[118.2129,29.3994],[118.0371,29.1797],[118.0371,29.0479],[118.3887,28.7842],[118.4766,28.3447],[118.4766,28.3008],[118.3008,28.0811],[117.7734,27.8174],[117.5098,27.9932],[116.9824,27.6416],[117.1582,27.29],[117.0703,27.1143],[116.543,26.8066],[116.6309,26.4551],[116.3672,26.2354],[116.4551,26.1035],[116.1914,25.8838],[116.0156,25.2686],[115.8398,25.2246],[115.9277,24.917],[115.752,24.7852],[115.8398,24.5654],[115.4004,24.7852],[114.4336,24.5215],[114.1699,24.6973],[114.4336,24.9609],[114.6973,25.1367],[114.7852,25.2686],[114.6094,25.4004],[113.9941,25.2686],[113.9063,25.4443],[113.9941,26.0596],[114.2578,26.1475],[113.9941,26.1914],[114.082,26.5869],[113.9063,26.6309],[113.9063,26.9385],[113.7305,27.1143],[113.8184,27.29],[113.6426,27.3779],[113.6426,27.5977],[113.7305,27.9492],[114.2578,28.3447]]]}},{type:"Feature",id:"he_nan",properties:{name:"\u6CB3\u5357",cp:[113.4668,33.8818],childNum:17},geometry:{type:"Polygon",coordinates:[[[110.3906,34.585],[110.8301,34.6289],[111.1816,34.8047],[111.5332,34.8486],[111.7969,35.0684],[112.0605,35.0684],[112.0605,35.2881],[112.7637,35.2002],[113.1152,35.332],[113.6426,35.6836],[113.7305,36.3428],[114.873,36.123],[114.9609,36.0791],[115.1367,36.2109],[115.3125,36.0791],[115.4883,36.167],[115.3125,35.8154],[116.1035,36.0791],[115.4883,35.7275],[115.2246,35.4199],[115.0488,35.376],[114.7852,35.0684],[115.4004,34.8486],[115.5762,34.585],[116.1914,34.585],[116.1914,34.4092],[116.543,34.2773],[116.6309,33.9258],[116.1914,33.7061],[116.0156,33.9697],[115.6641,34.0576],[115.5762,33.9258],[115.5762,33.6621],[115.4004,33.5303],[115.3125,33.1787],[114.873,33.1348],[114.873,33.0029],[115.1367,32.8711],[115.2246,32.6074],[115.5762,32.4316],[115.8398,32.5195],[115.9277,31.7725],[115.4883,31.6846],[115.4004,31.4209],[115.2246,31.4209],[115.1367,31.5967],[114.7852,31.4648],[114.6094,31.5527],[114.5215,31.7725],[114.1699,31.8604],[113.9941,31.7725],[113.8184,31.8604],[113.7305,32.4316],[113.4668,32.2998],[113.2031,32.4316],[112.3242,32.3438],[111.5332,32.6074],[111.0059,33.2666],[111.0059,33.5303],[110.6543,33.8379],[110.6543,34.1455],[110.4785,34.2334],[110.3906,34.585]]]}},{type:"Feature",id:"liao_ning",properties:{name:"\u8FBD\u5B81",cp:[122.3438,41.0889],childNum:14},geometry:{type:"Polygon",coordinates:[[[119.2676,41.3086],[119.4434,41.6162],[119.2676,41.7041],[119.3555,42.2754],[119.5313,42.3633],[119.8828,42.1875],[120.1465,41.7041],[120.498,42.0996],[121.4648,42.4951],[121.7285,42.4512],[121.9922,42.7148],[122.3438,42.6709],[122.3438,42.8467],[122.7832,42.7148],[123.1348,42.8027],[123.3105,42.9785],[123.5742,43.0225],[123.6621,43.374],[123.8379,43.4619],[124.2773,43.2422],[124.4531,42.8467],[124.7168,43.0664],[124.8926,43.0664],[124.8926,42.8027],[125.332,42.1436],[125.4199,42.0996],[125.332,41.9678],[125.332,41.6602],[125.7715,41.2207],[125.5957,40.9131],[125.6836,40.8691],[124.541,40.21],[124.1016,39.6826],[123.3984,39.6826],[123.1348,39.4189],[123.1348,39.0234],[122.0801,39.0234],[121.5527,38.7158],[121.1133,38.6719],[120.9375,38.9795],[121.377,39.1992],[121.2012,39.5508],[122.0801,40.3857],[121.9922,40.6934],[121.7285,40.8252],[121.2012,40.8252],[120.5859,40.21],[119.8828,39.9463],[119.707,40.1221],[119.5313,40.5615],[119.2676,40.5176],[118.8281,40.8252],[119.2676,41.3086]]]}},{type:"Feature",id:"shan_xi_2",properties:{name:"\u5C71\u897F",cp:[112.4121,37.6611],childNum:11},geometry:{type:"Polygon",coordinates:[[[110.918,38.7158],[111.1816,39.2432],[111.0938,39.375],[111.3574,39.4189],[111.4453,39.6387],[111.9727,39.5947],[112.3242,40.2539],[112.7637,40.166],[113.2031,40.3857],[113.5547,40.3418],[113.8184,40.5176],[114.082,40.5176],[114.082,40.7373],[114.2578,40.6055],[114.3457,40.3857],[114.5215,40.3418],[113.9941,39.9902],[114.3457,39.8584],[114.5215,39.5068],[114.3457,39.0674],[113.9063,39.0234],[113.8184,38.9355],[113.8184,38.8037],[113.5547,38.54],[113.5547,38.2764],[113.8184,38.1445],[113.9941,37.7051],[114.1699,37.6611],[113.7305,37.1338],[113.7305,36.8701],[113.4668,36.6504],[113.7305,36.3428],[113.6426,35.6836],[113.1152,35.332],[112.7637,35.2002],[112.0605,35.2881],[112.0605,35.0684],[111.7969,35.0684],[111.5332,34.8486],[111.1816,34.8047],[110.8301,34.6289],[110.3906,34.585],[110.2148,34.6729],[110.2148,34.8926],[110.5664,35.6396],[110.4785,36.123],[110.3906,37.002],[110.8301,37.6611],[110.4785,37.9688],[110.4785,38.1885],[110.8301,38.4961],[110.918,38.7158]]]}},{type:"Feature",id:"an_hui",properties:{name:"\u5B89\u5FBD",cp:[117.2461,32.0361],childNum:17},geometry:{type:"Polygon",coordinates:[[[116.6309,33.9258],[116.543,34.2773],[116.1914,34.4092],[116.1914,34.585],[116.3672,34.6289],[116.8945,34.4092],[117.1582,34.0576],[117.5977,34.0137],[117.7734,33.7061],[118.125,33.75],[117.9492,33.2227],[118.0371,33.1348],[118.2129,33.2227],[118.3008,32.7832],[118.7402,32.7393],[118.916,32.959],[119.1797,32.8271],[119.1797,32.4756],[118.5645,32.5635],[118.6523,32.2119],[118.4766,32.168],[118.3887,31.9482],[118.916,31.5527],[118.7402,31.377],[118.8281,31.2451],[119.3555,31.2891],[119.4434,31.1572],[119.6191,31.1133],[119.6191,31.0693],[119.4434,30.6738],[119.2676,30.6299],[119.3555,30.4102],[118.916,30.3223],[118.916,29.9707],[118.7402,29.707],[118.2129,29.3994],[118.0371,29.5752],[117.5098,29.6191],[117.1582,29.9268],[117.0703,29.8389],[117.1582,29.707],[116.7188,29.6191],[116.7188,29.751],[116.8945,29.9268],[116.7188,30.0586],[116.2793,29.7949],[116.1035,29.8389],[116.1035,30.1904],[115.752,30.6738],[116.0156,31.0254],[115.5762,31.2012],[115.4004,31.4209],[115.4883,31.6846],[115.9277,31.7725],[115.8398,32.5195],[115.5762,32.4316],[115.2246,32.6074],[115.1367,32.8711],[114.873,33.0029],[114.873,33.1348],[115.3125,33.1787],[115.4004,33.5303],[115.5762,33.6621],[115.5762,33.9258],[115.6641,34.0576],[116.0156,33.9697],[116.1914,33.7061],[116.6309,33.9258]]]}},{type:"Feature",id:"fu_jian",properties:{name:"\u798F\u5EFA",cp:[118.3008,25.9277],childNum:9},geometry:{type:"Polygon",coordinates:[[[118.4766,28.3008],[118.8281,28.2568],[118.7402,28.0371],[118.916,27.4658],[119.2676,27.4219],[119.6191,27.6855],[119.7949,27.29],[120.2344,27.4219],[120.4102,27.1582],[120.7617,27.0264],[120.6738,26.8945],[120.2344,26.8506],[120.2344,26.7188],[120.4102,26.6748],[120.498,26.3672],[120.2344,26.2793],[120.4102,26.1475],[120.0586,26.1914],[119.9707,25.9277],[119.7949,25.9277],[119.9707,25.4004],[119.7949,25.2686],[119.5313,25.1367],[119.4434,25.0049],[119.2676,25.0928],[118.916,24.8291],[118.6523,24.5215],[118.4766,24.5215],[118.4766,24.4336],[118.2129,24.3457],[118.2129,24.1699],[117.8613,23.9941],[117.7734,23.7744],[117.5098,23.5986],[117.1582,23.5547],[116.9824,23.9063],[116.9824,24.1699],[116.7188,24.6533],[116.543,24.6094],[116.3672,24.873],[116.2793,24.7852],[115.9277,24.917],[115.8398,25.2246],[116.0156,25.2686],[116.1914,25.8838],[116.4551,26.1035],[116.3672,26.2354],[116.6309,26.4551],[116.543,26.8066],[117.0703,27.1143],[117.1582,27.29],[116.9824,27.6416],[117.5098,27.9932],[117.7734,27.8174],[118.3008,28.0811],[118.4766,28.3008]]]}},{type:"Feature",id:"zhe_jiang",properties:{name:"\u6D59\u6C5F",cp:[120.498,29.0918],childNum:11},geometry:{type:"Polygon",coordinates:[[[118.2129,29.3994],[118.7402,29.707],[118.916,29.9707],[118.916,30.3223],[119.3555,30.4102],[119.2676,30.6299],[119.4434,30.6738],[119.6191,31.0693],[119.6191,31.1133],[119.9707,31.1572],[120.498,30.8057],[120.9375,31.0254],[121.2891,30.6738],[121.9922,30.8057],[122.6953,30.8936],[122.8711,30.7178],[122.959,30.1465],[122.6074,30.1025],[122.6074,29.9268],[122.168,29.5313],[122.3438,28.8721],[121.9922,28.8721],[121.9922,28.4326],[121.7285,28.3447],[121.7285,28.2129],[121.4648,28.2129],[121.5527,28.0371],[121.2891,27.9492],[121.1133,27.4219],[120.6738,27.334],[120.6738,27.1582],[120.9375,27.0264],[120.7617,27.0264],[120.4102,27.1582],[120.2344,27.4219],[119.7949,27.29],[119.6191,27.6855],[119.2676,27.4219],[118.916,27.4658],[118.7402,28.0371],[118.8281,28.2568],[118.4766,28.3008],[118.4766,28.3447],[118.3887,28.7842],[118.0371,29.0479],[118.0371,29.1797],[118.2129,29.3994]]]}},{type:"Feature",id:"jiang_su",properties:{name:"\u6C5F\u82CF",cp:[120.0586,32.915],childNum:13},geometry:{type:"Polygon",coordinates:[[[116.3672,34.6289],[116.4551,34.8926],[116.8066,34.9365],[117.2461,34.4531],[117.334,34.585],[117.5977,34.4531],[117.9492,34.6729],[118.125,34.6289],[118.2129,34.4092],[118.3887,34.4092],[118.4766,34.6729],[118.7402,34.7168],[118.916,35.0244],[119.2676,35.1123],[119.3555,35.0244],[119.3555,34.8486],[119.707,34.585],[120.3223,34.3652],[120.9375,33.0469],[121.0254,32.6514],[121.377,32.4756],[121.4648,32.168],[121.9043,31.9922],[121.9922,31.6846],[121.9922,31.5967],[121.2012,31.8604],[121.1133,31.7285],[121.377,31.5088],[121.2012,31.4648],[120.9375,31.0254],[120.498,30.8057],[119.9707,31.1572],[119.6191,31.1133],[119.4434,31.1572],[119.3555,31.2891],[118.8281,31.2451],[118.7402,31.377],[118.916,31.5527],[118.3887,31.9482],[118.4766,32.168],[118.6523,32.2119],[118.5645,32.5635],[119.1797,32.4756],[119.1797,32.8271],[118.916,32.959],[118.7402,32.7393],[118.3008,32.7832],[118.2129,33.2227],[118.0371,33.1348],[117.9492,33.2227],[118.125,33.75],[117.7734,33.7061],[117.5977,34.0137],[117.1582,34.0576],[116.8945,34.4092],[116.3672,34.6289]]]}},{type:"Feature",id:"chong_qing",properties:{name:"\u91CD\u5E86",cp:[107.7539,30.1904],childNum:40},geometry:{type:"Polygon",coordinates:[[[108.5449,31.6846],[108.2813,31.9043],[108.3691,32.168],[108.5449,32.2119],[109.0723,31.9482],[109.248,31.7285],[109.5996,31.7285],[109.7754,31.6846],[109.6875,31.5527],[110.127,31.377],[110.2148,31.1572],[110.0391,30.8057],[109.8633,30.8936],[109.4238,30.542],[109.248,30.6299],[109.1602,30.542],[109.0723,30.6299],[108.8086,30.498],[108.6328,30.5859],[108.457,30.4102],[108.5449,30.2344],[108.457,29.7949],[108.6328,29.8389],[108.9844,29.3115],[109.0723,29.3555],[109.248,29.1357],[109.248,28.4766],[109.0723,28.2129],[108.7207,28.2129],[108.7207,28.4766],[108.5449,28.3887],[108.5449,28.6523],[108.3691,28.6523],[108.2813,29.0918],[107.8418,29.0039],[107.8418,29.1357],[107.5781,29.2236],[107.4023,29.1797],[107.4023,28.8721],[106.875,28.7842],[106.6992,28.4766],[106.6113,28.5205],[106.6113,28.6523],[106.5234,28.7842],[106.4355,28.7842],[106.5234,28.5645],[106.3477,28.5205],[106.2598,28.8721],[105.8203,28.96],[105.7324,29.2676],[105.4688,29.3115],[105.293,29.5313],[105.7324,29.8828],[105.5566,30.1025],[105.6445,30.2783],[105.8203,30.4541],[106.2598,30.1904],[106.6113,30.3223],[106.7871,30.0146],[107.0508,30.0146],[107.4902,30.6299],[107.4023,30.7617],[107.4902,30.8496],[107.9297,30.8496],[108.1934,31.5088],[108.5449,31.6846]]]}},{type:"Feature",id:"ning_xia",properties:{name:"\u5B81\u590F",cp:[105.9961,37.3096],childNum:5},geometry:{type:"Polygon",coordinates:[[[104.3262,37.4414],[105.8203,37.793],[105.9082,38.7158],[106.3477,39.2871],[106.7871,39.375],[106.9629,38.9795],[106.5234,38.3203],[106.7871,38.1885],[107.3145,38.1006],[107.666,37.8809],[107.3145,37.6172],[107.3145,37.0898],[106.6113,37.0898],[106.6113,36.7822],[106.4355,36.5625],[106.5234,36.4746],[106.5234,36.2549],[106.875,36.123],[106.9629,35.8154],[106.6992,35.6836],[106.4355,35.6836],[106.5234,35.332],[106.3477,35.2441],[106.2598,35.4199],[106.084,35.376],[105.9961,35.4199],[106.084,35.4639],[105.9961,35.4639],[105.8203,35.5518],[105.7324,35.7275],[105.3809,35.7715],[105.293,35.9912],[105.4688,36.123],[105.2051,36.6943],[105.293,36.8262],[104.8535,37.2217],[104.5898,37.2217],[104.5898,37.4414],[104.3262,37.4414]]]}},{type:"Feature",id:"hai_nan",properties:{name:"\u6D77\u5357",cp:[109.9512,19.2041],childNum:18},geometry:{type:"Polygon",coordinates:[[[108.6328,19.3799],[109.0723,19.6436],[109.248,19.9512],[109.5996,20.0391],[110.0391,20.127],[110.3906,20.127],[110.5664,20.2588],[110.6543,20.2588],[111.0938,19.9512],[111.2695,19.9951],[110.6543,19.1602],[110.5664,18.6768],[110.2148,18.5889],[110.0391,18.3691],[109.8633,18.3691],[109.6875,18.1055],[108.9844,18.2813],[108.6328,18.457],[108.6328,19.3799]]]}},{type:"Feature",id:"tai_wan",properties:{name:"\u53F0\u6E7E",cp:[121.0254,23.5986],childNum:1},geometry:{type:"Polygon",coordinates:[[[121.9043,25.0488],[121.9922,25.0049],[121.8164,24.7412],[121.9043,24.5654],[121.6406,24.0381],[121.377,23.1152],[121.0254,22.6758],[120.8496,22.0605],[120.7617,21.9287],[120.6738,22.3242],[120.2344,22.5879],[120.0586,23.0713],[120.1465,23.6865],[121.0254,25.0488],[121.5527,25.3125],[121.9043,25.0488]]]}},{type:"Feature",id:"bei_jing",properties:{name:"\u5317\u4EAC",cp:[116.4551,40.2539],childNum:19},geometry:{type:"Polygon",coordinates:[[[117.4219,40.21],[117.334,40.1221],[117.2461,40.0781],[116.8066,39.9902],[116.8945,39.8145],[116.8945,39.6826],[116.8066,39.5947],[116.543,39.5947],[116.3672,39.4629],[116.1914,39.5947],[115.752,39.5068],[115.4883,39.6387],[115.4004,39.9463],[115.9277,40.2539],[115.752,40.5615],[116.1035,40.6055],[116.1914,40.7813],[116.4551,40.7813],[116.3672,40.9131],[116.6309,41.0449],[116.9824,40.6934],[117.4219,40.6494],[117.2461,40.5176],[117.4219,40.21]]]}},{type:"Feature",id:"tian_jin",properties:{name:"\u5929\u6D25",cp:[117.4219,39.4189],childNum:18},geometry:{type:"Polygon",coordinates:[[[116.8066,39.5947],[116.8945,39.6826],[117.1582,39.6387],[117.1582,39.8145],[117.2461,40.0781],[117.334,40.1221],[117.4219,40.21],[117.6855,40.0781],[117.6855,39.9902],[117.5098,39.9902],[117.5098,39.7705],[117.6855,39.5947],[117.9492,39.5947],[117.8613,39.4189],[118.0371,39.2432],[118.0371,39.1992],[117.8613,39.1113],[117.5977,38.6279],[117.2461,38.54],[116.7188,38.8037],[116.7188,38.9355],[116.8945,39.1113],[116.8066,39.5947]]]}},{type:"Feature",id:"shang_hai",properties:{name:"\u4E0A\u6D77",cp:[121.4648,31.2891],childNum:19},geometry:{type:"Polygon",coordinates:[[[120.9375,31.0254],[121.2012,31.4648],[121.377,31.5088],[121.1133,31.7285],[121.2012,31.8604],[121.9922,31.5967],[121.9043,31.1572],[121.9922,30.8057],[121.2891,30.6738],[120.9375,31.0254]]]}},{type:"Feature",id:"xiang_gang",properties:{name:"\u9999\u6E2F",cp:[114.2578,22.3242],childNum:1},geometry:{type:"Polygon",coordinates:[[[114.6094,22.4121],[114.5215,22.1484],[114.3457,22.1484],[113.9063,22.1484],[113.8184,22.1924],[113.9063,22.4121],[114.1699,22.5439],[114.3457,22.5439],[114.4336,22.5439],[114.4336,22.4121],[114.6094,22.4121]]]}},{type:"Feature",id:"ao_men",properties:{name:"\u6FB3\u95E8",cp:[113.5547,22.1484],childNum:1},geometry:{type:"Polygon",coordinates:[[[113.5986,22.1649],[113.6096,22.1265],[113.5547,22.11],[113.5437,22.2034],[113.5767,22.2034],[113.5986,22.1649]]]}}]},k=[{adcode:65e4,name:"\u65B0\u7586\u7EF4\u543E\u5C14\u81EA\u6CBB\u533A",value:[88.999903,43.607078]},{name:"\u5185\u8499\u53E4\u81EA\u6CBB\u533A",value:[119.24787,42.205741]},,{name:"\u5185\u8499\u53E4\u81EA\u6CBB\u533A",value:[110.627161,41.16628]},{name:"\u897F\u85CF\u81EA\u6CBB\u533A",value:[89.483714,30.251951]},{name:"\u9752\u6D77\u7701",value:[102.064693,37.084008]},{name:"\u4E91\u5357\u7701",value:[102.187665,25.083688]},{name:"\u9655\u897F\u7701",value:[109.20663,35.018625]}],M=["id"],A=C({__name:"index",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(i){const g=i;var h=[109.1162,34.2004],p={\u6C5F\u82CF:[118.8062,31.9208],\u5185\u8499\u53E4:[110.3467,41.4899],\u8FBD\u5B81:[123.1238,42.1216],\u9655\u897F:[109.1162,34.2004],\u7518\u8083:[103.5901,36.3043],\u9752\u6D77:[101.4038,36.8207],\u65B0\u7586:[87.9236,43.5883],\u6CB3\u5357:[113.4668,34.6234],\u897F\u85CF:[91.091762,30.037072],\u6D59\u6C5F:[119.5313,29.8773],\u798F\u5EFA:[119.4543,25.9222],\u6E56\u5357:[113.0823,28.2568],\u56DB\u5DDD:[113.0823,28.2568],\u4E91\u5357:[102.9199,25.4663],\u5E7F\u4E1C:[113.12244,23.009505],\u6D77\u5357:[110.3893,19.8516]},c={\u6C5F\u82CF:1e4,\u5185\u8499\u53E4:1e4,\u8FBD\u5B81:1e4,\u9655\u897F:1e4,\u798F\u5EFA:1e4,\u7518\u8083:1e4,\u9752\u6D77:1e4,\u65B0\u7586:1e4,\u6E56\u5317:1e4,\u6D59\u6C5F:1e4,\u6CB3\u5357:1e4,\u6E56\u5357:1e4,\u4E91\u5357:1e4,\u5E7F\u4E1C:1e4,\u6D77\u5357:1e4,\u897F\u85CF:1e4},u="#f9b207",r=[],F=[],f=[];for(var l in p)r.push({year:"\u9655\u897F",name:l,value:c[l]/100,value1:c[l]/100});r.sort(function(t,o){return t.value-o.value});for(var n=0;n{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(i){const g=i;var h=[109.1162,34.2004],p={\u6C5F\u82CF:[118.8062,31.9208],\u5185\u8499\u53E4:[110.3467,41.4899],\u8FBD\u5B81:[123.1238,42.1216],\u9655\u897F:[109.1162,34.2004],\u7518\u8083:[103.5901,36.3043],\u9752\u6D77:[101.4038,36.8207],\u65B0\u7586:[87.9236,43.5883],\u6CB3\u5357:[113.4668,34.6234],\u897F\u85CF:[91.091762,30.037072],\u6D59\u6C5F:[119.5313,29.8773],\u798F\u5EFA:[119.4543,25.9222],\u6E56\u5357:[113.0823,28.2568],\u56DB\u5DDD:[113.0823,28.2568],\u4E91\u5357:[102.9199,25.4663],\u5E7F\u4E1C:[113.12244,23.009505],\u6D77\u5357:[110.3893,19.8516]},c={\u6C5F\u82CF:1e4,\u5185\u8499\u53E4:1e4,\u8FBD\u5B81:1e4,\u9655\u897F:1e4,\u798F\u5EFA:1e4,\u7518\u8083:1e4,\u9752\u6D77:1e4,\u65B0\u7586:1e4,\u6E56\u5317:1e4,\u6D59\u6C5F:1e4,\u6CB3\u5357:1e4,\u6E56\u5357:1e4,\u4E91\u5357:1e4,\u5E7F\u4E1C:1e4,\u6D77\u5357:1e4,\u897F\u85CF:1e4},u="#f9b207",r=[],F=[],f=[];for(var l in p)r.push({year:"\u9655\u897F",name:l,value:c[l]/100,value1:c[l]/100});r.sort(function(t,o){return t.value-o.value});for(var n=0;n
{var n=new XMLHttpRequest;n.responseType="blob",n.onload=function(){var i=new FileReader;i.onloadend=function(){e(i.result)},i.readAsArrayBuffer(n.response)},n.open("GET",o),n.send()})}function et(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function Xt(o,t){for(var e="",r=0,n=-1,i=0,a,s=0;s<=o.length;++s){if(s2){var l=e.lastIndexOf("/");if(l!==e.length-1){l===-1?(e="",r=0):(e=e.slice(0,l),r=e.length-1-e.lastIndexOf("/")),n=s,i=0;continue}}else if(e.length===2||e.length===1){e="",r=0,n=s,i=0;continue}}t&&(e.length>0?e+="/..":e="..",r=2)}else e.length>0?e+="/"+o.slice(n+1,s):e=o.slice(n+1,s),r=s-n-1;n=s,i=0}else a===46&&i!==-1?++i:i=-1}return e}function Ce(o,t){var e=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return e?e===t.root?e+r:e+o+r:r}var ht={resolve:function(){for(var t="",e=!1,r,n=arguments.length-1;n>=-1&&!e;n--){var i;n>=0?i=arguments[n]:(r===void 0&&(r=process.cwd()),i=r),et(i),i.length!==0&&(t=i+"/"+t,e=i.charCodeAt(0)===47)}return t=Xt(t,!e),e?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(et(t),t.length===0)return".";var e=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Xt(t,!e),t.length===0&&!e&&(t="."),t.length>0&&r&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return et(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,e=0;e0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":ht.normalize(t)},relative:function(t,e){if(et(t),et(e),t===e||(t=ht.resolve(t),e=ht.resolve(e),t===e))return"";for(var r=1;rc){if(e.charCodeAt(a+h)===47)return e.slice(a+h+1);if(h===0)return e.slice(a+h)}else i>c&&(t.charCodeAt(r+h)===47?u=h:h===0&&(u=0));break}var b=t.charCodeAt(r+h),x=e.charCodeAt(a+h);if(b!==x)break;b===47&&(u=h)}var k="";for(h=r+u+1;h<=n;++h)(h===n||t.charCodeAt(h)===47)&&(k.length===0?k+="..":k+="/..");return k.length>0?k+e.slice(a+u):(a+=u,e.charCodeAt(a)===47&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(et(t),t.length===0)return".";for(var e=t.charCodeAt(0),r=e===47,n=-1,i=!0,a=t.length-1;a>=1;--a)if(e=t.charCodeAt(a),e===47){if(!i){n=a;break}}else i=!1;return n===-1?r?"/":".":r&&n===1?"//":t.slice(0,n)},basename:function(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');et(t);var r=0,n=-1,i=!0,a;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var s=e.length-1,l=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!i){r=a+1;break}}else l===-1&&(i=!1,l=a+1),s>=0&&(c===e.charCodeAt(s)?--s===-1&&(n=a):(s=-1,n=l))}return r===n?n=l:n===-1&&(n=t.length),t.slice(r,n)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!i){r=a+1;break}}else n===-1&&(i=!1,n=a+1);return n===-1?"":t.slice(r,n)}},extname:function(t){et(t);for(var e=-1,r=0,n=-1,i=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(l===47){if(!i){r=s+1;break}continue}n===-1&&(i=!1,n=s+1),l===46?e===-1?e=s:a!==1&&(a=1):e!==-1&&(a=-1)}return e===-1||n===-1||a===0||a===1&&e===n-1&&e===r+1?"":t.slice(e,n)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return Ce("/",t)},parse:function(t){et(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;var r=t.charCodeAt(0),n=r===47,i;n?(e.root="/",i=1):i=0;for(var a=-1,s=0,l=-1,c=!0,u=t.length-1,h=0;u>=i;--u){if(r=t.charCodeAt(u),r===47){if(!c){s=u+1;break}continue}l===-1&&(c=!1,l=u+1),r===46?a===-1?a=u:h!==1&&(h=1):a!==-1&&(h=-1)}return a===-1||l===-1||h===0||h===1&&a===l-1&&a===s+1?l!==-1&&(s===0&&n?e.base=e.name=t.slice(1,l):e.base=e.name=t.slice(s,l)):(s===0&&n?(e.name=t.slice(1,a),e.base=t.slice(1,l)):(e.name=t.slice(s,a),e.base=t.slice(s,l)),e.ext=t.slice(a,l)),s>0?e.dir=t.slice(0,s-1):n&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};ht.posix=ht;const xe=ht.extname,re=ht.basename;class Ae{constructor(){let t=(()=>typeof global>"u")(),e="image/png",r="image/jpeg",n="image/jpeg",i="image/webp",a="application/pdf",s="image/svg+xml";Object.assign(this,{toMime:this.toMime.bind(this),fromMime:this.fromMime.bind(this),expected:t?'"png", "jpg", or "webp"':'"png", "jpg", "pdf", or "svg"',formats:t?{png:e,jpg:r,jpeg:n,webp:i}:{png:e,jpg:r,jpeg:n,pdf:a,svg:s},mimes:t?{[e]:"png",[r]:"jpg",[i]:"webp"}:{[e]:"png",[r]:"jpg",[a]:"pdf",[s]:"svg"}})}toMime(t){return this.formats[(t||"").replace(/^\./,"").toLowerCase()]}fromMime(t){return this.mimes[t]}}function Pe(o,{filename:t="",extension:e="",format:T,page:n,quality:i,matte:a,density:s,outline:l,archive:x}={}){var{fromMime:u,toMime:h,expected:b}=new Ae,x=x||"canvas",k=T||e.replace(/@\d+x$/i,"")||xe(t),T=u(h(k)||k),z=h(T),g=o.length;if(!k)throw new Error("Cannot determine image format (use a filename extension or 'format' argument)");if(!T)throw new Error(`Unsupported file format "${k}" (expected ${b})`);if(!g)throw new RangeError("Canvas has no associated contexts (try calling getContext or newPage first)");let p,A,d=t.replace(/{(\d*)}/g,(m,y)=>(A=!0,y=parseInt(y,10),p=isFinite(y)?y:isFinite(p)?p:-1,"{}")),w=n>0?n-1:n<0?g+n:void 0;if(isFinite(w)&&w<0||w>=g)throw new RangeError(g==1?`Canvas only has a \u2018page 1\u2019 (${w} is out of bounds)`:`Canvas has pages 1\u2013${g} (${w} is out of bounds)`);if(o=isFinite(w)?[o[w]]:A||T=="pdf"?o:o.slice(-1),i===void 0)i=.92;else if(typeof i!="number"||!isFinite(i)||i<0||i>1)throw new TypeError("The quality option must be an number in the 0.0\u20131.0 range");if(s===void 0){let m=(e||re(t,k)).match(/@(\d+)x$/i);s=m?parseInt(m[1],10):1}else if(typeof s!="number"||!Number.isInteger(s)||s<1)throw new TypeError("The density option must be a non-negative integer");return l===void 0?l=!0:T=="svg"&&(l=!!l),{filename:t,pattern:d,format:T,mime:z,pages:o,padding:p,quality:i,matte:a,density:s,outline:l,archive:x}}class Pt{static for(t){return new Pt().append(t).get()}constructor(){this.crc=-1}get(){return~this.crc}append(t){for(var e=this.crc|0,r=this.table,n=0,i=t.length|0;n>>8^r[(e^t[n])&255];return this.crc=e,this}}Pt.prototype.table=(()=>{var o,t,e,r=[];for(o=0;o<256;o++){for(e=o,t=0;t<8;t++)e=e&1?e>>>1^3988292384:e>>>1;r[o]=e}return r})();function It(o){let t=new Uint8Array(o),e=new DataView(t.buffer),r={array:t,view:e,size:o,set8(n,i){return e.setUint8(n,i),r},set16(n,i){return e.setUint16(n,i,!0),r},set32(n,i){return e.setUint32(n,i,!0),r},bytes(n,i){return t.set(i,n),r}};return r}class Bt{constructor(t){let e=new Date;Object.assign(this,{directory:t,offset:0,files:[],time:(e.getHours()<<6|e.getMinutes())<<5|e.getSeconds()/2,date:(e.getFullYear()-1980<<4|e.getMonth()+1)<<5|e.getDate()}),this.add(t)}async add(t,e){let r=!e,n=Bt.encoder.encode(`${this.directory}/${r?"":t}`),i=new Uint8Array(r?0:await e.arrayBuffer()),a=30+n.length,s=a+i.length,l=16,{offset:c}=this,u=It(26).set32(0,134742036).set16(6,this.time).set16(8,this.date).set32(10,Pt.for(i)).set32(14,i.length).set32(18,i.length).set16(22,n.length);c+=a;let h=It(a+i.length+l).set32(0,67324752).bytes(4,u.array).bytes(30,n).bytes(a,i);c+=i.length,h.set32(s,134695760).bytes(s+4,u.array.slice(10,22)),c+=l,this.files.push({offset:c,folder:r,name:n,header:u,payload:h}),this.offset=c}toBuffer(){let t=this.files.reduce((h,{name:b})=>46+b.length+h,0),e=It(t+22),r=0;for(var{offset:n,name:i,header:a,folder:s}of this.files)e.set32(r,33639248).set16(r+4,20).bytes(r+6,a.array).set8(r+38,s?16:0).set32(r+42,n).bytes(r+46,i),r+=46+i.length;e.set32(r,101010256).set16(r+8,this.files.length).set16(r+10,this.files.length).set32(r+12,t).set32(r+16,this.offset);let l=new Uint8Array(this.offset+e.size),c=0;for(var{payload:u}of this.files)l.set(u.array,c),c+=u.size;return l.set(e.array,c),l}get blob(){return new Blob([this.toBuffer()],{type:"application/zip"})}}Bt.encoder=new TextEncoder;const Ot=(o,t,e,r)=>{if(r){let{width:n,height:i}=o,a=Object.assign(document.createElement("canvas"),{width:n,height:i}),s=a.getContext("2d");s.fillStyle=r,s.fillRect(0,0,n,i),s.drawImage(o,0,0),o=a}return new Promise((n,i)=>o.toBlob(n,t,e))},Be=(...o)=>Ot(...o).then(t=>t.arrayBuffer()),De=async(o,t,e,r,n)=>{ne(n,await Ot(o,t,e,r))},ke=async(o,t,e,r,n,i,a)=>{let s=u=>i.replace("{}",String(u+1).padStart(a,"0")),l=re(n,".zip")||"archive",c=new Bt(l);await Promise.all(o.map(async(u,h)=>{let b=s(h);await c.add(b,await Ot(u,t,e,r))})),ne(`${l}.zip`,c.blob)},ne=(o,t)=>{const e=window.URL.createObjectURL(t),r=document.createElement("a");r.style.display="none",r.href=e,r.setAttribute("download",o),typeof r.download>"u"&&r.setAttribute("target","_blank"),document.body.appendChild(r),r.click(),document.body.removeChild(r),setTimeout(()=>window.URL.revokeObjectURL(e),100)},Te=(o,t,e)=>o.map(r=>{if(t==1&&!e)return r.canvas;let n=document.createElement("canvas"),i=n.getContext("2d"),a=r.canvas?r.canvas:r;return n.width=a.width*t,n.height=a.height*t,e&&(i.fillStyle=e,i.fillRect(0,0,n.width,n.height)),i.scale(t,t),i.drawImage(a,0,0),n}),Ee={asBuffer:Be,asDownload:De,asZipDownload:ke,atScale:Te,options:Pe},{asBuffer:Lt,asDownload:Se,asZipDownload:Ie,atScale:_t,options:Mt}=Ee,Zt=Symbol.for("toDataURL"),Le=o=>new Promise((t,e)=>Object.assign(new ie,{crossOrigin:"Anonymous",onload:t,onerror:e,src:o}));class _e{constructor(t,e){let r=document.createElement("canvas"),n=[];Object.defineProperty(r,"async",{value:!0,writable:!1,enumerable:!0});for(var[i,a]of Object.entries({png:()=>Lt(r,"image/png"),jpg:()=>Lt(r,"image/jpeg"),pages:()=>n.concat(r).map(s=>s.getContext("2d"))}))Object.defineProperty(r,i,{get:a});return Object.assign(r,{width:t,height:e,newPage(...s){var{width:c,height:u}=r,l=Object.assign(document.createElement("canvas"),{width:c,height:u});l.getContext("2d").drawImage(r,0,0),n.push(l);var[c,u]=s.length?s:[c,u];return Object.assign(r,{width:c,height:u}).getContext("2d")},saveAs(s,l){l=typeof l=="number"?{quality:l}:l;let c=Mt(this.pages,{filename:s,...l}),{pattern:u,padding:h,mime:b,quality:x,matte:k,density:T,archive:z}=c,g=_t(c.pages,T);return h==null?Se(g[0],b,x,k,s):Ie(g,b,x,k,z,u,h)},toBuffer(s="png",l={}){l=typeof l=="number"?{quality:l}:l;let c=Mt(this.pages,{extension:s,...l}),{mime:u,quality:h,matte:b,pages:x,density:k}=c,T=_t(x,k,b)[0];return Lt(T,u,h,b)},[Zt]:r.toDataURL.bind(r),toDataURL(s="png",l={}){l=typeof l=="number"?{quality:l}:l;let c=Mt(this.pages,{extension:s,...l}),{mime:u,quality:h,matte:b,pages:x,density:k}=c,T=_t(x,k,b)[0],z=T[T===r?Zt:"toDataURL"](u,h);return Promise.resolve(z)}})}}const{CanvasRenderingContext2D:Me,CanvasGradient:Fe,CanvasPattern:Ne,Image:ie,ImageData:Oe,Path2D:Re,DOMMatrix:$e,DOMRect:ze,DOMPoint:Ge}=window,je={Canvas:_e,loadImage:Le,CanvasRenderingContext2D:Me,CanvasGradient:Fe,CanvasPattern:Ne,Image:ie,ImageData:Oe,Path2D:Re,DOMMatrix:$e,DOMRect:ze,DOMPoint:Ge},bt=(o,t,e={},r=e)=>{if(Array.isArray(t))t.forEach(n=>bt(o,n,e,r));else if(typeof t=="function")t(o,e,r,bt);else{const n=Object.keys(t)[0];Array.isArray(t[n])?(r[n]={},bt(o,t[n],e,r[n])):r[n]=t[n](o,e,r,bt)}return e},dt=(o,t)=>(e,r,n,i)=>{t(e,r,n)&&i(e,o,r,n)},Ue=(o,t)=>(e,r,n,i)=>{const a=[];let s=e.pos;for(;t(e,r,n);){const l={};if(i(e,o,r,l),e.pos===s)break;s=e.pos,a.push(l)}return a},He=o=>({data:o,pos:0}),Y=()=>o=>o.data[o.pos++],oe=(o=0)=>t=>t.data[t.pos+o],nt=o=>t=>t.data.subarray(t.pos,t.pos+=o),Dt=o=>t=>t.data.subarray(t.pos,t.pos+o),Ft=o=>t=>Array.from(nt(o)(t)).map(e=>String.fromCharCode(e)).join(""),ut=o=>t=>{const e=nt(2)(t);return o?(e[1]<<8)+e[0]:(e[0]<<8)+e[1]},ae=(o,t)=>(e,r,n)=>{const i=typeof t=="function"?t(e,r,n):t,a=nt(o),s=new Array(i);for(var l=0;l{for(var r=0,n=0;nt=>{const e=Y()(t),r=new Array(8);for(var n=0;n<8;n++)r[7-n]=!!(e&1<{const s=o[a];return s.length?i[a]=Ke(r,s.index,s.length):i[a]=r[s.index],i},{})};var kt={blocks:o=>{const e=[],r=o.data.length;for(var n=0,i=Y()(o);i!==0&&i;i=Y()(o)){if(o.pos+i>=r){const c=r-o.pos;e.push(nt(c)(o)),n+=c;break}e.push(nt(i)(o)),n+=i}const a=new Uint8Array(n);for(var s=0,l=0;l{var t=Dt(2)(o);return t[0]===33&&t[1]===249}),Ze=dt({image:[{code:Y()},{descriptor:[{left:ut(!0)},{top:ut(!0)},{width:ut(!0)},{height:ut(!0)},{lct:Rt({exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}})}]},dt({lct:ae(3,(o,t,e)=>Math.pow(2,e.descriptor.lct.size+1))},(o,t,e)=>e.descriptor.lct.exists),{data:[{minCodeSize:Y()},kt]}]},o=>oe()(o)===44),Je=dt({text:[{codes:nt(2)},{blockSize:Y()},{preData:(o,t,e)=>nt(e.text.blockSize)(o)},kt]},o=>{var t=Dt(2)(o);return t[0]===33&&t[1]===1}),We=dt({application:[{codes:nt(2)},{blockSize:Y()},{id:(o,t,e)=>Ft(e.blockSize)(o)},kt]},o=>{var t=Dt(2)(o);return t[0]===33&&t[1]===255}),Ve=dt({comment:[{codes:nt(2)},kt]},o=>{var t=Dt(2)(o);return t[0]===33&&t[1]===254}),Ye=[{header:[{signature:Ft(3)},{version:Ft(3)}]},{lsd:[{width:ut(!0)},{height:ut(!0)},{gct:Rt({exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}})},{backgroundColorIndex:Y()},{pixelAspectRatio:Y()}]},dt({gct:ae(3,(o,t)=>Math.pow(2,t.lsd.gct.size+1))},(o,t)=>t.lsd.gct.exists),{frames:Ue([Xe,We,Ve,Ze,Je],o=>{var t=oe()(o);return t===33||t===44})}],qe=(o,t)=>{const e=new Array(o.length),r=o.length/t,n=function(u,h){const b=o.slice(h*t,(h+1)*t);e.splice.apply(e,[u*t,t].concat(b))},i=[0,4,2,1],a=[8,8,4,2];for(var s=0,l=0;l<4;l++)for(var c=i[l];c{const i=e;var a,s,l,c,u,h,b,w,x,k,d,T,m,y,E,P;const z=new Array(e),g=new Array(4096),p=new Array(4096),A=new Array(4096+1);for(T=o,s=1<>=c,w-=c,x>a||x==u)break;if(x==s){c=T+1,l=(1<s;)A[y++]=p[x],x=g[x];m=p[x]&255,A[y++]=m,a<4096&&(g[a]=b,p[a]=m,a++,(a&l)===0&&a<4096&&(c++,l+=a)),b=h}y--,z[P++]=A[y],k++}for(k=P;k{const t=new Uint8Array(o);return bt(He(t),Ye)},er=o=>{const t=o.pixels.length,e=new Uint8ClampedArray(t*4);for(var r=0;r{if(!o.image){console.warn("gif frame does not have associated image.");return}const{image:r}=o,n=r.descriptor.width*r.descriptor.height;var i=Qe(r.data.minCodeSize,r.data.blocks,n);r.descriptor.lct.interlaced&&(i=qe(i,r.descriptor.width));const a={pixels:i,dims:{top:o.image.descriptor.top,left:o.image.descriptor.left,width:o.image.descriptor.width,height:o.image.descriptor.height}};return r.descriptor.lct&&r.descriptor.lct.exists?a.colorTable=r.lct:a.colorTable=t,o.gce&&(a.delay=(o.gce.delay||10)*10,a.disposalType=o.gce.extras.disposal,o.gce.extras.transparentColorGiven&&(a.transparentIndex=o.gce.transparentColorIndex)),e&&(a.patch=er(a)),a},nr=(o,t)=>o.frames.filter(e=>e.image).map(e=>rr(e,o.gct,t));function ir(o,t,e){const r=se(t),n=o-1;let i=0;switch(e){case Z.L:i=rt[n][0];break;case Z.M:i=rt[n][1];break;case Z.Q:i=rt[n][2];break;case Z.H:i=rt[n][3];break}return r<=i}function or(o,t){for(var e=1,r=se(o),n=0,i=rt.length;nrt.length)throw new Error("Too long data");return e}function se(o){var t=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=Number(o)?3:0)}class ar{constructor(t){this.mode=W.MODE_8BIT_BYTE,this.parsedData=[],this.data=t;const e=[];for(let r=0,n=this.data.length;r65536?(i[0]=240|(a&1835008)>>>18,i[1]=128|(a&258048)>>>12,i[2]=128|(a&4032)>>>6,i[3]=128|a&63):a>2048?(i[0]=224|(a&61440)>>>12,i[1]=128|(a&4032)>>>6,i[2]=128|a&63):a>128?(i[0]=192|(a&1984)>>>6,i[1]=128|a&63):i[0]=a,e.push(i)}this.parsedData=Array.prototype.concat.apply([],e),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}getLength(){return this.parsedData.length}write(t){for(let e=0,r=this.parsedData.length;e40)throw new Error(`Invalid QR version: ${this.typeNumber}`);if(!ir(this.typeNumber,t,this.errorCorrectLevel))throw new Error(`Data is too long for QR version: ${this.typeNumber}`)}const e=new ar(t);this.dataList.push(e),this.dataCache=void 0}isDark(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(`${t},${e}`);return this.modules[t][e]}getModuleCount(){return this.moduleCount}make(){this.makeImpl(!1,this.getBestMaskPattern())}makeImpl(t,e){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(let r=0;r=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=ct.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)}setupPositionProbePattern(t,e){for(let r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(let n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(0<=r&&r<=6&&(n==0||n==6)||0<=n&&n<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=n&&n<=4?this.modules[t+r][e+n]=!0:this.modules[t+r][e+n]=!1)}getBestMaskPattern(){if(Number.isInteger(this.maskPattern)&&Object.values(ot).includes(this.maskPattern))return this.maskPattern;let t=0,e=0;for(let r=0;r<8;r++){this.makeImpl(!0,r);const n=_.getLostPoint(this);(r==0||t>n)&&(t=n,e=r)}return e}setupTimingPattern(){for(let t=8;t>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(var r=0;r<18;r++){var n=!t&&(e>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}}setupTypeInfo(t,e){const r=this.errorCorrectLevel<<3|e,n=_.getBCHTypeInfo(r);for(var i=0;i<15;i++){var a=!t&&(n>>i&1)==1;i<6?this.modules[i][8]=a:i<8?this.modules[i+1][8]=a:this.modules[this.moduleCount-15+i][8]=a}for(var i=0;i<15;i++){var a=!t&&(n>>i&1)==1;i<8?this.modules[8][this.moduleCount-i-1]=a:i<9?this.modules[8][15-i-1+1]=a:this.modules[8][15-i-1]=a}this.modules[this.moduleCount-8][8]=!t}mapData(t,e){let r=-1,n=this.moduleCount-1,i=7,a=0;for(let s=this.moduleCount-1;s>0;s-=2)for(s==6&&s--;;){for(let l=0;l<2;l++)if(this.modules[n][s-l]==null){let c=!1;a>>i&1)==1),_.getMask(e,n,s-l)&&(c=!c),this.modules[n][s-l]=c,i--,i==-1&&(a++,i=7)}if(n+=r,n<0||this.moduleCount<=n){n-=r,r=-r;break}}}static createData(t,e,r){const n=at.getRSBlocks(t,e),i=new sr;for(var a=0;as*8)throw new Error(`code length overflow. (${i.getLengthInBits()}>${s*8})`);for(i.getLengthInBits()+4<=s*8&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=s*8||(i.put(ct.PAD0,8),i.getLengthInBits()>=s*8));)i.put(ct.PAD1,8);return ct.createBytes(i,n)}static createBytes(t,e){let r=0,n=0,i=0;const a=new Array(e.length),s=new Array(e.length);for(var l=0;l=0?g.get(A):0}}let u=0;for(var c=0;c=0;)e^=_.G15<<_.getBCHDigit(e)-_.getBCHDigit(_.G15);return(t<<10|e)^_.G15_MASK}static getBCHTypeNumber(t){let e=t<<12;for(;_.getBCHDigit(e)-_.getBCHDigit(_.G18)>=0;)e^=_.G18<<_.getBCHDigit(e)-_.getBCHDigit(_.G18);return t<<12|e}static getBCHDigit(t){let e=0;for(;t!=0;)e++,t>>>=1;return e}static getPatternPosition(t){return _.PATTERN_POSITION_TABLE[t-1]}static getMask(t,e,r){switch(t){case ot.PATTERN000:return(e+r)%2==0;case ot.PATTERN001:return e%2==0;case ot.PATTERN010:return r%3==0;case ot.PATTERN011:return(e+r)%3==0;case ot.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case ot.PATTERN101:return e*r%2+e*r%3==0;case ot.PATTERN110:return(e*r%2+e*r%3)%2==0;case ot.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error(`bad maskPattern:${t}`)}}static getErrorCorrectPolynomial(t){let e=new pt([1],0);for(let r=0;r5&&(r+=3+l-5)}for(var n=0;n=256;)t-=255;return j.EXP_TABLE[t]}}j.EXP_TABLE=new Array(256);j.LOG_TABLE=new Array(256);j._constructor=function(){for(var o=0;o<8;o++)j.EXP_TABLE[o]=1<>>7-t%8&1)==1}put(t,e){for(let r=0;r>>e-r-1&1)==1)}getLengthInBits(){return this.length}putBit(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}}const rt=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];var lr=100,K=256,Jt=K-1,lt=4,le=16,$t=1<>zt,fr=$t<>3,Nt=6,hr=1<>3);var g,p;for(g=0;g>=lt,e[g][1]>>=lt,e[g][2]>>=lt,e[g][3]=g}function c(g,p,A,d,w){e[p][0]-=g*(e[p][0]-A)/yt,e[p][1]-=g*(e[p][1]-d)/yt,e[p][2]-=g*(e[p][2]-w)/yt}function u(g,p,A,d,w){for(var m=Math.abs(p-g),y=Math.min(p+g,K),P=p+1,E=p-1,M=1,f,F;Pm;)F=a[M++],Pm&&(f=e[E--],f[0]-=F*(f[0]-A)/gt,f[1]-=F*(f[1]-d)/gt,f[2]-=F*(f[2]-w)/gt)}function h(g,p,A){var d=2147483647,w=d,m=-1,y=m,P,E,M,f,F;for(P=0;P>le-lt),f>zt,i[P]-=F,n[P]+=F<>1,p=y+1;p>1,p=y+1;p<256;p++)r[p]=Jt}function x(g,p,A){for(var d,w,m,y=1e3,P=-1,E=r[p],M=E-1;E=0;)E=y?E=K:(E++,m<0&&(m=-m),d=w[0]-g,d<0&&(d=-d),m+=d,m=0&&(w=e[M],m=p-w[1],m>=y?M=-1:(M--,m<0&&(m=-m),d=w[0]-g,d<0&&(d=-d),m+=d,m>Nt;for(P<=1&&(P=0),g=0;g=p&&(N-=p),g++,w===0&&(w=1),g%w===0)for(m-=m/A,y-=y/gr,P=y>>Nt,P<=1&&(P=0),C=0;C=254&&E(N)}function w(C){m(vt),h=T+2,x=!0,F(T,C)}function m(C){for(var N=0;N=0){st=U-G,G===0&&(st=1);do if((G-=st)<0&&(G+=U),a[G]===v){q=s[G];continue t}while(a[G]>=0)}F(q,N),q=ft,h<1<0&&(C.writeByte(u),C.writeBytes(i,0,u),u=0)}function M(C){return(1<0?l|=C<=8;)d(l&255,N),l>>=8,c-=8;if((h>b||x)&&(x?(b=M(A=k),x=!1):(++A,A==Ct?b=1<0;)d(l&255,N),l>>=8,c-=8;E(N)}}this.encode=P}function J(){this.page=-1,this.pages=[],this.newPage()}J.pageSize=4096;J.charMap={};for(var xt=0;xt<256;xt++)J.charMap[xt]=String.fromCharCode(xt);J.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(J.pageSize),this.cursor=0};J.prototype.getData=function(){for(var o="",t=0;tr+n.length,0));return o.reduce((r,n)=>(e.set(n,r),r+n.length),0),e};J.prototype.writeByte=function(o){this.cursor>=J.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=o};J.prototype.writeUTFBytes=function(o){for(var t=o.length,e=0;e=0&&(this.dispose=o)};O.prototype.setRepeat=function(o){this.repeat=o};O.prototype.setTransparent=function(o){this.transparent=o};O.prototype.addFrame=function(o){this.image=o,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),this.globalPalette===!0&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeHeader(),this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),!this.firstFrame&&!this.globalPalette&&this.writePalette(),this.writePixels(),this.firstFrame=!1};O.prototype.finish=function(){this.out.writeByte(59)};O.prototype.setQuality=function(o){o<1&&(o=1),this.sample=o};O.prototype.setDither=function(o){o===!0&&(o="FloydSteinberg"),this.dither=o};O.prototype.setGlobalPalette=function(o){this.globalPalette=o};O.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette};O.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")};O.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new vr(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),this.dither.match(/-serpentine/)!==null):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,this.transparent!==null&&(this.transIndex=this.findClosest(this.transparent,!0))};O.prototype.indexPixels=function(o){var t=this.pixels.length/3;this.indexedPixels=new Uint8Array(t);for(var e=0,r=0;r=0&&P+u=0&&E+c>16,(o&65280)>>8,o&255,t)};O.prototype.findClosestRGB=function(o,t,e,r){if(this.colorTab===null)return-1;if(this.neuQuant&&!r)return this.neuQuant.lookupRGB(o,t,e);for(var n=0,i=256*256*256,a=this.colorTab.length,s=0,l=0;s=0&&(t=this.dispose&7),t<<=2,this.out.writeByte(0|t|0|o),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)};O.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)};O.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)};O.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)};O.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var o=3*256-this.colorTab.length,t=0;t>8&255)};O.prototype.writePixels=function(){var o=new wr(this.width,this.height,this.indexedPixels,this.colorDepth);o.encode(this.out)};O.prototype.stream=function(){return this.out};var yr=globalThis&&globalThis.__awaiter||function(o,t,e,r){function n(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(h){a(h)}}function l(u){try{c(r.throw(u))}catch(h){a(h)}}function c(u){u.done?i(u.value):n(u.value).then(s,l)}c((r=r.apply(o,t||[])).next())})};const{Canvas:it}=je,At=.4;function te(o){if(!o)return;function t(e){e.onload=null,e.onerror=null}return new Promise(function(e,r){if(o.slice(0,4)=="data"){let i=new Image;i.onload=function(){e(i),t(i)},i.onerror=function(){r("Image load error"),t(i)},i.src=o;return}let n=new Image;n.setAttribute("crossOrigin","Anonymous"),n.onload=function(){e(n)},n.onerror=function(){r("Image load error")},n.src=o})}class L{constructor(t){const e=Object.assign({},t);if(Object.keys(L.defaultOptions).forEach(r=>{r in e||Object.defineProperty(e,r,{value:L.defaultOptions[r],enumerable:!0,writable:!0})}),e.components?typeof e.components=="object"&&Object.keys(L.defaultComponentOptions).forEach(r=>{r in e.components?Object.defineProperty(e.components,r,{value:Object.assign(Object.assign({},L.defaultComponentOptions[r]),e.components[r]),enumerable:!0,writable:!0}):Object.defineProperty(e.components,r,{value:L.defaultComponentOptions[r],enumerable:!0,writable:!0})}):e.components=L.defaultComponentOptions,e.dotScale!==null&&e.dotScale!==void 0){if(e.dotScale<=0||e.dotScale>1)throw new Error("dotScale should be in range (0, 1].");e.components.data.scale=e.dotScale,e.components.timing.scale=e.dotScale,e.components.alignment.scale=e.dotScale}this.options=e,this.canvas=new it(t.size,t.size),this.canvasContext=this.canvas.getContext("2d"),this.qrCode=new ct(-1,this.options.correctLevel),Number.isInteger(this.options.maskPattern)&&(this.qrCode.maskPattern=this.options.maskPattern),Number.isInteger(this.options.version)&&(this.qrCode.typeNumber=this.options.version),this.qrCode.addData(this.options.text),this.qrCode.make()}draw(){return new Promise(t=>this._draw().then(t))}_clear(){this.canvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)}static _prepareRoundedCornerClip(t,e,r,n,i,a){t.beginPath(),t.moveTo(e,r),t.arcTo(e+n,r,e+n,r+i,a),t.arcTo(e+n,r+i,e,r+i,a),t.arcTo(e,r+i,e,r,a),t.arcTo(e,r,e+n,r,a),t.closePath()}static _getAverageRGB(t){const r={r:0,g:0,b:0};let n,i,a=-4;const s={r:0,g:0,b:0};let l=0;i=t.naturalHeight||t.height,n=t.naturalWidth||t.width;const u=new it(n,i).getContext("2d");if(!u)return r;u.drawImage(t,0,0);let h;try{h=u.getImageData(0,0,n,i)}catch{return r}for(;(a+=5*4)200||h.data[a+1]>200||h.data[a+2]>200||(++l,s.r+=h.data[a],s.g+=h.data[a+1],s.b+=h.data[a+2]);return s.r=~~(s.r/l),s.g=~~(s.g/l),s.b=~~(s.b/l),s}static _drawDot(t,e,r,n,i=0,a=1){t.fillRect((e+i)*n,(r+i)*n,a*n,a*n)}static _drawAlignProtector(t,e,r,n){t.clearRect((e-2)*n,(r-2)*n,5*n,5*n),t.fillRect((e-2)*n,(r-2)*n,5*n,5*n)}static _drawAlign(t,e,r,n,i=0,a=1,s,l){const c=t.fillStyle;t.fillStyle=s,new Array(4).fill(0).map((u,h)=>{L._drawDot(t,e-2+h,r-2,n,i,a),L._drawDot(t,e+2,r-2+h,n,i,a),L._drawDot(t,e+2-h,r+2,n,i,a),L._drawDot(t,e-2,r+2-h,n,i,a)}),L._drawDot(t,e,r,n,i,a),l||(t.fillStyle="rgba(255, 255, 255, 0.6)",new Array(2).fill(0).map((u,h)=>{L._drawDot(t,e-1+h,r-1,n,i,a),L._drawDot(t,e+1,r-1+h,n,i,a),L._drawDot(t,e+1-h,r+1,n,i,a),L._drawDot(t,e-1,r+1-h,n,i,a)})),t.fillStyle=c}_draw(){var t,e,r,n,i,a,s,l,c,u,h,b,x,k,T,z,g,p,A;return yr(this,void 0,void 0,function*(){const d=(t=this.qrCode)===null||t===void 0?void 0:t.moduleCount,w=this.options.size;let m=this.options.margin;(m<0||m*2>=w)&&(m=0);const y=Math.ceil(m),P=w-2*m,E=this.options.whiteMargin,M=this.options.backgroundDimming,f=Math.ceil(P/d),F=f*d,C=F+2*y,N=new it(C,C),v=N.getContext("2d");this._clear(),v.save(),v.translate(y,y);const ft=new it(C,C),G=ft.getContext("2d");let q=null,st=[];if(this.options.gifBackground){const B=tr(this.options.gifBackground);if(q=B,st=nr(B,!0),this.options.autoColor){let D=0,S=0,I=0,H=0;for(let R=0;R200||$[1]>200||$[2]>200||$[0]===0&&$[1]===0&&$[2]===0||(H++,D+=$[0],S+=$[1],I+=$[2])}D=~~(D/H),S=~~(S/H),I=~~(I/H),this.options.colorDark=`rgb(${D},${S},${I})`}}else if(this.options.backgroundImage){const B=yield te(this.options.backgroundImage);if(this.options.autoColor){const D=L._getAverageRGB(B);this.options.colorDark=`rgb(${D.r},${D.g},${D.b})`}G.drawImage(B,0,0,B.width,B.height,0,0,C,C),G.rect(0,0,C,C),G.fillStyle=M,G.fill()}else G.rect(0,0,C,C),G.fillStyle=this.options.colorLight,G.fill();const U=_.getPatternPosition(this.qrCode.typeNumber),Q=((r=(e=this.options.components)===null||e===void 0?void 0:e.data)===null||r===void 0?void 0:r.scale)||At,Gt=(1-Q)*.5;for(let B=0;B=d-8)||D>=d-8&&B<8,H=B==6&&D>=8&&D<=d-8||D==6&&B>=8&&B<=d-8;let R=I||H;for(let X=1;X=U[X]-2&&B<=U[X]+2&&D>=U[X]-2&&D<=U[X]+2;const $=D*f+(R?0:Gt*f),tt=B*f+(R?0:Gt*f);if(v.strokeStyle=S?this.options.colorDark:this.options.colorLight,v.lineWidth=.5,v.fillStyle=S?this.options.colorDark:this.options.colorLight,U.length===0)R||v.fillRect($,tt,(R?1:Q)*f,(R?1:Q)*f);else{const X=D=d-4-5&&B=d-4-5;!R&&!X&&v.fillRect($,tt,(R?1:Q)*f,(R?1:Q)*f)}}const V=U[U.length-1],de=this.options.colorLight;if(v.fillStyle=de,v.fillRect(0,0,8*f,8*f),v.fillRect(0,(d-8)*f,8*f,8*f),v.fillRect((d-8)*f,0,8*f,8*f),!((i=(n=this.options.components)===null||n===void 0?void 0:n.timing)===null||i===void 0)&&i.protectors&&(v.fillRect(8*f,6*f,(d-8-8)*f,f),v.fillRect(6*f,8*f,f,(d-8-8)*f)),!((s=(a=this.options.components)===null||a===void 0?void 0:a.cornerAlignment)===null||s===void 0)&&s.protectors&&L._drawAlignProtector(v,V,V,f),!((c=(l=this.options.components)===null||l===void 0?void 0:l.alignment)===null||c===void 0)&&c.protectors)for(let B=0;B=1)&&(D=.2),S<0&&(S=0),I<0&&(I=0);const H=F*D,R=.5*(C-H),$=R;v.restore(),v.fillStyle=this.options.logoBackgroundColor,v.save(),L._prepareRoundedCornerClip(v,R-S,$-S,H+2*S,H+2*S,I+S),v.clip();const tt=v.globalCompositeOperation;v.globalCompositeOperation="destination-out",v.fill(),v.globalCompositeOperation=tt,v.restore(),v.save(),L._prepareRoundedCornerClip(v,R,$,H,H,I),v.clip(),v.drawImage(B,R,$,H,H),v.restore(),v.save(),v.translate(y,y)}if(q){let B,D,S,I,H,R;if(st.forEach(function($){B||(B=new O(w,w),B.setDelay($.delay),B.setRepeat(0));const{width:tt,height:X}=$.dims;D||(D=new it(tt,X),S=D.getContext("2d"),S.rect(0,0,D.width,D.height),S.fillStyle="#ffffff",S.fill()),(!I||!R||tt!==I.width||X!==I.height)&&(I=new it(tt,X),H=I.getContext("2d"),R=H.createImageData(tt,X)),R.data.set($.patch),H.putImageData(R,0,0),S.drawImage(I.getContext("2d").canvas,$.dims.left,$.dims.top);const wt=new it(C,C),mt=wt.getContext("2d");mt.drawImage(D.getContext("2d").canvas,0,0,C,C),mt.rect(0,0,C,C),mt.fillStyle=M,mt.fill(),mt.drawImage(N.getContext("2d").canvas,0,0,C,C);const Et=new it(w,w),Kt=Et.getContext("2d");Kt.drawImage(wt.getContext("2d").canvas,0,0,w,w),B.addFrame(Kt.getImageData(0,0,Et.width,Et.height).data)}),!B)throw new Error("No frames.");if(B.finish(),ee(this.canvas)){const tt=B.stream().toFlattenUint8Array().reduce((X,wt)=>X+String.fromCharCode(wt),"");return Promise.resolve(`data:image/gif;base64,${window.btoa(tt)}`)}return Promise.resolve(Buffer.from(B.stream().toFlattenUint8Array()))}else{G.drawImage(N.getContext("2d").canvas,0,0,C,C),v.drawImage(ft.getContext("2d").canvas,-y,-y,C,C);const B=new it(w,w);B.getContext("2d").drawImage(N.getContext("2d").canvas,0,0,w,w),this.canvas=B;const S=this.options.gifBackground?"gif":"png";return ee(this.canvas)?Promise.resolve(this.canvas.toDataURL(S)):Promise.resolve(this.canvas.toBuffer(S))}})}}L.CorrectLevel=Z;L.defaultComponentOptions={data:{scale:.4},timing:{scale:.5,protectors:!1},alignment:{scale:.5,protectors:!1},cornerAlignment:{scale:.5,protectors:!0}};L.defaultOptions={text:"",size:400,margin:20,colorDark:"#000000",colorLight:"rgba(255, 255, 255, 0.6)",correctLevel:Z.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:4,logoCornerRadius:8,whiteMargin:!0,components:L.defaultComponentOptions,autoColor:!0,logoBackgroundColor:"#ffffff",backgroundColor:"#ffffff"};function ee(o){try{return o instanceof HTMLElement}catch{return typeof o=="object"&&o.nodeType===1&&typeof o.style=="object"&&typeof o.ownerDocument=="object"}}const Cr={props:{text:{type:String,required:!0},qid:{type:String},correctLevel:{type:Number,default:1},size:{type:Number,default:200},margin:{type:Number,default:20},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#FFFFFF"},bgSrc:{type:String,default:void 0},background:{type:String,default:"rgba(0,0,0,0)"},backgroundDimming:{type:String,default:"rgba(0,0,0,0)"},logoSrc:{type:String,default:void 0},logoBackgroundColor:{type:String,default:"rgba(255,255,255,1)"},gifBgSrc:{type:String,default:void 0},logoScale:{type:Number,default:.2},logoMargin:{type:Number,default:0},logoCornerRadius:{type:Number,default:8},whiteMargin:{type:[Boolean,String],default:!0},dotScale:{type:Number,default:1},autoColor:{type:[Boolean,String],default:!0},binarize:{type:[Boolean,String],default:!1},binarizeThreshold:{type:Number,default:128},callback:{type:Function,default:function(){}},bindElement:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"},components:{default:function(){return{data:{scale:1},timing:{scale:1,protectors:!1},alignment:{scale:1,protectors:!1},cornerAlignment:{scale:1,protectors:!0}}}}},name:"vue-qr",data(){return{imgUrl:""}},watch:{$props:{deep:!0,handler(){this.main()}}},mounted(){this.main()},methods:{async main(){if(this.gifBgSrc){const e=await ye(this.gifBgSrc),r=this.logoSrc;this.render(void 0,r,e);return}const o=this.bgSrc,t=this.logoSrc;this.render(o,t)},async render(o,t,e){const r=this;new L({gifBackground:e,text:r.text,size:r.size,margin:r.margin,colorDark:r.colorDark,colorLight:r.colorLight,backgroundColor:r.backgroundColor,backgroundImage:o,backgroundDimming:r.backgroundDimming,logoImage:t,logoScale:r.logoScale,logoBackgroundColor:r.logoBackgroundColor,correctLevel:r.correctLevel,logoMargin:r.logoMargin,logoCornerRadius:r.logoCornerRadius,whiteMargin:St(r.whiteMargin),dotScale:r.dotScale,autoColor:St(r.autoColor),binarize:St(r.binarize),binarizeThreshold:r.binarizeThreshold,components:r.components}).draw().then(n=>{this.imgUrl=n,r.callback&&r.callback(n,r.qid)})}}},xr=["src"];function Ar(o,t,e,r,n,i){return e.bindElement?(ve(),be("img",{key:0,style:{display:"inline-block"},src:n.imgUrl},null,8,xr)):we("",!0)}const Br=me(Cr,[["render",Ar]]);export{Br as v}; +import{_ as me,o as ve,c as be,q as we}from"./index.034c045c.js";function St(o){return o===""?o:o==="true"||o=="1"}function ye(o,t){return new Promise((e,r)=>{var n=new XMLHttpRequest;n.responseType="blob",n.onload=function(){var i=new FileReader;i.onloadend=function(){e(i.result)},i.readAsArrayBuffer(n.response)},n.open("GET",o),n.send()})}function et(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function Xt(o,t){for(var e="",r=0,n=-1,i=0,a,s=0;s<=o.length;++s){if(s2){var l=e.lastIndexOf("/");if(l!==e.length-1){l===-1?(e="",r=0):(e=e.slice(0,l),r=e.length-1-e.lastIndexOf("/")),n=s,i=0;continue}}else if(e.length===2||e.length===1){e="",r=0,n=s,i=0;continue}}t&&(e.length>0?e+="/..":e="..",r=2)}else e.length>0?e+="/"+o.slice(n+1,s):e=o.slice(n+1,s),r=s-n-1;n=s,i=0}else a===46&&i!==-1?++i:i=-1}return e}function Ce(o,t){var e=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return e?e===t.root?e+r:e+o+r:r}var ht={resolve:function(){for(var t="",e=!1,r,n=arguments.length-1;n>=-1&&!e;n--){var i;n>=0?i=arguments[n]:(r===void 0&&(r=process.cwd()),i=r),et(i),i.length!==0&&(t=i+"/"+t,e=i.charCodeAt(0)===47)}return t=Xt(t,!e),e?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(et(t),t.length===0)return".";var e=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Xt(t,!e),t.length===0&&!e&&(t="."),t.length>0&&r&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return et(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,e=0;e0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":ht.normalize(t)},relative:function(t,e){if(et(t),et(e),t===e||(t=ht.resolve(t),e=ht.resolve(e),t===e))return"";for(var r=1;rc){if(e.charCodeAt(a+h)===47)return e.slice(a+h+1);if(h===0)return e.slice(a+h)}else i>c&&(t.charCodeAt(r+h)===47?u=h:h===0&&(u=0));break}var b=t.charCodeAt(r+h),x=e.charCodeAt(a+h);if(b!==x)break;b===47&&(u=h)}var k="";for(h=r+u+1;h<=n;++h)(h===n||t.charCodeAt(h)===47)&&(k.length===0?k+="..":k+="/..");return k.length>0?k+e.slice(a+u):(a+=u,e.charCodeAt(a)===47&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(et(t),t.length===0)return".";for(var e=t.charCodeAt(0),r=e===47,n=-1,i=!0,a=t.length-1;a>=1;--a)if(e=t.charCodeAt(a),e===47){if(!i){n=a;break}}else i=!1;return n===-1?r?"/":".":r&&n===1?"//":t.slice(0,n)},basename:function(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');et(t);var r=0,n=-1,i=!0,a;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var s=e.length-1,l=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!i){r=a+1;break}}else l===-1&&(i=!1,l=a+1),s>=0&&(c===e.charCodeAt(s)?--s===-1&&(n=a):(s=-1,n=l))}return r===n?n=l:n===-1&&(n=t.length),t.slice(r,n)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!i){r=a+1;break}}else n===-1&&(i=!1,n=a+1);return n===-1?"":t.slice(r,n)}},extname:function(t){et(t);for(var e=-1,r=0,n=-1,i=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(l===47){if(!i){r=s+1;break}continue}n===-1&&(i=!1,n=s+1),l===46?e===-1?e=s:a!==1&&(a=1):e!==-1&&(a=-1)}return e===-1||n===-1||a===0||a===1&&e===n-1&&e===r+1?"":t.slice(e,n)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return Ce("/",t)},parse:function(t){et(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;var r=t.charCodeAt(0),n=r===47,i;n?(e.root="/",i=1):i=0;for(var a=-1,s=0,l=-1,c=!0,u=t.length-1,h=0;u>=i;--u){if(r=t.charCodeAt(u),r===47){if(!c){s=u+1;break}continue}l===-1&&(c=!1,l=u+1),r===46?a===-1?a=u:h!==1&&(h=1):a!==-1&&(h=-1)}return a===-1||l===-1||h===0||h===1&&a===l-1&&a===s+1?l!==-1&&(s===0&&n?e.base=e.name=t.slice(1,l):e.base=e.name=t.slice(s,l)):(s===0&&n?(e.name=t.slice(1,a),e.base=t.slice(1,l)):(e.name=t.slice(s,a),e.base=t.slice(s,l)),e.ext=t.slice(a,l)),s>0?e.dir=t.slice(0,s-1):n&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};ht.posix=ht;const xe=ht.extname,re=ht.basename;class Ae{constructor(){let t=(()=>typeof global>"u")(),e="image/png",r="image/jpeg",n="image/jpeg",i="image/webp",a="application/pdf",s="image/svg+xml";Object.assign(this,{toMime:this.toMime.bind(this),fromMime:this.fromMime.bind(this),expected:t?'"png", "jpg", or "webp"':'"png", "jpg", "pdf", or "svg"',formats:t?{png:e,jpg:r,jpeg:n,webp:i}:{png:e,jpg:r,jpeg:n,pdf:a,svg:s},mimes:t?{[e]:"png",[r]:"jpg",[i]:"webp"}:{[e]:"png",[r]:"jpg",[a]:"pdf",[s]:"svg"}})}toMime(t){return this.formats[(t||"").replace(/^\./,"").toLowerCase()]}fromMime(t){return this.mimes[t]}}function Pe(o,{filename:t="",extension:e="",format:T,page:n,quality:i,matte:a,density:s,outline:l,archive:x}={}){var{fromMime:u,toMime:h,expected:b}=new Ae,x=x||"canvas",k=T||e.replace(/@\d+x$/i,"")||xe(t),T=u(h(k)||k),z=h(T),g=o.length;if(!k)throw new Error("Cannot determine image format (use a filename extension or 'format' argument)");if(!T)throw new Error(`Unsupported file format "${k}" (expected ${b})`);if(!g)throw new RangeError("Canvas has no associated contexts (try calling getContext or newPage first)");let p,A,d=t.replace(/{(\d*)}/g,(m,y)=>(A=!0,y=parseInt(y,10),p=isFinite(y)?y:isFinite(p)?p:-1,"{}")),w=n>0?n-1:n<0?g+n:void 0;if(isFinite(w)&&w<0||w>=g)throw new RangeError(g==1?`Canvas only has a \u2018page 1\u2019 (${w} is out of bounds)`:`Canvas has pages 1\u2013${g} (${w} is out of bounds)`);if(o=isFinite(w)?[o[w]]:A||T=="pdf"?o:o.slice(-1),i===void 0)i=.92;else if(typeof i!="number"||!isFinite(i)||i<0||i>1)throw new TypeError("The quality option must be an number in the 0.0\u20131.0 range");if(s===void 0){let m=(e||re(t,k)).match(/@(\d+)x$/i);s=m?parseInt(m[1],10):1}else if(typeof s!="number"||!Number.isInteger(s)||s<1)throw new TypeError("The density option must be a non-negative integer");return l===void 0?l=!0:T=="svg"&&(l=!!l),{filename:t,pattern:d,format:T,mime:z,pages:o,padding:p,quality:i,matte:a,density:s,outline:l,archive:x}}class Pt{static for(t){return new Pt().append(t).get()}constructor(){this.crc=-1}get(){return~this.crc}append(t){for(var e=this.crc|0,r=this.table,n=0,i=t.length|0;n>>8^r[(e^t[n])&255];return this.crc=e,this}}Pt.prototype.table=(()=>{var o,t,e,r=[];for(o=0;o<256;o++){for(e=o,t=0;t<8;t++)e=e&1?e>>>1^3988292384:e>>>1;r[o]=e}return r})();function It(o){let t=new Uint8Array(o),e=new DataView(t.buffer),r={array:t,view:e,size:o,set8(n,i){return e.setUint8(n,i),r},set16(n,i){return e.setUint16(n,i,!0),r},set32(n,i){return e.setUint32(n,i,!0),r},bytes(n,i){return t.set(i,n),r}};return r}class Bt{constructor(t){let e=new Date;Object.assign(this,{directory:t,offset:0,files:[],time:(e.getHours()<<6|e.getMinutes())<<5|e.getSeconds()/2,date:(e.getFullYear()-1980<<4|e.getMonth()+1)<<5|e.getDate()}),this.add(t)}async add(t,e){let r=!e,n=Bt.encoder.encode(`${this.directory}/${r?"":t}`),i=new Uint8Array(r?0:await e.arrayBuffer()),a=30+n.length,s=a+i.length,l=16,{offset:c}=this,u=It(26).set32(0,134742036).set16(6,this.time).set16(8,this.date).set32(10,Pt.for(i)).set32(14,i.length).set32(18,i.length).set16(22,n.length);c+=a;let h=It(a+i.length+l).set32(0,67324752).bytes(4,u.array).bytes(30,n).bytes(a,i);c+=i.length,h.set32(s,134695760).bytes(s+4,u.array.slice(10,22)),c+=l,this.files.push({offset:c,folder:r,name:n,header:u,payload:h}),this.offset=c}toBuffer(){let t=this.files.reduce((h,{name:b})=>46+b.length+h,0),e=It(t+22),r=0;for(var{offset:n,name:i,header:a,folder:s}of this.files)e.set32(r,33639248).set16(r+4,20).bytes(r+6,a.array).set8(r+38,s?16:0).set32(r+42,n).bytes(r+46,i),r+=46+i.length;e.set32(r,101010256).set16(r+8,this.files.length).set16(r+10,this.files.length).set32(r+12,t).set32(r+16,this.offset);let l=new Uint8Array(this.offset+e.size),c=0;for(var{payload:u}of this.files)l.set(u.array,c),c+=u.size;return l.set(e.array,c),l}get blob(){return new Blob([this.toBuffer()],{type:"application/zip"})}}Bt.encoder=new TextEncoder;const Ot=(o,t,e,r)=>{if(r){let{width:n,height:i}=o,a=Object.assign(document.createElement("canvas"),{width:n,height:i}),s=a.getContext("2d");s.fillStyle=r,s.fillRect(0,0,n,i),s.drawImage(o,0,0),o=a}return new Promise((n,i)=>o.toBlob(n,t,e))},Be=(...o)=>Ot(...o).then(t=>t.arrayBuffer()),De=async(o,t,e,r,n)=>{ne(n,await Ot(o,t,e,r))},ke=async(o,t,e,r,n,i,a)=>{let s=u=>i.replace("{}",String(u+1).padStart(a,"0")),l=re(n,".zip")||"archive",c=new Bt(l);await Promise.all(o.map(async(u,h)=>{let b=s(h);await c.add(b,await Ot(u,t,e,r))})),ne(`${l}.zip`,c.blob)},ne=(o,t)=>{const e=window.URL.createObjectURL(t),r=document.createElement("a");r.style.display="none",r.href=e,r.setAttribute("download",o),typeof r.download>"u"&&r.setAttribute("target","_blank"),document.body.appendChild(r),r.click(),document.body.removeChild(r),setTimeout(()=>window.URL.revokeObjectURL(e),100)},Te=(o,t,e)=>o.map(r=>{if(t==1&&!e)return r.canvas;let n=document.createElement("canvas"),i=n.getContext("2d"),a=r.canvas?r.canvas:r;return n.width=a.width*t,n.height=a.height*t,e&&(i.fillStyle=e,i.fillRect(0,0,n.width,n.height)),i.scale(t,t),i.drawImage(a,0,0),n}),Ee={asBuffer:Be,asDownload:De,asZipDownload:ke,atScale:Te,options:Pe},{asBuffer:Lt,asDownload:Se,asZipDownload:Ie,atScale:_t,options:Mt}=Ee,Zt=Symbol.for("toDataURL"),Le=o=>new Promise((t,e)=>Object.assign(new ie,{crossOrigin:"Anonymous",onload:t,onerror:e,src:o}));class _e{constructor(t,e){let r=document.createElement("canvas"),n=[];Object.defineProperty(r,"async",{value:!0,writable:!1,enumerable:!0});for(var[i,a]of Object.entries({png:()=>Lt(r,"image/png"),jpg:()=>Lt(r,"image/jpeg"),pages:()=>n.concat(r).map(s=>s.getContext("2d"))}))Object.defineProperty(r,i,{get:a});return Object.assign(r,{width:t,height:e,newPage(...s){var{width:c,height:u}=r,l=Object.assign(document.createElement("canvas"),{width:c,height:u});l.getContext("2d").drawImage(r,0,0),n.push(l);var[c,u]=s.length?s:[c,u];return Object.assign(r,{width:c,height:u}).getContext("2d")},saveAs(s,l){l=typeof l=="number"?{quality:l}:l;let c=Mt(this.pages,{filename:s,...l}),{pattern:u,padding:h,mime:b,quality:x,matte:k,density:T,archive:z}=c,g=_t(c.pages,T);return h==null?Se(g[0],b,x,k,s):Ie(g,b,x,k,z,u,h)},toBuffer(s="png",l={}){l=typeof l=="number"?{quality:l}:l;let c=Mt(this.pages,{extension:s,...l}),{mime:u,quality:h,matte:b,pages:x,density:k}=c,T=_t(x,k,b)[0];return Lt(T,u,h,b)},[Zt]:r.toDataURL.bind(r),toDataURL(s="png",l={}){l=typeof l=="number"?{quality:l}:l;let c=Mt(this.pages,{extension:s,...l}),{mime:u,quality:h,matte:b,pages:x,density:k}=c,T=_t(x,k,b)[0],z=T[T===r?Zt:"toDataURL"](u,h);return Promise.resolve(z)}})}}const{CanvasRenderingContext2D:Me,CanvasGradient:Fe,CanvasPattern:Ne,Image:ie,ImageData:Oe,Path2D:Re,DOMMatrix:$e,DOMRect:ze,DOMPoint:Ge}=window,je={Canvas:_e,loadImage:Le,CanvasRenderingContext2D:Me,CanvasGradient:Fe,CanvasPattern:Ne,Image:ie,ImageData:Oe,Path2D:Re,DOMMatrix:$e,DOMRect:ze,DOMPoint:Ge},bt=(o,t,e={},r=e)=>{if(Array.isArray(t))t.forEach(n=>bt(o,n,e,r));else if(typeof t=="function")t(o,e,r,bt);else{const n=Object.keys(t)[0];Array.isArray(t[n])?(r[n]={},bt(o,t[n],e,r[n])):r[n]=t[n](o,e,r,bt)}return e},dt=(o,t)=>(e,r,n,i)=>{t(e,r,n)&&i(e,o,r,n)},Ue=(o,t)=>(e,r,n,i)=>{const a=[];let s=e.pos;for(;t(e,r,n);){const l={};if(i(e,o,r,l),e.pos===s)break;s=e.pos,a.push(l)}return a},He=o=>({data:o,pos:0}),Y=()=>o=>o.data[o.pos++],oe=(o=0)=>t=>t.data[t.pos+o],nt=o=>t=>t.data.subarray(t.pos,t.pos+=o),Dt=o=>t=>t.data.subarray(t.pos,t.pos+o),Ft=o=>t=>Array.from(nt(o)(t)).map(e=>String.fromCharCode(e)).join(""),ut=o=>t=>{const e=nt(2)(t);return o?(e[1]<<8)+e[0]:(e[0]<<8)+e[1]},ae=(o,t)=>(e,r,n)=>{const i=typeof t=="function"?t(e,r,n):t,a=nt(o),s=new Array(i);for(var l=0;l{for(var r=0,n=0;nt=>{const e=Y()(t),r=new Array(8);for(var n=0;n<8;n++)r[7-n]=!!(e&1<{const s=o[a];return s.length?i[a]=Ke(r,s.index,s.length):i[a]=r[s.index],i},{})};var kt={blocks:o=>{const e=[],r=o.data.length;for(var n=0,i=Y()(o);i!==0&&i;i=Y()(o)){if(o.pos+i>=r){const c=r-o.pos;e.push(nt(c)(o)),n+=c;break}e.push(nt(i)(o)),n+=i}const a=new Uint8Array(n);for(var s=0,l=0;l{var t=Dt(2)(o);return t[0]===33&&t[1]===249}),Ze=dt({image:[{code:Y()},{descriptor:[{left:ut(!0)},{top:ut(!0)},{width:ut(!0)},{height:ut(!0)},{lct:Rt({exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}})}]},dt({lct:ae(3,(o,t,e)=>Math.pow(2,e.descriptor.lct.size+1))},(o,t,e)=>e.descriptor.lct.exists),{data:[{minCodeSize:Y()},kt]}]},o=>oe()(o)===44),Je=dt({text:[{codes:nt(2)},{blockSize:Y()},{preData:(o,t,e)=>nt(e.text.blockSize)(o)},kt]},o=>{var t=Dt(2)(o);return t[0]===33&&t[1]===1}),We=dt({application:[{codes:nt(2)},{blockSize:Y()},{id:(o,t,e)=>Ft(e.blockSize)(o)},kt]},o=>{var t=Dt(2)(o);return t[0]===33&&t[1]===255}),Ve=dt({comment:[{codes:nt(2)},kt]},o=>{var t=Dt(2)(o);return t[0]===33&&t[1]===254}),Ye=[{header:[{signature:Ft(3)},{version:Ft(3)}]},{lsd:[{width:ut(!0)},{height:ut(!0)},{gct:Rt({exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}})},{backgroundColorIndex:Y()},{pixelAspectRatio:Y()}]},dt({gct:ae(3,(o,t)=>Math.pow(2,t.lsd.gct.size+1))},(o,t)=>t.lsd.gct.exists),{frames:Ue([Xe,We,Ve,Ze,Je],o=>{var t=oe()(o);return t===33||t===44})}],qe=(o,t)=>{const e=new Array(o.length),r=o.length/t,n=function(u,h){const b=o.slice(h*t,(h+1)*t);e.splice.apply(e,[u*t,t].concat(b))},i=[0,4,2,1],a=[8,8,4,2];for(var s=0,l=0;l<4;l++)for(var c=i[l];c{const i=e;var a,s,l,c,u,h,b,w,x,k,d,T,m,y,E,P;const z=new Array(e),g=new Array(4096),p=new Array(4096),A=new Array(4096+1);for(T=o,s=1<>=c,w-=c,x>a||x==u)break;if(x==s){c=T+1,l=(1<s;)A[y++]=p[x],x=g[x];m=p[x]&255,A[y++]=m,a<4096&&(g[a]=b,p[a]=m,a++,(a&l)===0&&a<4096&&(c++,l+=a)),b=h}y--,z[P++]=A[y],k++}for(k=P;k{const t=new Uint8Array(o);return bt(He(t),Ye)},er=o=>{const t=o.pixels.length,e=new Uint8ClampedArray(t*4);for(var r=0;r{if(!o.image){console.warn("gif frame does not have associated image.");return}const{image:r}=o,n=r.descriptor.width*r.descriptor.height;var i=Qe(r.data.minCodeSize,r.data.blocks,n);r.descriptor.lct.interlaced&&(i=qe(i,r.descriptor.width));const a={pixels:i,dims:{top:o.image.descriptor.top,left:o.image.descriptor.left,width:o.image.descriptor.width,height:o.image.descriptor.height}};return r.descriptor.lct&&r.descriptor.lct.exists?a.colorTable=r.lct:a.colorTable=t,o.gce&&(a.delay=(o.gce.delay||10)*10,a.disposalType=o.gce.extras.disposal,o.gce.extras.transparentColorGiven&&(a.transparentIndex=o.gce.transparentColorIndex)),e&&(a.patch=er(a)),a},nr=(o,t)=>o.frames.filter(e=>e.image).map(e=>rr(e,o.gct,t));function ir(o,t,e){const r=se(t),n=o-1;let i=0;switch(e){case Z.L:i=rt[n][0];break;case Z.M:i=rt[n][1];break;case Z.Q:i=rt[n][2];break;case Z.H:i=rt[n][3];break}return r<=i}function or(o,t){for(var e=1,r=se(o),n=0,i=rt.length;nrt.length)throw new Error("Too long data");return e}function se(o){var t=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=Number(o)?3:0)}class ar{constructor(t){this.mode=W.MODE_8BIT_BYTE,this.parsedData=[],this.data=t;const e=[];for(let r=0,n=this.data.length;r65536?(i[0]=240|(a&1835008)>>>18,i[1]=128|(a&258048)>>>12,i[2]=128|(a&4032)>>>6,i[3]=128|a&63):a>2048?(i[0]=224|(a&61440)>>>12,i[1]=128|(a&4032)>>>6,i[2]=128|a&63):a>128?(i[0]=192|(a&1984)>>>6,i[1]=128|a&63):i[0]=a,e.push(i)}this.parsedData=Array.prototype.concat.apply([],e),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}getLength(){return this.parsedData.length}write(t){for(let e=0,r=this.parsedData.length;e40)throw new Error(`Invalid QR version: ${this.typeNumber}`);if(!ir(this.typeNumber,t,this.errorCorrectLevel))throw new Error(`Data is too long for QR version: ${this.typeNumber}`)}const e=new ar(t);this.dataList.push(e),this.dataCache=void 0}isDark(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(`${t},${e}`);return this.modules[t][e]}getModuleCount(){return this.moduleCount}make(){this.makeImpl(!1,this.getBestMaskPattern())}makeImpl(t,e){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(let r=0;r=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=ct.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)}setupPositionProbePattern(t,e){for(let r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(let n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(0<=r&&r<=6&&(n==0||n==6)||0<=n&&n<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=n&&n<=4?this.modules[t+r][e+n]=!0:this.modules[t+r][e+n]=!1)}getBestMaskPattern(){if(Number.isInteger(this.maskPattern)&&Object.values(ot).includes(this.maskPattern))return this.maskPattern;let t=0,e=0;for(let r=0;r<8;r++){this.makeImpl(!0,r);const n=_.getLostPoint(this);(r==0||t>n)&&(t=n,e=r)}return e}setupTimingPattern(){for(let t=8;t>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(var r=0;r<18;r++){var n=!t&&(e>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}}setupTypeInfo(t,e){const r=this.errorCorrectLevel<<3|e,n=_.getBCHTypeInfo(r);for(var i=0;i<15;i++){var a=!t&&(n>>i&1)==1;i<6?this.modules[i][8]=a:i<8?this.modules[i+1][8]=a:this.modules[this.moduleCount-15+i][8]=a}for(var i=0;i<15;i++){var a=!t&&(n>>i&1)==1;i<8?this.modules[8][this.moduleCount-i-1]=a:i<9?this.modules[8][15-i-1+1]=a:this.modules[8][15-i-1]=a}this.modules[this.moduleCount-8][8]=!t}mapData(t,e){let r=-1,n=this.moduleCount-1,i=7,a=0;for(let s=this.moduleCount-1;s>0;s-=2)for(s==6&&s--;;){for(let l=0;l<2;l++)if(this.modules[n][s-l]==null){let c=!1;a>>i&1)==1),_.getMask(e,n,s-l)&&(c=!c),this.modules[n][s-l]=c,i--,i==-1&&(a++,i=7)}if(n+=r,n<0||this.moduleCount<=n){n-=r,r=-r;break}}}static createData(t,e,r){const n=at.getRSBlocks(t,e),i=new sr;for(var a=0;as*8)throw new Error(`code length overflow. (${i.getLengthInBits()}>${s*8})`);for(i.getLengthInBits()+4<=s*8&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=s*8||(i.put(ct.PAD0,8),i.getLengthInBits()>=s*8));)i.put(ct.PAD1,8);return ct.createBytes(i,n)}static createBytes(t,e){let r=0,n=0,i=0;const a=new Array(e.length),s=new Array(e.length);for(var l=0;l=0?g.get(A):0}}let u=0;for(var c=0;c=0;)e^=_.G15<<_.getBCHDigit(e)-_.getBCHDigit(_.G15);return(t<<10|e)^_.G15_MASK}static getBCHTypeNumber(t){let e=t<<12;for(;_.getBCHDigit(e)-_.getBCHDigit(_.G18)>=0;)e^=_.G18<<_.getBCHDigit(e)-_.getBCHDigit(_.G18);return t<<12|e}static getBCHDigit(t){let e=0;for(;t!=0;)e++,t>>>=1;return e}static getPatternPosition(t){return _.PATTERN_POSITION_TABLE[t-1]}static getMask(t,e,r){switch(t){case ot.PATTERN000:return(e+r)%2==0;case ot.PATTERN001:return e%2==0;case ot.PATTERN010:return r%3==0;case ot.PATTERN011:return(e+r)%3==0;case ot.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case ot.PATTERN101:return e*r%2+e*r%3==0;case ot.PATTERN110:return(e*r%2+e*r%3)%2==0;case ot.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error(`bad maskPattern:${t}`)}}static getErrorCorrectPolynomial(t){let e=new pt([1],0);for(let r=0;r5&&(r+=3+l-5)}for(var n=0;n=256;)t-=255;return j.EXP_TABLE[t]}}j.EXP_TABLE=new Array(256);j.LOG_TABLE=new Array(256);j._constructor=function(){for(var o=0;o<8;o++)j.EXP_TABLE[o]=1<>>7-t%8&1)==1}put(t,e){for(let r=0;r>>e-r-1&1)==1)}getLengthInBits(){return this.length}putBit(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}}const rt=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];var lr=100,K=256,Jt=K-1,lt=4,le=16,$t=1<>zt,fr=$t<>3,Nt=6,hr=1<>3);var g,p;for(g=0;g>=lt,e[g][1]>>=lt,e[g][2]>>=lt,e[g][3]=g}function c(g,p,A,d,w){e[p][0]-=g*(e[p][0]-A)/yt,e[p][1]-=g*(e[p][1]-d)/yt,e[p][2]-=g*(e[p][2]-w)/yt}function u(g,p,A,d,w){for(var m=Math.abs(p-g),y=Math.min(p+g,K),P=p+1,E=p-1,M=1,f,F;Pm;)F=a[M++],Pm&&(f=e[E--],f[0]-=F*(f[0]-A)/gt,f[1]-=F*(f[1]-d)/gt,f[2]-=F*(f[2]-w)/gt)}function h(g,p,A){var d=2147483647,w=d,m=-1,y=m,P,E,M,f,F;for(P=0;P>le-lt),f>zt,i[P]-=F,n[P]+=F<>1,p=y+1;p>1,p=y+1;p<256;p++)r[p]=Jt}function x(g,p,A){for(var d,w,m,y=1e3,P=-1,E=r[p],M=E-1;E=0;)E=y?E=K:(E++,m<0&&(m=-m),d=w[0]-g,d<0&&(d=-d),m+=d,m=0&&(w=e[M],m=p-w[1],m>=y?M=-1:(M--,m<0&&(m=-m),d=w[0]-g,d<0&&(d=-d),m+=d,m>Nt;for(P<=1&&(P=0),g=0;g=p&&(N-=p),g++,w===0&&(w=1),g%w===0)for(m-=m/A,y-=y/gr,P=y>>Nt,P<=1&&(P=0),C=0;C=254&&E(N)}function w(C){m(vt),h=T+2,x=!0,F(T,C)}function m(C){for(var N=0;N=0){st=U-G,G===0&&(st=1);do if((G-=st)<0&&(G+=U),a[G]===v){q=s[G];continue t}while(a[G]>=0)}F(q,N),q=ft,h<1<0&&(C.writeByte(u),C.writeBytes(i,0,u),u=0)}function M(C){return(1<0?l|=C<=8;)d(l&255,N),l>>=8,c-=8;if((h>b||x)&&(x?(b=M(A=k),x=!1):(++A,A==Ct?b=1<0;)d(l&255,N),l>>=8,c-=8;E(N)}}this.encode=P}function J(){this.page=-1,this.pages=[],this.newPage()}J.pageSize=4096;J.charMap={};for(var xt=0;xt<256;xt++)J.charMap[xt]=String.fromCharCode(xt);J.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(J.pageSize),this.cursor=0};J.prototype.getData=function(){for(var o="",t=0;tr+n.length,0));return o.reduce((r,n)=>(e.set(n,r),r+n.length),0),e};J.prototype.writeByte=function(o){this.cursor>=J.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=o};J.prototype.writeUTFBytes=function(o){for(var t=o.length,e=0;e=0&&(this.dispose=o)};O.prototype.setRepeat=function(o){this.repeat=o};O.prototype.setTransparent=function(o){this.transparent=o};O.prototype.addFrame=function(o){this.image=o,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),this.globalPalette===!0&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeHeader(),this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),!this.firstFrame&&!this.globalPalette&&this.writePalette(),this.writePixels(),this.firstFrame=!1};O.prototype.finish=function(){this.out.writeByte(59)};O.prototype.setQuality=function(o){o<1&&(o=1),this.sample=o};O.prototype.setDither=function(o){o===!0&&(o="FloydSteinberg"),this.dither=o};O.prototype.setGlobalPalette=function(o){this.globalPalette=o};O.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette};O.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")};O.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new vr(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),this.dither.match(/-serpentine/)!==null):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,this.transparent!==null&&(this.transIndex=this.findClosest(this.transparent,!0))};O.prototype.indexPixels=function(o){var t=this.pixels.length/3;this.indexedPixels=new Uint8Array(t);for(var e=0,r=0;r=0&&P+u=0&&E+c>16,(o&65280)>>8,o&255,t)};O.prototype.findClosestRGB=function(o,t,e,r){if(this.colorTab===null)return-1;if(this.neuQuant&&!r)return this.neuQuant.lookupRGB(o,t,e);for(var n=0,i=256*256*256,a=this.colorTab.length,s=0,l=0;s=0&&(t=this.dispose&7),t<<=2,this.out.writeByte(0|t|0|o),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)};O.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)};O.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)};O.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)};O.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var o=3*256-this.colorTab.length,t=0;t>8&255)};O.prototype.writePixels=function(){var o=new wr(this.width,this.height,this.indexedPixels,this.colorDepth);o.encode(this.out)};O.prototype.stream=function(){return this.out};var yr=globalThis&&globalThis.__awaiter||function(o,t,e,r){function n(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(h){a(h)}}function l(u){try{c(r.throw(u))}catch(h){a(h)}}function c(u){u.done?i(u.value):n(u.value).then(s,l)}c((r=r.apply(o,t||[])).next())})};const{Canvas:it}=je,At=.4;function te(o){if(!o)return;function t(e){e.onload=null,e.onerror=null}return new Promise(function(e,r){if(o.slice(0,4)=="data"){let i=new Image;i.onload=function(){e(i),t(i)},i.onerror=function(){r("Image load error"),t(i)},i.src=o;return}let n=new Image;n.setAttribute("crossOrigin","Anonymous"),n.onload=function(){e(n)},n.onerror=function(){r("Image load error")},n.src=o})}class L{constructor(t){const e=Object.assign({},t);if(Object.keys(L.defaultOptions).forEach(r=>{r in e||Object.defineProperty(e,r,{value:L.defaultOptions[r],enumerable:!0,writable:!0})}),e.components?typeof e.components=="object"&&Object.keys(L.defaultComponentOptions).forEach(r=>{r in e.components?Object.defineProperty(e.components,r,{value:Object.assign(Object.assign({},L.defaultComponentOptions[r]),e.components[r]),enumerable:!0,writable:!0}):Object.defineProperty(e.components,r,{value:L.defaultComponentOptions[r],enumerable:!0,writable:!0})}):e.components=L.defaultComponentOptions,e.dotScale!==null&&e.dotScale!==void 0){if(e.dotScale<=0||e.dotScale>1)throw new Error("dotScale should be in range (0, 1].");e.components.data.scale=e.dotScale,e.components.timing.scale=e.dotScale,e.components.alignment.scale=e.dotScale}this.options=e,this.canvas=new it(t.size,t.size),this.canvasContext=this.canvas.getContext("2d"),this.qrCode=new ct(-1,this.options.correctLevel),Number.isInteger(this.options.maskPattern)&&(this.qrCode.maskPattern=this.options.maskPattern),Number.isInteger(this.options.version)&&(this.qrCode.typeNumber=this.options.version),this.qrCode.addData(this.options.text),this.qrCode.make()}draw(){return new Promise(t=>this._draw().then(t))}_clear(){this.canvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)}static _prepareRoundedCornerClip(t,e,r,n,i,a){t.beginPath(),t.moveTo(e,r),t.arcTo(e+n,r,e+n,r+i,a),t.arcTo(e+n,r+i,e,r+i,a),t.arcTo(e,r+i,e,r,a),t.arcTo(e,r,e+n,r,a),t.closePath()}static _getAverageRGB(t){const r={r:0,g:0,b:0};let n,i,a=-4;const s={r:0,g:0,b:0};let l=0;i=t.naturalHeight||t.height,n=t.naturalWidth||t.width;const u=new it(n,i).getContext("2d");if(!u)return r;u.drawImage(t,0,0);let h;try{h=u.getImageData(0,0,n,i)}catch{return r}for(;(a+=5*4)200||h.data[a+1]>200||h.data[a+2]>200||(++l,s.r+=h.data[a],s.g+=h.data[a+1],s.b+=h.data[a+2]);return s.r=~~(s.r/l),s.g=~~(s.g/l),s.b=~~(s.b/l),s}static _drawDot(t,e,r,n,i=0,a=1){t.fillRect((e+i)*n,(r+i)*n,a*n,a*n)}static _drawAlignProtector(t,e,r,n){t.clearRect((e-2)*n,(r-2)*n,5*n,5*n),t.fillRect((e-2)*n,(r-2)*n,5*n,5*n)}static _drawAlign(t,e,r,n,i=0,a=1,s,l){const c=t.fillStyle;t.fillStyle=s,new Array(4).fill(0).map((u,h)=>{L._drawDot(t,e-2+h,r-2,n,i,a),L._drawDot(t,e+2,r-2+h,n,i,a),L._drawDot(t,e+2-h,r+2,n,i,a),L._drawDot(t,e-2,r+2-h,n,i,a)}),L._drawDot(t,e,r,n,i,a),l||(t.fillStyle="rgba(255, 255, 255, 0.6)",new Array(2).fill(0).map((u,h)=>{L._drawDot(t,e-1+h,r-1,n,i,a),L._drawDot(t,e+1,r-1+h,n,i,a),L._drawDot(t,e+1-h,r+1,n,i,a),L._drawDot(t,e-1,r+1-h,n,i,a)})),t.fillStyle=c}_draw(){var t,e,r,n,i,a,s,l,c,u,h,b,x,k,T,z,g,p,A;return yr(this,void 0,void 0,function*(){const d=(t=this.qrCode)===null||t===void 0?void 0:t.moduleCount,w=this.options.size;let m=this.options.margin;(m<0||m*2>=w)&&(m=0);const y=Math.ceil(m),P=w-2*m,E=this.options.whiteMargin,M=this.options.backgroundDimming,f=Math.ceil(P/d),F=f*d,C=F+2*y,N=new it(C,C),v=N.getContext("2d");this._clear(),v.save(),v.translate(y,y);const ft=new it(C,C),G=ft.getContext("2d");let q=null,st=[];if(this.options.gifBackground){const B=tr(this.options.gifBackground);if(q=B,st=nr(B,!0),this.options.autoColor){let D=0,S=0,I=0,H=0;for(let R=0;R200||$[1]>200||$[2]>200||$[0]===0&&$[1]===0&&$[2]===0||(H++,D+=$[0],S+=$[1],I+=$[2])}D=~~(D/H),S=~~(S/H),I=~~(I/H),this.options.colorDark=`rgb(${D},${S},${I})`}}else if(this.options.backgroundImage){const B=yield te(this.options.backgroundImage);if(this.options.autoColor){const D=L._getAverageRGB(B);this.options.colorDark=`rgb(${D.r},${D.g},${D.b})`}G.drawImage(B,0,0,B.width,B.height,0,0,C,C),G.rect(0,0,C,C),G.fillStyle=M,G.fill()}else G.rect(0,0,C,C),G.fillStyle=this.options.colorLight,G.fill();const U=_.getPatternPosition(this.qrCode.typeNumber),Q=((r=(e=this.options.components)===null||e===void 0?void 0:e.data)===null||r===void 0?void 0:r.scale)||At,Gt=(1-Q)*.5;for(let B=0;B=d-8)||D>=d-8&&B<8,H=B==6&&D>=8&&D<=d-8||D==6&&B>=8&&B<=d-8;let R=I||H;for(let X=1;X=U[X]-2&&B<=U[X]+2&&D>=U[X]-2&&D<=U[X]+2;const $=D*f+(R?0:Gt*f),tt=B*f+(R?0:Gt*f);if(v.strokeStyle=S?this.options.colorDark:this.options.colorLight,v.lineWidth=.5,v.fillStyle=S?this.options.colorDark:this.options.colorLight,U.length===0)R||v.fillRect($,tt,(R?1:Q)*f,(R?1:Q)*f);else{const X=D=d-4-5&&B=d-4-5;!R&&!X&&v.fillRect($,tt,(R?1:Q)*f,(R?1:Q)*f)}}const V=U[U.length-1],de=this.options.colorLight;if(v.fillStyle=de,v.fillRect(0,0,8*f,8*f),v.fillRect(0,(d-8)*f,8*f,8*f),v.fillRect((d-8)*f,0,8*f,8*f),!((i=(n=this.options.components)===null||n===void 0?void 0:n.timing)===null||i===void 0)&&i.protectors&&(v.fillRect(8*f,6*f,(d-8-8)*f,f),v.fillRect(6*f,8*f,f,(d-8-8)*f)),!((s=(a=this.options.components)===null||a===void 0?void 0:a.cornerAlignment)===null||s===void 0)&&s.protectors&&L._drawAlignProtector(v,V,V,f),!((c=(l=this.options.components)===null||l===void 0?void 0:l.alignment)===null||c===void 0)&&c.protectors)for(let B=0;B=1)&&(D=.2),S<0&&(S=0),I<0&&(I=0);const H=F*D,R=.5*(C-H),$=R;v.restore(),v.fillStyle=this.options.logoBackgroundColor,v.save(),L._prepareRoundedCornerClip(v,R-S,$-S,H+2*S,H+2*S,I+S),v.clip();const tt=v.globalCompositeOperation;v.globalCompositeOperation="destination-out",v.fill(),v.globalCompositeOperation=tt,v.restore(),v.save(),L._prepareRoundedCornerClip(v,R,$,H,H,I),v.clip(),v.drawImage(B,R,$,H,H),v.restore(),v.save(),v.translate(y,y)}if(q){let B,D,S,I,H,R;if(st.forEach(function($){B||(B=new O(w,w),B.setDelay($.delay),B.setRepeat(0));const{width:tt,height:X}=$.dims;D||(D=new it(tt,X),S=D.getContext("2d"),S.rect(0,0,D.width,D.height),S.fillStyle="#ffffff",S.fill()),(!I||!R||tt!==I.width||X!==I.height)&&(I=new it(tt,X),H=I.getContext("2d"),R=H.createImageData(tt,X)),R.data.set($.patch),H.putImageData(R,0,0),S.drawImage(I.getContext("2d").canvas,$.dims.left,$.dims.top);const wt=new it(C,C),mt=wt.getContext("2d");mt.drawImage(D.getContext("2d").canvas,0,0,C,C),mt.rect(0,0,C,C),mt.fillStyle=M,mt.fill(),mt.drawImage(N.getContext("2d").canvas,0,0,C,C);const Et=new it(w,w),Kt=Et.getContext("2d");Kt.drawImage(wt.getContext("2d").canvas,0,0,w,w),B.addFrame(Kt.getImageData(0,0,Et.width,Et.height).data)}),!B)throw new Error("No frames.");if(B.finish(),ee(this.canvas)){const tt=B.stream().toFlattenUint8Array().reduce((X,wt)=>X+String.fromCharCode(wt),"");return Promise.resolve(`data:image/gif;base64,${window.btoa(tt)}`)}return Promise.resolve(Buffer.from(B.stream().toFlattenUint8Array()))}else{G.drawImage(N.getContext("2d").canvas,0,0,C,C),v.drawImage(ft.getContext("2d").canvas,-y,-y,C,C);const B=new it(w,w);B.getContext("2d").drawImage(N.getContext("2d").canvas,0,0,w,w),this.canvas=B;const S=this.options.gifBackground?"gif":"png";return ee(this.canvas)?Promise.resolve(this.canvas.toDataURL(S)):Promise.resolve(this.canvas.toBuffer(S))}})}}L.CorrectLevel=Z;L.defaultComponentOptions={data:{scale:.4},timing:{scale:.5,protectors:!1},alignment:{scale:.5,protectors:!1},cornerAlignment:{scale:.5,protectors:!0}};L.defaultOptions={text:"",size:400,margin:20,colorDark:"#000000",colorLight:"rgba(255, 255, 255, 0.6)",correctLevel:Z.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:4,logoCornerRadius:8,whiteMargin:!0,components:L.defaultComponentOptions,autoColor:!0,logoBackgroundColor:"#ffffff",backgroundColor:"#ffffff"};function ee(o){try{return o instanceof HTMLElement}catch{return typeof o=="object"&&o.nodeType===1&&typeof o.style=="object"&&typeof o.ownerDocument=="object"}}const Cr={props:{text:{type:String,required:!0},qid:{type:String},correctLevel:{type:Number,default:1},size:{type:Number,default:200},margin:{type:Number,default:20},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#FFFFFF"},bgSrc:{type:String,default:void 0},background:{type:String,default:"rgba(0,0,0,0)"},backgroundDimming:{type:String,default:"rgba(0,0,0,0)"},logoSrc:{type:String,default:void 0},logoBackgroundColor:{type:String,default:"rgba(255,255,255,1)"},gifBgSrc:{type:String,default:void 0},logoScale:{type:Number,default:.2},logoMargin:{type:Number,default:0},logoCornerRadius:{type:Number,default:8},whiteMargin:{type:[Boolean,String],default:!0},dotScale:{type:Number,default:1},autoColor:{type:[Boolean,String],default:!0},binarize:{type:[Boolean,String],default:!1},binarizeThreshold:{type:Number,default:128},callback:{type:Function,default:function(){}},bindElement:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"},components:{default:function(){return{data:{scale:1},timing:{scale:1,protectors:!1},alignment:{scale:1,protectors:!1},cornerAlignment:{scale:1,protectors:!0}}}}},name:"vue-qr",data(){return{imgUrl:""}},watch:{$props:{deep:!0,handler(){this.main()}}},mounted(){this.main()},methods:{async main(){if(this.gifBgSrc){const e=await ye(this.gifBgSrc),r=this.logoSrc;this.render(void 0,r,e);return}const o=this.bgSrc,t=this.logoSrc;this.render(o,t)},async render(o,t,e){const r=this;new L({gifBackground:e,text:r.text,size:r.size,margin:r.margin,colorDark:r.colorDark,colorLight:r.colorLight,backgroundColor:r.backgroundColor,backgroundImage:o,backgroundDimming:r.backgroundDimming,logoImage:t,logoScale:r.logoScale,logoBackgroundColor:r.logoBackgroundColor,correctLevel:r.correctLevel,logoMargin:r.logoMargin,logoCornerRadius:r.logoCornerRadius,whiteMargin:St(r.whiteMargin),dotScale:r.dotScale,autoColor:St(r.autoColor),binarize:St(r.binarize),binarizeThreshold:r.binarizeThreshold,components:r.components}).draw().then(n=>{this.imgUrl=n,r.callback&&r.callback(n,r.qid)})}}},xr=["src"];function Ar(o,t,e,r,n,i){return e.bindElement?(ve(),be("img",{key:0,style:{display:"inline-block"},src:n.imgUrl},null,8,xr)):we("",!0)}const Br=me(Cr,[["render",Ar]]);export{Br as v}; diff --git a/docs/assets/vue-qr.fbb19789.js.gz b/docs/assets/vue-qr.019531fb.js.gz similarity index 99% rename from docs/assets/vue-qr.fbb19789.js.gz rename to docs/assets/vue-qr.019531fb.js.gz index a4377e8..d11bbbd 100644 Binary files a/docs/assets/vue-qr.fbb19789.js.gz and b/docs/assets/vue-qr.019531fb.js.gz differ diff --git a/docs/assets/we.9f0d4da4.js b/docs/assets/we.9f0d4da4.js new file mode 100644 index 0000000..a42d0d5 --- /dev/null +++ b/docs/assets/we.9f0d4da4.js @@ -0,0 +1 @@ +const e="/vue-admin-perfect/assets/we.dbb1d3f5.png";export{e as w}; diff --git a/docs/assets/we.dbb1d3f5.png b/docs/assets/we.dbb1d3f5.png new file mode 100644 index 0000000..245e88f Binary files /dev/null and b/docs/assets/we.dbb1d3f5.png differ diff --git a/docs/index.html b/docs/index.html index 6cec8f4..ed4e286 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,7 +5,7 @@ Vue admin perfect - + diff --git a/package-lock.json b/package-lock.json index 7855005..bbacdfa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,9569 +1,8 @@ { "name": "vue-admin-perfect", "version": "0.0.0", - "lockfileVersion": 2, + "lockfileVersion": 1, "requires": true, - "packages": { - "": { - "name": "vue-admin-perfect", - "version": "0.0.0", - "dependencies": { - "@better-scroll/core": "^2.4.2", - "@vueuse/core": "^9.1.1", - "@wangeditor/editor": "^5.1.14", - "@wangeditor/editor-for-vue": "^5.1.12", - "axios": "^0.27.2", - "clipboard": "^2.0.10", - "codemirror": "^5.65.9", - "core-js": "^3.6.5", - "dayjs": "^1.11.4", - "echarts": "^5.3.1", - "element-plus": "^2.2.28", - "exceljs": "^4.3.0", - "file-saver": "^2.0.5", - "fuse.js": "^6.6.2", - "jszip": "^3.9.1", - "mavon-editor": "^2.10.4", - "md-editor-v3": "^1.11.3", - "nprogress": "^0.2.0", - "path-browserify": "^1.0.1", - "path-to-regexp": "^6.2.0", - "pinia": "^2.0.21", - "pinia-plugin-persistedstate": "^2.1.1", - "print-js": "^1.6.0", - "sass": "^1.54.0", - "splitpanes": "^3.1.1", - "svg-sprite-loader": "^6.0.11", - "vue": "^3.2.39", - "vue-cropper": "^1.0.3", - "vue-cropperjs": "^5.0.0", - "vue-fuse": "^4.1.1", - "vue-i18n": "^9.2.2", - "vue-mugen-scroll": "^0.2.6", - "vue-qr": "^4.0.6", - "vue-router": "^4.1.6", - "vue-splitpane": "^1.0.6", - "vue3-text-clamp": "^0.1.1", - "vuedraggable": "^4.1.0", - "vuex": "^4.0.0-0", - "xlsx": "^0.18.5" - }, - "devDependencies": { - "@commitlint/cli": "^17.3.0", - "@commitlint/config-conventional": "^17.3.0", - "@typescript-eslint/eslint-plugin": "^5.32.0", - "@typescript-eslint/parser": "^5.32.0", - "@vitejs/plugin-vue": "^3.0.0", - "commitizen": "^4.2.5", - "consola": "^2.15.3", - "cz-git": "^1.3.12", - "czg": "^1.3.12", - "dart-sass": "^1.25.0", - "eslint": "^8.21.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-vue": "^9.3.0", - "fast-glob": "^3.2.11", - "prettier": "^2.7.1", - "typescript": "^4.6.4", - "unplugin-auto-import": "^0.10.3", - "unplugin-vue-components": "^0.21.2", - "unplugin-vue-define-options": "^0.7.3", - "vite": "^3.0.0", - "vite-plugin-compression": "^0.5.1", - "vite-plugin-style-import": "^2.0.0", - "vite-plugin-svg-icons": "^2.0.1", - "vite-plugin-vue-setup-extend": "^0.4.0", - "vue-tsc": "^0.38.4" - } - }, - "node_modules/@antfu/utils": { - "version": "0.5.2", - "resolved": "https://registry.npmmirror.com/@antfu/utils/-/utils-0.5.2.tgz", - "integrity": "sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==", - "dev": true - }, - "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://r.cnpmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://r.cnpmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.18.6", - "resolved": "https://r.cnpmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://r2.cnpmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://r2.cnpmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://r2.cnpmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://r2.cnpmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://r2.cnpmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://r2.cnpmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://r2.cnpmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.18.10", - "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.18.10.tgz", - "integrity": "sha512-TYk3OA0HKL6qNryUayb5UUEhM/rkOQozIBEA5ITXh5DWrSp0TlUQXMyZmnWxG/DizSWBeeQ0Zbc5z8UGaaqoeg==", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.18.9", - "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.18.9.tgz", - "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==", - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@better-scroll/core": { - "version": "2.4.2", - "resolved": "https://registry.npmmirror.com/@better-scroll/core/-/core-2.4.2.tgz", - "integrity": "sha512-IqVZLnh04YpaEAy9wJDxtFK/stxVQjB9A9Wcr3Uwkj7Av1TtFpin+t/TObl53diNDG5ZJ+vck/OAthphpuugLA==", - "dependencies": { - "@better-scroll/shared-utils": "^2.4.2" - } - }, - "node_modules/@better-scroll/shared-utils": { - "version": "2.4.2", - "resolved": "https://registry.npmmirror.com/@better-scroll/shared-utils/-/shared-utils-2.4.2.tgz", - "integrity": "sha512-Gy/Jfbpu+hq0u+PcjkTqyXGqAf+0dexTzEZ5IDXEVwJVLmd3cx8A73oTcAZ8QZgk4wSHvlMjXecSaptkhnNPEw==" - }, - "node_modules/@commitlint/cli": { - "version": "17.3.0", - "resolved": "https://r.cnpmjs.org/@commitlint/cli/-/cli-17.3.0.tgz", - "integrity": "sha512-/H0md7TsKflKzVPz226VfXzVafJFO1f9+r2KcFvmBu08V0T56lZU1s8WL7/xlxqLMqBTVaBf7Ixtc4bskdEEZg==", - "dev": true, - "dependencies": { - "@commitlint/format": "^17.0.0", - "@commitlint/lint": "^17.3.0", - "@commitlint/load": "^17.3.0", - "@commitlint/read": "^17.2.0", - "@commitlint/types": "^17.0.0", - "execa": "^5.0.0", - "lodash.isfunction": "^3.0.9", - "resolve-from": "5.0.0", - "resolve-global": "1.0.0", - "yargs": "^17.0.0" - }, - "bin": { - "commitlint": "cli.js" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/cli/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://r2.cnpmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@commitlint/config-conventional": { - "version": "17.3.0", - "resolved": "https://r.cnpmjs.org/@commitlint/config-conventional/-/config-conventional-17.3.0.tgz", - "integrity": "sha512-hgI+fN5xF8nhS9uG/V06xyT0nlcyvHHMkq0kwRSr96vl5BFlRGaL2C0/YY4kQagfU087tmj01bJkG9Ek98Wllw==", - "dev": true, - "dependencies": { - "conventional-changelog-conventionalcommits": "^5.0.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/config-validator": { - "version": "17.1.0", - "resolved": "https://r.cnpmjs.org/@commitlint/config-validator/-/config-validator-17.1.0.tgz", - "integrity": "sha512-Q1rRRSU09ngrTgeTXHq6ePJs2KrI+axPTgkNYDWSJIuS1Op4w3J30vUfSXjwn5YEJHklK3fSqWNHmBhmTR7Vdg==", - "dev": true, - "dependencies": { - "@commitlint/types": "^17.0.0", - "ajv": "^8.11.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/config-validator/node_modules/ajv": { - "version": "8.11.2", - "resolved": "https://r.cnpmjs.org/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "node_modules/@commitlint/config-validator/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://r2.cnpmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/@commitlint/ensure": { - "version": "17.3.0", - "resolved": "https://r.cnpmjs.org/@commitlint/ensure/-/ensure-17.3.0.tgz", - "integrity": "sha512-kWbrQHDoW5veIUQx30gXoLOCjWvwC6OOEofhPCLl5ytRPBDAQObMbxTha1Bt2aSyNE/IrJ0s0xkdZ1Gi3wJwQg==", - "dev": true, - "dependencies": { - "@commitlint/types": "^17.0.0", - "lodash.camelcase": "^4.3.0", - "lodash.kebabcase": "^4.1.1", - "lodash.snakecase": "^4.1.1", - "lodash.startcase": "^4.4.0", - "lodash.upperfirst": "^4.3.1" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/execute-rule": { - "version": "17.0.0", - "resolved": "https://r.cnpmjs.org/@commitlint/execute-rule/-/execute-rule-17.0.0.tgz", - "integrity": "sha512-nVjL/w/zuqjCqSJm8UfpNaw66V9WzuJtQvEnCrK4jDw6qKTmZB+1JQ8m6BQVZbNBcwfYdDNKnhIhqI0Rk7lgpQ==", - "dev": true, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/format": { - "version": "17.0.0", - "resolved": "https://r.cnpmjs.org/@commitlint/format/-/format-17.0.0.tgz", - "integrity": "sha512-MZzJv7rBp/r6ZQJDEodoZvdRM0vXu1PfQvMTNWFb8jFraxnISMTnPBWMMjr2G/puoMashwaNM//fl7j8gGV5lA==", - "dev": true, - "dependencies": { - "@commitlint/types": "^17.0.0", - "chalk": "^4.1.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/is-ignored": { - "version": "17.2.0", - "resolved": "https://r.cnpmjs.org/@commitlint/is-ignored/-/is-ignored-17.2.0.tgz", - "integrity": "sha512-rgUPUQraHxoMLxiE8GK430HA7/R2vXyLcOT4fQooNrZq9ERutNrP6dw3gdKLkq22Nede3+gEHQYUzL4Wu75ndg==", - "dev": true, - "dependencies": { - "@commitlint/types": "^17.0.0", - "semver": "7.3.7" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/lint": { - "version": "17.3.0", - "resolved": "https://r.cnpmjs.org/@commitlint/lint/-/lint-17.3.0.tgz", - "integrity": "sha512-VilOTPg0i9A7CCWM49E9bl5jytfTvfTxf9iwbWAWNjxJ/A5mhPKbm3sHuAdwJ87tDk1k4j8vomYfH23iaY+1Rw==", - "dev": true, - "dependencies": { - "@commitlint/is-ignored": "^17.2.0", - "@commitlint/parse": "^17.2.0", - "@commitlint/rules": "^17.3.0", - "@commitlint/types": "^17.0.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/load": { - "version": "17.3.0", - "resolved": "https://r.cnpmjs.org/@commitlint/load/-/load-17.3.0.tgz", - "integrity": "sha512-u/pV6rCAJrCUN+HylBHLzZ4qj1Ew3+eN9GBPhNi9otGxtOfA8b+8nJSxaNbcC23Ins/kcpjGf9zPSVW7628Umw==", - "dev": true, - "dependencies": { - "@commitlint/config-validator": "^17.1.0", - "@commitlint/execute-rule": "^17.0.0", - "@commitlint/resolve-extends": "^17.3.0", - "@commitlint/types": "^17.0.0", - "@types/node": "^14.0.0", - "chalk": "^4.1.0", - "cosmiconfig": "^7.0.0", - "cosmiconfig-typescript-loader": "^4.0.0", - "lodash.isplainobject": "^4.0.6", - "lodash.merge": "^4.6.2", - "lodash.uniq": "^4.5.0", - "resolve-from": "^5.0.0", - "ts-node": "^10.8.1", - "typescript": "^4.6.4" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/load/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://r2.cnpmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@commitlint/message": { - "version": "17.2.0", - "resolved": "https://r.cnpmjs.org/@commitlint/message/-/message-17.2.0.tgz", - "integrity": "sha512-/4l2KFKxBOuoEn1YAuuNNlAU05Zt7sNsC9H0mPdPm3chOrT4rcX0pOqrQcLtdMrMkJz0gC7b3SF80q2+LtdL9Q==", - "dev": true, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/parse": { - "version": "17.2.0", - "resolved": "https://r.cnpmjs.org/@commitlint/parse/-/parse-17.2.0.tgz", - "integrity": "sha512-vLzLznK9Y21zQ6F9hf8D6kcIJRb2haAK5T/Vt1uW2CbHYOIfNsR/hJs0XnF/J9ctM20Tfsqv4zBitbYvVw7F6Q==", - "dev": true, - "dependencies": { - "@commitlint/types": "^17.0.0", - "conventional-changelog-angular": "^5.0.11", - "conventional-commits-parser": "^3.2.2" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/read": { - "version": "17.2.0", - "resolved": "https://r.cnpmjs.org/@commitlint/read/-/read-17.2.0.tgz", - "integrity": "sha512-bbblBhrHkjxra3ptJNm0abxu7yeAaxumQ8ZtD6GIVqzURCETCP7Dm0tlVvGRDyXBuqX6lIJxh3W7oyKqllDsHQ==", - "dev": true, - "dependencies": { - "@commitlint/top-level": "^17.0.0", - "@commitlint/types": "^17.0.0", - "fs-extra": "^10.0.0", - "git-raw-commits": "^2.0.0", - "minimist": "^1.2.6" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/resolve-extends": { - "version": "17.3.0", - "resolved": "https://r.cnpmjs.org/@commitlint/resolve-extends/-/resolve-extends-17.3.0.tgz", - "integrity": "sha512-Lf3JufJlc5yVEtJWC8o4IAZaB8FQAUaVlhlAHRACd0TTFizV2Lk2VH70et23KgvbQNf7kQzHs/2B4QZalBv6Cg==", - "dev": true, - "dependencies": { - "@commitlint/config-validator": "^17.1.0", - "@commitlint/types": "^17.0.0", - "import-fresh": "^3.0.0", - "lodash.mergewith": "^4.6.2", - "resolve-from": "^5.0.0", - "resolve-global": "^1.0.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/resolve-extends/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://r2.cnpmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@commitlint/rules": { - "version": "17.3.0", - "resolved": "https://r.cnpmjs.org/@commitlint/rules/-/rules-17.3.0.tgz", - "integrity": "sha512-s2UhDjC5yP2utx3WWqsnZRzjgzAX8BMwr1nltC0u0p8T/nzpkx4TojEfhlsOUj1t7efxzZRjUAV0NxNwdJyk+g==", - "dev": true, - "dependencies": { - "@commitlint/ensure": "^17.3.0", - "@commitlint/message": "^17.2.0", - "@commitlint/to-lines": "^17.0.0", - "@commitlint/types": "^17.0.0", - "execa": "^5.0.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/to-lines": { - "version": "17.0.0", - "resolved": "https://r.cnpmjs.org/@commitlint/to-lines/-/to-lines-17.0.0.tgz", - "integrity": "sha512-nEi4YEz04Rf2upFbpnEorG8iymyH7o9jYIVFBG1QdzebbIFET3ir+8kQvCZuBE5pKCtViE4XBUsRZz139uFrRQ==", - "dev": true, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/top-level": { - "version": "17.0.0", - "resolved": "https://r.cnpmjs.org/@commitlint/top-level/-/top-level-17.0.0.tgz", - "integrity": "sha512-dZrEP1PBJvodNWYPOYiLWf6XZergdksKQaT6i1KSROLdjf5Ai0brLOv5/P+CPxBeoj3vBxK4Ax8H1Pg9t7sHIQ==", - "dev": true, - "dependencies": { - "find-up": "^5.0.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/types": { - "version": "17.0.0", - "resolved": "https://r.cnpmjs.org/@commitlint/types/-/types-17.0.0.tgz", - "integrity": "sha512-hBAw6U+SkAT5h47zDMeOu3HSiD0SODw4Aq7rRNh1ceUmL7GyLKYhPbUvlRWqZ65XjBLPHZhFyQlRaPNz8qvUyQ==", - "dev": true, - "dependencies": { - "chalk": "^4.1.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://r.cnpmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@ctrl/tinycolor": { - "version": "3.4.1", - "resolved": "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz", - "integrity": "sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@element-plus/icons-vue": { - "version": "2.0.6", - "resolved": "https://registry.npmmirror.com/@element-plus/icons-vue/-/icons-vue-2.0.6.tgz", - "integrity": "sha512-lPpG8hYkjL/Z97DH5Ei6w6o22Z4YdNglWCNYOPcB33JCF2A4wye6HFgSI7hEt9zdLyxlSpiqtgf9XcYU+m5mew==", - "peerDependencies": { - "vue": "^3.2.0" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.14.53.tgz", - "integrity": "sha512-W2dAL6Bnyn4xa/QRSU3ilIK4EzD5wgYXKXJiS1HDF5vU3675qc2bvFyLwbUcdmssDveyndy7FbitrCoiV/eMLg==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-1.3.0.tgz", - "integrity": "sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==", - "dev": true, - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.3.2", - "globals": "^13.15.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@fast-csv/format": { - "version": "4.3.5", - "resolved": "https://registry.npmmirror.com/@fast-csv/format/-/format-4.3.5.tgz", - "integrity": "sha512-8iRn6QF3I8Ak78lNAa+Gdl5MJJBM5vRHivFtMRUWINdevNo00K7OXxS2PshawLKTejVwieIlPmK5YlLu6w4u8A==", - "dependencies": { - "@types/node": "^14.0.1", - "lodash.escaperegexp": "^4.1.2", - "lodash.isboolean": "^3.0.3", - "lodash.isequal": "^4.5.0", - "lodash.isfunction": "^3.0.9", - "lodash.isnil": "^4.0.0" - } - }, - "node_modules/@fast-csv/parse": { - "version": "4.3.6", - "resolved": "https://registry.npmmirror.com/@fast-csv/parse/-/parse-4.3.6.tgz", - "integrity": "sha512-uRsLYksqpbDmWaSmzvJcuApSEe38+6NQZBUsuAyMZKqHxH0g1wcJgsKUvN3WC8tewaqFjBMMGrkHmC+T7k8LvA==", - "dependencies": { - "@types/node": "^14.0.1", - "lodash.escaperegexp": "^4.1.2", - "lodash.groupby": "^4.6.0", - "lodash.isfunction": "^3.0.9", - "lodash.isnil": "^4.0.0", - "lodash.isundefined": "^3.0.1", - "lodash.uniq": "^4.5.0" - } - }, - "node_modules/@floating-ui/core": { - "version": "1.0.1", - "resolved": "https://r.cnpmjs.org/@floating-ui/core/-/core-1.0.1.tgz", - "integrity": "sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==" - }, - "node_modules/@floating-ui/dom": { - "version": "1.0.4", - "resolved": "https://r.cnpmjs.org/@floating-ui/dom/-/dom-1.0.4.tgz", - "integrity": "sha512-maYJRv+sAXTy4K9mzdv0JPyNW5YPVHrqtY90tEdI6XNpuLOP26Ci2pfwPsKBA/Wh4Z3FX5sUrtUFTdMYj9v+ug==", - "dependencies": { - "@floating-ui/core": "^1.0.1" - } - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.10.4", - "resolved": "https://registry.npmmirror.com/@humanwhocodes/config-array/-/config-array-0.10.4.tgz", - "integrity": "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==", - "dev": true, - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/gitignore-to-minimatch": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz", - "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==", - "dev": true - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true - }, - "node_modules/@intlify/core-base": { - "version": "9.2.2", - "resolved": "https://r.cnpmjs.org/@intlify/core-base/-/core-base-9.2.2.tgz", - "integrity": "sha512-JjUpQtNfn+joMbrXvpR4hTF8iJQ2sEFzzK3KIESOx+f+uwIjgw20igOyaIdhfsVVBCds8ZM64MoeNSx+PHQMkA==", - "dependencies": { - "@intlify/devtools-if": "9.2.2", - "@intlify/message-compiler": "9.2.2", - "@intlify/shared": "9.2.2", - "@intlify/vue-devtools": "9.2.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@intlify/devtools-if": { - "version": "9.2.2", - "resolved": "https://r.cnpmjs.org/@intlify/devtools-if/-/devtools-if-9.2.2.tgz", - "integrity": "sha512-4ttr/FNO29w+kBbU7HZ/U0Lzuh2cRDhP8UlWOtV9ERcjHzuyXVZmjyleESK6eVP60tGC9QtQW9yZE+JeRhDHkg==", - "dependencies": { - "@intlify/shared": "9.2.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@intlify/message-compiler": { - "version": "9.2.2", - "resolved": "https://r.cnpmjs.org/@intlify/message-compiler/-/message-compiler-9.2.2.tgz", - "integrity": "sha512-IUrQW7byAKN2fMBe8z6sK6riG1pue95e5jfokn8hA5Q3Bqy4MBJ5lJAofUsawQJYHeoPJ7svMDyBaVJ4d0GTtA==", - "dependencies": { - "@intlify/shared": "9.2.2", - "source-map": "0.6.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@intlify/message-compiler/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://r2.cnpmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@intlify/shared": { - "version": "9.2.2", - "resolved": "https://r.cnpmjs.org/@intlify/shared/-/shared-9.2.2.tgz", - "integrity": "sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q==", - "engines": { - "node": ">= 14" - } - }, - "node_modules/@intlify/vue-devtools": { - "version": "9.2.2", - "resolved": "https://r.cnpmjs.org/@intlify/vue-devtools/-/vue-devtools-9.2.2.tgz", - "integrity": "sha512-+dUyqyCHWHb/UcvY1MlIpO87munedm3Gn6E9WWYdWrMuYLcoIoOEVDWSS8xSwtlPU+kA+MEQTP6Q1iI/ocusJg==", - "dependencies": { - "@intlify/core-base": "9.2.2", - "@intlify/shared": "9.2.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://r.cnpmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://r.cnpmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", - "dev": true - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://r.cnpmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@popperjs/core": { - "name": "@sxzz/popperjs-es", - "version": "2.11.7", - "resolved": "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", - "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==" - }, - "node_modules/@rollup/pluginutils": { - "version": "4.2.1", - "resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", - "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", - "dev": true, - "dependencies": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/@transloadit/prettier-bytes": { - "version": "0.0.7", - "resolved": "https://registry.npmmirror.com/@transloadit/prettier-bytes/-/prettier-bytes-0.0.7.tgz", - "integrity": "sha512-VeJbUb0wEKbcwaSlj5n+LscBl9IPgLPkHVGBkh00cztv6X4L/TJXK58LzFuBKX7/GAfiGhIwH67YTLTlzvIzBA==" - }, - "node_modules/@trysound/sax": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/@trysound/sax/-/sax-0.2.0.tgz", - "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==", - "dev": true, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://r.cnpmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", - "dev": true - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://r.cnpmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "resolved": "https://r.cnpmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.3", - "resolved": "https://r.cnpmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz", - "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", - "dev": true - }, - "node_modules/@types/event-emitter": { - "version": "0.3.3", - "resolved": "https://registry.npmmirror.com/@types/event-emitter/-/event-emitter-0.3.3.tgz", - "integrity": "sha512-UfnOK1pIxO7P+EgPRZXD9jMpimd8QEFcEZ5R67R1UhGbv4zghU5+NE7U8M8G9H5Jc8FI51rqDWQs6FtUfq2e/Q==" - }, - "node_modules/@types/json-schema": { - "version": "7.0.11", - "resolved": "https://r.cnpmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", - "dev": true - }, - "node_modules/@types/lodash": { - "version": "4.14.182", - "resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.182.tgz", - "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==" - }, - "node_modules/@types/lodash-es": { - "version": "4.17.6", - "resolved": "https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz", - "integrity": "sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==", - "dependencies": { - "@types/lodash": "*" - } - }, - "node_modules/@types/minimist": { - "version": "1.2.2", - "resolved": "https://r2.cnpmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true - }, - "node_modules/@types/node": { - "version": "14.18.23", - "resolved": "https://registry.npmmirror.com/@types/node/-/node-14.18.23.tgz", - "integrity": "sha512-MhbCWN18R4GhO8ewQWAFK4TGQdBpXWByukz7cWyJmXhvRuCIaM/oWytGPqVmDzgEnnaIc9ss6HbU5mUi+vyZPA==" - }, - "node_modules/@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://r2.cnpmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", - "dev": true - }, - "node_modules/@types/parse-json": { - "version": "4.0.0", - "resolved": "https://r2.cnpmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true - }, - "node_modules/@types/svgo": { - "version": "2.6.3", - "resolved": "https://registry.npmmirror.com/@types/svgo/-/svgo-2.6.3.tgz", - "integrity": "sha512-5sP0Xgo0dXppY0tbYF6TevB/1+tzFLuu71XXxC/zGvQAn9PW7y+DwtDO81g0ZUPye00K6tPwtsLDOpARa0mFcA==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/web-bluetooth": { - "version": "0.0.15", - "resolved": "https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.15.tgz", - "integrity": "sha512-w7hEHXnPMEZ+4nGKl/KDRVpxkwYxYExuHOYXyzIzCDzEZ9ZCGMAewulr9IqJu2LR4N37fcnb1XVeuZ09qgOxhA==" - }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.32.0", - "resolved": "https://r.cnpmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.32.0.tgz", - "integrity": "sha512-CHLuz5Uz7bHP2WgVlvoZGhf0BvFakBJKAD/43Ty0emn4wXWv5k01ND0C0fHcl/Im8Td2y/7h44E9pca9qAu2ew==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "5.32.0", - "@typescript-eslint/type-utils": "5.32.0", - "@typescript-eslint/utils": "5.32.0", - "debug": "^4.3.4", - "functional-red-black-tree": "^1.0.1", - "ignore": "^5.2.0", - "regexpp": "^3.2.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "5.32.0", - "resolved": "https://r.cnpmjs.org/@typescript-eslint/parser/-/parser-5.32.0.tgz", - "integrity": "sha512-IxRtsehdGV9GFQ35IGm5oKKR2OGcazUoiNBxhRV160iF9FoyuXxjY+rIqs1gfnd+4eL98OjeGnMpE7RF/NBb3A==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "5.32.0", - "@typescript-eslint/types": "5.32.0", - "@typescript-eslint/typescript-estree": "5.32.0", - "debug": "^4.3.4" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "5.32.0", - "resolved": "https://r.cnpmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.32.0.tgz", - "integrity": "sha512-KyAE+tUON0D7tNz92p1uetRqVJiiAkeluvwvZOqBmW9z2XApmk5WSMV9FrzOroAcVxJZB3GfUwVKr98Dr/OjOg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.32.0", - "@typescript-eslint/visitor-keys": "5.32.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@typescript-eslint/type-utils": { - "version": "5.32.0", - "resolved": "https://r.cnpmjs.org/@typescript-eslint/type-utils/-/type-utils-5.32.0.tgz", - "integrity": "sha512-0gSsIhFDduBz3QcHJIp3qRCvVYbqzHg8D6bHFsDMrm0rURYDj+skBK2zmYebdCp+4nrd9VWd13egvhYFJj/wZg==", - "dev": true, - "dependencies": { - "@typescript-eslint/utils": "5.32.0", - "debug": "^4.3.4", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "5.32.0", - "resolved": "https://r.cnpmjs.org/@typescript-eslint/types/-/types-5.32.0.tgz", - "integrity": "sha512-EBUKs68DOcT/EjGfzywp+f8wG9Zw6gj6BjWu7KV/IYllqKJFPlZlLSYw/PTvVyiRw50t6wVbgv4p9uE2h6sZrQ==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.32.0", - "resolved": "https://r.cnpmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.32.0.tgz", - "integrity": "sha512-ZVAUkvPk3ITGtCLU5J4atCw9RTxK+SRc6hXqLtllC2sGSeMFWN+YwbiJR9CFrSFJ3w4SJfcWtDwNb/DmUIHdhg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.32.0", - "@typescript-eslint/visitor-keys": "5.32.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "5.32.0", - "resolved": "https://r.cnpmjs.org/@typescript-eslint/utils/-/utils-5.32.0.tgz", - "integrity": "sha512-W7lYIAI5Zlc5K082dGR27Fczjb3Q57ECcXefKU/f0ajM5ToM0P+N9NmJWip8GmGu/g6QISNT+K6KYB+iSHjXCQ==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.32.0", - "@typescript-eslint/types": "5.32.0", - "@typescript-eslint/typescript-estree": "5.32.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.32.0", - "resolved": "https://r.cnpmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.32.0.tgz", - "integrity": "sha512-S54xOHZgfThiZ38/ZGTgB2rqx51CMJ5MCfVT2IplK4Q7hgzGfe0nLzLCcenDnc/cSjP568hdeKfeDcBgqNHD/g==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.32.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@uppy/companion-client": { - "version": "2.2.2", - "resolved": "https://registry.npmmirror.com/@uppy/companion-client/-/companion-client-2.2.2.tgz", - "integrity": "sha512-5mTp2iq97/mYSisMaBtFRry6PTgZA6SIL7LePteOV5x0/DxKfrZW3DEiQERJmYpHzy7k8johpm2gHnEKto56Og==", - "dependencies": { - "@uppy/utils": "^4.1.2", - "namespace-emitter": "^2.0.1" - } - }, - "node_modules/@uppy/core": { - "version": "2.3.3", - "resolved": "https://registry.npmmirror.com/@uppy/core/-/core-2.3.3.tgz", - "integrity": "sha512-oTFYZT02dIoUGm8Ar6+Tg/xbL8MliwiPQdiuoCimPBmY19ZhuJm/K4wEYZ6nOFeYsgBWYi1yWfsmdx8LvFVx4g==", - "dependencies": { - "@transloadit/prettier-bytes": "0.0.7", - "@uppy/store-default": "^2.1.1", - "@uppy/utils": "^4.1.2", - "lodash.throttle": "^4.1.1", - "mime-match": "^1.0.2", - "namespace-emitter": "^2.0.1", - "nanoid": "^3.1.25", - "preact": "^10.5.13" - } - }, - "node_modules/@uppy/store-default": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/@uppy/store-default/-/store-default-2.1.1.tgz", - "integrity": "sha512-xnpTxvot2SeAwGwbvmJ899ASk5tYXhmZzD/aCFsXePh/v8rNvR2pKlcQUH7cF/y4baUGq3FHO/daKCok/mpKqQ==" - }, - "node_modules/@uppy/utils": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/@uppy/utils/-/utils-4.1.2.tgz", - "integrity": "sha512-rl9aKRE4o2mRKVAhYHHf8uV7BoUOQkvDH6yOaJ4tuHJ6HgPkvxVxqUY8L+yKV1hx4mw6OF9hLIzpW/+TLSfyfQ==", - "dependencies": { - "lodash.throttle": "^4.1.1" - } - }, - "node_modules/@uppy/xhr-upload": { - "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/@uppy/xhr-upload/-/xhr-upload-2.1.3.tgz", - "integrity": "sha512-YWOQ6myBVPs+mhNjfdWsQyMRWUlrDLMoaG7nvf/G6Y3GKZf8AyjFDjvvJ49XWQ+DaZOftGkHmF1uh/DBeGivJQ==", - "dependencies": { - "@uppy/companion-client": "^2.2.2", - "@uppy/utils": "^4.1.2", - "nanoid": "^3.1.25" - }, - "peerDependencies": { - "@uppy/core": "^2.3.3" - } - }, - "node_modules/@vitejs/plugin-vue": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-3.0.1.tgz", - "integrity": "sha512-Ll9JgxG7ONIz/XZv3dssfoMUDu9qAnlJ+km+pBA0teYSXzwPCIzS/e1bmwNYl5dcQGs677D21amgfYAnzMl17A==", - "dev": true, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "peerDependencies": { - "vite": "^3.0.0", - "vue": "^3.2.25" - } - }, - "node_modules/@volar/code-gen": { - "version": "0.38.9", - "resolved": "https://registry.npmmirror.com/@volar/code-gen/-/code-gen-0.38.9.tgz", - "integrity": "sha512-n6LClucfA+37rQeskvh9vDoZV1VvCVNy++MAPKj2dT4FT+Fbmty/SDQqnsEBtdEe6E3OQctFvA/IcKsx3Mns0A==", - "dev": true, - "dependencies": { - "@volar/source-map": "0.38.9" - } - }, - "node_modules/@volar/source-map": { - "version": "0.38.9", - "resolved": "https://registry.npmmirror.com/@volar/source-map/-/source-map-0.38.9.tgz", - "integrity": "sha512-ba0UFoHDYry+vwKdgkWJ6xlQT+8TFtZg1zj9tSjj4PykW1JZDuM0xplMotLun4h3YOoYfY9K1huY5gvxmrNLIw==", - "dev": true - }, - "node_modules/@volar/vue-code-gen": { - "version": "0.38.9", - "resolved": "https://registry.npmmirror.com/@volar/vue-code-gen/-/vue-code-gen-0.38.9.tgz", - "integrity": "sha512-tzj7AoarFBKl7e41MR006ncrEmNPHALuk8aG4WdDIaG387X5//5KhWC5Ff3ZfB2InGSeNT+CVUd74M0gS20rjA==", - "dev": true, - "dependencies": { - "@volar/code-gen": "0.38.9", - "@volar/source-map": "0.38.9", - "@vue/compiler-core": "^3.2.37", - "@vue/compiler-dom": "^3.2.37", - "@vue/shared": "^3.2.37" - } - }, - "node_modules/@volar/vue-typescript": { - "version": "0.38.9", - "resolved": "https://registry.npmmirror.com/@volar/vue-typescript/-/vue-typescript-0.38.9.tgz", - "integrity": "sha512-iJMQGU91ADi98u8V1vXd2UBmELDAaeSP0ZJaFjwosClQdKlJQYc6MlxxKfXBZisHqfbhdtrGRyaryulnYtliZw==", - "dev": true, - "dependencies": { - "@volar/code-gen": "0.38.9", - "@volar/source-map": "0.38.9", - "@volar/vue-code-gen": "0.38.9", - "@vue/compiler-sfc": "^3.2.37", - "@vue/reactivity": "^3.2.37" - } - }, - "node_modules/@vue/compiler-core": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/compiler-core/-/compiler-core-3.2.41.tgz", - "integrity": "sha512-oA4mH6SA78DT+96/nsi4p9DX97PHcNROxs51lYk7gb9Z4BPKQ3Mh+BLn6CQZBw857Iuhu28BfMSRHAlPvD4vlw==", - "dependencies": { - "@babel/parser": "^7.16.4", - "@vue/shared": "3.2.41", - "estree-walker": "^2.0.2", - "source-map": "^0.6.1" - } - }, - "node_modules/@vue/compiler-core/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.41.tgz", - "integrity": "sha512-xe5TbbIsonjENxJsYRbDJvthzqxLNk+tb3d/c47zgREDa/PCp6/Y4gC/skM4H6PIuX5DAxm7fFJdbjjUH2QTMw==", - "dependencies": { - "@vue/compiler-core": "3.2.41", - "@vue/shared": "3.2.41" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.41.tgz", - "integrity": "sha512-+1P2m5kxOeaxVmJNXnBskAn3BenbTmbxBxWOtBq3mQTCokIreuMULFantBUclP0+KnzNCMOvcnKinqQZmiOF8w==", - "dependencies": { - "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.41", - "@vue/compiler-dom": "3.2.41", - "@vue/compiler-ssr": "3.2.41", - "@vue/reactivity-transform": "3.2.41", - "@vue/shared": "3.2.41", - "estree-walker": "^2.0.2", - "magic-string": "^0.25.7", - "postcss": "^8.1.10", - "source-map": "^0.6.1" - } - }, - "node_modules/@vue/compiler-sfc/node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, - "node_modules/@vue/compiler-sfc/node_modules/postcss": { - "version": "8.4.14", - "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.14.tgz", - "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", - "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/@vue/compiler-sfc/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@vue/compiler-ssr": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.41.tgz", - "integrity": "sha512-Y5wPiNIiaMz/sps8+DmhaKfDm1xgj6GrH99z4gq2LQenfVQcYXmHIOBcs5qPwl7jaW3SUQWjkAPKMfQemEQZwQ==", - "dependencies": { - "@vue/compiler-dom": "3.2.41", - "@vue/shared": "3.2.41" - } - }, - "node_modules/@vue/devtools-api": { - "version": "6.4.5", - "resolved": "https://r.cnpmjs.org/@vue/devtools-api/-/devtools-api-6.4.5.tgz", - "integrity": "sha512-JD5fcdIuFxU4fQyXUu3w2KpAJHzTVdN+p4iOX2lMWSHMOoQdMAcpFLZzm9Z/2nmsoZ1a96QEhZ26e50xLBsgOQ==" - }, - "node_modules/@vue/reactivity": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/reactivity/-/reactivity-3.2.41.tgz", - "integrity": "sha512-9JvCnlj8uc5xRiQGZ28MKGjuCoPhhTwcoAdv3o31+cfGgonwdPNuvqAXLhlzu4zwqavFEG5tvaoINQEfxz+l6g==", - "dependencies": { - "@vue/shared": "3.2.41" - } - }, - "node_modules/@vue/reactivity-transform": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.41.tgz", - "integrity": "sha512-mK5+BNMsL4hHi+IR3Ft/ho6Za+L3FA5j8WvreJ7XzHrqkPq8jtF/SMo7tuc9gHjLDwKZX1nP1JQOKo9IEAn54A==", - "dependencies": { - "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.41", - "@vue/shared": "3.2.41", - "estree-walker": "^2.0.2", - "magic-string": "^0.25.7" - } - }, - "node_modules/@vue/reactivity-transform/node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, - "node_modules/@vue/runtime-core": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/runtime-core/-/runtime-core-3.2.41.tgz", - "integrity": "sha512-0LBBRwqnI0p4FgIkO9q2aJBBTKDSjzhnxrxHYengkAF6dMOjeAIZFDADAlcf2h3GDALWnblbeprYYpItiulSVQ==", - "dependencies": { - "@vue/reactivity": "3.2.41", - "@vue/shared": "3.2.41" - } - }, - "node_modules/@vue/runtime-dom": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.41.tgz", - "integrity": "sha512-U7zYuR1NVIP8BL6jmOqmapRAHovEFp7CSw4pR2FacqewXNGqZaRfHoNLQsqQvVQ8yuZNZtxSZy0FFyC70YXPpA==", - "dependencies": { - "@vue/runtime-core": "3.2.41", - "@vue/shared": "3.2.41", - "csstype": "^2.6.8" - } - }, - "node_modules/@vue/server-renderer": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/server-renderer/-/server-renderer-3.2.41.tgz", - "integrity": "sha512-7YHLkfJdTlsZTV0ae5sPwl9Gn/EGr2hrlbcS/8naXm2CDpnKUwC68i1wGlrYAfIgYWL7vUZwk2GkYLQH5CvFig==", - "dependencies": { - "@vue/compiler-ssr": "3.2.41", - "@vue/shared": "3.2.41" - }, - "peerDependencies": { - "vue": "3.2.41" - } - }, - "node_modules/@vue/shared": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/@vue/shared/-/shared-3.2.41.tgz", - "integrity": "sha512-W9mfWLHmJhkfAmV+7gDjcHeAWALQtgGT3JErxULl0oz6R6+3ug91I7IErs93eCFhPCZPHBs4QJS7YWEV7A3sxw==" - }, - "node_modules/@vueuse/core": { - "version": "9.1.1", - "resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-9.1.1.tgz", - "integrity": "sha512-QfuaNWRDMQcCUwXylCyYhPC3ScS9Tiiz4J0chdwr3vOemBwRToSywq8MP+ZegKYFnbETzRY8G/5zC+ca30wrRQ==", - "dependencies": { - "@types/web-bluetooth": "^0.0.15", - "@vueuse/metadata": "9.1.1", - "@vueuse/shared": "9.1.1", - "vue-demi": "*" - } - }, - "node_modules/@vueuse/core/node_modules/vue-demi": { - "version": "0.13.6", - "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.13.6.tgz", - "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/@vueuse/metadata": { - "version": "9.1.1", - "resolved": "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-9.1.1.tgz", - "integrity": "sha512-XZ2KtSW+85LLHB/IdGILPAtbIVHasPsAW7aqz3BRMzJdAQWRiM/FGa1OKBwLbXtUw/AmjKYFlZJo7eOFIBXRog==" - }, - "node_modules/@vueuse/shared": { - "version": "9.1.1", - "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-9.1.1.tgz", - "integrity": "sha512-c+IfcOYmHiHqoEa3ED1Tbpue5GHmoUmTp8PtO4YbczthtY155Rt6DmWhjxMLXBF1Bcidagxljmp/7xtAzEHXLw==", - "dependencies": { - "vue-demi": "*" - } - }, - "node_modules/@vueuse/shared/node_modules/vue-demi": { - "version": "0.13.6", - "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.13.6.tgz", - "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/@wangeditor/basic-modules": { - "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/@wangeditor/basic-modules/-/basic-modules-1.1.3.tgz", - "integrity": "sha512-TGJix4UelO46yAgwI946ctx4lSIJbYBwNvjSJ9Tf8mKr0WMCeLVBV+MV85rXPsfcmWtR4wBNwSg648Z+RbqRUg==", - "dependencies": { - "is-url": "^1.2.4" - }, - "peerDependencies": { - "@wangeditor/core": "1.x", - "dom7": "^3.0.0", - "lodash.throttle": "^4.1.1", - "nanoid": "^3.2.0", - "slate": "^0.72.0", - "snabbdom": "^3.1.0" - } - }, - "node_modules/@wangeditor/code-highlight": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/@wangeditor/code-highlight/-/code-highlight-1.0.2.tgz", - "integrity": "sha512-SCtOcUxjKqIso/LSxGSOaYr3G6MC2En0gNTyHIMCG928T0fo0ufaqp/vIXKQzVL2Y+X/CSAOB2EbrFlgGvr0AQ==", - "dependencies": { - "prismjs": "^1.23.0" - }, - "peerDependencies": { - "@wangeditor/core": "1.x", - "dom7": "^3.0.0", - "slate": "^0.72.0", - "snabbdom": "^3.1.0" - } - }, - "node_modules/@wangeditor/core": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/@wangeditor/core/-/core-1.1.11.tgz", - "integrity": "sha512-BwHVRJzESnkjKikTc2U2zsbd06l1pSo7qKy5+SpZLudYWrFxmd85VN+5GxM57FodogkNw/k04DFHcFSUfXcaKA==", - "dependencies": { - "@types/event-emitter": "^0.3.3", - "event-emitter": "^0.3.5", - "html-void-elements": "^2.0.0", - "i18next": "^20.4.0", - "scroll-into-view-if-needed": "^2.2.28", - "slate-history": "^0.66.0" - }, - "peerDependencies": { - "@uppy/core": "^2.1.1", - "@uppy/xhr-upload": "^2.0.3", - "dom7": "^3.0.0", - "is-hotkey": "^0.2.0", - "lodash.camelcase": "^4.3.0", - "lodash.clonedeep": "^4.5.0", - "lodash.debounce": "^4.0.8", - "lodash.foreach": "^4.5.0", - "lodash.isequal": "^4.5.0", - "lodash.throttle": "^4.1.1", - "lodash.toarray": "^4.4.0", - "nanoid": "^3.2.0", - "slate": "^0.72.0", - "snabbdom": "^3.1.0" - } - }, - "node_modules/@wangeditor/editor": { - "version": "5.1.14", - "resolved": "https://registry.npmmirror.com/@wangeditor/editor/-/editor-5.1.14.tgz", - "integrity": "sha512-erILPAkpKldyGi4cEwrOW65v12GhZy2qj2A8kPlypU46lE72Y3XowZxWogN1TI/mqMDR84AHr0QWOvygOV1xwQ==", - "dependencies": { - "@uppy/core": "^2.1.1", - "@uppy/xhr-upload": "^2.0.3", - "@wangeditor/basic-modules": "^1.1.3", - "@wangeditor/code-highlight": "^1.0.2", - "@wangeditor/core": "^1.1.11", - "@wangeditor/list-module": "^1.0.2", - "@wangeditor/table-module": "^1.1.1", - "@wangeditor/upload-image-module": "^1.0.1", - "@wangeditor/video-module": "^1.1.1", - "dom7": "^3.0.0", - "is-hotkey": "^0.2.0", - "lodash.camelcase": "^4.3.0", - "lodash.clonedeep": "^4.5.0", - "lodash.debounce": "^4.0.8", - "lodash.foreach": "^4.5.0", - "lodash.isequal": "^4.5.0", - "lodash.throttle": "^4.1.1", - "lodash.toarray": "^4.4.0", - "nanoid": "^3.2.0", - "slate": "^0.72.0", - "snabbdom": "^3.1.0" - } - }, - "node_modules/@wangeditor/editor-for-vue": { - "version": "5.1.12", - "resolved": "https://registry.npmmirror.com/@wangeditor/editor-for-vue/-/editor-for-vue-5.1.12.tgz", - "integrity": "sha512-0Ds3D8I+xnpNWezAeO7HmPRgTfUxHLMd9JKcIw+QzvSmhC5xUHbpCcLU+KLmeBKTR/zffnS5GQo6qi3GhTMJWQ==", - "peerDependencies": { - "@wangeditor/editor": ">=5.1.0", - "vue": "^3.0.5" - } - }, - "node_modules/@wangeditor/list-module": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/@wangeditor/list-module/-/list-module-1.0.2.tgz", - "integrity": "sha512-VfENZEFvsLTiLxN/cj8cibFGy9NVV+/cfATTiLiH9ef+8lgKv8apttXYVlqIAfnlJLLuCk0cIm8c/zH+hbtrZg==", - "peerDependencies": { - "@wangeditor/core": "1.x", - "dom7": "^3.0.0", - "slate": "^0.72.0", - "snabbdom": "^3.1.0" - } - }, - "node_modules/@wangeditor/table-module": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/@wangeditor/table-module/-/table-module-1.1.1.tgz", - "integrity": "sha512-VPjEWQtncS2DsXYXiHUxPSxn2Xhc8GdhG3la7N5YhvxQde1+4N0SZLXeWsYvbGzOq4um5XToq5pktLLbE8G+EA==", - "peerDependencies": { - "@wangeditor/core": "1.x", - "dom7": "^3.0.0", - "lodash.isequal": "^4.5.0", - "lodash.throttle": "^4.1.1", - "nanoid": "^3.2.0", - "slate": "^0.72.0", - "snabbdom": "^3.1.0" - } - }, - "node_modules/@wangeditor/upload-image-module": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/@wangeditor/upload-image-module/-/upload-image-module-1.0.1.tgz", - "integrity": "sha512-vgUV4ENttTITblqtVuzleIq732OmzmzzgrIvX6b3GRGPSw5u8glJ/87tOEhvHjHECc4oFo18B7xzJ1GpBj79/w==", - "peerDependencies": { - "@uppy/core": "^2.0.3", - "@uppy/xhr-upload": "^2.0.3", - "@wangeditor/basic-modules": "1.x", - "@wangeditor/core": "1.x", - "dom7": "^3.0.0", - "lodash.foreach": "^4.5.0", - "slate": "^0.72.0", - "snabbdom": "^3.1.0" - } - }, - "node_modules/@wangeditor/video-module": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/@wangeditor/video-module/-/video-module-1.1.1.tgz", - "integrity": "sha512-6gzpS5cnJihW2T0HFjqmbv6v8ouyaeMUjdM2X8BPohwD74p1ov00dCmRt5QekNTyYSmRHK0ASkUMOvRGqaDxMg==", - "peerDependencies": { - "@uppy/core": "^2.1.4", - "@uppy/xhr-upload": "^2.0.7", - "@wangeditor/core": "1.x", - "dom7": "^3.0.0", - "nanoid": "^3.2.0", - "slate": "^0.72.0", - "snabbdom": "^3.1.0" - } - }, - "node_modules/acorn": { - "version": "8.8.0", - "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.8.0.tgz", - "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "resolved": "https://r2.cnpmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/adler-32": { - "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/adler-32/-/adler-32-1.3.1.tgz", - "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://r2.cnpmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-escapes/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://r2.cnpmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/archiver": { - "version": "5.3.1", - "resolved": "https://registry.npmmirror.com/archiver/-/archiver-5.3.1.tgz", - "integrity": "sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==", - "dependencies": { - "archiver-utils": "^2.1.0", - "async": "^3.2.3", - "buffer-crc32": "^0.2.1", - "readable-stream": "^3.6.0", - "readdir-glob": "^1.0.0", - "tar-stream": "^2.2.0", - "zip-stream": "^4.1.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/archiver-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/archiver-utils/-/archiver-utils-2.1.0.tgz", - "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", - "dependencies": { - "glob": "^7.1.4", - "graceful-fs": "^4.2.0", - "lazystream": "^1.0.0", - "lodash.defaults": "^4.2.0", - "lodash.difference": "^4.5.0", - "lodash.flatten": "^4.4.0", - "lodash.isplainobject": "^4.0.6", - "lodash.union": "^4.6.0", - "normalize-path": "^3.0.0", - "readable-stream": "^2.0.0" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/archiver-utils/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/archiver-utils/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/archiver-utils/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://r2.cnpmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-ify": { - "version": "1.0.0", - "resolved": "https://r2.cnpmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmmirror.com/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://r2.cnpmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmmirror.com/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" - }, - "node_modules/async-validator": { - "version": "4.2.5", - "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-4.2.5.tgz", - "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://r2.cnpmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmmirror.com/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", - "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base": { - "version": "0.11.2", - "resolved": "https://registry.npmmirror.com/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dependencies": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "node_modules/big-integer": { - "version": "1.6.51", - "resolved": "https://registry.npmmirror.com/big-integer/-/big-integer-1.6.51.tgz", - "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "engines": { - "node": "*" - } - }, - "node_modules/binary": { - "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/binary/-/binary-0.3.0.tgz", - "integrity": "sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg==", - "dependencies": { - "buffers": "~0.1.1", - "chainsaw": "~0.1.0" - }, - "engines": { - "node": "*" - } - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", - "dev": true - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmmirror.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", - "engines": { - "node": "*" - } - }, - "node_modules/buffer-indexof-polyfill": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz", - "integrity": "sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A==", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/buffers": { - "version": "0.1.1", - "resolved": "https://registry.npmmirror.com/buffers/-/buffers-0.1.1.tgz", - "integrity": "sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ==", - "engines": { - "node": ">=0.2.0" - } - }, - "node_modules/cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dependencies": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cache-base/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cachedir": { - "version": "2.3.0", - "resolved": "https://r2.cnpmjs.org/cachedir/-/cachedir-2.3.0.tgz", - "integrity": "sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camel-case": { - "version": "4.1.2", - "resolved": "https://r2.cnpmjs.org/camel-case/-/camel-case-4.1.2.tgz", - "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", - "dev": true, - "dependencies": { - "pascal-case": "^3.1.2", - "tslib": "^2.0.3" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://r2.cnpmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase-keys": { - "version": "6.2.2", - "resolved": "https://r2.cnpmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/capital-case": { - "version": "1.0.4", - "resolved": "https://r2.cnpmjs.org/capital-case/-/capital-case-1.0.4.tgz", - "integrity": "sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3", - "upper-case-first": "^2.0.2" - } - }, - "node_modules/cfb": { - "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/cfb/-/cfb-1.2.2.tgz", - "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==", - "dependencies": { - "adler-32": "~1.3.0", - "crc-32": "~1.2.0" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/chainsaw": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/chainsaw/-/chainsaw-0.1.0.tgz", - "integrity": "sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ==", - "dependencies": { - "traverse": ">=0.3.0 <0.4" - }, - "engines": { - "node": "*" - } - }, - "node_modules/chainsaw/node_modules/traverse": { - "version": "0.3.9", - "resolved": "https://registry.npmmirror.com/traverse/-/traverse-0.3.9.tgz", - "integrity": "sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ==", - "engines": { - "node": "*" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/change-case": { - "version": "4.1.2", - "resolved": "https://r2.cnpmjs.org/change-case/-/change-case-4.1.2.tgz", - "integrity": "sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==", - "dev": true, - "dependencies": { - "camel-case": "^4.1.2", - "capital-case": "^1.0.4", - "constant-case": "^3.0.4", - "dot-case": "^3.0.4", - "header-case": "^2.0.4", - "no-case": "^3.0.4", - "param-case": "^3.0.4", - "pascal-case": "^3.1.2", - "path-case": "^3.0.4", - "sentence-case": "^3.0.4", - "snake-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://r2.cnpmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmmirror.com/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dependencies": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmmirror.com/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://r2.cnpmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cli-spinners": { - "version": "2.7.0", - "resolved": "https://r.cnpmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", - "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/cli-width": { - "version": "3.0.0", - "resolved": "https://r2.cnpmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/clipboard": { - "version": "2.0.11", - "resolved": "https://registry.npmmirror.com/clipboard/-/clipboard-2.0.11.tgz", - "integrity": "sha512-C+0bbOqkezLIsmWSvlsXS0Q0bmkugu7jcfMIACB+RDEntIzQIkdr148we28AfSloQLRdZlYL/QYyrq05j/3Faw==", - "dependencies": { - "good-listener": "^1.2.2", - "select": "^1.1.2", - "tiny-emitter": "^2.0.0" - } - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://r.cnpmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/clone": { - "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/clone/-/clone-2.1.2.tgz", - "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/codemirror": { - "version": "5.65.9", - "resolved": "https://r.cnpmjs.org/codemirror/-/codemirror-5.65.9.tgz", - "integrity": "sha512-19Jox5sAKpusTDgqgKB5dawPpQcY+ipQK7xoEI+MVucEF9qqFaXpeqY1KaoyGBso/wHQoDa4HMMxMjdsS3Zzzw==" - }, - "node_modules/codepage": { - "version": "1.15.0", - "resolved": "https://registry.npmmirror.com/codepage/-/codepage-1.15.0.tgz", - "integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==", - "dependencies": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/commitizen": { - "version": "4.2.5", - "resolved": "https://r.cnpmjs.org/commitizen/-/commitizen-4.2.5.tgz", - "integrity": "sha512-9sXju8Qrz1B4Tw7kC5KhnvwYQN88qs2zbiB8oyMsnXZyJ24PPGiNM3nHr73d32dnE3i8VJEXddBFIbOgYSEXtQ==", - "dev": true, - "dependencies": { - "cachedir": "2.3.0", - "cz-conventional-changelog": "3.3.0", - "dedent": "0.7.0", - "detect-indent": "6.1.0", - "find-node-modules": "^2.1.2", - "find-root": "1.1.0", - "fs-extra": "9.1.0", - "glob": "7.2.3", - "inquirer": "8.2.4", - "is-utf8": "^0.2.1", - "lodash": "4.17.21", - "minimist": "1.2.6", - "strip-bom": "4.0.0", - "strip-json-comments": "3.1.1" - }, - "bin": { - "commitizen": "bin/commitizen", - "cz": "bin/git-cz", - "git-cz": "bin/git-cz" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/commitizen/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://r2.cnpmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/compare-func": { - "version": "2.0.0", - "resolved": "https://r2.cnpmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", - "dev": true, - "dependencies": { - "array-ify": "^1.0.0", - "dot-prop": "^5.1.0" - } - }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" - }, - "node_modules/compress-commons": { - "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/compress-commons/-/compress-commons-4.1.1.tgz", - "integrity": "sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==", - "dependencies": { - "buffer-crc32": "^0.2.13", - "crc32-stream": "^4.0.2", - "normalize-path": "^3.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/compute-scroll-into-view": { - "version": "1.0.17", - "resolved": "https://registry.npmmirror.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.17.tgz", - "integrity": "sha512-j4dx+Fb0URmzbwwMUrhqWM2BEWHdFGx+qZ9qqASHRPqvTYdqvWnHg0H1hIbcyLnvgnoNAVMlwkepyqM3DaIFUg==" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "node_modules/consola": { - "version": "2.15.3", - "resolved": "https://r2.cnpmjs.org/consola/-/consola-2.15.3.tgz", - "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==", - "dev": true - }, - "node_modules/console": { - "version": "0.7.2", - "resolved": "https://r.cnpmjs.org/console/-/console-0.7.2.tgz", - "integrity": "sha512-+JSDwGunA4MTEgAV/4VBKwUHonP8CzJ/6GIuwPi6acKFqFfHUdSGCm89ZxZ5FfGWdZfkdgAroy5bJ5FSeN/t4g==", - "dev": true - }, - "node_modules/constant-case": { - "version": "3.0.4", - "resolved": "https://r2.cnpmjs.org/constant-case/-/constant-case-3.0.4.tgz", - "integrity": "sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3", - "upper-case": "^2.0.2" - } - }, - "node_modules/conventional-changelog-angular": { - "version": "5.0.13", - "resolved": "https://r2.cnpmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", - "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", - "dev": true, - "dependencies": { - "compare-func": "^2.0.0", - "q": "^1.5.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-changelog-conventionalcommits": { - "version": "5.0.0", - "resolved": "https://r.cnpmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz", - "integrity": "sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==", - "dev": true, - "dependencies": { - "compare-func": "^2.0.0", - "lodash": "^4.17.15", - "q": "^1.5.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-commit-types": { - "version": "3.0.0", - "resolved": "https://r2.cnpmjs.org/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz", - "integrity": "sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg==", - "dev": true - }, - "node_modules/conventional-commits-parser": { - "version": "3.2.4", - "resolved": "https://r.cnpmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", - "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", - "dev": true, - "dependencies": { - "is-text-path": "^1.0.1", - "JSONStream": "^1.0.4", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "split2": "^3.0.0", - "through2": "^4.0.0" - }, - "bin": { - "conventional-commits-parser": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmmirror.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/core-js": { - "version": "3.24.1", - "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.24.1.tgz", - "integrity": "sha512-0QTBSYSUZ6Gq21utGzkfITDylE8jWC9Ne1D2MrhvlsZBI1x39OdDIVbzSqtgMndIy6BlHxBXpMGqzZmnztg2rg==", - "hasInstallScript": true - }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, - "node_modules/cors": { - "version": "2.8.5", - "resolved": "https://registry.npmmirror.com/cors/-/cors-2.8.5.tgz", - "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", - "dev": true, - "dependencies": { - "object-assign": "^4", - "vary": "^1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://r.cnpmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "dev": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/cosmiconfig-typescript-loader": { - "version": "4.2.0", - "resolved": "https://r.cnpmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.2.0.tgz", - "integrity": "sha512-NkANeMnaHrlaSSlpKGyvn2R4rqUDeE/9E5YHx+b4nwo0R8dZyAqcih8/gxpCZvqWP9Vf6xuLpMSzSgdVEIM78g==", - "dev": true, - "engines": { - "node": ">=12", - "npm": ">=6" - }, - "peerDependencies": { - "@types/node": "*", - "cosmiconfig": ">=7", - "ts-node": ">=10", - "typescript": ">=3" - } - }, - "node_modules/crc-32": { - "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/crc-32/-/crc-32-1.2.2.tgz", - "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", - "bin": { - "crc32": "bin/crc32.njs" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/crc32-stream": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/crc32-stream/-/crc32-stream-4.0.2.tgz", - "integrity": "sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==", - "dependencies": { - "crc-32": "^1.2.0", - "readable-stream": "^3.4.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://r2.cnpmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true - }, - "node_modules/cropperjs": { - "version": "1.5.12", - "resolved": "https://registry.npmmirror.com/cropperjs/-/cropperjs-1.5.12.tgz", - "integrity": "sha512-re7UdjE5UnwdrovyhNzZ6gathI4Rs3KGCBSc8HCIjUo5hO42CtzyblmWLj6QWVw7huHyDMfpKxhiO2II77nhDw==" - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/css-select": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/css-select/-/css-select-4.3.0.tgz", - "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", - "dev": true, - "dependencies": { - "boolbase": "^1.0.0", - "css-what": "^6.0.1", - "domhandler": "^4.3.1", - "domutils": "^2.8.0", - "nth-check": "^2.0.1" - } - }, - "node_modules/css-select/node_modules/dom-serializer": { - "version": "1.4.1", - "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-1.4.1.tgz", - "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", - "dev": true, - "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - } - }, - "node_modules/css-select/node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "dev": true - }, - "node_modules/css-select/node_modules/domhandler": { - "version": "4.3.1", - "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", - "dev": true, - "dependencies": { - "domelementtype": "^2.2.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/css-select/node_modules/domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmmirror.com/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", - "dev": true, - "dependencies": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - } - }, - "node_modules/css-select/node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true - }, - "node_modules/css-tree": { - "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/css-tree/-/css-tree-1.1.3.tgz", - "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", - "dev": true, - "dependencies": { - "mdn-data": "2.0.14", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/css-tree/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/css-what": { - "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/css-what/-/css-what-6.1.0.tgz", - "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://r2.cnpmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssfilter": { - "version": "0.0.10", - "resolved": "https://registry.npmmirror.com/cssfilter/-/cssfilter-0.0.10.tgz", - "integrity": "sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==" - }, - "node_modules/csso": { - "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/csso/-/csso-4.2.0.tgz", - "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==", - "dev": true, - "dependencies": { - "css-tree": "^1.1.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/csstype": { - "version": "2.6.20", - "resolved": "https://registry.npmmirror.com/csstype/-/csstype-2.6.20.tgz", - "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==" - }, - "node_modules/cz-conventional-changelog": { - "version": "3.3.0", - "resolved": "https://r2.cnpmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz", - "integrity": "sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==", - "dev": true, - "dependencies": { - "chalk": "^2.4.1", - "commitizen": "^4.0.3", - "conventional-commit-types": "^3.0.0", - "lodash.map": "^4.5.1", - "longest": "^2.0.1", - "word-wrap": "^1.0.3" - }, - "engines": { - "node": ">= 10" - }, - "optionalDependencies": { - "@commitlint/load": ">6.1.1" - } - }, - "node_modules/cz-conventional-changelog/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://r2.cnpmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cz-conventional-changelog/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://r2.cnpmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cz-conventional-changelog/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://r2.cnpmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/cz-conventional-changelog/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://r2.cnpmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/cz-conventional-changelog/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://r2.cnpmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/cz-conventional-changelog/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://r2.cnpmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/cz-conventional-changelog/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://r2.cnpmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cz-git": { - "version": "1.3.12", - "resolved": "https://r.cnpmjs.org/cz-git/-/cz-git-1.3.12.tgz", - "integrity": "sha512-grTgbgjsRpvkYNjm8kmpvHHw/LkkS3SlQOOwgamhRZo7c5qQfts1QZdkJ6RP0K61BcxyH5siMz8qC/MDoW/tBA==", - "dev": true - }, - "node_modules/czg": { - "version": "1.3.12", - "resolved": "https://r.cnpmjs.org/czg/-/czg-1.3.12.tgz", - "integrity": "sha512-p+Jm5AVatbaMeo2lRyuj5xm9iuxe/A6s9WA/Jfu+g3FWYHkG+StsNXJw1u8i1qqfmbu2hj9rXgF0lTltwHHKSA==", - "dev": true, - "bin": { - "czg": "bin/index.js", - "git-czg": "bin/index.js" - } - }, - "node_modules/d": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", - "dependencies": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" - } - }, - "node_modules/dargs": { - "version": "7.0.0", - "resolved": "https://r2.cnpmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/dart-sass": { - "version": "1.25.0", - "resolved": "https://registry.npmmirror.com/dart-sass/-/dart-sass-1.25.0.tgz", - "integrity": "sha512-syNOAstJXAmvD3RifcDk3fiPMyYE2fY8so6w9gf2/wNlKpG0zyH+oiXubEYVOy1WAWkzOc72pbAxwx+3OU4JJA==", - "deprecated": "This package has been renamed to 'sass'.", - "dev": true, - "dependencies": { - "chokidar": ">=2.0.0 <4.0.0" - }, - "bin": { - "dart-sass": "sass.js" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/dayjs": { - "version": "1.11.4", - "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.4.tgz", - "integrity": "sha512-Zj/lPM5hOvQ1Bf7uAvewDaUcsJoI6JmNqmHhHl3nyumwe0XHwt8sWdOVAPACJzCebL8gQCi+K49w7iKWnGwX9g==" - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://r2.cnpmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decamelize-keys": { - "version": "1.1.1", - "resolved": "https://r.cnpmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", - "dev": true, - "dependencies": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decamelize-keys/node_modules/map-obj": { - "version": "1.0.1", - "resolved": "https://r2.cnpmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/decompress-response": { - "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", - "dependencies": { - "mimic-response": "^3.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/dedent": { - "version": "0.7.0", - "resolved": "https://r2.cnpmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", - "dev": true - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/deepmerge": { - "version": "1.3.2", - "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-1.3.2.tgz", - "integrity": "sha512-qjMjTrk+RKv/sp4RPDpV5CnKhxjFI9p+GkLBOls5A8EEElldYWCWA9zceAkmfd0xIo2aU1nxiaLFoiya2sb6Cg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/defaults": { - "version": "1.0.4", - "resolved": "https://r.cnpmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "dev": true, - "dependencies": { - "clone": "^1.0.2" - } - }, - "node_modules/defaults/node_modules/clone": { - "version": "1.0.4", - "resolved": "https://r2.cnpmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", - "dev": true, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/delegate": { - "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/delegate/-/delegate-3.2.0.tgz", - "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==" - }, - "node_modules/detect-file": { - "version": "1.0.0", - "resolved": "https://r2.cnpmjs.org/detect-file/-/detect-file-1.0.0.tgz", - "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-indent": { - "version": "6.1.0", - "resolved": "https://r2.cnpmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", - "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/diff": { - "version": "4.0.2", - "resolved": "https://r2.cnpmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/dom-serializer": { - "version": "0.2.2", - "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-0.2.2.tgz", - "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", - "dependencies": { - "domelementtype": "^2.0.1", - "entities": "^2.0.0" - } - }, - "node_modules/dom-serializer/node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==" - }, - "node_modules/dom-serializer/node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" - }, - "node_modules/dom7": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/dom7/-/dom7-3.0.0.tgz", - "integrity": "sha512-oNlcUdHsC4zb7Msx7JN3K0Nro1dzJ48knvBOnDPKJ2GV9wl1i5vydJZUSyOfrkKFDZEud/jBsTk92S/VGSAe/g==", - "dependencies": { - "ssr-window": "^3.0.0-alpha.1" - } - }, - "node_modules/domelementtype": { - "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" - }, - "node_modules/domhandler": { - "version": "2.4.2", - "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-2.4.2.tgz", - "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", - "dependencies": { - "domelementtype": "1" - } - }, - "node_modules/domready": { - "version": "1.0.8", - "resolved": "https://registry.npmmirror.com/domready/-/domready-1.0.8.tgz", - "integrity": "sha512-uIzsOJUNk+AdGE9a6VDeessoMCzF8RrZvJCX/W8QtyfgdR6Uofn/MvRonih3OtCO79b2VDzDOymuiABrQ4z3XA==" - }, - "node_modules/domutils": { - "version": "1.7.0", - "resolved": "https://registry.npmmirror.com/domutils/-/domutils-1.7.0.tgz", - "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", - "dependencies": { - "dom-serializer": "0", - "domelementtype": "1" - } - }, - "node_modules/dot-case": { - "version": "3.0.4", - "resolved": "https://r2.cnpmjs.org/dot-case/-/dot-case-3.0.4.tgz", - "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/dot-prop": { - "version": "5.3.0", - "resolved": "https://r2.cnpmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "dev": true, - "dependencies": { - "is-obj": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", - "dependencies": { - "readable-stream": "^2.0.2" - } - }, - "node_modules/duplexer2/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/duplexer2/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/duplexer2/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/echarts": { - "version": "5.3.3", - "resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.3.3.tgz", - "integrity": "sha512-BRw2serInRwO5SIwRviZ6Xgm5Lb7irgz+sLiFMmy/HOaf4SQ+7oYqxKzRHAKp4xHQ05AuHw1xvoQWJjDQq/FGw==", - "dependencies": { - "tslib": "2.3.0", - "zrender": "5.3.2" - } - }, - "node_modules/element-in-view": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/element-in-view/-/element-in-view-0.1.0.tgz", - "integrity": "sha512-bMX/nPADfY8Mgs70kG+SGJ4vo7GCOsQaFVhUHG738gzRG6OrKCp2ZbV63LE5jsgEh8tDqxvXvLeslel5HF6lrA==" - }, - "node_modules/element-plus": { - "version": "2.2.28", - "resolved": "https://r.cnpmjs.org/element-plus/-/element-plus-2.2.28.tgz", - "integrity": "sha512-BsxF7iEaBydmRfw1Tt++EO9jRBjbtJr7ZRIrnEwz4J3Cwa1IzHCNCcx3ZwcYTlJq9CYFxv94JnbNr1EbkTou3A==", - "dependencies": { - "@ctrl/tinycolor": "^3.4.1", - "@element-plus/icons-vue": "^2.0.6", - "@floating-ui/dom": "^1.0.1", - "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7", - "@types/lodash": "^4.14.182", - "@types/lodash-es": "^4.17.6", - "@vueuse/core": "^9.1.0", - "async-validator": "^4.2.5", - "dayjs": "^1.11.3", - "escape-html": "^1.0.3", - "lodash": "^4.17.21", - "lodash-es": "^4.17.21", - "lodash-unified": "^1.0.2", - "memoize-one": "^6.0.0", - "normalize-wheel-es": "^1.2.0" - }, - "peerDependencies": { - "vue": "^3.2.0" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://r2.cnpmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/emojis-list/-/emojis-list-3.0.0.tgz", - "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", - "engines": { - "node": ">= 4" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/entities": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://r2.cnpmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/es-module-lexer": { - "version": "0.9.3", - "resolved": "https://r2.cnpmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", - "dev": true - }, - "node_modules/es5-ext": { - "version": "0.10.62", - "resolved": "https://registry.npmmirror.com/es5-ext/-/es5-ext-0.10.62.tgz", - "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", - "hasInstallScript": true, - "dependencies": { - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.3", - "next-tick": "^1.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", - "dependencies": { - "d": "^1.0.1", - "ext": "^1.1.2" - } - }, - "node_modules/esbuild": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.14.53.tgz", - "integrity": "sha512-ohO33pUBQ64q6mmheX1mZ8mIXj8ivQY/L4oVuAshr+aJI+zLl+amrp3EodrUNDNYVrKJXGPfIHFGhO8slGRjuw==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/linux-loong64": "0.14.53", - "esbuild-android-64": "0.14.53", - "esbuild-android-arm64": "0.14.53", - "esbuild-darwin-64": "0.14.53", - "esbuild-darwin-arm64": "0.14.53", - "esbuild-freebsd-64": "0.14.53", - "esbuild-freebsd-arm64": "0.14.53", - "esbuild-linux-32": "0.14.53", - "esbuild-linux-64": "0.14.53", - "esbuild-linux-arm": "0.14.53", - "esbuild-linux-arm64": "0.14.53", - "esbuild-linux-mips64le": "0.14.53", - "esbuild-linux-ppc64le": "0.14.53", - "esbuild-linux-riscv64": "0.14.53", - "esbuild-linux-s390x": "0.14.53", - "esbuild-netbsd-64": "0.14.53", - "esbuild-openbsd-64": "0.14.53", - "esbuild-sunos-64": "0.14.53", - "esbuild-windows-32": "0.14.53", - "esbuild-windows-64": "0.14.53", - "esbuild-windows-arm64": "0.14.53" - } - }, - "node_modules/esbuild-android-64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.14.53.tgz", - "integrity": "sha512-fIL93sOTnEU+NrTAVMIKiAw0YH22HWCAgg4N4Z6zov2t0kY9RAJ50zY9ZMCQ+RT6bnOfDt8gCTnt/RaSNA2yRA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-android-arm64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.53.tgz", - "integrity": "sha512-PC7KaF1v0h/nWpvlU1UMN7dzB54cBH8qSsm7S9mkwFA1BXpaEOufCg8hdoEI1jep0KeO/rjZVWrsH8+q28T77A==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-darwin-64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.53.tgz", - "integrity": "sha512-gE7P5wlnkX4d4PKvLBUgmhZXvL7lzGRLri17/+CmmCzfncIgq8lOBvxGMiQ4xazplhxq+72TEohyFMZLFxuWvg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-darwin-arm64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.53.tgz", - "integrity": "sha512-otJwDU3hnI15Q98PX4MJbknSZ/WSR1I45il7gcxcECXzfN4Mrpft5hBDHXNRnCh+5858uPXBXA1Vaz2jVWLaIA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-freebsd-64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.53.tgz", - "integrity": "sha512-WkdJa8iyrGHyKiPF4lk0MiOF87Q2SkE+i+8D4Cazq3/iqmGPJ6u49je300MFi5I2eUsQCkaOWhpCVQMTKGww2w==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-freebsd-arm64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.53.tgz", - "integrity": "sha512-9T7WwCuV30NAx0SyQpw8edbKvbKELnnm1FHg7gbSYaatH+c8WJW10g/OdM7JYnv7qkimw2ZTtSA+NokOLd2ydQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-32": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.14.53.tgz", - "integrity": "sha512-VGanLBg5en2LfGDgLEUxQko2lqsOS7MTEWUi8x91YmsHNyzJVT/WApbFFx3MQGhkf+XdimVhpyo5/G0PBY91zg==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.14.53.tgz", - "integrity": "sha512-pP/FA55j/fzAV7N9DF31meAyjOH6Bjuo3aSKPh26+RW85ZEtbJv9nhoxmGTd9FOqjx59Tc1ZbrJabuiXlMwuZQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-arm": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.53.tgz", - "integrity": "sha512-/u81NGAVZMopbmzd21Nu/wvnKQK3pT4CrvQ8BTje1STXcQAGnfyKgQlj3m0j2BzYbvQxSy+TMck4TNV2onvoPA==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-arm64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.53.tgz", - "integrity": "sha512-GDmWITT+PMsjCA6/lByYk7NyFssW4Q6in32iPkpjZ/ytSyH+xeEx8q7HG3AhWH6heemEYEWpTll/eui3jwlSnw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-mips64le": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.53.tgz", - "integrity": "sha512-d6/XHIQW714gSSp6tOOX2UscedVobELvQlPMkInhx1NPz4ThZI9uNLQ4qQJHGBGKGfu+rtJsxM4NVHLhnNRdWQ==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-ppc64le": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.53.tgz", - "integrity": "sha512-ndnJmniKPCB52m+r6BtHHLAOXw+xBCWIxNnedbIpuREOcbSU/AlyM/2dA3BmUQhsHdb4w3amD5U2s91TJ3MzzA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-riscv64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.53.tgz", - "integrity": "sha512-yG2sVH+QSix6ct4lIzJj329iJF3MhloLE6/vKMQAAd26UVPVkhMFqFopY+9kCgYsdeWvXdPgmyOuKa48Y7+/EQ==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-s390x": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.53.tgz", - "integrity": "sha512-OCJlgdkB+XPYndHmw6uZT7jcYgzmx9K+28PVdOa/eLjdoYkeAFvH5hTwX4AXGLZLH09tpl4bVsEtvuyUldaNCg==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-netbsd-64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.53.tgz", - "integrity": "sha512-gp2SB+Efc7MhMdWV2+pmIs/Ja/Mi5rjw+wlDmmbIn68VGXBleNgiEZG+eV2SRS0kJEUyHNedDtwRIMzaohWedQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-openbsd-64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.53.tgz", - "integrity": "sha512-eKQ30ZWe+WTZmteDYg8S+YjHV5s4iTxeSGhJKJajFfQx9TLZJvsJX0/paqwP51GicOUruFpSUAs2NCc0a4ivQQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-sunos-64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.53.tgz", - "integrity": "sha512-OWLpS7a2FrIRukQqcgQqR1XKn0jSJoOdT+RlhAxUoEQM/IpytS3FXzCJM6xjUYtpO5GMY0EdZJp+ur2pYdm39g==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-windows-32": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.14.53.tgz", - "integrity": "sha512-m14XyWQP5rwGW0tbEfp95U6A0wY0DYPInWBB7D69FAXUpBpBObRoGTKRv36lf2RWOdE4YO3TNvj37zhXjVL5xg==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-windows-64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.14.53.tgz", - "integrity": "sha512-s9skQFF0I7zqnQ2K8S1xdLSfZFsPLuOGmSx57h2btSEswv0N0YodYvqLcJMrNMXh6EynOmWD7rz+0rWWbFpIHQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-windows-arm64": { - "version": "0.14.53", - "resolved": "https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.53.tgz", - "integrity": "sha512-E+5Gvb+ZWts+00T9II6wp2L3KG2r3iGxByqd/a1RmLmYWVsSVUjkvIxZuJ3hYTIbhLkH5PRwpldGTKYqVz0nzQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://r2.cnpmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint": { - "version": "8.21.0", - "resolved": "https://registry.npmmirror.com/eslint/-/eslint-8.21.0.tgz", - "integrity": "sha512-/XJ1+Qurf1T9G2M5IHrsjp+xrGT73RZf23xA1z5wB1ZzzEAWSZKvRwhWxTFp1rvkvCfwcvAUNAP31bhKTTGfDA==", - "dev": true, - "dependencies": { - "@eslint/eslintrc": "^1.3.0", - "@humanwhocodes/config-array": "^0.10.4", - "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.1.1", - "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.3", - "esquery": "^1.4.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^6.0.1", - "globals": "^13.15.0", - "globby": "^11.1.0", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "regexpp": "^3.2.0", - "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint-config-prettier": { - "version": "8.5.0", - "resolved": "https://registry.npmmirror.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz", - "integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==", - "dev": true, - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-plugin-prettier": { - "version": "4.2.1", - "resolved": "https://registry.npmmirror.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", - "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", - "dev": true, - "dependencies": { - "prettier-linter-helpers": "^1.0.0" - }, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "eslint": ">=7.28.0", - "prettier": ">=2.0.0" - }, - "peerDependenciesMeta": { - "eslint-config-prettier": { - "optional": true - } - } - }, - "node_modules/eslint-plugin-vue": { - "version": "9.3.0", - "resolved": "https://r.cnpmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.3.0.tgz", - "integrity": "sha512-iscKKkBZgm6fGZwFt6poRoWC0Wy2dQOlwUPW++CiPoQiw1enctV2Hj5DBzzjJZfyqs+FAXhgzL4q0Ww03AgSmQ==", - "dev": true, - "dependencies": { - "eslint-utils": "^3.0.0", - "natural-compare": "^1.4.0", - "nth-check": "^2.0.1", - "postcss-selector-parser": "^6.0.9", - "semver": "^7.3.5", - "vue-eslint-parser": "^9.0.1", - "xml-name-validator": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://r2.cnpmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/eslint-utils/-/eslint-utils-3.0.0.tgz", - "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^2.0.0" - }, - "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" - }, - "peerDependencies": { - "eslint": ">=5" - } - }, - "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/eslint/node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/espree": { - "version": "9.3.3", - "resolved": "https://registry.npmmirror.com/espree/-/espree-9.3.3.tgz", - "integrity": "sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng==", - "dev": true, - "dependencies": { - "acorn": "^8.8.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", - "dev": true, - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://r2.cnpmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmmirror.com/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/event-emitter": { - "version": "0.3.5", - "resolved": "https://registry.npmmirror.com/event-emitter/-/event-emitter-0.3.5.tgz", - "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", - "dependencies": { - "d": "1", - "es5-ext": "~0.10.14" - } - }, - "node_modules/exceljs": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/exceljs/-/exceljs-4.3.0.tgz", - "integrity": "sha512-hTAeo5b5TPvf8Z02I2sKIT4kSfCnOO2bCxYX8ABqODCdAjppI3gI9VYiGCQQYVcBaBSKlFDMKlAQRqC+kV9O8w==", - "dependencies": { - "archiver": "^5.0.0", - "dayjs": "^1.8.34", - "fast-csv": "^4.3.1", - "jszip": "^3.5.0", - "readable-stream": "^3.6.0", - "saxes": "^5.0.1", - "tmp": "^0.2.0", - "unzipper": "^0.10.11", - "uuid": "^8.3.0" - }, - "engines": { - "node": ">=8.3.0" - } - }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://r2.cnpmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmmirror.com/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==", - "dependencies": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/expand-brackets/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmmirror.com/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, - "node_modules/expand-tilde": { - "version": "2.0.2", - "resolved": "https://r2.cnpmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", - "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==", - "dev": true, - "dependencies": { - "homedir-polyfill": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ext": { - "version": "1.6.0", - "resolved": "https://registry.npmmirror.com/ext/-/ext-1.6.0.tgz", - "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", - "dependencies": { - "type": "^2.5.0" - } - }, - "node_modules/ext/node_modules/type": { - "version": "2.7.2", - "resolved": "https://registry.npmmirror.com/type/-/type-2.7.2.tgz", - "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" - }, - "node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://r2.cnpmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dev": true, - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/external-editor/node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://r2.cnpmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dependencies": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fast-csv": { - "version": "4.3.6", - "resolved": "https://registry.npmmirror.com/fast-csv/-/fast-csv-4.3.6.tgz", - "integrity": "sha512-2RNSpuwwsJGP0frGsOmTb9oUF+VkFSM4SyLTDgwf2ciHWTarN0lQTC+F2f/t5J9QjW+c65VFIAAu85GsvMIusw==", - "dependencies": { - "@fast-csv/format": "4.3.5", - "@fast-csv/parse": "4.3.6" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "node_modules/fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", - "dev": true - }, - "node_modules/fast-glob": { - "version": "3.2.11", - "resolved": "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.2.11.tgz", - "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "node_modules/fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmmirror.com/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", - "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/figures": { - "version": "3.2.0", - "resolved": "https://r2.cnpmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/figures/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://r2.cnpmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/file-saver": { - "version": "2.0.5", - "resolved": "https://registry.npmmirror.com/file-saver/-/file-saver-2.0.5.tgz", - "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==" - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-node-modules": { - "version": "2.1.3", - "resolved": "https://r.cnpmjs.org/find-node-modules/-/find-node-modules-2.1.3.tgz", - "integrity": "sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg==", - "dev": true, - "dependencies": { - "findup-sync": "^4.0.0", - "merge": "^2.1.1" - } - }, - "node_modules/find-root": { - "version": "1.1.0", - "resolved": "https://r2.cnpmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "dev": true - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/findup-sync": { - "version": "4.0.0", - "resolved": "https://r2.cnpmjs.org/findup-sync/-/findup-sync-4.0.0.tgz", - "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", - "dev": true, - "dependencies": { - "detect-file": "^1.0.0", - "is-glob": "^4.0.0", - "micromatch": "^4.0.2", - "resolve-dir": "^1.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.6", - "resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.2.6.tgz", - "integrity": "sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ==", - "dev": true - }, - "node_modules/follow-redirects": { - "version": "1.15.1", - "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.1.tgz", - "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==", - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/frac": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/frac/-/frac-1.1.2.tgz", - "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==", - "dependencies": { - "map-cache": "^0.2.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" - }, - "node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/fstream": { - "version": "1.0.12", - "resolved": "https://registry.npmmirror.com/fstream/-/fstream-1.0.12.tgz", - "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", - "dependencies": { - "graceful-fs": "^4.1.2", - "inherits": "~2.0.0", - "mkdirp": ">=0.5 0", - "rimraf": "2" - }, - "engines": { - "node": ">=0.6" - } - }, - "node_modules/fstream/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==", - "dev": true - }, - "node_modules/fuse.js": { - "version": "6.6.2", - "resolved": "https://r.cnpmjs.org/fuse.js/-/fuse.js-6.6.2.tgz", - "integrity": "sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://r2.cnpmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://r2.cnpmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmmirror.com/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/git-raw-commits": { - "version": "2.0.11", - "resolved": "https://r.cnpmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz", - "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==", - "dev": true, - "dependencies": { - "dargs": "^7.0.0", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "split2": "^3.0.0", - "through2": "^4.0.0" - }, - "bin": { - "git-raw-commits": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/global-dirs": { - "version": "0.1.1", - "resolved": "https://r2.cnpmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", - "integrity": "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==", - "dev": true, - "dependencies": { - "ini": "^1.3.4" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/global-modules": { - "version": "1.0.0", - "resolved": "https://r2.cnpmjs.org/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", - "dev": true, - "dependencies": { - "global-prefix": "^1.0.1", - "is-windows": "^1.0.1", - "resolve-dir": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/global-prefix": { - "version": "1.0.2", - "resolved": "https://r2.cnpmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", - "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", - "dev": true, - "dependencies": { - "expand-tilde": "^2.0.2", - "homedir-polyfill": "^1.0.1", - "ini": "^1.3.4", - "is-windows": "^1.0.1", - "which": "^1.2.14" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/global-prefix/node_modules/which": { - "version": "1.3.1", - "resolved": "https://r2.cnpmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/globals": { - "version": "13.17.0", - "resolved": "https://registry.npmmirror.com/globals/-/globals-13.17.0.tgz", - "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmmirror.com/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/good-listener": { - "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/good-listener/-/good-listener-1.2.2.tgz", - "integrity": "sha512-goW1b+d9q/HIwbVYZzZ6SsTr4IgE+WA44A0GmPIQstuOrgsFcT7VEJ48nmr9GaRtNu0XTKacFLGnBPAM6Afouw==", - "dependencies": { - "delegate": "^3.1.2" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" - }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, - "node_modules/hard-rejection": { - "version": "2.1.0", - "resolved": "https://r2.cnpmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-ansi/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==", - "dependencies": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-value/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==", - "dependencies": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "bin": { - "he": "bin/he" - } - }, - "node_modules/header-case": { - "version": "2.0.4", - "resolved": "https://r2.cnpmjs.org/header-case/-/header-case-2.0.4.tgz", - "integrity": "sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==", - "dev": true, - "dependencies": { - "capital-case": "^1.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://r2.cnpmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", - "dev": true, - "dependencies": { - "parse-passwd": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/hosted-git-info": { - "version": "4.1.0", - "resolved": "https://r.cnpmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/html-void-elements": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/html-void-elements/-/html-void-elements-2.0.1.tgz", - "integrity": "sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==" - }, - "node_modules/htmlparser2": { - "version": "3.10.1", - "resolved": "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-3.10.1.tgz", - "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", - "dependencies": { - "domelementtype": "^1.3.1", - "domhandler": "^2.3.0", - "domutils": "^1.5.1", - "entities": "^1.1.1", - "inherits": "^2.0.1", - "readable-stream": "^3.1.1" - } - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://r2.cnpmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/i18next": { - "version": "20.6.1", - "resolved": "https://registry.npmmirror.com/i18next/-/i18next-20.6.1.tgz", - "integrity": "sha512-yCMYTMEJ9ihCwEQQ3phLo7I/Pwycf8uAx+sRHwwk5U9Aui/IZYgQRyMqXafQOw5QQ7DM1Z+WyEXWIqSuJHhG2A==", - "dependencies": { - "@babel/runtime": "^7.12.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://r2.cnpmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, - "node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/image-size": { - "version": "0.5.5", - "resolved": "https://registry.npmmirror.com/image-size/-/image-size-0.5.5.tgz", - "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", - "bin": { - "image-size": "bin/image-size.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/immediate": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/immediate/-/immediate-3.0.6.tgz", - "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==" - }, - "node_modules/immer": { - "version": "9.0.15", - "resolved": "https://registry.npmmirror.com/immer/-/immer-9.0.15.tgz", - "integrity": "sha512-2eB/sswms9AEUSkOm4SbV5Y7Vmt/bKRwByd52jfLkW4OLYeaTP3EEiJ9agqU0O/tq6Dk62Zfj+TJSqfm1rLVGQ==" - }, - "node_modules/immutable": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.1.0.tgz", - "integrity": "sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==" - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://r2.cnpmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://r2.cnpmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true - }, - "node_modules/inquirer": { - "version": "8.2.4", - "resolved": "https://r.cnpmjs.org/inquirer/-/inquirer-8.2.4.tgz", - "integrity": "sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==", - "dev": true, - "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://r2.cnpmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmmirror.com/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, - "node_modules/is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - } - }, - "node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-descriptor/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://r2.cnpmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-hotkey": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/is-hotkey/-/is-hotkey-0.2.0.tgz", - "integrity": "sha512-UknnZK4RakDmTgz4PI1wIph5yxSs/mvChWs9ifnlXsKuXgWmOkY/hAE0H/k2MIqH0RlRye0i1oC07MCRSD28Mw==" - }, - "node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://r2.cnpmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-obj": { - "version": "2.0.0", - "resolved": "https://r2.cnpmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://r2.cnpmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-text-path": { - "version": "1.0.1", - "resolved": "https://r2.cnpmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", - "dev": true, - "dependencies": { - "text-extensions": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://r2.cnpmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/is-url": { - "version": "1.2.4", - "resolved": "https://registry.npmmirror.com/is-url/-/is-url-1.2.4.tgz", - "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==" - }, - "node_modules/is-utf8": { - "version": "0.2.1", - "resolved": "https://r2.cnpmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==", - "dev": true - }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true - }, - "node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==", - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/js-base64": { - "version": "2.6.4", - "resolved": "https://registry.npmmirror.com/js-base64/-/js-base64-2.6.4.tgz", - "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==" - }, - "node_modules/js-binary-schema-parser": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/js-binary-schema-parser/-/js-binary-schema-parser-2.0.3.tgz", - "integrity": "sha512-xezGJmOb4lk/M1ZZLTR/jaBHQ4gG/lqQnJqdIv4721DMggsa1bDVlHXNeHYogaIEHD9vCRv0fcL4hMA+Coarkg==" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://r2.cnpmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://r2.cnpmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true - }, - "node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/jsonc-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/jsonc-parser/-/jsonc-parser-3.1.0.tgz", - "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", - "dev": true - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://r2.cnpmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", - "dev": true, - "engines": [ - "node >= 0.2.0" - ] - }, - "node_modules/JSONStream": { - "version": "1.3.5", - "resolved": "https://r2.cnpmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", - "dev": true, - "dependencies": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - }, - "bin": { - "JSONStream": "bin.js" - }, - "engines": { - "node": "*" - } - }, - "node_modules/jszip": { - "version": "3.10.1", - "resolved": "https://registry.npmmirror.com/jszip/-/jszip-3.10.1.tgz", - "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", - "dependencies": { - "lie": "~3.3.0", - "pako": "~1.0.2", - "readable-stream": "~2.3.6", - "setimmediate": "^1.0.5" - } - }, - "node_modules/jszip/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/jszip/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/jszip/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lazystream": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/lazystream/-/lazystream-1.0.1.tgz", - "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", - "dependencies": { - "readable-stream": "^2.0.5" - }, - "engines": { - "node": ">= 0.6.3" - } - }, - "node_modules/lazystream/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/lazystream/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/lazystream/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lie": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/lie/-/lie-3.3.0.tgz", - "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", - "dependencies": { - "immediate": "~3.0.5" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://r2.cnpmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/listenercount": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/listenercount/-/listenercount-1.0.1.tgz", - "integrity": "sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ==" - }, - "node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/local-pkg": { - "version": "0.4.2", - "resolved": "https://registry.npmmirror.com/local-pkg/-/local-pkg-0.4.2.tgz", - "integrity": "sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==", - "dev": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" - }, - "node_modules/lodash-unified": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/lodash-unified/-/lodash-unified-1.0.2.tgz", - "integrity": "sha512-OGbEy+1P+UT26CYi4opY4gebD8cWRDxAT6MAObIVQMiqYdxZr1g3QHWCToVsm31x2NkLS4K3+MC2qInaRMa39g==", - "peerDependencies": { - "@types/lodash-es": "*", - "lodash": "*", - "lodash-es": "*" - } - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" - }, - "node_modules/lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==" - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" - }, - "node_modules/lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" - }, - "node_modules/lodash.difference": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/lodash.difference/-/lodash.difference-4.5.0.tgz", - "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==" - }, - "node_modules/lodash.escaperegexp": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", - "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==" - }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmmirror.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" - }, - "node_modules/lodash.foreach": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz", - "integrity": "sha512-aEXTF4d+m05rVOAUG3z4vZZ4xVexLKZGF0lIxuHZ1Hplpk/3B6Z1+/ICICYRLm7c41Z2xiejbkCkJoTlypoXhQ==" - }, - "node_modules/lodash.groupby": { - "version": "4.6.0", - "resolved": "https://registry.npmmirror.com/lodash.groupby/-/lodash.groupby-4.6.0.tgz", - "integrity": "sha512-5dcWxm23+VAoz+awKmBaiBvzox8+RqMgFhi7UvX9DHZr2HdxHXM/Wrf8cfKpsW37RNrvtPn6hSwNqurSILbmJw==" - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" - }, - "node_modules/lodash.isequal": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz", - "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==" - }, - "node_modules/lodash.isfunction": { - "version": "3.0.9", - "resolved": "https://registry.npmmirror.com/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", - "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==" - }, - "node_modules/lodash.isnil": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/lodash.isnil/-/lodash.isnil-4.0.0.tgz", - "integrity": "sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng==" - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" - }, - "node_modules/lodash.isundefined": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz", - "integrity": "sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA==" - }, - "node_modules/lodash.kebabcase": { - "version": "4.1.1", - "resolved": "https://r2.cnpmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", - "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==", - "dev": true - }, - "node_modules/lodash.map": { - "version": "4.6.0", - "resolved": "https://r2.cnpmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", - "integrity": "sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q==", - "dev": true - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "node_modules/lodash.mergewith": { - "version": "4.6.2", - "resolved": "https://r2.cnpmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", - "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", - "dev": true - }, - "node_modules/lodash.snakecase": { - "version": "4.1.1", - "resolved": "https://r2.cnpmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", - "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==", - "dev": true - }, - "node_modules/lodash.startcase": { - "version": "4.4.0", - "resolved": "https://r2.cnpmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz", - "integrity": "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==", - "dev": true - }, - "node_modules/lodash.throttle": { - "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz", - "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==" - }, - "node_modules/lodash.toarray": { - "version": "4.4.0", - "resolved": "https://registry.npmmirror.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz", - "integrity": "sha512-QyffEA3i5dma5q2490+SgCvDN0pXLmRGSyAANuVi0HQ01Pkfr9fuoKQW8wm1wGBnJITs/mS7wQvS6VshUEBFCw==" - }, - "node_modules/lodash.union": { - "version": "4.6.0", - "resolved": "https://registry.npmmirror.com/lodash.union/-/lodash.union-4.6.0.tgz", - "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" - }, - "node_modules/lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==" - }, - "node_modules/lodash.upperfirst": { - "version": "4.3.1", - "resolved": "https://r2.cnpmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz", - "integrity": "sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==", - "dev": true - }, - "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://r2.cnpmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/longest": { - "version": "2.0.1", - "resolved": "https://r2.cnpmjs.org/longest/-/longest-2.0.1.tgz", - "integrity": "sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lower-case": { - "version": "2.0.2", - "resolved": "https://r2.cnpmjs.org/lower-case/-/lower-case-2.0.2.tgz", - "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", - "dev": true, - "dependencies": { - "tslib": "^2.0.3" - } - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://r2.cnpmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/magic-string": { - "version": "0.26.2", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.26.2.tgz", - "integrity": "sha512-NzzlXpclt5zAbmo6h6jNc8zl2gNRGHvmsZW4IvZhTC4W7k4OlLP+S5YLussa/r3ixNT66KOQfNORlXHSOy/X4A==", - "dev": true, - "dependencies": { - "sourcemap-codec": "^1.4.8" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://r2.cnpmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, - "node_modules/map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmmirror.com/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/map-obj": { - "version": "4.3.0", - "resolved": "https://r2.cnpmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==", - "dependencies": { - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mavon-editor": { - "version": "2.10.4", - "resolved": "https://registry.npmmirror.com/mavon-editor/-/mavon-editor-2.10.4.tgz", - "integrity": "sha512-CFsBLkgt/KZBDg+SJYe2fyYv4zClY149PiwpH0rDAiiP4ae1XNs0GC8nBsoTeipsHcebDLN1QMkt3bUsnMDjQw==", - "dependencies": { - "xss": "^1.0.6" - } - }, - "node_modules/md-editor-v3": { - "version": "1.11.14", - "resolved": "https://registry.npmmirror.com/md-editor-v3/-/md-editor-v3-1.11.14.tgz", - "integrity": "sha512-koJl8NpB8zYK8rkR/1VVNdvifzA7ZBIJWDYvUCY5fW5TTGBKyweMo4knmG+GTKkJLwbxO7TAFuvE5IkRzlOcxQ==", - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/mdn-data": { - "version": "2.0.14", - "resolved": "https://registry.npmmirror.com/mdn-data/-/mdn-data-2.0.14.tgz", - "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", - "dev": true - }, - "node_modules/memoize-one": { - "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/memoize-one/-/memoize-one-6.0.0.tgz", - "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==" - }, - "node_modules/meow": { - "version": "8.1.2", - "resolved": "https://r2.cnpmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", - "dev": true, - "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.18.0", - "yargs-parser": "^20.2.3" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/meow/node_modules/type-fest": { - "version": "0.18.1", - "resolved": "https://r2.cnpmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/merge": { - "version": "2.1.1", - "resolved": "https://r2.cnpmjs.org/merge/-/merge-2.1.1.tgz", - "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", - "dev": true - }, - "node_modules/merge-options": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/merge-options/-/merge-options-1.0.1.tgz", - "integrity": "sha512-iuPV41VWKWBIOpBsjoxjDZw8/GbSfZ2mk7N1453bwMrfzdrIk7EzBd+8UVR6rkw67th7xnk9Dytl3J+lHPdxvg==", - "dependencies": { - "is-plain-obj": "^1.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://r2.cnpmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-match": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/mime-match/-/mime-match-1.0.2.tgz", - "integrity": "sha512-VXp/ugGDVh3eCLOBCiHZMYWQaTNUHv2IJrut+yXA6+JbLPXHglHwfS/5A5L0ll+jkCY7fIzRJcH6OIunF+c6Cg==", - "dependencies": { - "wildcard": "^1.1.0" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://r2.cnpmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/mimic-response": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", - "engines": { - "node": ">=10" - } - }, - "node_modules/min-indent": { - "version": "1.0.1", - "resolved": "https://r2.cnpmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" - }, - "node_modules/minimist-options": { - "version": "4.1.0", - "resolved": "https://r2.cnpmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dev": true, - "dependencies": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/minimist-options/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://r2.cnpmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mitt": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/mitt/-/mitt-1.1.2.tgz", - "integrity": "sha512-3btxP0O9iGADGWAkteQ8mzDtEspZqu4I32y4GZYCV5BrwtzdcRpF4dQgNdJadCrbBx7Lu6Sq9AVrerMHR0Hkmw==" - }, - "node_modules/mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmmirror.com/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dependencies": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-deep/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-deep/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-deep/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/mlly": { - "version": "0.5.5", - "resolved": "https://registry.npmmirror.com/mlly/-/mlly-0.5.5.tgz", - "integrity": "sha512-2R4JT/SxRDPexomw4rmHYY/gWAGmL9Kkq1OR76Ua6w+P340a1aBDTWzKo2kAlxzrG82OdXs5VB9Lmcmyit0Obg==", - "dev": true, - "dependencies": { - "pathe": "^0.3.2", - "pkg-types": "^0.3.3" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://r2.cnpmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true - }, - "node_modules/namespace-emitter": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/namespace-emitter/-/namespace-emitter-2.0.1.tgz", - "integrity": "sha512-N/sMKHniSDJBjfrkbS/tpkPj4RAbvW3mr8UAzvlMHyun93XEm83IAvhWtJVHo+RHn/oO8Job5YN4b+wRjSVp5g==" - }, - "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmmirror.com/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dependencies": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true - }, - "node_modules/next-tick": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/next-tick/-/next-tick-1.1.0.tgz", - "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" - }, - "node_modules/no-case": { - "version": "3.0.4", - "resolved": "https://r2.cnpmjs.org/no-case/-/no-case-3.0.4.tgz", - "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", - "dev": true, - "dependencies": { - "lower-case": "^2.0.2", - "tslib": "^2.0.3" - } - }, - "node_modules/normalize-package-data": { - "version": "3.0.3", - "resolved": "https://r2.cnpmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/normalize-wheel-es": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz", - "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==" - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://r2.cnpmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nprogress": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/nprogress/-/nprogress-0.2.0.tgz", - "integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==" - }, - "node_modules/nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", - "dev": true, - "dependencies": { - "boolbase": "^1.0.0" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==", - "dependencies": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmmirror.com/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==", - "dependencies": { - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-visit/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.pick/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://r2.cnpmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmmirror.com/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "dev": true, - "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/ora": { - "version": "5.4.1", - "resolved": "https://r2.cnpmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dev": true, - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://r2.cnpmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://r2.cnpmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/pako": { - "version": "1.0.11", - "resolved": "https://registry.npmmirror.com/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" - }, - "node_modules/param-case": { - "version": "3.0.4", - "resolved": "https://r2.cnpmjs.org/param-case/-/param-case-3.0.4.tgz", - "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", - "dev": true, - "dependencies": { - "dot-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parenthesis": { - "version": "3.1.8", - "resolved": "https://registry.npmmirror.com/parenthesis/-/parenthesis-3.1.8.tgz", - "integrity": "sha512-KF/U8tk54BgQewkJPvB4s/US3VQY68BRDpH638+7O/n58TpnwiwnOtGIOsT2/i+M78s61BBpeC83STB88d8sqw==" - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://r2.cnpmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/parse-passwd": { - "version": "1.0.0", - "resolved": "https://r2.cnpmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pascal-case": { - "version": "3.1.2", - "resolved": "https://r2.cnpmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", - "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmmirror.com/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" - }, - "node_modules/path-case": { - "version": "3.0.4", - "resolved": "https://r2.cnpmjs.org/path-case/-/path-case-3.0.4.tgz", - "integrity": "sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==", - "dev": true, - "dependencies": { - "dot-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-to-regexp": { - "version": "6.2.1", - "resolved": "https://registry.npmmirror.com/path-to-regexp/-/path-to-regexp-6.2.1.tgz", - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==" - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/pathe": { - "version": "0.3.3", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-0.3.3.tgz", - "integrity": "sha512-x3nrPvG0HDSDzUiJ0WqtzhN4MD+h5B+dFJ3/qyxVuARlr4Y3aJv8gri2cZzp9Z8sGs2a+aG9gNbKngh3gme57A==", - "dev": true - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "engines": { - "node": ">=8.6" - } - }, - "node_modules/pinia": { - "version": "2.0.21", - "resolved": "https://registry.npmmirror.com/pinia/-/pinia-2.0.21.tgz", - "integrity": "sha512-6ol04PtL29O0Z6JHI47O3JUSoyOJ7Og0rstXrHVMZSP4zAldsQBXJCNF0i/H7m8vp/Hjd/CSmuPl7C5QAwpeWQ==", - "dependencies": { - "@vue/devtools-api": "^6.2.1", - "vue-demi": "*" - }, - "peerDependencies": { - "@vue/composition-api": "^1.4.0", - "typescript": ">=4.4.4", - "vue": "^2.6.14 || ^3.2.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - }, - "typescript": { - "optional": true - } - } - }, - "node_modules/pinia-plugin-persistedstate": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/pinia-plugin-persistedstate/-/pinia-plugin-persistedstate-2.1.1.tgz", - "integrity": "sha512-HUgsU5IRtM75eAQiIqzT3p1oPEuYH1/B2ipTMU++yE+FV0LkHaBswdKXs0RMWYCmugO8s62oxLTh/N1dLNp+5A==", - "peerDependencies": { - "pinia": "^2.0.0" - }, - "peerDependenciesMeta": { - "pinia": { - "optional": true - } - } - }, - "node_modules/pinia/node_modules/vue-demi": { - "version": "0.13.6", - "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.13.6.tgz", - "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/pkg-types": { - "version": "0.3.3", - "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-0.3.3.tgz", - "integrity": "sha512-6AJcCMnjUQPQv/Wk960w0TOmjhdjbeaQJoSKWRQv9N3rgkessCu6J0Ydsog/nw1MbpnxHuPzYbfOn2KmlZO1FA==", - "dev": true, - "dependencies": { - "jsonc-parser": "^3.0.0", - "mlly": "^0.5.3", - "pathe": "^0.3.0" - } - }, - "node_modules/posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmmirror.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmmirror.com/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "dependencies": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/postcss-prefix-selector": { - "version": "1.16.0", - "resolved": "https://registry.npmmirror.com/postcss-prefix-selector/-/postcss-prefix-selector-1.16.0.tgz", - "integrity": "sha512-rdVMIi7Q4B0XbXqNUEI+Z4E+pueiu/CS5E6vRCQommzdQ/sgsS4dK42U7GX8oJR+TJOtT+Qv3GkNo6iijUMp3Q==", - "peerDependencies": { - "postcss": ">4 <9" - } - }, - "node_modules/postcss-selector-parser": { - "version": "6.0.10", - "resolved": "https://r.cnpmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", - "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", - "dev": true, - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss/node_modules/ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss/node_modules/chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", - "dependencies": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss/node_modules/chalk/node_modules/supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/postcss/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/postcss/node_modules/has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha512-DyYHfIYwAJmjAjSSPKANxI8bFY9YtFrgkAfinBojQ8YJTOuOuav64tMUJv584SES4xl74PmuaevIyaLESHdTAA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss/node_modules/supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha512-Jds2VIYDrlp5ui7t8abHN2bjAu4LV/q4N2KivFPpGH0lrka0BMq/33AmECUXlKPcHigkNaqfXRENFju+rlcy+A==", - "dependencies": { - "has-flag": "^1.0.0" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/posthtml": { - "version": "0.9.2", - "resolved": "https://registry.npmmirror.com/posthtml/-/posthtml-0.9.2.tgz", - "integrity": "sha512-spBB5sgC4cv2YcW03f/IAUN1pgDJWNWD8FzkyY4mArLUMJW+KlQhlmUdKAHQuPfb00Jl5xIfImeOsf6YL8QK7Q==", - "dependencies": { - "posthtml-parser": "^0.2.0", - "posthtml-render": "^1.0.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/posthtml-parser": { - "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/posthtml-parser/-/posthtml-parser-0.2.1.tgz", - "integrity": "sha512-nPC53YMqJnc/+1x4fRYFfm81KV2V+G9NZY+hTohpYg64Ay7NemWWcV4UWuy/SgMupqQ3kJ88M/iRfZmSnxT+pw==", - "dependencies": { - "htmlparser2": "^3.8.3", - "isobject": "^2.1.0" - } - }, - "node_modules/posthtml-rename-id": { - "version": "1.0.12", - "resolved": "https://registry.npmmirror.com/posthtml-rename-id/-/posthtml-rename-id-1.0.12.tgz", - "integrity": "sha512-UKXf9OF/no8WZo9edRzvuMenb6AD5hDLzIepJW+a4oJT+T/Lx7vfMYWT4aWlGNQh0WMhnUx1ipN9OkZ9q+ddEw==", - "dependencies": { - "escape-string-regexp": "1.0.5" - } - }, - "node_modules/posthtml-rename-id/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/posthtml-render": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/posthtml-render/-/posthtml-render-1.4.0.tgz", - "integrity": "sha512-W1779iVHGfq0Fvh2PROhCe2QhB8mEErgqzo1wpIt36tCgChafP+hbXIhLDOM8ePJrZcFs0vkNEtdibEWVqChqw==", - "engines": { - "node": ">=10" - } - }, - "node_modules/posthtml-svg-mode": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/posthtml-svg-mode/-/posthtml-svg-mode-1.0.3.tgz", - "integrity": "sha512-hEqw9NHZ9YgJ2/0G7CECOeuLQKZi8HjWLkBaSVtOWjygQ9ZD8P7tqeowYs7WrFdKsWEKG7o+IlsPY8jrr0CJpQ==", - "dependencies": { - "merge-options": "1.0.1", - "posthtml": "^0.9.2", - "posthtml-parser": "^0.2.1", - "posthtml-render": "^1.0.6" - } - }, - "node_modules/preact": { - "version": "10.10.6", - "resolved": "https://registry.npmmirror.com/preact/-/preact-10.10.6.tgz", - "integrity": "sha512-w0mCL5vICUAZrh1DuHEdOWBjxdO62lvcO++jbzr8UhhYcTbFkpegLH9XX+7MadjTl/y0feoqwQ/zAnzkc/EGog==" - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmmirror.com/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", - "dev": true, - "dependencies": { - "fast-diff": "^1.1.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/print-js": { - "version": "1.6.0", - "resolved": "https://registry.npmmirror.com/print-js/-/print-js-1.6.0.tgz", - "integrity": "sha512-BfnOIzSKbqGRtO4o0rnj/K3681BSd2QUrsIZy/+WdCIugjIswjmx3lDEZpXB2ruGf9d4b3YNINri81+J0FsBWg==" - }, - "node_modules/prismjs": { - "version": "1.29.0", - "resolved": "https://registry.npmmirror.com/prismjs/-/prismjs-1.29.0.tgz", - "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", - "engines": { - "node": ">=6" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/q": { - "version": "1.5.1", - "resolved": "https://r.cnpmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", - "dev": true, - "engines": { - "node": ">=0.6.0", - "teleport": ">=0.2.0" - } - }, - "node_modules/query-string": { - "version": "4.3.4", - "resolved": "https://registry.npmmirror.com/query-string/-/query-string-4.3.4.tgz", - "integrity": "sha512-O2XLNDBIg1DnTOa+2XrIwSiXEV8h2KImXUnjhhn2+UsvZ+Es2uyd5CCRTNQlDGbzUQOW3aYCBx9rVA6dzsiY7Q==", - "dependencies": { - "object-assign": "^4.1.0", - "strict-uri-encode": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true - }, - "node_modules/quick-lru": { - "version": "4.0.1", - "resolved": "https://r2.cnpmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://r2.cnpmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://r2.cnpmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://r2.cnpmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://r2.cnpmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://r2.cnpmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/read-pkg-up/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://r2.cnpmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://r2.cnpmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://r2.cnpmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/read-pkg/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://r2.cnpmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/read-pkg/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://r2.cnpmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://r2.cnpmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/readdir-glob": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/readdir-glob/-/readdir-glob-1.1.2.tgz", - "integrity": "sha512-6RLVvwJtVwEDfPdn6X6Ille4/lxGl0ATOY4FN/B9nxQcgOazvvI0nodiD19ScKq0PvA/29VpaOQML36o5IzZWA==", - "dependencies": { - "minimatch": "^5.1.0" - } - }, - "node_modules/readdir-glob/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/readdir-glob/node_modules/minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/redent": { - "version": "3.0.0", - "resolved": "https://r2.cnpmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "dev": true, - "dependencies": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "node_modules/regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dependencies": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regex-not/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regex-not/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regex-not/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regex-not/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regexpp": { - "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/repeat-element": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/repeat-element/-/repeat-element-1.1.4.tgz", - "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmmirror.com/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://r2.cnpmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://r2.cnpmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resize-detector": { - "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/resize-detector/-/resize-detector-0.3.0.tgz", - "integrity": "sha512-R/tCuvuOHQ8o2boRP6vgx8hXCCy87H1eY9V5imBYeVNyNVpuL9ciReSccLj2gDcax9+2weXy3bc8Vv+NRXeEvQ==" - }, - "node_modules/resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - } - }, - "node_modules/resolve-dir": { - "version": "1.0.1", - "resolved": "https://r2.cnpmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", - "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==", - "dev": true, - "dependencies": { - "expand-tilde": "^2.0.0", - "global-modules": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/resolve-global": { - "version": "1.0.0", - "resolved": "https://r2.cnpmjs.org/resolve-global/-/resolve-global-1.0.0.tgz", - "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", - "dev": true, - "dependencies": { - "global-dirs": "^0.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==", - "deprecated": "https://github.com/lydell/resolve-url#deprecated" - }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://r2.cnpmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ret": { - "version": "0.1.15", - "resolved": "https://registry.npmmirror.com/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "engines": { - "node": ">=0.12" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/rollup": { - "version": "2.77.2", - "resolved": "https://registry.npmmirror.com/rollup/-/rollup-2.77.2.tgz", - "integrity": "sha512-m/4YzYgLcpMQbxX3NmAqDvwLATZzxt8bIegO78FZLl+lAgKJBd1DRAOeEiZcKOIOPjxE6ewHWHNgGEalFXuz1g==", - "dev": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=10.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/run-async": { - "version": "2.4.1", - "resolved": "https://r2.cnpmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/rxjs": { - "version": "7.5.7", - "resolved": "https://r.cnpmjs.org/rxjs/-/rxjs-7.5.7.tgz", - "integrity": "sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==", - "dev": true, - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "node_modules/safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==", - "dependencies": { - "ret": "~0.1.10" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://r2.cnpmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "node_modules/sass": { - "version": "1.54.1", - "resolved": "https://registry.npmmirror.com/sass/-/sass-1.54.1.tgz", - "integrity": "sha512-GHJJr31Me32RjjUBagyzx8tzjKBUcDwo5239XANIRBq0adDu5iIG0aFO0i/TBb/4I9oyxkEv44nq/kL1DxdDhA==", - "dependencies": { - "chokidar": ">=3.0.0 <4.0.0", - "immutable": "^4.0.0", - "source-map-js": ">=0.6.2 <2.0.0" - }, - "bin": { - "sass": "sass.js" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/saxes": { - "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/saxes/-/saxes-5.0.1.tgz", - "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", - "dependencies": { - "xmlchars": "^2.2.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/scroll-into-view-if-needed": { - "version": "2.2.29", - "resolved": "https://registry.npmmirror.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.29.tgz", - "integrity": "sha512-hxpAR6AN+Gh53AdAimHM6C8oTN1ppwVZITihix+WqalywBeFcQ6LdQP5ABNl26nX8GTEL7VT+b8lKpdqq65wXg==", - "dependencies": { - "compute-scroll-into-view": "^1.0.17" - } - }, - "node_modules/scule": { - "version": "0.3.2", - "resolved": "https://registry.npmmirror.com/scule/-/scule-0.3.2.tgz", - "integrity": "sha512-zIvPdjOH8fv8CgrPT5eqtxHQXmPNnV/vHJYffZhE43KZkvULvpCTvOt1HPlFaCZx287INL9qaqrZg34e8NgI4g==", - "dev": true - }, - "node_modules/select": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/select/-/select-1.1.2.tgz", - "integrity": "sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA==" - }, - "node_modules/semver": { - "version": "7.3.7", - "resolved": "https://r.cnpmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/sentence-case": { - "version": "3.0.4", - "resolved": "https://r2.cnpmjs.org/sentence-case/-/sentence-case-3.0.4.tgz", - "integrity": "sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3", - "upper-case-first": "^2.0.2" - } - }, - "node_modules/set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dependencies": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://r.cnpmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" - }, - "node_modules/simple-get": { - "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/simple-get/-/simple-get-4.0.1.tgz", - "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", - "dependencies": { - "decompress-response": "^6.0.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/slate": { - "version": "0.72.8", - "resolved": "https://registry.npmmirror.com/slate/-/slate-0.72.8.tgz", - "integrity": "sha512-/nJwTswQgnRurpK+bGJFH1oM7naD5qDmHd89JyiKNT2oOKD8marW0QSBtuFnwEbL5aGCS8AmrhXQgNOsn4osAw==", - "dependencies": { - "immer": "^9.0.6", - "is-plain-object": "^5.0.0", - "tiny-warning": "^1.0.3" - } - }, - "node_modules/slate-history": { - "version": "0.66.0", - "resolved": "https://registry.npmmirror.com/slate-history/-/slate-history-0.66.0.tgz", - "integrity": "sha512-6MWpxGQZiMvSINlCbMW43E2YBSVMCMCIwQfBzGssjWw4kb0qfvj0pIdblWNRQZD0hR6WHP+dHHgGSeVdMWzfng==", - "dependencies": { - "is-plain-object": "^5.0.0" - }, - "peerDependencies": { - "slate": ">=0.65.3" - } - }, - "node_modules/snabbdom": { - "version": "3.5.1", - "resolved": "https://registry.npmmirror.com/snabbdom/-/snabbdom-3.5.1.tgz", - "integrity": "sha512-wHMNIOjkm/YNE5EM3RCbr/+DVgPg6AqQAX1eOxO46zYNvCXjKP5Y865tqQj3EXnaMBjkxmQA5jFuDpDK/dbfiA==", - "engines": { - "node": ">=8.3.0" - } - }, - "node_modules/snake-case": { - "version": "3.0.4", - "resolved": "https://r2.cnpmjs.org/snake-case/-/snake-case-3.0.4.tgz", - "integrity": "sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==", - "dev": true, - "dependencies": { - "dot-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmmirror.com/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dependencies": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dependencies": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dependencies": { - "kind-of": "^3.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/snapdragon/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmmirror.com/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, - "node_modules/sortablejs": { - "version": "1.14.0", - "resolved": "https://registry.npmmirror.com/sortablejs/-/sortablejs-1.14.0.tgz", - "integrity": "sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w==" - }, - "node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmmirror.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "node_modules/source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", - "deprecated": "See https://github.com/lydell/source-map-url#deprecated" - }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "deprecated": "Please use @jridgewell/sourcemap-codec instead" - }, - "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://r2.cnpmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://r2.cnpmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://r2.cnpmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.12", - "resolved": "https://r.cnpmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", - "dev": true - }, - "node_modules/split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dependencies": { - "extend-shallow": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split-string/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split-string/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split-string/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split-string/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split2": { - "version": "3.2.2", - "resolved": "https://r2.cnpmjs.org/split2/-/split2-3.2.2.tgz", - "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", - "dev": true, - "dependencies": { - "readable-stream": "^3.0.0" - } - }, - "node_modules/splitpanes": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/splitpanes/-/splitpanes-3.1.1.tgz", - "integrity": "sha512-VUkxDJfIGSvTM/fm/+OSrx8ha9URwE/9B8FPvfzoBuAxVELIHBWpsfnJXIXv77zVwuex//QQL4kTU9SDBPeHjA==" - }, - "node_modules/ssf": { - "version": "0.11.2", - "resolved": "https://registry.npmmirror.com/ssf/-/ssf-0.11.2.tgz", - "integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==", - "dependencies": { - "frac": "~1.1.2" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/ssr-window": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/ssr-window/-/ssr-window-3.0.0.tgz", - "integrity": "sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA==" - }, - "node_modules/stable": { - "version": "0.1.8", - "resolved": "https://registry.npmmirror.com/stable/-/stable-0.1.8.tgz", - "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==", - "deprecated": "Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility", - "dev": true - }, - "node_modules/static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==", - "dependencies": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmmirror.com/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strict-uri-encode": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-split-by": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/string-split-by/-/string-split-by-1.0.0.tgz", - "integrity": "sha512-KaJKY+hfpzNyet/emP81PJA9hTVSfxNLS9SFTWxdCnnW1/zOOwiV248+EfoX7IQFcBaOp4G5YE6xTJMF+pLg6A==", - "dependencies": { - "parenthesis": "^3.1.5" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://r2.cnpmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://r2.cnpmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://r2.cnpmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-indent": { - "version": "3.0.0", - "resolved": "https://r2.cnpmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, - "dependencies": { - "min-indent": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-literal": { - "version": "0.4.0", - "resolved": "https://registry.npmmirror.com/strip-literal/-/strip-literal-0.4.0.tgz", - "integrity": "sha512-ql/sBDoJOybTKSIOWrrh8kgUEMjXMwRAkZTD0EwiwxQH/6tTPkZvMIEjp0CRlpi6V5FMiJyvxeRkEi1KrGISoA==", - "dev": true, - "dependencies": { - "acorn": "^8.7.1" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/svg-baker": { - "version": "1.7.0", - "resolved": "https://registry.npmmirror.com/svg-baker/-/svg-baker-1.7.0.tgz", - "integrity": "sha512-nibslMbkXOIkqKVrfcncwha45f97fGuAOn1G99YwnwTj8kF9YiM6XexPcUso97NxOm6GsP0SIvYVIosBis1xLg==", - "dependencies": { - "bluebird": "^3.5.0", - "clone": "^2.1.1", - "he": "^1.1.1", - "image-size": "^0.5.1", - "loader-utils": "^1.1.0", - "merge-options": "1.0.1", - "micromatch": "3.1.0", - "postcss": "^5.2.17", - "postcss-prefix-selector": "^1.6.0", - "posthtml-rename-id": "^1.0", - "posthtml-svg-mode": "^1.0.3", - "query-string": "^4.3.2", - "traverse": "^0.6.6" - } - }, - "node_modules/svg-baker-runtime": { - "version": "1.4.7", - "resolved": "https://registry.npmmirror.com/svg-baker-runtime/-/svg-baker-runtime-1.4.7.tgz", - "integrity": "sha512-Zorfwwj5+lWjk/oxwSMsRdS2sPQQdTmmsvaSpzU+i9ZWi3zugHLt6VckWfnswphQP0LmOel3nggpF5nETbt6xw==", - "dependencies": { - "deepmerge": "1.3.2", - "mitt": "1.1.2", - "svg-baker": "^1.7.0" - } - }, - "node_modules/svg-baker/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmmirror.com/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/svg-baker/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==", - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/svg-baker/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/svg-baker/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/svg-baker/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/svg-baker/node_modules/micromatch": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-3.1.0.tgz", - "integrity": "sha512-3StSelAE+hnRvMs8IdVW7Uhk8CVed5tp+kLLGlBP6WiRAXS21GPGu/Nat4WNPXj2Eoc24B02SaeoyozPMfj0/g==", - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.2.2", - "define-property": "^1.0.0", - "extend-shallow": "^2.0.1", - "extglob": "^2.0.2", - "fragment-cache": "^0.2.1", - "kind-of": "^5.0.2", - "nanomatch": "^1.2.1", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/svg-baker/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==", - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/svg-sprite-loader": { - "version": "6.0.11", - "resolved": "https://registry.npmmirror.com/svg-sprite-loader/-/svg-sprite-loader-6.0.11.tgz", - "integrity": "sha512-TedsTf8wsHH6HgdwKjUveDZRC6q5gPloYV8A8/zZaRWP929J7x6TzQ6MvZFl+YYDJuJ0Akyuu/vNVJ+fbPuYXg==", - "dependencies": { - "bluebird": "^3.5.0", - "deepmerge": "1.3.2", - "domready": "1.0.8", - "escape-string-regexp": "1.0.5", - "loader-utils": "^1.1.0", - "svg-baker": "^1.5.0", - "svg-baker-runtime": "^1.4.7", - "url-slug": "2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/svg-sprite-loader/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/svgo": { - "version": "2.8.0", - "resolved": "https://registry.npmmirror.com/svgo/-/svgo-2.8.0.tgz", - "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", - "dev": true, - "dependencies": { - "@trysound/sax": "0.2.0", - "commander": "^7.2.0", - "css-select": "^4.1.3", - "css-tree": "^1.1.3", - "csso": "^4.2.0", - "picocolors": "^1.0.0", - "stable": "^0.1.8" - }, - "bin": { - "svgo": "bin/svgo" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/text-extensions": { - "version": "1.9.0", - "resolved": "https://r2.cnpmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", - "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, - "node_modules/throttleit": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/throttleit/-/throttleit-1.0.0.tgz", - "integrity": "sha512-rkTVqu6IjfQ/6+uNuuc3sZek4CEYxTJom3IktzgdSxcZqdARuebbA/f4QmAxMQIxqq9ZLEUkSYqvuk1I6VKq4g==" - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://r2.cnpmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "dev": true - }, - "node_modules/through2": { - "version": "4.0.2", - "resolved": "https://r2.cnpmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", - "dev": true, - "dependencies": { - "readable-stream": "3" - } - }, - "node_modules/tiny-emitter": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz", - "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" - }, - "node_modules/tiny-warning": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/tiny-warning/-/tiny-warning-1.0.3.tgz", - "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" - }, - "node_modules/tmp": { - "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/tmp/-/tmp-0.2.1.tgz", - "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "dependencies": { - "rimraf": "^3.0.0" - }, - "engines": { - "node": ">=8.17.0" - } - }, - "node_modules/to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-object-path/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dependencies": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/to-regex/node_modules/define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dependencies": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/traverse": { - "version": "0.6.6", - "resolved": "https://registry.npmmirror.com/traverse/-/traverse-0.6.6.tgz", - "integrity": "sha512-kdf4JKs8lbARxWdp7RKdNzoJBhGUcIalSYibuGyHJbmk40pOysQ0+QPvlkCOICOivDWU2IJo2rkrxyTK2AH4fw==" - }, - "node_modules/trim-newlines": { - "version": "3.0.1", - "resolved": "https://r2.cnpmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ts-node": { - "version": "10.9.1", - "resolved": "https://r.cnpmjs.org/ts-node/-/ts-node-10.9.1.tgz", - "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", - "dev": true, - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/tslib": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz", - "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://r2.cnpmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } - }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://r2.cnpmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/type": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmmirror.com/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", - "devOptional": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/unidecode": { - "version": "0.1.8", - "resolved": "https://registry.npmmirror.com/unidecode/-/unidecode-0.1.8.tgz", - "integrity": "sha512-SdoZNxCWpN2tXTCrGkPF/0rL2HEq+i2gwRG1ReBvx8/0yTzC3enHfugOf8A9JBShVwwrRIkLX0YcDUGbzjbVCA==", - "engines": { - "node": ">= 0.4.12" - } - }, - "node_modules/unimport": { - "version": "0.6.4", - "resolved": "https://registry.npmmirror.com/unimport/-/unimport-0.6.4.tgz", - "integrity": "sha512-1cbSeTsC2EwzWeWAyQleajM354y+EYsymxE9p1wDbHKVTEe9XL6+e7vlEv2pj1Zk8YYFf+CBf9QG8My7aDKhag==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^4.2.1", - "escape-string-regexp": "^5.0.0", - "fast-glob": "^3.2.11", - "local-pkg": "^0.4.2", - "magic-string": "^0.26.2", - "mlly": "^0.5.5", - "pathe": "^0.3.2", - "scule": "^0.3.2", - "strip-literal": "^0.4.0", - "unplugin": "^0.8.0" - } - }, - "node_modules/unimport/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dependencies": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unplugin": { - "version": "0.8.0", - "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-0.8.0.tgz", - "integrity": "sha512-OzOkJ9XOPlD1Cph6qy/p4i/KSUbs76GToXjH/STHpfo6D7y+EqpfAL6G6HaoOw5QLkt9+KWwcxYUmPFkDf1upQ==", - "dev": true, - "dependencies": { - "acorn": "^8.8.0", - "chokidar": "^3.5.3", - "webpack-sources": "^3.2.3", - "webpack-virtual-modules": "^0.4.4" - }, - "peerDependencies": { - "esbuild": ">=0.13", - "rollup": "^2.50.0", - "vite": "^2.3.0 || ^3.0.0-0", - "webpack": "4 || 5" - }, - "peerDependenciesMeta": { - "esbuild": { - "optional": true - }, - "rollup": { - "optional": true - }, - "vite": { - "optional": true - }, - "webpack": { - "optional": true - } - } - }, - "node_modules/unplugin-auto-import": { - "version": "0.10.3", - "resolved": "https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-0.10.3.tgz", - "integrity": "sha512-tODQr7ZBnsBZ9lKaz2mqszKVi/4ALuLtS4gc1xwpcsBav5TCAl0HFSMuai1qL4AkYEwD2HPqK04LocCyK+D0KQ==", - "dev": true, - "dependencies": { - "@antfu/utils": "^0.5.2", - "@rollup/pluginutils": "^4.2.1", - "local-pkg": "^0.4.2", - "magic-string": "^0.26.2", - "unimport": "^0.6.4", - "unplugin": "^0.8.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@vueuse/core": "*" - }, - "peerDependenciesMeta": { - "@vueuse/core": { - "optional": true - } - } - }, - "node_modules/unplugin-vue-components": { - "version": "0.21.2", - "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-0.21.2.tgz", - "integrity": "sha512-HBU+EuesDj/HRs7EtYH7gBACljVhqLylltrCLModRmCToIIrrNvMh54aylUt4AD4qiwylgOx4Vgb9sBlrIcRDw==", - "dev": true, - "dependencies": { - "@antfu/utils": "^0.5.2", - "@rollup/pluginutils": "^4.2.1", - "chokidar": "^3.5.3", - "debug": "^4.3.4", - "fast-glob": "^3.2.11", - "local-pkg": "^0.4.2", - "magic-string": "^0.26.2", - "minimatch": "^5.1.0", - "resolve": "^1.22.1", - "unplugin": "^0.7.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@babel/parser": "^7.15.8", - "vue": "2 || 3" - }, - "peerDependenciesMeta": { - "@babel/parser": { - "optional": true - } - } - }, - "node_modules/unplugin-vue-components/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/unplugin-vue-components/node_modules/minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/unplugin-vue-components/node_modules/unplugin": { - "version": "0.7.2", - "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-0.7.2.tgz", - "integrity": "sha512-m7thX4jP8l5sETpLdUASoDOGOcHaOVtgNyrYlToyQUvILUtEzEnngRBrHnAX3IKqooJVmXpoa/CwQ/QqzvGaHQ==", - "dev": true, - "dependencies": { - "acorn": "^8.7.1", - "chokidar": "^3.5.3", - "webpack-sources": "^3.2.3", - "webpack-virtual-modules": "^0.4.4" - }, - "peerDependencies": { - "esbuild": ">=0.13", - "rollup": "^2.50.0", - "vite": "^2.3.0 || ^3.0.0-0", - "webpack": "4 || 5" - }, - "peerDependenciesMeta": { - "esbuild": { - "optional": true - }, - "rollup": { - "optional": true - }, - "vite": { - "optional": true - }, - "webpack": { - "optional": true - } - } - }, - "node_modules/unplugin-vue-define-options": { - "version": "0.7.3", - "resolved": "https://registry.npmmirror.com/unplugin-vue-define-options/-/unplugin-vue-define-options-0.7.3.tgz", - "integrity": "sha512-VbexYR8m2v/TLi49+F7Yf3rO2EyS0EkrXjJxqym6W0NxOzom9zdmRUR+av4UAu4GruhMumJc/9ITS1Wj+rozjg==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^4.2.1", - "@vue/compiler-sfc": "^3.2.37", - "unplugin": "^0.8.0" - }, - "engines": { - "node": ">=14.19.0" - }, - "peerDependencies": { - "vue": "^3.2.25" - } - }, - "node_modules/unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==", - "dependencies": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmmirror.com/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==", - "dependencies": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==", - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unzipper": { - "version": "0.10.11", - "resolved": "https://registry.npmmirror.com/unzipper/-/unzipper-0.10.11.tgz", - "integrity": "sha512-+BrAq2oFqWod5IESRjL3S8baohbevGcVA+teAIOYWM3pDVdseogqbzhhvvmiyQrUNKFUnDMtELW3X8ykbyDCJw==", - "dependencies": { - "big-integer": "^1.6.17", - "binary": "~0.3.0", - "bluebird": "~3.4.1", - "buffer-indexof-polyfill": "~1.0.0", - "duplexer2": "~0.1.4", - "fstream": "^1.0.12", - "graceful-fs": "^4.2.2", - "listenercount": "~1.0.1", - "readable-stream": "~2.3.6", - "setimmediate": "~1.0.4" - } - }, - "node_modules/unzipper/node_modules/bluebird": { - "version": "3.4.7", - "resolved": "https://registry.npmmirror.com/bluebird/-/bluebird-3.4.7.tgz", - "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==" - }, - "node_modules/unzipper/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/unzipper/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/unzipper/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/upper-case": { - "version": "2.0.2", - "resolved": "https://r2.cnpmjs.org/upper-case/-/upper-case-2.0.2.tgz", - "integrity": "sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==", - "dev": true, - "dependencies": { - "tslib": "^2.0.3" - } - }, - "node_modules/upper-case-first": { - "version": "2.0.2", - "resolved": "https://r2.cnpmjs.org/upper-case-first/-/upper-case-first-2.0.2.tgz", - "integrity": "sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==", - "dev": true, - "dependencies": { - "tslib": "^2.0.3" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/urix": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/urix/-/urix-0.1.0.tgz", - "integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==", - "deprecated": "Please see https://github.com/lydell/urix#deprecated" - }, - "node_modules/url-slug": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/url-slug/-/url-slug-2.0.0.tgz", - "integrity": "sha512-aiNmSsVgrjCiJ2+KWPferjT46YFKoE8i0YX04BlMVDue022Xwhg/zYlnZ6V9/mP3p8Wj7LEp0myiTkC/p6sxew==", - "dependencies": { - "unidecode": "0.1.8" - } - }, - "node_modules/use": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/v8-compile-cache": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", - "dev": true - }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "resolved": "https://r.cnpmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", - "dev": true - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://r2.cnpmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/vite": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/vite/-/vite-3.0.4.tgz", - "integrity": "sha512-NU304nqnBeOx2MkQnskBQxVsa0pRAH5FphokTGmyy8M3oxbvw7qAXts2GORxs+h/2vKsD+osMhZ7An6yK6F1dA==", - "dev": true, - "dependencies": { - "esbuild": "^0.14.47", - "postcss": "^8.4.14", - "resolve": "^1.22.1", - "rollup": "^2.75.6" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - }, - "peerDependencies": { - "less": "*", - "sass": "*", - "stylus": "*", - "terser": "^5.4.0" - }, - "peerDependenciesMeta": { - "less": { - "optional": true - }, - "sass": { - "optional": true - }, - "stylus": { - "optional": true - }, - "terser": { - "optional": true - } - } - }, - "node_modules/vite-plugin-compression": { - "version": "0.5.1", - "resolved": "https://registry.npmmirror.com/vite-plugin-compression/-/vite-plugin-compression-0.5.1.tgz", - "integrity": "sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==", - "dev": true, - "dependencies": { - "chalk": "^4.1.2", - "debug": "^4.3.3", - "fs-extra": "^10.0.0" - }, - "peerDependencies": { - "vite": ">=2.0.0" - } - }, - "node_modules/vite-plugin-style-import": { - "version": "2.0.0", - "resolved": "https://r.cnpmjs.org/vite-plugin-style-import/-/vite-plugin-style-import-2.0.0.tgz", - "integrity": "sha512-qtoHQae5dSUQPo/rYz/8p190VU5y19rtBaeV7ryLa/AYAU/e9CG89NrN/3+k7MR8mJy/GPIu91iJ3zk9foUOSA==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^4.1.2", - "change-case": "^4.1.2", - "console": "^0.7.2", - "es-module-lexer": "^0.9.3", - "fs-extra": "^10.0.0", - "magic-string": "^0.25.7", - "pathe": "^0.2.0" - }, - "peerDependencies": { - "vite": ">=2.0.0" - } - }, - "node_modules/vite-plugin-style-import/node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dev": true, - "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, - "node_modules/vite-plugin-style-import/node_modules/pathe": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-0.2.0.tgz", - "integrity": "sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==", - "dev": true - }, - "node_modules/vite-plugin-svg-icons": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/vite-plugin-svg-icons/-/vite-plugin-svg-icons-2.0.1.tgz", - "integrity": "sha512-6ktD+DhV6Rz3VtedYvBKKVA2eXF+sAQVaKkKLDSqGUfnhqXl3bj5PPkVTl3VexfTuZy66PmINi8Q6eFnVfRUmA==", - "dev": true, - "dependencies": { - "@types/svgo": "^2.6.1", - "cors": "^2.8.5", - "debug": "^4.3.3", - "etag": "^1.8.1", - "fs-extra": "^10.0.0", - "pathe": "^0.2.0", - "svg-baker": "1.7.0", - "svgo": "^2.8.0" - }, - "peerDependencies": { - "vite": ">=2.0.0" - } - }, - "node_modules/vite-plugin-svg-icons/node_modules/pathe": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-0.2.0.tgz", - "integrity": "sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==", - "dev": true - }, - "node_modules/vite-plugin-vue-setup-extend": { - "version": "0.4.0", - "resolved": "https://registry.npmmirror.com/vite-plugin-vue-setup-extend/-/vite-plugin-vue-setup-extend-0.4.0.tgz", - "integrity": "sha512-WMbjPCui75fboFoUTHhdbXzu4Y/bJMv5N9QT9a7do3wNMNHHqrk+Tn2jrSJU0LS5fGl/EG+FEDBYVUeWIkDqXQ==", - "dev": true, - "dependencies": { - "@vue/compiler-sfc": "^3.2.29", - "magic-string": "^0.25.7" - }, - "peerDependencies": { - "vite": ">=2.0.0" - } - }, - "node_modules/vite-plugin-vue-setup-extend/node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dev": true, - "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, - "node_modules/vite/node_modules/postcss": { - "version": "8.4.14", - "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.14.tgz", - "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", - "dev": true, - "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/vue": { - "version": "3.2.41", - "resolved": "https://r.cnpmjs.org/vue/-/vue-3.2.41.tgz", - "integrity": "sha512-uuuvnrDXEeZ9VUPljgHkqB5IaVO8SxhPpqF2eWOukVrBnRBx2THPSGQBnVRt0GrIG1gvCmFXMGbd7FqcT1ixNQ==", - "dependencies": { - "@vue/compiler-dom": "3.2.41", - "@vue/compiler-sfc": "3.2.41", - "@vue/runtime-dom": "3.2.41", - "@vue/server-renderer": "3.2.41", - "@vue/shared": "3.2.41" - } - }, - "node_modules/vue-cropper": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/vue-cropper/-/vue-cropper-1.0.5.tgz", - "integrity": "sha512-D4XXdqWmMWRLOIV9LIh7/mkH6OBOMQDFbRjwntkxmAtxOtwpC9U5ZZ6lSXw5F5cbd4g8znDjk6MuCwIL+fZSrA==" - }, - "node_modules/vue-cropperjs": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/vue-cropperjs/-/vue-cropperjs-5.0.0.tgz", - "integrity": "sha512-RhnC8O33uRZNkn74aiHZwNHnBJOXWlS4P6gsRI0lw4cZlWjKSCywZI9oSI9POlIPI6OYv30jvnHMXGch85tw7w==", - "dependencies": { - "cropperjs": "^1.5.6" - }, - "peerDependencies": { - "vue": ">=3.0.0" - } - }, - "node_modules/vue-demi": { - "version": "0.11.4", - "resolved": "https://r2.cnpmjs.org/vue-demi/-/vue-demi-0.11.4.tgz", - "integrity": "sha512-/3xFwzSykLW2HiiLie43a+FFgNOcokbBJ+fzvFXd0r2T8MYohqvphUyDQ8lbAwzQ3Dlcrb1c9ykifGkhSIAk6A==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/vue-eslint-parser": { - "version": "9.0.3", - "resolved": "https://r.cnpmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.0.3.tgz", - "integrity": "sha512-yL+ZDb+9T0ELG4VIFo/2anAOz8SvBdlqEnQnvJ3M7Scq56DvtjY0VY88bByRZB0D4J0u8olBcfrXTVONXsh4og==", - "dev": true, - "dependencies": { - "debug": "^4.3.4", - "eslint-scope": "^7.1.1", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.1", - "esquery": "^1.4.0", - "lodash": "^4.17.21", - "semver": "^7.3.6" - }, - "engines": { - "node": "^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": ">=6.0.0" - } - }, - "node_modules/vue-eslint-parser/node_modules/eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/vue-eslint-parser/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/vue-fuse": { - "version": "4.1.1", - "resolved": "https://r.cnpmjs.org/vue-fuse/-/vue-fuse-4.1.1.tgz", - "integrity": "sha512-bhuTiniVK3HmTcxvksrzPgDWPFTEDYiWbJa01E7yT2lRPtE4BVb5cXUBUmqtb5rCkDOsLgMh1n9mRlHQImYNkA==", - "dependencies": { - "vue-demi": "^0.11.4" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "fuse.js": "^6.4.6", - "vue": "^3.2.20" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/vue-i18n": { - "version": "9.2.2", - "resolved": "https://r.cnpmjs.org/vue-i18n/-/vue-i18n-9.2.2.tgz", - "integrity": "sha512-yswpwtj89rTBhegUAv9Mu37LNznyu3NpyLQmozF3i1hYOhwpG8RjcjIFIIfnu+2MDZJGSZPXaKWvnQA71Yv9TQ==", - "dependencies": { - "@intlify/core-base": "9.2.2", - "@intlify/shared": "9.2.2", - "@intlify/vue-devtools": "9.2.2", - "@vue/devtools-api": "^6.2.1" - }, - "engines": { - "node": ">= 14" - }, - "peerDependencies": { - "vue": "^3.0.0" - } - }, - "node_modules/vue-mugen-scroll": { - "version": "0.2.6", - "resolved": "https://registry.npmmirror.com/vue-mugen-scroll/-/vue-mugen-scroll-0.2.6.tgz", - "integrity": "sha512-6FOBzotc8p/GDQZYkEdenxPydDvABUuxqMese6Zv4fpEZf7CjNSabRtAeBUtg+339Z9iKMdpzussbqFHCRXVqA==", - "dependencies": { - "element-in-view": "^0.1.0", - "throttleit": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/vue-qr": { - "version": "4.0.9", - "resolved": "https://registry.npmmirror.com/vue-qr/-/vue-qr-4.0.9.tgz", - "integrity": "sha512-pAISV94T0MNEYA3NGjykUpsXRE2QfaNxlu9ZhEL6CERgqNc21hJYuP3hRVzAWfBQlgO18DPmZTbrFerJC3+Ikw==", - "dependencies": { - "glob": "^8.0.1", - "js-binary-schema-parser": "^2.0.2", - "simple-get": "^4.0.1", - "string-split-by": "^1.0.0" - } - }, - "node_modules/vue-qr/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/vue-qr/node_modules/glob": { - "version": "8.0.3", - "resolved": "https://registry.npmmirror.com/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/vue-qr/node_modules/minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/vue-router": { - "version": "4.1.6", - "resolved": "https://r.cnpmjs.org/vue-router/-/vue-router-4.1.6.tgz", - "integrity": "sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ==", - "dependencies": { - "@vue/devtools-api": "^6.4.5" - }, - "peerDependencies": { - "vue": "^3.2.0" - } - }, - "node_modules/vue-splitpane": { - "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/vue-splitpane/-/vue-splitpane-1.0.6.tgz", - "integrity": "sha512-6sneVSEeF1VsCD025HP93nRxwzYhv3rotCeYi2Ah1FmGxwtfqbCZEIzaHGberdGNCpMlEzGD/1OIE1kK5QukLA==" - }, - "node_modules/vue-tsc": { - "version": "0.38.9", - "resolved": "https://registry.npmmirror.com/vue-tsc/-/vue-tsc-0.38.9.tgz", - "integrity": "sha512-Yoy5phgvGqyF98Fb4mYqboR4Q149jrdcGv5kSmufXJUq++RZJ2iMVG0g6zl+v3t4ORVWkQmRpsV4x2szufZ0LQ==", - "dev": true, - "dependencies": { - "@volar/vue-typescript": "0.38.9" - }, - "bin": { - "vue-tsc": "bin/vue-tsc.js" - }, - "peerDependencies": { - "typescript": "*" - } - }, - "node_modules/vue3-text-clamp": { - "version": "0.1.1", - "resolved": "https://registry.npmmirror.com/vue3-text-clamp/-/vue3-text-clamp-0.1.1.tgz", - "integrity": "sha512-l/30RvXLkw50axAjswAK1DmvbUc5Oyhq9GkvD98p8pykrLkIajRi3evVsMnahMBK0O7+EGIK9RbIOKPyRfuw7w==", - "dependencies": { - "resize-detector": "^0.3.0", - "vue": "^3.2.37" - }, - "peerDependencies": { - "resize-detector": "^0.3.0", - "vue": "^3.2.37" - } - }, - "node_modules/vuedraggable": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/vuedraggable/-/vuedraggable-4.1.0.tgz", - "integrity": "sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==", - "dependencies": { - "sortablejs": "1.14.0" - }, - "peerDependencies": { - "vue": "^3.0.1" - } - }, - "node_modules/vuex": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/vuex/-/vuex-4.0.2.tgz", - "integrity": "sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==", - "dependencies": { - "@vue/devtools-api": "^6.0.0-beta.11" - }, - "peerDependencies": { - "vue": "^3.0.2" - } - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://r2.cnpmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "dev": true, - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmmirror.com/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "dev": true, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/webpack-virtual-modules": { - "version": "0.4.4", - "resolved": "https://registry.npmmirror.com/webpack-virtual-modules/-/webpack-virtual-modules-0.4.4.tgz", - "integrity": "sha512-h9atBP/bsZohWpHnr+2sic8Iecb60GxftXsWNLLLSqewgIsGzByd2gcIID4nXcG+3tNe4GQG3dLcff3kXupdRA==", - "dev": true - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wildcard": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/wildcard/-/wildcard-1.1.2.tgz", - "integrity": "sha512-DXukZJxpHA8LuotRwL0pP1+rS6CS7FF2qStDDE1C7DDg2rLud2PXRMuEDYIPhgEezwnlHNL4c+N6MfMTjCGTng==" - }, - "node_modules/wmf": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/wmf/-/wmf-1.0.2.tgz", - "integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/word": { - "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/word/-/word-0.3.0.tgz", - "integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://r2.cnpmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/xlsx": { - "version": "0.18.5", - "resolved": "https://registry.npmmirror.com/xlsx/-/xlsx-0.18.5.tgz", - "integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==", - "dependencies": { - "adler-32": "~1.3.0", - "cfb": "~1.2.1", - "codepage": "~1.15.0", - "crc-32": "~1.2.1", - "ssf": "~0.11.2", - "wmf": "~1.0.1", - "word": "~0.3.0" - }, - "bin": { - "xlsx": "bin/xlsx.njs" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/xml-name-validator": { - "version": "4.0.0", - "resolved": "https://r2.cnpmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", - "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/xmlchars": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/xmlchars/-/xmlchars-2.2.0.tgz", - "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" - }, - "node_modules/xss": { - "version": "1.0.13", - "resolved": "https://registry.npmmirror.com/xss/-/xss-1.0.13.tgz", - "integrity": "sha512-clu7dxTm1e8Mo5fz3n/oW3UCXBfV89xZ72jM8yzo1vR/pIS0w3sgB3XV2H8Vm6zfGnHL0FzvLJPJEBhd86/z4Q==", - "dependencies": { - "commander": "^2.20.3", - "cssfilter": "0.0.10" - }, - "bin": { - "xss": "bin/xss" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/xss/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://r2.cnpmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://r2.cnpmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://r2.cnpmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/yargs": { - "version": "17.6.2", - "resolved": "https://r.cnpmjs.org/yargs/-/yargs-17.6.2.tgz", - "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==", - "dev": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://r2.cnpmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://r.cnpmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://r2.cnpmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/zip-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/zip-stream/-/zip-stream-4.1.0.tgz", - "integrity": "sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==", - "dependencies": { - "archiver-utils": "^2.1.0", - "compress-commons": "^4.1.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/zrender": { - "version": "5.3.2", - "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.3.2.tgz", - "integrity": "sha512-8IiYdfwHj2rx0UeIGZGGU4WEVSDEdeVCaIg/fomejg1Xu6OifAL1GVzIPHg2D+MyUkbNgPWji90t0a8IDk+39w==", - "dependencies": { - "tslib": "2.3.0" - } - } - }, "dependencies": { "@antfu/utils": { "version": "0.5.2", @@ -9934,8 +373,7 @@ "@element-plus/icons-vue": { "version": "2.0.6", "resolved": "https://registry.npmmirror.com/@element-plus/icons-vue/-/icons-vue-2.0.6.tgz", - "integrity": "sha512-lPpG8hYkjL/Z97DH5Ei6w6o22Z4YdNglWCNYOPcB33JCF2A4wye6HFgSI7hEt9zdLyxlSpiqtgf9XcYU+m5mew==", - "requires": {} + "integrity": "sha512-lPpG8hYkjL/Z97DH5Ei6w6o22Z4YdNglWCNYOPcB33JCF2A4wye6HFgSI7hEt9zdLyxlSpiqtgf9XcYU+m5mew==" }, "@esbuild/linux-loong64": { "version": "0.14.53", @@ -10378,8 +816,7 @@ "version": "3.0.1", "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-3.0.1.tgz", "integrity": "sha512-Ll9JgxG7ONIz/XZv3dssfoMUDu9qAnlJ+km+pBA0teYSXzwPCIzS/e1bmwNYl5dcQGs677D21amgfYAnzMl17A==", - "dev": true, - "requires": {} + "dev": true }, "@volar/code-gen": { "version": "0.38.9", @@ -10582,8 +1019,7 @@ "vue-demi": { "version": "0.13.6", "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.13.6.tgz", - "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==", - "requires": {} + "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==" } } }, @@ -10603,8 +1039,7 @@ "vue-demi": { "version": "0.13.6", "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.13.6.tgz", - "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==", - "requires": {} + "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==" } } }, @@ -10668,32 +1103,37 @@ "@wangeditor/editor-for-vue": { "version": "5.1.12", "resolved": "https://registry.npmmirror.com/@wangeditor/editor-for-vue/-/editor-for-vue-5.1.12.tgz", - "integrity": "sha512-0Ds3D8I+xnpNWezAeO7HmPRgTfUxHLMd9JKcIw+QzvSmhC5xUHbpCcLU+KLmeBKTR/zffnS5GQo6qi3GhTMJWQ==", - "requires": {} + "integrity": "sha512-0Ds3D8I+xnpNWezAeO7HmPRgTfUxHLMd9JKcIw+QzvSmhC5xUHbpCcLU+KLmeBKTR/zffnS5GQo6qi3GhTMJWQ==" }, "@wangeditor/list-module": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/@wangeditor/list-module/-/list-module-1.0.2.tgz", - "integrity": "sha512-VfENZEFvsLTiLxN/cj8cibFGy9NVV+/cfATTiLiH9ef+8lgKv8apttXYVlqIAfnlJLLuCk0cIm8c/zH+hbtrZg==", - "requires": {} + "integrity": "sha512-VfENZEFvsLTiLxN/cj8cibFGy9NVV+/cfATTiLiH9ef+8lgKv8apttXYVlqIAfnlJLLuCk0cIm8c/zH+hbtrZg==" }, "@wangeditor/table-module": { "version": "1.1.1", "resolved": "https://registry.npmmirror.com/@wangeditor/table-module/-/table-module-1.1.1.tgz", - "integrity": "sha512-VPjEWQtncS2DsXYXiHUxPSxn2Xhc8GdhG3la7N5YhvxQde1+4N0SZLXeWsYvbGzOq4um5XToq5pktLLbE8G+EA==", - "requires": {} + "integrity": "sha512-VPjEWQtncS2DsXYXiHUxPSxn2Xhc8GdhG3la7N5YhvxQde1+4N0SZLXeWsYvbGzOq4um5XToq5pktLLbE8G+EA==" }, "@wangeditor/upload-image-module": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/@wangeditor/upload-image-module/-/upload-image-module-1.0.1.tgz", - "integrity": "sha512-vgUV4ENttTITblqtVuzleIq732OmzmzzgrIvX6b3GRGPSw5u8glJ/87tOEhvHjHECc4oFo18B7xzJ1GpBj79/w==", - "requires": {} + "integrity": "sha512-vgUV4ENttTITblqtVuzleIq732OmzmzzgrIvX6b3GRGPSw5u8glJ/87tOEhvHjHECc4oFo18B7xzJ1GpBj79/w==" }, "@wangeditor/video-module": { "version": "1.1.1", "resolved": "https://registry.npmmirror.com/@wangeditor/video-module/-/video-module-1.1.1.tgz", - "integrity": "sha512-6gzpS5cnJihW2T0HFjqmbv6v8ouyaeMUjdM2X8BPohwD74p1ov00dCmRt5QekNTyYSmRHK0ASkUMOvRGqaDxMg==", - "requires": {} + "integrity": "sha512-6gzpS5cnJihW2T0HFjqmbv6v8ouyaeMUjdM2X8BPohwD74p1ov00dCmRt5QekNTyYSmRHK0ASkUMOvRGqaDxMg==" + }, + "JSONStream": { + "version": "1.3.5", + "resolved": "https://r2.cnpmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } }, "acorn": { "version": "8.8.0", @@ -10705,8 +1145,7 @@ "version": "5.3.2", "resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "requires": {} + "dev": true }, "acorn-walk": { "version": "8.2.0", @@ -11482,8 +1921,8 @@ "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", "dev": true, "requires": { - "is-text-path": "^1.0.1", "JSONStream": "^1.0.4", + "is-text-path": "^1.0.1", "lodash": "^4.17.15", "meow": "^8.0.0", "split2": "^3.0.0", @@ -11532,8 +1971,7 @@ "version": "4.2.0", "resolved": "https://r.cnpmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.2.0.tgz", "integrity": "sha512-NkANeMnaHrlaSSlpKGyvn2R4rqUDeE/9E5YHx+b4nwo0R8dZyAqcih8/gxpCZvqWP9Vf6xuLpMSzSgdVEIM78g==", - "dev": true, - "requires": {} + "dev": true }, "crc-32": { "version": "1.2.2", @@ -12406,8 +2844,7 @@ "version": "8.5.0", "resolved": "https://registry.npmmirror.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz", "integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==", - "dev": true, - "requires": {} + "dev": true }, "eslint-plugin-prettier": { "version": "4.2.1", @@ -13631,16 +4068,6 @@ "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true }, - "JSONStream": { - "version": "1.3.5", - "resolved": "https://r2.cnpmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", - "dev": true, - "requires": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - } - }, "jszip": { "version": "3.10.1", "resolved": "https://registry.npmmirror.com/jszip/-/jszip-3.10.1.tgz", @@ -13790,8 +4217,7 @@ "lodash-unified": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/lodash-unified/-/lodash-unified-1.0.2.tgz", - "integrity": "sha512-OGbEy+1P+UT26CYi4opY4gebD8cWRDxAT6MAObIVQMiqYdxZr1g3QHWCToVsm31x2NkLS4K3+MC2qInaRMa39g==", - "requires": {} + "integrity": "sha512-OGbEy+1P+UT26CYi4opY4gebD8cWRDxAT6MAObIVQMiqYdxZr1g3QHWCToVsm31x2NkLS4K3+MC2qInaRMa39g==" }, "lodash.camelcase": { "version": "4.3.0", @@ -14675,16 +5101,14 @@ "vue-demi": { "version": "0.13.6", "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.13.6.tgz", - "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==", - "requires": {} + "integrity": "sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==" } } }, "pinia-plugin-persistedstate": { "version": "2.1.1", "resolved": "https://registry.npmmirror.com/pinia-plugin-persistedstate/-/pinia-plugin-persistedstate-2.1.1.tgz", - "integrity": "sha512-HUgsU5IRtM75eAQiIqzT3p1oPEuYH1/B2ipTMU++yE+FV0LkHaBswdKXs0RMWYCmugO8s62oxLTh/N1dLNp+5A==", - "requires": {} + "integrity": "sha512-HUgsU5IRtM75eAQiIqzT3p1oPEuYH1/B2ipTMU++yE+FV0LkHaBswdKXs0RMWYCmugO8s62oxLTh/N1dLNp+5A==" }, "pkg-types": { "version": "0.3.3", @@ -14773,8 +5197,7 @@ "postcss-prefix-selector": { "version": "1.16.0", "resolved": "https://registry.npmmirror.com/postcss-prefix-selector/-/postcss-prefix-selector-1.16.0.tgz", - "integrity": "sha512-rdVMIi7Q4B0XbXqNUEI+Z4E+pueiu/CS5E6vRCQommzdQ/sgsS4dK42U7GX8oJR+TJOtT+Qv3GkNo6iijUMp3Q==", - "requires": {} + "integrity": "sha512-rdVMIi7Q4B0XbXqNUEI+Z4E+pueiu/CS5E6vRCQommzdQ/sgsS4dK42U7GX8oJR+TJOtT+Qv3GkNo6iijUMp3Q==" }, "postcss-selector-parser": { "version": "6.0.10", @@ -15758,14 +6181,6 @@ "resolved": "https://registry.npmmirror.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", "integrity": "sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ==" }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - }, "string-split-by": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/string-split-by/-/string-split-by-1.0.0.tgz", @@ -15785,6 +6200,14 @@ "strip-ansi": "^6.0.1" } }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -16212,7 +6635,7 @@ "version": "4.7.4", "resolved": "https://registry.npmmirror.com/typescript/-/typescript-4.7.4.tgz", "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", - "devOptional": true + "dev": true }, "unidecode": { "version": "0.1.8", @@ -16666,8 +7089,7 @@ "vue-demi": { "version": "0.11.4", "resolved": "https://r2.cnpmjs.org/vue-demi/-/vue-demi-0.11.4.tgz", - "integrity": "sha512-/3xFwzSykLW2HiiLie43a+FFgNOcokbBJ+fzvFXd0r2T8MYohqvphUyDQ8lbAwzQ3Dlcrb1c9ykifGkhSIAk6A==", - "requires": {} + "integrity": "sha512-/3xFwzSykLW2HiiLie43a+FFgNOcokbBJ+fzvFXd0r2T8MYohqvphUyDQ8lbAwzQ3Dlcrb1c9ykifGkhSIAk6A==" }, "vue-eslint-parser": { "version": "9.0.3",