UNPKG

hs-uii

Version:
57 lines (49 loc) 1.12 MB
(function(Ff,kh){typeof exports=="object"&&typeof module!="undefined"?kh(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],kh):(Ff=typeof globalThis!="undefined"?globalThis:Ff||self,kh(Ff["hs-uii"]={},Ff.Vue))})(this,function(exports,vue$1){"use strict";var Q0e=Object.defineProperty,e1e=Object.defineProperties;var t1e=Object.getOwnPropertyDescriptors;var J0e=Object.getOwnPropertySymbols;var n1e=Object.prototype.hasOwnProperty,r1e=Object.prototype.propertyIsEnumerable;var Y0e=(Ff,kh,y_)=>kh in Ff?Q0e(Ff,kh,{enumerable:!0,configurable:!0,writable:!0,value:y_}):Ff[kh]=y_,Lve=(Ff,kh)=>{for(var y_ in kh||(kh={}))n1e.call(kh,y_)&&Y0e(Ff,y_,kh[y_]);if(J0e)for(var y_ of J0e(kh))r1e.call(kh,y_)&&Y0e(Ff,y_,kh[y_]);return Ff},Oge=(Ff,kh)=>e1e(Ff,t1e(kh));var _export_sfc$1=(Ff,kh)=>{const y_=Ff.__vccOpts||Ff;for(const[jP,NP]of kh)y_[jP]=NP;return y_};const _sfc_main$d=vue$1.defineComponent({name:"hSelect",props:{value:{type:[String,Number,Array,Object],default:null},placeholder:{type:String,default:""},options:{type:Array,default:[]},fieldNames:{type:Object}},setup(Ff,{emit:kh}){return{modelValue:vue$1.computed({get:()=>Ff.value||void 0,set:jP=>{kh("update:value",jP||"")}})}}});function _sfc_render$c(Ff,kh,y_,jP,NP,mG){const PG=vue$1.resolveComponent("a-select-option"),eve=vue$1.resolveComponent("a-select");return vue$1.openBlock(),vue$1.createBlock(eve,{value:Ff.modelValue,"onUpdate:value":kh[0]||(kh[0]=tve=>Ff.modelValue=tve),allowClear:"",showSearch:"",placeholder:Ff.placeholder,optionFilterProp:"label"},{default:vue$1.withCtx(()=>[Ff.fieldNames?(vue$1.openBlock(!0),vue$1.createElementBlock(vue$1.Fragment,{key:0},vue$1.renderList(Ff.options,(tve,nve)=>(vue$1.openBlock(),vue$1.createBlock(PG,{key:nve,value:tve[Ff.fieldNames.value],label:tve[Ff.fieldNames.label],item:tve},{default:vue$1.withCtx(()=>[vue$1.createTextVNode(vue$1.toDisplayString(tve[Ff.fieldNames.label]),1)]),_:2},1032,["value","label","item"]))),128)):(vue$1.openBlock(!0),vue$1.createElementBlock(vue$1.Fragment,{key:1},vue$1.renderList(Ff.options,(tve,nve)=>(vue$1.openBlock(),vue$1.createBlock(PG,{key:nve,value:tve.value,label:tve.label},{default:vue$1.withCtx(()=>[vue$1.createTextVNode(vue$1.toDisplayString(tve.label),1)]),_:2},1032,["value","label"]))),128))]),_:1},8,["value","placeholder"])}var hSelect=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$c]]);hSelect.install=Ff=>{Ff.component(hSelect.name,hSelect)};function bound01(Ff,kh){isOnePointZero(Ff)&&(Ff="100%");var y_=isPercentage(Ff);return Ff=kh===360?Ff:Math.min(kh,Math.max(0,parseFloat(Ff))),y_&&(Ff=parseInt(String(Ff*kh),10)/100),Math.abs(Ff-kh)<1e-6?1:(kh===360?Ff=(Ff<0?Ff%kh+kh:Ff%kh)/parseFloat(String(kh)):Ff=Ff%kh/parseFloat(String(kh)),Ff)}function clamp01(Ff){return Math.min(1,Math.max(0,Ff))}function isOnePointZero(Ff){return typeof Ff=="string"&&Ff.indexOf(".")!==-1&&parseFloat(Ff)===1}function isPercentage(Ff){return typeof Ff=="string"&&Ff.indexOf("%")!==-1}function boundAlpha(Ff){return Ff=parseFloat(Ff),(isNaN(Ff)||Ff<0||Ff>1)&&(Ff=1),Ff}function convertToPercentage(Ff){return Ff<=1?"".concat(Number(Ff)*100,"%"):Ff}function pad2(Ff){return Ff.length===1?"0"+Ff:String(Ff)}function rgbToRgb(Ff,kh,y_){return{r:bound01(Ff,255)*255,g:bound01(kh,255)*255,b:bound01(y_,255)*255}}function rgbToHsl(Ff,kh,y_){Ff=bound01(Ff,255),kh=bound01(kh,255),y_=bound01(y_,255);var jP=Math.max(Ff,kh,y_),NP=Math.min(Ff,kh,y_),mG=0,PG=0,eve=(jP+NP)/2;if(jP===NP)PG=0,mG=0;else{var tve=jP-NP;switch(PG=eve>.5?tve/(2-jP-NP):tve/(jP+NP),jP){case Ff:mG=(kh-y_)/tve+(kh<y_?6:0);break;case kh:mG=(y_-Ff)/tve+2;break;case y_:mG=(Ff-kh)/tve+4;break}mG/=6}return{h:mG,s:PG,l:eve}}function hue2rgb(Ff,kh,y_){return y_<0&&(y_+=1),y_>1&&(y_-=1),y_<1/6?Ff+(kh-Ff)*(6*y_):y_<1/2?kh:y_<2/3?Ff+(kh-Ff)*(2/3-y_)*6:Ff}function hslToRgb(Ff,kh,y_){var jP,NP,mG;if(Ff=bound01(Ff,360),kh=bound01(kh,100),y_=bound01(y_,100),kh===0)NP=y_,mG=y_,jP=y_;else{var PG=y_<.5?y_*(1+kh):y_+kh-y_*kh,eve=2*y_-PG;jP=hue2rgb(eve,PG,Ff+1/3),NP=hue2rgb(eve,PG,Ff),mG=hue2rgb(eve,PG,Ff-1/3)}return{r:jP*255,g:NP*255,b:mG*255}}function rgbToHsv(Ff,kh,y_){Ff=bound01(Ff,255),kh=bound01(kh,255),y_=bound01(y_,255);var jP=Math.max(Ff,kh,y_),NP=Math.min(Ff,kh,y_),mG=0,PG=jP,eve=jP-NP,tve=jP===0?0:eve/jP;if(jP===NP)mG=0;else{switch(jP){case Ff:mG=(kh-y_)/eve+(kh<y_?6:0);break;case kh:mG=(y_-Ff)/eve+2;break;case y_:mG=(Ff-kh)/eve+4;break}mG/=6}return{h:mG,s:tve,v:PG}}function hsvToRgb(Ff,kh,y_){Ff=bound01(Ff,360)*6,kh=bound01(kh,100),y_=bound01(y_,100);var jP=Math.floor(Ff),NP=Ff-jP,mG=y_*(1-kh),PG=y_*(1-NP*kh),eve=y_*(1-(1-NP)*kh),tve=jP%6,nve=[y_,PG,mG,mG,eve,y_][tve],rve=[eve,y_,y_,PG,mG,mG][tve],ove=[mG,mG,eve,y_,y_,PG][tve];return{r:nve*255,g:rve*255,b:ove*255}}function rgbToHex(Ff,kh,y_,jP){var NP=[pad2(Math.round(Ff).toString(16)),pad2(Math.round(kh).toString(16)),pad2(Math.round(y_).toString(16))];return jP&&NP[0].startsWith(NP[0].charAt(1))&&NP[1].startsWith(NP[1].charAt(1))&&NP[2].startsWith(NP[2].charAt(1))?NP[0].charAt(0)+NP[1].charAt(0)+NP[2].charAt(0):NP.join("")}function rgbaToHex(Ff,kh,y_,jP,NP){var mG=[pad2(Math.round(Ff).toString(16)),pad2(Math.round(kh).toString(16)),pad2(Math.round(y_).toString(16)),pad2(convertDecimalToHex(jP))];return NP&&mG[0].startsWith(mG[0].charAt(1))&&mG[1].startsWith(mG[1].charAt(1))&&mG[2].startsWith(mG[2].charAt(1))&&mG[3].startsWith(mG[3].charAt(1))?mG[0].charAt(0)+mG[1].charAt(0)+mG[2].charAt(0)+mG[3].charAt(0):mG.join("")}function convertDecimalToHex(Ff){return Math.round(parseFloat(Ff)*255).toString(16)}function convertHexToDecimal(Ff){return parseIntFromHex(Ff)/255}function parseIntFromHex(Ff){return parseInt(Ff,16)}function numberInputToObject(Ff){return{r:Ff>>16,g:(Ff&65280)>>8,b:Ff&255}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(Ff){var kh={r:0,g:0,b:0},y_=1,jP=null,NP=null,mG=null,PG=!1,eve=!1;return typeof Ff=="string"&&(Ff=stringInputToObject(Ff)),typeof Ff=="object"&&(isValidCSSUnit(Ff.r)&&isValidCSSUnit(Ff.g)&&isValidCSSUnit(Ff.b)?(kh=rgbToRgb(Ff.r,Ff.g,Ff.b),PG=!0,eve=String(Ff.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(Ff.h)&&isValidCSSUnit(Ff.s)&&isValidCSSUnit(Ff.v)?(jP=convertToPercentage(Ff.s),NP=convertToPercentage(Ff.v),kh=hsvToRgb(Ff.h,jP,NP),PG=!0,eve="hsv"):isValidCSSUnit(Ff.h)&&isValidCSSUnit(Ff.s)&&isValidCSSUnit(Ff.l)&&(jP=convertToPercentage(Ff.s),mG=convertToPercentage(Ff.l),kh=hslToRgb(Ff.h,jP,mG),PG=!0,eve="hsl"),Object.prototype.hasOwnProperty.call(Ff,"a")&&(y_=Ff.a)),y_=boundAlpha(y_),{ok:PG,format:Ff.format||eve,r:Math.min(255,Math.max(kh.r,0)),g:Math.min(255,Math.max(kh.g,0)),b:Math.min(255,Math.max(kh.b,0)),a:y_}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(Ff){if(Ff=Ff.trim().toLowerCase(),Ff.length===0)return!1;var kh=!1;if(names[Ff])Ff=names[Ff],kh=!0;else if(Ff==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var y_=matchers.rgb.exec(Ff);return y_?{r:y_[1],g:y_[2],b:y_[3]}:(y_=matchers.rgba.exec(Ff),y_?{r:y_[1],g:y_[2],b:y_[3],a:y_[4]}:(y_=matchers.hsl.exec(Ff),y_?{h:y_[1],s:y_[2],l:y_[3]}:(y_=matchers.hsla.exec(Ff),y_?{h:y_[1],s:y_[2],l:y_[3],a:y_[4]}:(y_=matchers.hsv.exec(Ff),y_?{h:y_[1],s:y_[2],v:y_[3]}:(y_=matchers.hsva.exec(Ff),y_?{h:y_[1],s:y_[2],v:y_[3],a:y_[4]}:(y_=matchers.hex8.exec(Ff),y_?{r:parseIntFromHex(y_[1]),g:parseIntFromHex(y_[2]),b:parseIntFromHex(y_[3]),a:convertHexToDecimal(y_[4]),format:kh?"name":"hex8"}:(y_=matchers.hex6.exec(Ff),y_?{r:parseIntFromHex(y_[1]),g:parseIntFromHex(y_[2]),b:parseIntFromHex(y_[3]),format:kh?"name":"hex"}:(y_=matchers.hex4.exec(Ff),y_?{r:parseIntFromHex(y_[1]+y_[1]),g:parseIntFromHex(y_[2]+y_[2]),b:parseIntFromHex(y_[3]+y_[3]),a:convertHexToDecimal(y_[4]+y_[4]),format:kh?"name":"hex8"}:(y_=matchers.hex3.exec(Ff),y_?{r:parseIntFromHex(y_[1]+y_[1]),g:parseIntFromHex(y_[2]+y_[2]),b:parseIntFromHex(y_[3]+y_[3]),format:kh?"name":"hex"}:!1)))))))))}function isValidCSSUnit(Ff){return Boolean(matchers.CSS_UNIT.exec(String(Ff)))}var TinyColor=function(){function Ff(kh,y_){kh===void 0&&(kh=""),y_===void 0&&(y_={});var jP;if(kh instanceof Ff)return kh;typeof kh=="number"&&(kh=numberInputToObject(kh)),this.originalInput=kh;var NP=inputToRGB(kh);this.originalInput=kh,this.r=NP.r,this.g=NP.g,this.b=NP.b,this.a=NP.a,this.roundA=Math.round(100*this.a)/100,this.format=(jP=y_.format)!==null&&jP!==void 0?jP:NP.format,this.gradientType=y_.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=NP.ok}return Ff.prototype.isDark=function(){return this.getBrightness()<128},Ff.prototype.isLight=function(){return!this.isDark()},Ff.prototype.getBrightness=function(){var kh=this.toRgb();return(kh.r*299+kh.g*587+kh.b*114)/1e3},Ff.prototype.getLuminance=function(){var kh=this.toRgb(),y_,jP,NP,mG=kh.r/255,PG=kh.g/255,eve=kh.b/255;return mG<=.03928?y_=mG/12.92:y_=Math.pow((mG+.055)/1.055,2.4),PG<=.03928?jP=PG/12.92:jP=Math.pow((PG+.055)/1.055,2.4),eve<=.03928?NP=eve/12.92:NP=Math.pow((eve+.055)/1.055,2.4),.2126*y_+.7152*jP+.0722*NP},Ff.prototype.getAlpha=function(){return this.a},Ff.prototype.setAlpha=function(kh){return this.a=boundAlpha(kh),this.roundA=Math.round(100*this.a)/100,this},Ff.prototype.toHsv=function(){var kh=rgbToHsv(this.r,this.g,this.b);return{h:kh.h*360,s:kh.s,v:kh.v,a:this.a}},Ff.prototype.toHsvString=function(){var kh=rgbToHsv(this.r,this.g,this.b),y_=Math.round(kh.h*360),jP=Math.round(kh.s*100),NP=Math.round(kh.v*100);return this.a===1?"hsv(".concat(y_,", ").concat(jP,"%, ").concat(NP,"%)"):"hsva(".concat(y_,", ").concat(jP,"%, ").concat(NP,"%, ").concat(this.roundA,")")},Ff.prototype.toHsl=function(){var kh=rgbToHsl(this.r,this.g,this.b);return{h:kh.h*360,s:kh.s,l:kh.l,a:this.a}},Ff.prototype.toHslString=function(){var kh=rgbToHsl(this.r,this.g,this.b),y_=Math.round(kh.h*360),jP=Math.round(kh.s*100),NP=Math.round(kh.l*100);return this.a===1?"hsl(".concat(y_,", ").concat(jP,"%, ").concat(NP,"%)"):"hsla(".concat(y_,", ").concat(jP,"%, ").concat(NP,"%, ").concat(this.roundA,")")},Ff.prototype.toHex=function(kh){return kh===void 0&&(kh=!1),rgbToHex(this.r,this.g,this.b,kh)},Ff.prototype.toHexString=function(kh){return kh===void 0&&(kh=!1),"#"+this.toHex(kh)},Ff.prototype.toHex8=function(kh){return kh===void 0&&(kh=!1),rgbaToHex(this.r,this.g,this.b,this.a,kh)},Ff.prototype.toHex8String=function(kh){return kh===void 0&&(kh=!1),"#"+this.toHex8(kh)},Ff.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},Ff.prototype.toRgbString=function(){var kh=Math.round(this.r),y_=Math.round(this.g),jP=Math.round(this.b);return this.a===1?"rgb(".concat(kh,", ").concat(y_,", ").concat(jP,")"):"rgba(".concat(kh,", ").concat(y_,", ").concat(jP,", ").concat(this.roundA,")")},Ff.prototype.toPercentageRgb=function(){var kh=function(y_){return"".concat(Math.round(bound01(y_,255)*100),"%")};return{r:kh(this.r),g:kh(this.g),b:kh(this.b),a:this.a}},Ff.prototype.toPercentageRgbString=function(){var kh=function(y_){return Math.round(bound01(y_,255)*100)};return this.a===1?"rgb(".concat(kh(this.r),"%, ").concat(kh(this.g),"%, ").concat(kh(this.b),"%)"):"rgba(".concat(kh(this.r),"%, ").concat(kh(this.g),"%, ").concat(kh(this.b),"%, ").concat(this.roundA,")")},Ff.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var kh="#"+rgbToHex(this.r,this.g,this.b,!1),y_=0,jP=Object.entries(names);y_<jP.length;y_++){var NP=jP[y_],mG=NP[0],PG=NP[1];if(kh===PG)return mG}return!1},Ff.prototype.toString=function(kh){var y_=Boolean(kh);kh=kh!=null?kh:this.format;var jP=!1,NP=this.a<1&&this.a>=0,mG=!y_&&NP&&(kh.startsWith("hex")||kh==="name");return mG?kh==="name"&&this.a===0?this.toName():this.toRgbString():(kh==="rgb"&&(jP=this.toRgbString()),kh==="prgb"&&(jP=this.toPercentageRgbString()),(kh==="hex"||kh==="hex6")&&(jP=this.toHexString()),kh==="hex3"&&(jP=this.toHexString(!0)),kh==="hex4"&&(jP=this.toHex8String(!0)),kh==="hex8"&&(jP=this.toHex8String()),kh==="name"&&(jP=this.toName()),kh==="hsl"&&(jP=this.toHslString()),kh==="hsv"&&(jP=this.toHsvString()),jP||this.toHexString())},Ff.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},Ff.prototype.clone=function(){return new Ff(this.toString())},Ff.prototype.lighten=function(kh){kh===void 0&&(kh=10);var y_=this.toHsl();return y_.l+=kh/100,y_.l=clamp01(y_.l),new Ff(y_)},Ff.prototype.brighten=function(kh){kh===void 0&&(kh=10);var y_=this.toRgb();return y_.r=Math.max(0,Math.min(255,y_.r-Math.round(255*-(kh/100)))),y_.g=Math.max(0,Math.min(255,y_.g-Math.round(255*-(kh/100)))),y_.b=Math.max(0,Math.min(255,y_.b-Math.round(255*-(kh/100)))),new Ff(y_)},Ff.prototype.darken=function(kh){kh===void 0&&(kh=10);var y_=this.toHsl();return y_.l-=kh/100,y_.l=clamp01(y_.l),new Ff(y_)},Ff.prototype.tint=function(kh){return kh===void 0&&(kh=10),this.mix("white",kh)},Ff.prototype.shade=function(kh){return kh===void 0&&(kh=10),this.mix("black",kh)},Ff.prototype.desaturate=function(kh){kh===void 0&&(kh=10);var y_=this.toHsl();return y_.s-=kh/100,y_.s=clamp01(y_.s),new Ff(y_)},Ff.prototype.saturate=function(kh){kh===void 0&&(kh=10);var y_=this.toHsl();return y_.s+=kh/100,y_.s=clamp01(y_.s),new Ff(y_)},Ff.prototype.greyscale=function(){return this.desaturate(100)},Ff.prototype.spin=function(kh){var y_=this.toHsl(),jP=(y_.h+kh)%360;return y_.h=jP<0?360+jP:jP,new Ff(y_)},Ff.prototype.mix=function(kh,y_){y_===void 0&&(y_=50);var jP=this.toRgb(),NP=new Ff(kh).toRgb(),mG=y_/100,PG={r:(NP.r-jP.r)*mG+jP.r,g:(NP.g-jP.g)*mG+jP.g,b:(NP.b-jP.b)*mG+jP.b,a:(NP.a-jP.a)*mG+jP.a};return new Ff(PG)},Ff.prototype.analogous=function(kh,y_){kh===void 0&&(kh=6),y_===void 0&&(y_=30);var jP=this.toHsl(),NP=360/y_,mG=[this];for(jP.h=(jP.h-(NP*kh>>1)+720)%360;--kh;)jP.h=(jP.h+NP)%360,mG.push(new Ff(jP));return mG},Ff.prototype.complement=function(){var kh=this.toHsl();return kh.h=(kh.h+180)%360,new Ff(kh)},Ff.prototype.monochromatic=function(kh){kh===void 0&&(kh=6);for(var y_=this.toHsv(),jP=y_.h,NP=y_.s,mG=y_.v,PG=[],eve=1/kh;kh--;)PG.push(new Ff({h:jP,s:NP,v:mG})),mG=(mG+eve)%1;return PG},Ff.prototype.splitcomplement=function(){var kh=this.toHsl(),y_=kh.h;return[this,new Ff({h:(y_+72)%360,s:kh.s,l:kh.l}),new Ff({h:(y_+216)%360,s:kh.s,l:kh.l})]},Ff.prototype.onBackground=function(kh){var y_=this.toRgb(),jP=new Ff(kh).toRgb();return new Ff({r:jP.r+(y_.r-jP.r)*y_.a,g:jP.g+(y_.g-jP.g)*y_.a,b:jP.b+(y_.b-jP.b)*y_.a})},Ff.prototype.triad=function(){return this.polyad(3)},Ff.prototype.tetrad=function(){return this.polyad(4)},Ff.prototype.polyad=function(kh){for(var y_=this.toHsl(),jP=y_.h,NP=[this],mG=360/kh,PG=1;PG<kh;PG++)NP.push(new Ff({h:(jP+PG*mG)%360,s:y_.s,l:y_.l}));return NP},Ff.prototype.equals=function(kh){return this.toRgbString()===new Ff(kh).toRgbString()},Ff}(),hueStep=2,saturationStep=.16,saturationStep2=.05,brightnessStep1=.05,brightnessStep2=.15,lightColorCount=5,darkColorCount=4,darkColorMap=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function toHsv(Ff){var kh=Ff.r,y_=Ff.g,jP=Ff.b,NP=rgbToHsv(kh,y_,jP);return{h:NP.h*360,s:NP.s,v:NP.v}}function toHex(Ff){var kh=Ff.r,y_=Ff.g,jP=Ff.b;return"#".concat(rgbToHex(kh,y_,jP,!1))}function mix(Ff,kh,y_){var jP=y_/100,NP={r:(kh.r-Ff.r)*jP+Ff.r,g:(kh.g-Ff.g)*jP+Ff.g,b:(kh.b-Ff.b)*jP+Ff.b};return NP}function getHue(Ff,kh,y_){var jP;return Math.round(Ff.h)>=60&&Math.round(Ff.h)<=240?jP=y_?Math.round(Ff.h)-hueStep*kh:Math.round(Ff.h)+hueStep*kh:jP=y_?Math.round(Ff.h)+hueStep*kh:Math.round(Ff.h)-hueStep*kh,jP<0?jP+=360:jP>=360&&(jP-=360),jP}function getSaturation(Ff,kh,y_){if(Ff.h===0&&Ff.s===0)return Ff.s;var jP;return y_?jP=Ff.s-saturationStep*kh:kh===darkColorCount?jP=Ff.s+saturationStep:jP=Ff.s+saturationStep2*kh,jP>1&&(jP=1),y_&&kh===lightColorCount&&jP>.1&&(jP=.1),jP<.06&&(jP=.06),Number(jP.toFixed(2))}function getValue(Ff,kh,y_){var jP;return y_?jP=Ff.v+brightnessStep1*kh:jP=Ff.v-brightnessStep2*kh,jP>1&&(jP=1),Number(jP.toFixed(2))}function generate$1(Ff){for(var kh=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y_=[],jP=inputToRGB(Ff),NP=lightColorCount;NP>0;NP-=1){var mG=toHsv(jP),PG=toHex(inputToRGB({h:getHue(mG,NP,!0),s:getSaturation(mG,NP,!0),v:getValue(mG,NP,!0)}));y_.push(PG)}y_.push(toHex(jP));for(var eve=1;eve<=darkColorCount;eve+=1){var tve=toHsv(jP),nve=toHex(inputToRGB({h:getHue(tve,eve),s:getSaturation(tve,eve),v:getValue(tve,eve)}));y_.push(nve)}return kh.theme==="dark"?darkColorMap.map(function(rve){var ove=rve.index,ive=rve.opacity,ave=toHex(mix(inputToRGB(kh.backgroundColor||"#141414"),inputToRGB(y_[ove]),ive*100));return ave}):y_}var presetPrimaryColors={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},presetPalettes={},presetDarkPalettes={};Object.keys(presetPrimaryColors).forEach(function(Ff){presetPalettes[Ff]=generate$1(presetPrimaryColors[Ff]),presetPalettes[Ff].primary=presetPalettes[Ff][5],presetDarkPalettes[Ff]=generate$1(presetPrimaryColors[Ff],{theme:"dark",backgroundColor:"#141414"}),presetDarkPalettes[Ff].primary=presetDarkPalettes[Ff][5]});var containers=[],styleElements=[],usage="insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";function createStyleElement(){var Ff=document.createElement("style");return Ff.setAttribute("type","text/css"),Ff}function insertCss(Ff,kh){if(kh=kh||{},Ff===void 0)throw new Error(usage);var y_=kh.prepend===!0?"prepend":"append",jP=kh.container!==void 0?kh.container:document.querySelector("head"),NP=containers.indexOf(jP);NP===-1&&(NP=containers.push(jP)-1,styleElements[NP]={});var mG;return styleElements[NP]!==void 0&&styleElements[NP][y_]!==void 0?mG=styleElements[NP][y_]:(mG=styleElements[NP][y_]=createStyleElement(),y_==="prepend"?jP.insertBefore(mG,jP.childNodes[0]):jP.appendChild(mG)),Ff.charCodeAt(0)===65279&&(Ff=Ff.substr(1,Ff.length)),mG.styleSheet?mG.styleSheet.cssText+=Ff:mG.textContent+=Ff,mG}function _objectSpread$i(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$j(Ff,NP,y_[NP])})}return Ff}function _defineProperty$j(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}function warning$2(Ff,kh){}function isIconDefinition(Ff){return typeof Ff=="object"&&typeof Ff.name=="string"&&typeof Ff.theme=="string"&&(typeof Ff.icon=="object"||typeof Ff.icon=="function")}function generate(Ff,kh,y_){return y_?vue$1.h(Ff.tag,_objectSpread$i({key:kh},y_,Ff.attrs),(Ff.children||[]).map(function(jP,NP){return generate(jP,"".concat(kh,"-").concat(Ff.tag,"-").concat(NP))})):vue$1.h(Ff.tag,_objectSpread$i({key:kh},Ff.attrs),(Ff.children||[]).map(function(jP,NP){return generate(jP,"".concat(kh,"-").concat(Ff.tag,"-").concat(NP))}))}function getSecondaryColor(Ff){return generate$1(Ff)[0]}function normalizeTwoToneColors(Ff){return Ff?Array.isArray(Ff)?Ff:[Ff]:[]}var iconStyles=` .anticon { display: inline-block; color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .anticon > * { line-height: 1; } .anticon svg { display: inline-block; } .anticon::before { display: none; } .anticon .anticon-icon { display: block; } .anticon[tabindex] { cursor: pointer; } .anticon-spin::before, .anticon-spin { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } @-webkit-keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } `,cssInjectedFlag=!1,useInsertStyles=function(){var kh=arguments.length>0&&arguments[0]!==void 0?arguments[0]:iconStyles;vue$1.nextTick(function(){cssInjectedFlag||(typeof window!="undefined"&&window.document&&window.document.documentElement&&insertCss(kh,{prepend:!0}),cssInjectedFlag=!0)})},_excluded$1=["icon","primaryColor","secondaryColor"];function _objectWithoutProperties$1(Ff,kh){if(Ff==null)return{};var y_=_objectWithoutPropertiesLoose$1(Ff,kh),jP,NP;if(Object.getOwnPropertySymbols){var mG=Object.getOwnPropertySymbols(Ff);for(NP=0;NP<mG.length;NP++)jP=mG[NP],!(kh.indexOf(jP)>=0)&&(!Object.prototype.propertyIsEnumerable.call(Ff,jP)||(y_[jP]=Ff[jP]))}return y_}function _objectWithoutPropertiesLoose$1(Ff,kh){if(Ff==null)return{};var y_={},jP=Object.keys(Ff),NP,mG;for(mG=0;mG<jP.length;mG++)NP=jP[mG],!(kh.indexOf(NP)>=0)&&(y_[NP]=Ff[NP]);return y_}function _objectSpread$h(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$i(Ff,NP,y_[NP])})}return Ff}function _defineProperty$i(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var twoToneColorPalette={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function setTwoToneColors(Ff){var kh=Ff.primaryColor,y_=Ff.secondaryColor;twoToneColorPalette.primaryColor=kh,twoToneColorPalette.secondaryColor=y_||getSecondaryColor(kh),twoToneColorPalette.calculated=!!y_}function getTwoToneColors(){return _objectSpread$h({},twoToneColorPalette)}var IconBase=function(kh,y_){var jP=_objectSpread$h({},kh,y_.attrs),NP=jP.icon,mG=jP.primaryColor,PG=jP.secondaryColor,eve=_objectWithoutProperties$1(jP,_excluded$1),tve=twoToneColorPalette;if(mG&&(tve={primaryColor:mG,secondaryColor:PG||getSecondaryColor(mG)}),useInsertStyles(),isIconDefinition(NP),!isIconDefinition(NP))return null;var nve=NP;return nve&&typeof nve.icon=="function"&&(nve=_objectSpread$h({},nve,{icon:nve.icon(tve.primaryColor,tve.secondaryColor)})),generate(nve.icon,"svg-".concat(nve.name),_objectSpread$h({},eve,{"data-icon":nve.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};IconBase.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String},IconBase.inheritAttrs=!1,IconBase.displayName="IconBase",IconBase.getTwoToneColors=getTwoToneColors,IconBase.setTwoToneColors=setTwoToneColors;var VueIcon=IconBase;function _slicedToArray$2(Ff,kh){return _arrayWithHoles$2(Ff)||_iterableToArrayLimit$2(Ff,kh)||_unsupportedIterableToArray$2(Ff,kh)||_nonIterableRest$2()}function _nonIterableRest$2(){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 _unsupportedIterableToArray$2(Ff,kh){if(!!Ff){if(typeof Ff=="string")return _arrayLikeToArray$2(Ff,kh);var y_=Object.prototype.toString.call(Ff).slice(8,-1);if(y_==="Object"&&Ff.constructor&&(y_=Ff.constructor.name),y_==="Map"||y_==="Set")return Array.from(Ff);if(y_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y_))return _arrayLikeToArray$2(Ff,kh)}}function _arrayLikeToArray$2(Ff,kh){(kh==null||kh>Ff.length)&&(kh=Ff.length);for(var y_=0,jP=new Array(kh);y_<kh;y_++)jP[y_]=Ff[y_];return jP}function _iterableToArrayLimit$2(Ff,kh){var y_=Ff==null?null:typeof Symbol!="undefined"&&Ff[Symbol.iterator]||Ff["@@iterator"];if(y_!=null){var jP=[],NP=!0,mG=!1,PG,eve;try{for(y_=y_.call(Ff);!(NP=(PG=y_.next()).done)&&(jP.push(PG.value),!(kh&&jP.length===kh));NP=!0);}catch(tve){mG=!0,eve=tve}finally{try{!NP&&y_.return!=null&&y_.return()}finally{if(mG)throw eve}}return jP}}function _arrayWithHoles$2(Ff){if(Array.isArray(Ff))return Ff}function setTwoToneColor(Ff){var kh=normalizeTwoToneColors(Ff),y_=_slicedToArray$2(kh,2),jP=y_[0],NP=y_[1];return VueIcon.setTwoToneColors({primaryColor:jP,secondaryColor:NP})}function getTwoToneColor(){var Ff=VueIcon.getTwoToneColors();return Ff.calculated?[Ff.primaryColor,Ff.secondaryColor]:Ff.primaryColor}var _excluded=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function _slicedToArray$1(Ff,kh){return _arrayWithHoles$1(Ff)||_iterableToArrayLimit$1(Ff,kh)||_unsupportedIterableToArray$1(Ff,kh)||_nonIterableRest$1()}function _nonIterableRest$1(){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 _unsupportedIterableToArray$1(Ff,kh){if(!!Ff){if(typeof Ff=="string")return _arrayLikeToArray$1(Ff,kh);var y_=Object.prototype.toString.call(Ff).slice(8,-1);if(y_==="Object"&&Ff.constructor&&(y_=Ff.constructor.name),y_==="Map"||y_==="Set")return Array.from(Ff);if(y_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y_))return _arrayLikeToArray$1(Ff,kh)}}function _arrayLikeToArray$1(Ff,kh){(kh==null||kh>Ff.length)&&(kh=Ff.length);for(var y_=0,jP=new Array(kh);y_<kh;y_++)jP[y_]=Ff[y_];return jP}function _iterableToArrayLimit$1(Ff,kh){var y_=Ff==null?null:typeof Symbol!="undefined"&&Ff[Symbol.iterator]||Ff["@@iterator"];if(y_!=null){var jP=[],NP=!0,mG=!1,PG,eve;try{for(y_=y_.call(Ff);!(NP=(PG=y_.next()).done)&&(jP.push(PG.value),!(kh&&jP.length===kh));NP=!0);}catch(tve){mG=!0,eve=tve}finally{try{!NP&&y_.return!=null&&y_.return()}finally{if(mG)throw eve}}return jP}}function _arrayWithHoles$1(Ff){if(Array.isArray(Ff))return Ff}function _objectSpread$g(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$h(Ff,NP,y_[NP])})}return Ff}function _defineProperty$h(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}function _objectWithoutProperties(Ff,kh){if(Ff==null)return{};var y_=_objectWithoutPropertiesLoose(Ff,kh),jP,NP;if(Object.getOwnPropertySymbols){var mG=Object.getOwnPropertySymbols(Ff);for(NP=0;NP<mG.length;NP++)jP=mG[NP],!(kh.indexOf(jP)>=0)&&(!Object.prototype.propertyIsEnumerable.call(Ff,jP)||(y_[jP]=Ff[jP]))}return y_}function _objectWithoutPropertiesLoose(Ff,kh){if(Ff==null)return{};var y_={},jP=Object.keys(Ff),NP,mG;for(mG=0;mG<jP.length;mG++)NP=jP[mG],!(kh.indexOf(NP)>=0)&&(y_[NP]=Ff[NP]);return y_}setTwoToneColor("#1890ff");var Icon=function(kh,y_){var jP,NP=_objectSpread$g({},kh,y_.attrs),mG=NP.class,PG=NP.icon,eve=NP.spin,tve=NP.rotate,nve=NP.tabindex,rve=NP.twoToneColor,ove=NP.onClick,ive=_objectWithoutProperties(NP,_excluded),ave=(jP={anticon:!0},_defineProperty$h(jP,"anticon-".concat(PG.name),Boolean(PG.name)),_defineProperty$h(jP,mG,mG),jP),uve=eve===""||!!eve||PG.name==="loading"?"anticon-spin":"",sve=nve;sve===void 0&&ove&&(sve=-1,ive.tabindex=sve);var lve=tve?{msTransform:"rotate(".concat(tve,"deg)"),transform:"rotate(".concat(tve,"deg)")}:void 0,cve=normalizeTwoToneColors(rve),dve=_slicedToArray$1(cve,2),fve=dve[0],pve=dve[1];return vue$1.createVNode("span",_objectSpread$g({role:"img","aria-label":PG.name},ive,{onClick:ove,class:ave}),[vue$1.createVNode(VueIcon,{class:uve,icon:PG,primaryColor:fve,secondaryColor:pve,style:lve},null)])};Icon.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:String},Icon.displayName="AntdIcon",Icon.inheritAttrs=!1,Icon.getTwoToneColor=getTwoToneColor,Icon.setTwoToneColor=setTwoToneColor;var AntdIcon=Icon,AppstoreAddOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},AppstoreAddOutlinedSvg=AppstoreAddOutlined$2;function _objectSpread$f(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$g(Ff,NP,y_[NP])})}return Ff}function _defineProperty$g(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var AppstoreAddOutlined=function(kh,y_){var jP=_objectSpread$f({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$f({},jP,{icon:AppstoreAddOutlinedSvg}),null)};AppstoreAddOutlined.displayName="AppstoreAddOutlined",AppstoreAddOutlined.inheritAttrs=!1;var AppstoreAddOutlined$1=AppstoreAddOutlined,CheckCircleFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},CheckCircleFilledSvg=CheckCircleFilled$2;function _objectSpread$e(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$f(Ff,NP,y_[NP])})}return Ff}function _defineProperty$f(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var CheckCircleFilled=function(kh,y_){var jP=_objectSpread$e({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$e({},jP,{icon:CheckCircleFilledSvg}),null)};CheckCircleFilled.displayName="CheckCircleFilled",CheckCircleFilled.inheritAttrs=!1;var CheckCircleFilled$1=CheckCircleFilled,CheckCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},CheckCircleOutlinedSvg=CheckCircleOutlined$2;function _objectSpread$d(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$e(Ff,NP,y_[NP])})}return Ff}function _defineProperty$e(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var CheckCircleOutlined=function(kh,y_){var jP=_objectSpread$d({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$d({},jP,{icon:CheckCircleOutlinedSvg}),null)};CheckCircleOutlined.displayName="CheckCircleOutlined",CheckCircleOutlined.inheritAttrs=!1;var CheckCircleOutlined$1=CheckCircleOutlined,CloseCircleFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},CloseCircleFilledSvg=CloseCircleFilled$2;function _objectSpread$c(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$d(Ff,NP,y_[NP])})}return Ff}function _defineProperty$d(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var CloseCircleFilled=function(kh,y_){var jP=_objectSpread$c({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$c({},jP,{icon:CloseCircleFilledSvg}),null)};CloseCircleFilled.displayName="CloseCircleFilled",CloseCircleFilled.inheritAttrs=!1;var CloseCircleFilled$1=CloseCircleFilled,CloseCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},CloseCircleOutlinedSvg=CloseCircleOutlined$2;function _objectSpread$b(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$c(Ff,NP,y_[NP])})}return Ff}function _defineProperty$c(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var CloseCircleOutlined=function(kh,y_){var jP=_objectSpread$b({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$b({},jP,{icon:CloseCircleOutlinedSvg}),null)};CloseCircleOutlined.displayName="CloseCircleOutlined",CloseCircleOutlined.inheritAttrs=!1;var CloseCircleOutlined$1=CloseCircleOutlined,CloseOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},CloseOutlinedSvg=CloseOutlined$2;function _objectSpread$a(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$b(Ff,NP,y_[NP])})}return Ff}function _defineProperty$b(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var CloseOutlined=function(kh,y_){var jP=_objectSpread$a({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$a({},jP,{icon:CloseOutlinedSvg}),null)};CloseOutlined.displayName="CloseOutlined",CloseOutlined.inheritAttrs=!1;var CloseOutlined$1=CloseOutlined,CloudDownloadOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-download",theme:"outlined"},CloudDownloadOutlinedSvg=CloudDownloadOutlined$2;function _objectSpread$9(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$a(Ff,NP,y_[NP])})}return Ff}function _defineProperty$a(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var CloudDownloadOutlined=function(kh,y_){var jP=_objectSpread$9({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$9({},jP,{icon:CloudDownloadOutlinedSvg}),null)};CloudDownloadOutlined.displayName="CloudDownloadOutlined",CloudDownloadOutlined.inheritAttrs=!1;var CloudDownloadOutlined$1=CloudDownloadOutlined,DeleteOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},DeleteOutlinedSvg=DeleteOutlined$2;function _objectSpread$8(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$9(Ff,NP,y_[NP])})}return Ff}function _defineProperty$9(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var DeleteOutlined=function(kh,y_){var jP=_objectSpread$8({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$8({},jP,{icon:DeleteOutlinedSvg}),null)};DeleteOutlined.displayName="DeleteOutlined",DeleteOutlined.inheritAttrs=!1;var DeleteOutlined$1=DeleteOutlined,ExclamationCircleFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},ExclamationCircleFilledSvg=ExclamationCircleFilled$2;function _objectSpread$7(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$8(Ff,NP,y_[NP])})}return Ff}function _defineProperty$8(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var ExclamationCircleFilled=function(kh,y_){var jP=_objectSpread$7({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$7({},jP,{icon:ExclamationCircleFilledSvg}),null)};ExclamationCircleFilled.displayName="ExclamationCircleFilled",ExclamationCircleFilled.inheritAttrs=!1;var ExclamationCircleFilled$1=ExclamationCircleFilled,ExclamationCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},ExclamationCircleOutlinedSvg=ExclamationCircleOutlined$2;function _objectSpread$6(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$7(Ff,NP,y_[NP])})}return Ff}function _defineProperty$7(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var ExclamationCircleOutlined=function(kh,y_){var jP=_objectSpread$6({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$6({},jP,{icon:ExclamationCircleOutlinedSvg}),null)};ExclamationCircleOutlined.displayName="ExclamationCircleOutlined",ExclamationCircleOutlined.inheritAttrs=!1;var ExclamationCircleOutlined$1=ExclamationCircleOutlined,EyeOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},EyeOutlinedSvg=EyeOutlined$2;function _objectSpread$5(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$6(Ff,NP,y_[NP])})}return Ff}function _defineProperty$6(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var EyeOutlined=function(kh,y_){var jP=_objectSpread$5({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$5({},jP,{icon:EyeOutlinedSvg}),null)};EyeOutlined.displayName="EyeOutlined",EyeOutlined.inheritAttrs=!1;var EyeOutlined$1=EyeOutlined,FilePdfOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},FilePdfOutlinedSvg=FilePdfOutlined$2;function _objectSpread$4(Ff){for(var kh=1;kh<arguments.length;kh++){var y_=arguments[kh]!=null?Object(arguments[kh]):{},jP=Object.keys(y_);typeof Object.getOwnPropertySymbols=="function"&&(jP=jP.concat(Object.getOwnPropertySymbols(y_).filter(function(NP){return Object.getOwnPropertyDescriptor(y_,NP).enumerable}))),jP.forEach(function(NP){_defineProperty$5(Ff,NP,y_[NP])})}return Ff}function _defineProperty$5(Ff,kh,y_){return kh in Ff?Object.defineProperty(Ff,kh,{value:y_,enumerable:!0,configurable:!0,writable:!0}):Ff[kh]=y_,Ff}var FilePdfOutlined=function(kh,y_){var jP=_objectSpread$4({},kh,y_.attrs);return vue$1.createVNode(AntdIcon,_objectSpread$4({},jP,{icon:FilePdfOutlinedSvg}),null)};FilePdfOutlined.displayName="FilePdfOutlined",FilePdfOutlined.inh