diff --git a/404.html b/404.html new file mode 100644 index 00000000..b0c33dd2 --- /dev/null +++ b/404.html @@ -0,0 +1,23 @@ + + + + + + 404 | svgicon + + + + + + + + + + + + +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
+ + + + \ No newline at end of file diff --git a/api/index.html b/api/index.html new file mode 100644 index 00000000..3f60e952 --- /dev/null +++ b/api/index.html @@ -0,0 +1,142 @@ + + + + + + API | svgicon + + + + + + + + + + + + + + + +
Skip to content

API

@yzfe/svgicon

Props

Parameters (attributes) of the function to generate SVG icon data

ts
export interface Props {
+    /** icon data */
+    data?: Icon
+    width?: string | number
+    height?: string | number
+    scale?: string | number
+    /** icon direction */
+    dir?: string
+    color?: string | string[]
+    /** gradient stop colors */
+    stopColors?: string[]
+    title?: string
+    fill?: boolean
+    /** is use original color */
+    original?: boolean
+    /** Replace content, usually replace color */
+    replace?: (svgInnerContent: string) => string
+}

getPropKeys

Get the key array of props

ts
export declare function getPropKeys(): (keyof Props)[];

svgIcon

Generate icon data based on the incoming attributes

ts
declare function svgIcon(props: Props): SvgIconResult;

Options

Global options, affecting the default value of props

ts
/** Global default options */
+export interface Options {
+    classPrefix?: string
+    // Is stroke default
+    isStroke?: boolean
+    isOriginalDefault?: boolean
+    /** 16px, defined in css */
+    defaultWidth?: string
+    defaultHeight?: string
+}

setOptions

Modify the default options

ts
export declare function setOptions(newOptions: Options): void;

Typings

ts
/** Global default options */
+export interface Options {
+    classPrefix?: string;
+    isStroke?: boolean;
+    isOriginalDefault?: boolean;
+    /** 16px, defined in css */
+    defaultWidth?: string;
+    defaultHeight?: string;
+}
+export interface OriginalColor {
+    type: 'fill' | 'stroke';
+    color: string;
+}
+export interface IconData {
+    width?: number | string;
+    height?: number | string;
+    viewBox: string;
+    data: string;
+    originalColors?: OriginalColor[];
+    stopColors?: string[];
+    [key: string]: unknown;
+}
+export interface Icon {
+    name: string;
+    data: IconData;
+}
+export interface Props {
+    /** icon data */
+    data?: Icon;
+    width?: string | number;
+    height?: string | number;
+    scale?: string | number;
+    /** icon direction */
+    dir?: string;
+    color?: string | string[];
+    /** gradient stop colors */
+    stopColors?: string[];
+    title?: string;
+    fill?: boolean;
+    /** is use original color */
+    original?: boolean;
+    /** Replace content, usually replace color */
+    replace?: (svgInnerContent: string) => string;
+}
+/** SvgIcon function result type */
+export interface SvgIconResult {
+    /** SVG content */
+    path: string;
+    /** viewBox */
+    box: string;
+    className: string;
+    style: Record<string, string | number>;
+}
+/** set default options */
+export declare function setOptions(newOptions: Options): void;
+export declare function getOptions(): Options;
+export declare function getPropKeys(): (keyof Props)[];
+/** get svgicon result by props */
+export declare function svgIcon(props: Props): SvgIconResult;

@yzfe/svgicon-gen

Run in the nodejs environment to generate the Icon object (The value of props.data)

ts
import { OptimizeOptions } from 'svgo';
+import { Icon } from './types';
+export type SvgoConfig = OptimizeOptions;
+/**
+ * generate svgicon object
+ * @export
+ * @param {string} source svg file content
+ * @param {string} filename svg icon file absolute path
+ * @param {(string | string[])} [svgRootPath] svg icon root path, to calc relative path
+ * @param {SVGO.Options} [svgoConfig] svgo config
+ * @returns {Promise<Icon>}
+ */
+export default function gen(source: string, filename: string, svgRootPath?: string | string[], svgoConfig?: OptimizeOptions): Promise<Icon>;

TIP: You can directly use @yzfe/svgicon-gen to generate icon data in advance and save it as a js file, so that you don't need to load icons with @yzfe/svgicon-loader.

@yzfe/svgicon-loader

Load the SVG file as icon data (vue) or SVG icon component (react), the generated code can be customized

Loader options

ts
export interface LoaderOptions {
+    svgFilePath?: string | string[]
+    /** load as a component */
+    component?: 'react' | 'taro' | 'vue' | 'custom'
+    /** custom code when load as a custom component */
+    customCode?: string
+    svgoConfig?: unknown
+}

vite-plugin-svigon

Plugin options

ts
export interface PluginOptions {
+    svgFilePath?: string | string[]
+    /** load as a component */
+    component?: 'react' | 'vue' | 'custom'
+    /** custom code when load as a custom component */
+    customCode?: string
+    svgoConfig?: SvgoConfig
+    /** Svg files to be excluded, use minimatch */
+    exclude?: string | string[]
+    /** Svg files to be included, use minimatch */
+    include?: string | string[]
+    /** Match query which import icon with query string */
+    matchQuery?: RegExp
+}
+ + + + \ No newline at end of file diff --git a/assets/api_index.md.QpN33xtC.js b/assets/api_index.md.QpN33xtC.js new file mode 100644 index 00000000..3f189636 --- /dev/null +++ b/assets/api_index.md.QpN33xtC.js @@ -0,0 +1,117 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const o=JSON.parse('{"title":"API","description":"","frontmatter":{"0":"t","1":"o","2":"c"},"headers":[],"relativePath":"api/index.md","filePath":"api/index.md"}'),h={name:"api/index.md"},k=n(`

API

@yzfe/svgicon

Props

Parameters (attributes) of the function to generate SVG icon data

ts
export interface Props {
+    /** icon data */
+    data?: Icon
+    width?: string | number
+    height?: string | number
+    scale?: string | number
+    /** icon direction */
+    dir?: string
+    color?: string | string[]
+    /** gradient stop colors */
+    stopColors?: string[]
+    title?: string
+    fill?: boolean
+    /** is use original color */
+    original?: boolean
+    /** Replace content, usually replace color */
+    replace?: (svgInnerContent: string) => string
+}

getPropKeys

Get the key array of props

ts
export declare function getPropKeys(): (keyof Props)[];

svgIcon

Generate icon data based on the incoming attributes

ts
declare function svgIcon(props: Props): SvgIconResult;

Options

Global options, affecting the default value of props

ts
/** Global default options */
+export interface Options {
+    classPrefix?: string
+    // Is stroke default
+    isStroke?: boolean
+    isOriginalDefault?: boolean
+    /** 16px, defined in css */
+    defaultWidth?: string
+    defaultHeight?: string
+}

setOptions

Modify the default options

ts
export declare function setOptions(newOptions: Options): void;

Typings

ts
/** Global default options */
+export interface Options {
+    classPrefix?: string;
+    isStroke?: boolean;
+    isOriginalDefault?: boolean;
+    /** 16px, defined in css */
+    defaultWidth?: string;
+    defaultHeight?: string;
+}
+export interface OriginalColor {
+    type: 'fill' | 'stroke';
+    color: string;
+}
+export interface IconData {
+    width?: number | string;
+    height?: number | string;
+    viewBox: string;
+    data: string;
+    originalColors?: OriginalColor[];
+    stopColors?: string[];
+    [key: string]: unknown;
+}
+export interface Icon {
+    name: string;
+    data: IconData;
+}
+export interface Props {
+    /** icon data */
+    data?: Icon;
+    width?: string | number;
+    height?: string | number;
+    scale?: string | number;
+    /** icon direction */
+    dir?: string;
+    color?: string | string[];
+    /** gradient stop colors */
+    stopColors?: string[];
+    title?: string;
+    fill?: boolean;
+    /** is use original color */
+    original?: boolean;
+    /** Replace content, usually replace color */
+    replace?: (svgInnerContent: string) => string;
+}
+/** SvgIcon function result type */
+export interface SvgIconResult {
+    /** SVG content */
+    path: string;
+    /** viewBox */
+    box: string;
+    className: string;
+    style: Record<string, string | number>;
+}
+/** set default options */
+export declare function setOptions(newOptions: Options): void;
+export declare function getOptions(): Options;
+export declare function getPropKeys(): (keyof Props)[];
+/** get svgicon result by props */
+export declare function svgIcon(props: Props): SvgIconResult;

@yzfe/svgicon-gen

Run in the nodejs environment to generate the Icon object (The value of props.data)

ts
import { OptimizeOptions } from 'svgo';
+import { Icon } from './types';
+export type SvgoConfig = OptimizeOptions;
+/**
+ * generate svgicon object
+ * @export
+ * @param {string} source svg file content
+ * @param {string} filename svg icon file absolute path
+ * @param {(string | string[])} [svgRootPath] svg icon root path, to calc relative path
+ * @param {SVGO.Options} [svgoConfig] svgo config
+ * @returns {Promise<Icon>}
+ */
+export default function gen(source: string, filename: string, svgRootPath?: string | string[], svgoConfig?: OptimizeOptions): Promise<Icon>;

TIP: You can directly use @yzfe/svgicon-gen to generate icon data in advance and save it as a js file, so that you don't need to load icons with @yzfe/svgicon-loader.

@yzfe/svgicon-loader

Load the SVG file as icon data (vue) or SVG icon component (react), the generated code can be customized

Loader options

ts
export interface LoaderOptions {
+    svgFilePath?: string | string[]
+    /** load as a component */
+    component?: 'react' | 'taro' | 'vue' | 'custom'
+    /** custom code when load as a custom component */
+    customCode?: string
+    svgoConfig?: unknown
+}

vite-plugin-svigon

Plugin options

ts
export interface PluginOptions {
+    svgFilePath?: string | string[]
+    /** load as a component */
+    component?: 'react' | 'vue' | 'custom'
+    /** custom code when load as a custom component */
+    customCode?: string
+    svgoConfig?: SvgoConfig
+    /** Svg files to be excluded, use minimatch */
+    exclude?: string | string[]
+    /** Svg files to be included, use minimatch */
+    include?: string | string[]
+    /** Match query which import icon with query string */
+    matchQuery?: RegExp
+}
`,30),t=[k];function l(p,e,r,g,d,F){return i(),a("div",null,t)}const E=s(h,[["render",l]]);export{o as __pageData,E as default}; diff --git a/assets/api_index.md.QpN33xtC.lean.js b/assets/api_index.md.QpN33xtC.lean.js new file mode 100644 index 00000000..c4e7fdbc --- /dev/null +++ b/assets/api_index.md.QpN33xtC.lean.js @@ -0,0 +1 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const o=JSON.parse('{"title":"API","description":"","frontmatter":{"0":"t","1":"o","2":"c"},"headers":[],"relativePath":"api/index.md","filePath":"api/index.md"}'),h={name:"api/index.md"},k=n("",30),t=[k];function l(p,e,r,g,d,F){return i(),a("div",null,t)}const E=s(h,[["render",l]]);export{o as __pageData,E as default}; diff --git a/assets/app.p5mdCpVJ.js b/assets/app.p5mdCpVJ.js new file mode 100644 index 00000000..667a55c3 --- /dev/null +++ b/assets/app.p5mdCpVJ.js @@ -0,0 +1,7 @@ +import{_,D as l,o as d,b as p,w as h,I as i,c as w,R as k,k as C,t as A,r as F,d as z,a4 as x,v as b,a5 as L,a6 as T,a7 as H,a8 as N,a9 as R,aa as V,ab as G,ac as I,ad as U,ae as W,Y,u as q,j as J,z as K,af as Q,ag as X,ah as Z}from"./chunks/framework.a4NdKwKH.js";import{t as ee}from"./chunks/theme.8ZSd-Y1h.js";const s={name:"solid/arrow-up",data:{viewBox:"0 0 448 512",data:'',originalColors:[],stopColors:[]}},te={};function oe(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title,style:{color:"orange"}},{default:h(()=>[i(t,{data:s,width:"36",height:"36"}),i(t,{data:s,width:"36",height:"36",color:"red"}),i(t,{data:s,width:"36",height:"36",color:"green"}),i(t,{data:s,width:"36",height:"36",color:"blue"})]),_:1},8,["title"])}const ne=_(te,[["render",oe]]),re=Object.freeze(Object.defineProperty({__proto__:null,default:ne},Symbol.toStringTag,{value:"Module"})),ie={};function ae(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title},{default:h(()=>[i(t,{data:s,width:"36",height:"36"}),i(t,{data:s,width:"36",height:"36",dir:"right"}),i(t,{data:s,width:"36",height:"36",dir:"down"}),i(t,{data:s,width:"36",height:"36",dir:"left"})]),_:1},8,["title"])}const le=_(ie,[["render",ae]]),ce=Object.freeze(Object.defineProperty({__proto__:null,default:le},Symbol.toStringTag,{value:"Module"})),se={};function de(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title},{default:h(()=>[i(t,{data:s,width:"36",height:"36"}),i(t,{fill:!1,class:"stroke-icon",data:s,width:"36",height:"36"})]),_:1},8,["title"])}const fe=_(se,[["render",de]]),_e=Object.freeze(Object.defineProperty({__proto__:null,default:fe},Symbol.toStringTag,{value:"Module"})),M={name:"vue",data:{width:"2500",height:"2158",viewBox:"0 0 256 221",data:'',originalColors:[{type:"fill",color:"#41B883"},{type:"fill",color:"#35495E"}],stopColors:[]}},ue={},he={style:{position:"absolute",width:"0",opacity:"0"}},pe=k('',1),ge=[pe];function me(e,o){const t=l("icon"),n=l("demo-wrap");return d(),w("div",null,[(d(),w("svg",he,ge)),i(n,{title:e.$attrs.title},{default:h(()=>[i(t,{data:M,width:"100",height:"100",color:"url(#gradient-1) url(#gradient-2)"})]),_:1},8,["title"])])}const ve=_(ue,[["render",me]]),ye=Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"})),j={name:"gift",data:{viewBox:"0 0 16 17",data:'',originalColors:[{type:"fill",color:"#ff3465"},{type:"fill",color:"#ff3465"},{type:"fill",color:"#ff3465"},{type:"fill",color:"url(#svgiconid_gift_a)"}],stopColors:["#ffd5e0","#ff3465"]}},we={};function be(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title},{default:h(()=>[i(t,{data:j,width:"60",height:"60",original:"","stop-colors":["blue","green"]})]),_:1},8,["title"])}const Ce=_(we,[["render",be]]),Se=Object.freeze(Object.defineProperty({__proto__:null,default:Ce},Symbol.toStringTag,{value:"Module"})),De={name:"check",data:{width:"32",height:"31",viewBox:"0 0 32 31",data:``,originalColors:[{type:"fill",color:"none"},{type:"fill",color:"#8BDC84"},{type:"stroke",color:"#FFF"}],stopColors:[]}},g={name:"colorwheel",data:{viewBox:"0 0 800 800",data:'',originalColors:[{type:"fill",color:"#FBAD20"},{type:"fill",color:"#F5EB13"},{type:"fill",color:"#B8D433"},{type:"fill",color:"#6BC9C6"},{type:"fill",color:"#058BC5"},{type:"fill",color:"#34469D"},{type:"fill",color:"#7E4D9F"},{type:"fill",color:"#C63D96"},{type:"fill",color:"#ED1944"}],stopColors:[]}},Be={};function $e(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title},{default:h(()=>[i(t,{data:De,width:"80",height:"80",color:"#42b983 r-white"}),i(t,{data:g,width:"80",height:"80",color:"#FBAD20 #F5EB13 #B8D433 #6BC9C6 #058BC5 #34469D #7E4D9F #C63D96 #ED1944"}),i(t,{data:g,width:"80",height:"80",color:["rgba(0, 0, 100, .5)","#F5EB13","#B8D433","#6BC9C6","#058BC5","#34469D","#7E4D9F","#C63D96","#ED1944"]},null,8,["color"])]),_:1},8,["title"])}const Oe=_(Be,[["render",$e]]),ze=Object.freeze(Object.defineProperty({__proto__:null,default:Oe},Symbol.toStringTag,{value:"Module"})),xe={};function Me(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title},{default:h(()=>[i(t,{data:g,width:"60",height:"60",original:""}),i(t,{data:g,width:"60",height:"60",original:"",color:"_ black _ black _"}),i(t,{data:g,width:"60",height:"60",original:"",color:"_ r-black _ r-red _"}),i(t,{data:j,width:"60",height:"60",original:""})]),_:1},8,["title"])}const je=_(xe,[["render",Me]]),Ee=Object.freeze(Object.defineProperty({__proto__:null,default:je},Symbol.toStringTag,{value:"Module"})),Pe={};function ke(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title},{default:h(()=>[i(t,{class:"icon",data:g,width:"80",height:"80",original:"",replace:c=>c.replace("#34469D","var(--color-white)")},null,8,["replace"])]),_:1},8,["title"])}const Ae=_(Pe,[["render",ke]]),Fe=Object.freeze(Object.defineProperty({__proto__:null,default:Ae},Symbol.toStringTag,{value:"Module"})),S={name:"clock",data:{width:"16",height:"16",viewBox:"0 0 16 16",data:'',originalColors:[{type:"fill",color:"none"},{type:"fill",color:"#8A99B2"},{type:"stroke",color:"#1C2330"}],stopColors:[]}},Le={};function Te(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title},{default:h(()=>[i(t,{data:s,width:"50",height:"50",color:"r-red"}),i(t,{data:S,width:"50",height:"50",color:"#8A99B2 r-#1C2330"}),i(t,{data:S,width:"50",height:"50",color:"#8A99B2 r-var(--color-bg-primary)"}),i(t,{data:M,width:"50",height:"50",fill:!1,color:"#42b983 r-#42b983"})]),_:1},8,["title"])}const He=_(Le,[["render",Te]]),Ne=Object.freeze(Object.defineProperty({__proto__:null,default:He},Symbol.toStringTag,{value:"Module"})),Re={};function Ve(e,o){const t=l("icon"),n=l("demo-wrap");return d(),p(n,{title:e.$attrs.title,style:{fontSize:"12px"}},{default:h(()=>[i(t,{data:s}),i(t,{data:s,width:"36",height:"36"}),i(t,{data:s,width:"4em",height:"4em"}),i(t,{data:s,width:"4rem",height:"4rem"})]),_:1},8,["title"])}const Ge=_(Re,[["render",Ve]]),Ie=Object.freeze(Object.defineProperty({__proto__:null,default:Ge},Symbol.toStringTag,{value:"Module"})),Ue={},We={class:"demo-wrap"},Ye={class:"grid"};function qe(e,o){return d(),w("div",We,[C("h4",null,A(e.$attrs.title),1),C("div",Ye,[F(e.$slots,"default")])])}const Je=_(Ue,[["render",qe]]),Ke=Object.freeze(Object.defineProperty({__proto__:null,default:Je},Symbol.toStringTag,{value:"Module"}));var y=function(){return y=Object.assign||function(o){for(var t,n=1,c=arguments.length;n/gi,">").replace(/&/g,"&");return"".concat(t,"")+e}return e}function nt(e){var o=/_fill="|_stroke="/gi;return e.replace(o,function(t){return t&&t.slice(1)})}function rt(e,o,t){if(o.original&&t.length>0){var n=/<(path|rect|circle|polygon|line|polyline|ellipse)(\sfill|\sstroke)([="\w\s.\-+#$&>]+)(fill|stroke)/gi;e=e.replace(n,function(c,r,a,f,v){return"<".concat(r).concat(a).concat(f,"_").concat(v)})}return e}function it(e,o,t){var n=/<(path|rect|circle|polygon|line|polyline|ellipse)\s/gi,c=0;return e.replace(n,function(r){var a=t[c++]||t[t.length-1],f=o.fill;if(a&&a==="_")return r;a&&/^r-/.test(a)&&(f=!f,a=a.substr(2));var v=f?"fill":"stroke",P=f?"stroke":"fill";return r+"".concat(v,'="').concat(a,'" ').concat(P,'="none" ')})}function at(e,o){var t=/stop-color="([\w,#\s'()-_]+)"/gi,n=o.stopColors||[],c=0;return e.replace(t,function(r,a){return a=n[c++]||a,'stop-color="'.concat(a,'"')})}function lt(e,o,t){var n,c=Xe.genUID(),r="";if(t){r=t.data,r=ot(r,e),e.original&&(r=nt(r)),o.length>0&&(r=it(r,e,o)),!((n=e.stopColors)===null||n===void 0)&&n.length&&(r=at(r,e));var a=/svgiconid([\w-/\\]+)/g;r=r.replace(a,function(f,v){return"svgiconid".concat(v,"_").concat(c)}),e.replace&&(r=e.replace(r))}return rt(r,e,o)}function ct(e,o){if(o)return o.viewBox?o.viewBox:"0 0 ".concat(o.width," ").concat(o.height);var t=typeof e.width=="number"?e.width:parseFloat(e.width||"16"),n=typeof e.height=="number"?e.height:parseFloat(e.height||"16");return"0 0 ".concat(t," ").concat(n)}function st(e,o){var t=/^\d+$/,n=e.scale,c=n!==""&&n!==void 0&&n!==null,r,a;c&&o&&o.width&&o.height?(r=Number(o.width)*Number(n)+"px",a=Number(o.height)*Number(n)+"px"):(r=t.test(String(e.width||""))?e.width+"px":e.width||u.defaultWidth,a=t.test(String(e.height||""))?e.height+"px":e.height||u.defaultHeight);var f={};return r&&(f.width=r),a&&(f.height=a),f}function $(){return u}function dt(e){e=Ze(e);var o=et(e),t=e.data&&e.data.data?e.data.data:null,n=lt(e,o,t),c=tt(e),r=ct(e,t),a=st(e,t);return{path:n,box:r,className:c,style:a}}var ft=z({props:{data:{type:[Object,String]},width:{type:[String,Number]},height:{type:[String,Number]},scale:{type:[String,Number]},dir:{type:String},color:{type:[String,Array]},stopColors:{type:Array},title:{type:String},fill:{type:Boolean,default:function(){return!$().isStroke}},original:{type:Boolean,default:function(){return!!$().isOriginalDefault}},replace:{type:Function}},render:function(e){var o=dt(this.$props);return x("svg",{viewBox:o.box,style:o.style,class:o.className,innerHTML:o.path})}});const O=Object.assign({"../components/DemoColor.vue":re,"../components/DemoDirection.vue":ce,"../components/DemoFill.vue":_e,"../components/DemoGradient.vue":ye,"../components/DemoGradientColors.vue":Se,"../components/DemoMultiColor.vue":ze,"../components/DemoOriginalColor.vue":Ee,"../components/DemoReplace.vue":Fe,"../components/DemoReverseColor.vue":Ne,"../components/DemoSize.vue":Ie,"../components/DemoWrap.vue":Ke}),_t={extends:ee,enhanceApp({app:e}){e.component("icon",ft),Object.keys(O).forEach(o=>{const t=o.match(/\.\/components\/(.*)\.vue/)[1];e.component(t,O[o].default)})}};function E(e){if(e.extends){const o=E(e.extends);return{...o,...e,async enhanceApp(t){o.enhanceApp&&await o.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const m=E(_t),ut=z({name:"VitePressApp",setup(){const{site:e}=q();return J(()=>{K(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),e.value.router.prefetchLinks&&Q(),X(),Z(),m.setup&&m.setup(),()=>x(m.Layout)}});async function ht(){const e=gt(),o=pt();o.provide(T,e);const t=H(e.route);return o.provide(N,t),o.component("Content",R),o.component("ClientOnly",V),Object.defineProperties(o.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),m.enhanceApp&&await m.enhanceApp({app:o,router:e,siteData:G}),{app:o,router:e,data:t}}function pt(){return I(ut)}function gt(){let e=b,o;return U(t=>{let n=W(t),c=null;return n&&(e&&(o=n),(e||o===n)&&(n=n.replace(/\.js$/,".lean.js")),c=Y(()=>import(n),__vite__mapDeps([]))),b&&(e=!1),c},m.NotFound)}b&&ht().then(({app:e,router:o,data:t})=>{o.go().then(()=>{L(o.route,t.site),e.mount("#app")})});export{ht as createApp}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/chunks/@localSearchIndexroot.lEek4xJw.js b/assets/chunks/@localSearchIndexroot.lEek4xJw.js new file mode 100644 index 00000000..976c9f96 --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.lEek4xJw.js @@ -0,0 +1 @@ +const e='{"documentCount":47,"nextId":47,"documentIds":{"0":"/svgicon/api/#api","1":"/svgicon/api/#yzfe-svgicon","2":"/svgicon/api/#props","3":"/svgicon/api/#getpropkeys","4":"/svgicon/api/#svgicon","5":"/svgicon/api/#options","6":"/svgicon/api/#setoptions","7":"/svgicon/api/#typings","8":"/svgicon/api/#yzfe-svgicon-gen","9":"/svgicon/api/#yzfe-svgicon-loader","10":"/svgicon/api/#loader-options","11":"/svgicon/api/#vite-plugin-svigon","12":"/svgicon/api/#plugin-options","13":"/svgicon/guide/advanced.html#in-depth","14":"/svgicon/guide/advanced.html#svg-imported-as-component","15":"/svgicon/guide/advanced.html#use-presets","16":"/svgicon/guide/advanced.html#customize","17":"/svgicon/guide/advanced.html#configure-multiple-paths","18":"/svgicon/guide/advanced.html#typescript","19":"/svgicon/guide/advanced.html#vue-cli","20":"/svgicon/guide/component.html#component","21":"/svgicon/guide/component.html#color","22":"/svgicon/guide/component.html#size","23":"/svgicon/guide/component.html#fill-stroke","24":"/svgicon/guide/component.html#direction","25":"/svgicon/guide/component.html#repalce-content","26":"/svgicon/guide/#quick-start","27":"/svgicon/guide/#introduction","28":"/svgicon/guide/#configuration","29":"/svgicon/guide/#vite","30":"/svgicon/guide/#webpack","31":"/svgicon/guide/#usage","32":"/svgicon/guide/#vue-2-x","33":"/svgicon/guide/#install-dependencies","34":"/svgicon/guide/#usage-1","35":"/svgicon/guide/#vue-3-x","36":"/svgicon/guide/#install-dependencies-1","37":"/svgicon/guide/#usage-2","38":"/svgicon/guide/#react","39":"/svgicon/guide/#install-dependencies-2","40":"/svgicon/guide/#usage-3","41":"/svgicon/guide/#other-frameworks","42":"/svgicon/guide/other.html#other","43":"/svgicon/guide/other.html#icon-preview","44":"/svgicon/guide/other.html#installation","45":"/svgicon/guide/other.html#usage","46":"/svgicon/guide/other.html#generate-static-html-page"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,1],"1":[3,1,1],"2":[1,3,40],"3":[1,3,13],"4":[1,3,15],"5":[1,3,26],"6":[1,3,12],"7":[1,3,80],"8":[4,1,75],"9":[4,1,17],"10":[2,4,20],"11":[3,1,1],"12":[2,4,37],"13":[2,1,1],"14":[4,2,32],"15":[2,6,34],"16":[1,6,78],"17":[3,2,37],"18":[1,2,35],"19":[2,2,88],"20":[1,1,1],"21":[1,1,120],"22":[1,1,27],"23":[2,1,32],"24":[1,1,26],"25":[2,1,28],"26":[2,1,29],"27":[1,2,80],"28":[1,2,1],"29":[1,3,47],"30":[1,3,52],"31":[1,3,15],"32":[3,2,1],"33":[2,5,7],"34":[1,5,44],"35":[3,2,1],"36":[2,5,7],"37":[1,5,45],"38":[1,2,1],"39":[2,3,7],"40":[1,3,23],"41":[2,2,85],"42":[1,1,1],"43":[2,1,12],"44":[1,4,10],"45":[1,4,35],"46":[4,3,8]},"averageFieldLength":[1.7446808510638299,2.5319148936170213,29.53191489361702],"storedFields":{"0":{"title":"API","titles":[]},"1":{"title":"@yzfe/svgicon","titles":["API"]},"2":{"title":"Props","titles":["API","@yzfe/svgicon"]},"3":{"title":"getPropKeys","titles":["API","@yzfe/svgicon"]},"4":{"title":"svgIcon","titles":["API","@yzfe/svgicon"]},"5":{"title":"Options","titles":["API","@yzfe/svgicon"]},"6":{"title":"setOptions","titles":["API","@yzfe/svgicon"]},"7":{"title":"Typings","titles":["API","@yzfe/svgicon"]},"8":{"title":"@yzfe/svgicon-gen","titles":["API"]},"9":{"title":"@yzfe/svgicon-loader","titles":["API"]},"10":{"title":"Loader options","titles":["API","@yzfe/svgicon-loader"]},"11":{"title":"vite-plugin-svigon","titles":["API"]},"12":{"title":"Plugin options","titles":["API","vite-plugin-svigon"]},"13":{"title":"In-Depth","titles":[]},"14":{"title":"SVG imported as component","titles":["In-Depth"]},"15":{"title":"Use presets","titles":["In-Depth","SVG imported as component"]},"16":{"title":"Customize","titles":["In-Depth","SVG imported as component"]},"17":{"title":"Configure multiple paths","titles":["In-Depth"]},"18":{"title":"Typescript","titles":["In-Depth"]},"19":{"title":"vue-cli","titles":["In-Depth"]},"20":{"title":"Component","titles":[]},"21":{"title":"Color","titles":["Component"]},"22":{"title":"Size","titles":["Component"]},"23":{"title":"Fill/Stroke","titles":["Component"]},"24":{"title":"Direction","titles":["Component"]},"25":{"title":"Repalce content","titles":["Component"]},"26":{"title":"Quick Start","titles":[]},"27":{"title":"Introduction","titles":["Quick Start"]},"28":{"title":"Configuration","titles":["Quick Start"]},"29":{"title":"Vite","titles":["Quick Start","Configuration"]},"30":{"title":"Webpack","titles":["Quick Start","Configuration"]},"31":{"title":"Usage","titles":["Quick Start","Configuration"]},"32":{"title":"Vue 2.x","titles":["Quick Start"]},"33":{"title":"Install dependencies","titles":["Quick Start","Vue 2.x"]},"34":{"title":"Usage","titles":["Quick Start","Vue 2.x"]},"35":{"title":"Vue 3.x","titles":["Quick Start"]},"36":{"title":"Install dependencies","titles":["Quick Start","Vue 3.x"]},"37":{"title":"Usage","titles":["Quick Start","Vue 3.x"]},"38":{"title":"React","titles":["Quick Start"]},"39":{"title":"Install dependencies","titles":["Quick Start","React"]},"40":{"title":"Usage","titles":["Quick Start","React"]},"41":{"title":"Other frameworks","titles":["Quick Start"]},"42":{"title":"Other","titles":[]},"43":{"title":"Icon Preview","titles":["Other"]},"44":{"title":"Installation","titles":["Other","Icon Preview",null]},"45":{"title":"Usage","titles":["Other","Icon Preview",null]},"46":{"title":"Generate static html page","titles":["Other","Icon Preview"]}},"dirtCount":0,"index":[["箭头",{"2":{"45":1}}],["$",{"2":{"41":1}}],["$attrs",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["+",{"2":{"41":1}}],["4rem",{"2":{"22":2}}],["4em",{"2":{"22":2}}],["42b983",{"2":{"21":3}}],["7295c2",{"2":{"21":1}}],["7e4d9f",{"2":{"21":2}}],["252e3d",{"2":{"21":1}}],["2",{"0":{"32":1},"1":{"33":1,"34":1},"2":{"21":2}}],["95",{"2":{"21":2}}],["lang=",{"2":{"37":1}}],["log",{"2":{"31":1}}],["loads",{"2":{"16":1}}],["loaderoptions",{"2":{"10":1,"19":1}}],["loader",{"0":{"9":1,"10":1},"1":{"10":1},"2":{"8":1,"14":1,"16":3,"19":1,"27":2,"30":5,"41":1}}],["load",{"2":{"8":1,"9":1,"10":2,"12":2,"27":1,"29":2,"30":2}}],["lib",{"2":{"34":1,"37":1,"40":1}}],["like",{"2":{"27":1}}],["lineargradient>",{"2":{"21":2}}],["lineargradient",{"2":{"21":2}}],["left",{"2":{"24":1}}],["60",{"2":{"21":10}}],["6bc9c6",{"2":{"21":2}}],["57f0c2",{"2":{"21":1}}],["5",{"2":{"21":3}}],["50",{"2":{"21":8}}],["80",{"2":{"21":6,"25":2}}],["8a99b2",{"2":{"21":2}}],["16",{"2":{"31":2}}],["16px",{"2":{"5":1,"7":1}}],["10px",{"2":{"23":1}}],["100",{"2":{"21":3}}],["12px",{"2":{"22":1}}],["147d58",{"2":{"21":1}}],["1",{"2":{"21":4}}],["1c2330",{"2":{"21":1}}],["058bc5",{"2":{"21":2}}],["0",{"2":{"19":1,"21":10,"23":1,"41":1}}],["quot",{"2":{"26":2}}],["quickly",{"2":{"27":1}}],["quick",{"0":{"26":1},"1":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1},"2":{"19":1}}],["query",{"2":{"12":2}}],["`",{"2":{"16":2,"41":2}}],["html",{"0":{"46":1},"2":{"41":1}}],["hour",{"2":{"21":1}}],["happily",{"2":{"27":1}}],["hands",{"2":{"21":1}}],["have",{"2":{"19":1}}],["has",{"2":{"16":1}}],["h",{"2":{"16":4}}],["height=",{"2":{"21":17,"22":3,"23":2,"24":4,"25":1}}],["height",{"2":{"2":1,"7":2,"31":1}}],[">",{"2":{"15":1,"21":33,"22":5,"23":3,"24":5,"25":2,"34":3,"37":4,"40":1,"41":1}}],["join",{"2":{"15":1,"16":1,"17":3,"29":1}}],["json",{"2":{"45":4}}],["jsx",{"2":{"41":1}}],["jsimport",{"2":{"31":1}}],["jsconst",{"2":{"16":1,"19":1}}],["js",{"2":{"8":1,"19":1,"27":1,"29":1,"30":2,"34":2}}],["x2=",{"2":{"21":2}}],["x1=",{"2":{"21":2}}],["xxx",{"2":{"17":1}}],["x",{"0":{"32":1,"35":1},"1":{"33":1,"34":1,"36":1,"37":1},"2":{"14":1,"27":1}}],["x3c",{"2":{"7":1,"8":2,"15":3,"21":45,"22":6,"23":6,"24":6,"25":3,"34":9,"37":9,"40":3,"41":7,"45":1}}],["34469d",{"2":{"21":2,"25":1}}],["36",{"2":{"21":8,"22":2,"23":4,"24":8}}],["3",{"0":{"35":1},"1":{"36":1,"37":1},"2":{"14":1}}],["meta",{"2":{"45":3}}],["metafile",{"2":{"45":1}}],["more",{"2":{"26":1}}],["module",{"2":{"18":2,"19":1,"30":1}}],["modify",{"2":{"6":1,"21":1}}],["must",{"2":{"21":1}}],["multiple",{"0":{"17":1}}],["minute",{"2":{"21":1}}],["minimatch",{"2":{"12":2}}],["main",{"2":{"34":1,"37":1}}],["map",{"2":{"19":1}}],["manually",{"2":{"19":1}}],["macth",{"2":{"17":1}}],["matchquery",{"2":{"12":1,"17":1}}],["match",{"2":{"12":1}}],["write",{"2":{"41":1}}],["wrap>",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["wrap",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["well",{"2":{"19":1}}],["webpack",{"0":{"30":1},"2":{"19":1,"30":1}}],["warning",{"2":{"16":1}}],["whether",{"2":{"27":1}}],["wheels",{"2":{"21":1}}],["when",{"2":{"10":1,"12":1}}],["white",{"2":{"21":1,"25":1}}],["which",{"2":{"12":1,"45":1}}],["will",{"2":{"16":1,"19":3}}],["with",{"2":{"8":1,"12":1,"14":1,"16":1}}],["width=",{"2":{"21":17,"22":3,"23":2,"24":4,"25":1}}],["width",{"2":{"2":1,"7":2,"21":1,"23":1,"31":1}}],["yarn",{"2":{"44":1}}],["y2=",{"2":{"21":2}}],["y1=",{"2":{"21":2}}],["your",{"2":{"19":1,"27":1}}],["you",{"2":{"8":2,"16":2,"19":3,"27":2,"29":1,"30":1,"34":1,"37":1}}],["yzfe",{"0":{"1":1,"8":1,"9":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"10":1},"2":{"8":2,"14":1,"16":4,"18":2,"19":5,"27":9,"30":3,"33":2,"34":2,"36":2,"37":2,"39":2,"40":1,"41":5,"43":1,"44":1}}],["=",{"2":{"8":1,"16":2,"18":2,"19":4,"41":8}}],["=>",{"2":{"2":1,"7":1,"19":1,"25":1}}],["element",{"2":{"41":1}}],["ed1944",{"2":{"21":2}}],["etc",{"2":{"19":1}}],["extends",{"2":{"41":3}}],["exclude",{"2":{"12":1}}],["excluded",{"2":{"12":1}}],["exports",{"2":{"19":1}}],["export",{"2":{"5":1,"7":10,"8":3,"15":2,"16":3,"17":1,"18":2,"29":1,"34":1,"40":1,"41":1}}],["environment",{"2":{"8":1}}],["rules",{"2":{"30":1}}],["run",{"2":{"8":1}}],["right",{"2":{"24":1}}],["rgba",{"2":{"21":1}}],["r",{"2":{"21":7}}],["root",{"2":{"8":1}}],["refer",{"2":{"26":1,"41":1}}],["repalce",{"0":{"25":1}}],["replace=",{"2":{"25":1}}],["replace",{"2":{"2":3,"7":3,"25":1}}],["resolve",{"2":{"19":1}}],["result",{"2":{"7":2,"41":5}}],["required",{"2":{"27":1}}],["require",{"2":{"19":1}}],["registered",{"2":{"19":1}}],["regexp",{"2":{"12":1}}],["recommended",{"2":{"19":1,"26":1,"29":1,"30":1,"34":1,"37":1}}],["record",{"2":{"7":1,"41":2}}],["render",{"2":{"16":2,"41":1}}],["red",{"2":{"15":1,"21":3,"40":1}}],["return",{"2":{"15":1,"16":2,"34":1,"40":1,"41":1}}],["returns",{"2":{"8":1}}],["reactsvgicon",{"2":{"41":2}}],["reactsvgiconfc",{"2":{"18":2,"41":2}}],["react",{"0":{"38":1},"1":{"39":1,"40":1},"2":{"9":1,"10":1,"12":1,"14":2,"15":1,"18":2,"27":5,"29":4,"30":4,"39":1,"41":6}}],["relative",{"2":{"8":1}}],["understanding",{"2":{"26":1}}],["unknown>",{"2":{"41":1}}],["unknown",{"2":{"7":1,"10":1,"41":1}}],["up",{"2":{"21":5,"22":4,"23":2,"24":4}}],["url",{"2":{"17":2,"21":2}}],["using",{"2":{"16":1,"27":1,"29":1,"30":1}}],["usage",{"0":{"31":1,"34":1,"37":1,"40":1,"45":1},"2":{"15":1,"17":1,"26":1}}],["usually",{"2":{"2":1,"7":1}}],["uses",{"2":{"19":1}}],["used",{"2":{"14":1,"45":1}}],["use",{"0":{"15":1},"2":{"2":1,"7":1,"8":1,"12":2,"19":1,"21":2,"27":1,"29":1,"30":3,"37":1,"41":1,"43":1,"45":1}}],["var",{"2":{"21":2,"25":1}}],["value",{"2":{"5":1,"8":1,"18":4}}],["v",{"2":{"19":2}}],["version",{"2":{"19":1}}],["viewer",{"2":{"27":1,"43":1,"44":1,"45":3,"46":1}}],["view",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["viewbox",{"2":{"7":2,"41":1}}],["vite",{"0":{"11":1,"29":1},"1":{"12":1},"2":{"14":1,"15":3,"16":4,"17":3,"27":2,"29":5}}],["vue3",{"2":{"27":1}}],["vuesvgiconplugin",{"2":{"37":2}}],["vuesvgicon",{"2":{"16":4,"18":2,"34":2}}],["vue",{"0":{"19":1,"32":1,"35":1},"1":{"33":1,"34":1,"36":1,"37":1},"2":{"9":1,"10":1,"12":1,"14":2,"16":6,"17":1,"18":2,"19":6,"21":9,"22":1,"23":2,"24":1,"25":1,"27":7,"30":1,"33":1,"34":3,"36":1,"37":2}}],["void",{"2":{"6":1,"7":1}}],["null",{"2":{"30":1}}],["number>",{"2":{"7":1}}],["number",{"2":{"2":3,"7":5}}],["npm",{"2":{"27":1}}],["not",{"2":{"19":1}}],["nodejs",{"2":{"8":1}}],["necessary",{"2":{"19":1}}],["needs",{"2":{"18":1}}],["need",{"2":{"8":1,"16":1}}],["newoptions",{"2":{"6":1,"7":1}}],["name",{"2":{"7":1,"19":1,"27":2,"31":1,"45":2}}],["currently",{"2":{"45":1}}],["customize",{"0":{"16":1},"2":{"16":1}}],["customized",{"2":{"9":1,"27":1}}],["customcode",{"2":{"10":1,"12":1,"14":2,"16":3}}],["custom",{"2":{"10":3,"12":3,"14":2,"16":1,"30":1}}],["certain",{"2":{"21":1}}],["c63d96",{"2":{"21":2}}],["check",{"2":{"21":1}}],["circle",{"2":{"21":1}}],["clock",{"2":{"21":3}}],["cli",{"0":{"19":1},"2":{"19":3,"27":2,"30":1}}],["class",{"2":{"41":1}}],["class=",{"2":{"23":1,"25":1}}],["classname",{"2":{"7":1,"41":3}}],["classprefix",{"2":{"5":1,"7":1}}],["can",{"2":{"8":1,"9":1,"19":1,"27":2,"34":1,"37":1,"41":1,"45":1}}],["calc",{"2":{"8":1}}],["css",{"2":{"5":1,"7":1,"21":1,"34":1,"37":1,"40":1}}],["compile",{"2":{"41":1}}],["compatible",{"2":{"27":1}}],["componentprops>",{"2":{"41":2}}],["componentprops",{"2":{"41":1}}],["components",{"2":{"14":1,"27":1,"29":1,"30":1,"41":1}}],["component",{"0":{"14":1,"20":1},"1":{"15":1,"16":1,"21":1,"22":1,"23":1,"24":1,"25":1},"2":{"9":1,"10":3,"12":3,"14":4,"15":1,"16":2,"17":5,"18":2,"19":1,"27":5,"29":2,"30":2,"34":2,"37":1,"41":1}}],["code",{"2":{"9":1,"10":1,"12":1,"14":1,"16":6,"19":1,"21":6,"22":1,"23":1,"24":1,"25":1,"27":1}}],["console",{"2":{"31":1}}],["const",{"2":{"16":1,"18":2,"19":2,"41":5}}],["context",{"2":{"16":4}}],["content",{"0":{"25":1},"2":{"2":1,"7":2,"8":1,"27":2}}],["concatenated",{"2":{"16":1}}],["configure",{"0":{"17":1},"2":{"19":1,"27":1,"29":1,"30":1,"34":1,"37":1}}],["configuration",{"0":{"28":1},"1":{"29":1,"30":1,"31":1},"2":{"16":1,"19":1,"26":1,"30":1}}],["config",{"2":{"8":1,"15":1,"16":1,"17":1,"19":1,"29":1,"30":1}}],["colorwheel",{"2":{"21":5,"25":1}}],["color=",{"2":{"15":1,"21":17,"40":1}}],["colors=",{"2":{"21":1}}],["colors",{"2":{"2":1,"7":1,"21":2}}],["color",{"0":{"21":1},"2":{"2":3,"7":4,"21":4,"25":1}}],["brief",{"2":{"26":1}}],["black",{"2":{"21":3}}],["blue",{"2":{"21":2}}],["b8d433",{"2":{"21":2}}],["bg",{"2":{"21":1}}],["but",{"2":{"19":1}}],["bashsvgicon",{"2":{"45":1}}],["bashnpm",{"2":{"29":1,"30":1,"33":1,"36":1,"39":1}}],["bashvue",{"2":{"19":1}}],["bash",{"2":{"19":1,"44":1,"45":1}}],["based",{"2":{"4":1,"21":1,"27":1}}],["babel",{"2":{"16":1,"30":1}}],["below",{"2":{"16":1}}],["be",{"2":{"9":1,"12":2,"16":1,"18":1,"19":3,"21":1,"27":1,"45":1}}],["by",{"2":{"7":1,"16":1,"27":1}}],["both",{"2":{"14":1}}],["box",{"2":{"7":1,"41":1}}],["boolean",{"2":{"2":2,"5":2,"7":4}}],["keyof",{"2":{"3":1,"7":1,"41":1}}],["key",{"2":{"3":1,"7":1,"41":5}}],["o",{"2":{"46":1}}],["other",{"0":{"41":1,"42":1},"1":{"43":1,"44":1,"45":1,"46":1},"2":{"27":1,"41":1}}],["opacity",{"2":{"21":1}}],["option",{"2":{"29":1,"30":1}}],["options",{"0":{"5":1,"10":1,"12":1},"2":{"5":3,"6":2,"7":5,"8":1,"14":1,"16":1,"30":1,"41":2}}],["optimizeoptions",{"2":{"8":3}}],["overwrite",{"2":{"21":1}}],["orange",{"2":{"21":1}}],["or",{"2":{"9":1,"14":1,"16":1,"27":3}}],["originalcolors",{"2":{"7":1}}],["originalcolor",{"2":{"7":2}}],["original",{"2":{"2":2,"7":2,"21":7,"25":1}}],["object",{"2":{"8":2}}],["one",{"2":{"45":1}}],["only",{"2":{"45":1}}],["on",{"2":{"4":1,"21":1,"27":1}}],["offset=",{"2":{"21":4}}],["of",{"2":{"2":1,"3":1,"5":1,"8":1,"18":1,"26":1,"27":1}}],["fc",{"2":{"40":1,"41":1}}],["frameworks",{"0":{"41":1},"2":{"27":1,"41":2}}],["from",{"2":{"8":2,"15":3,"16":6,"17":6,"18":2,"29":2,"31":1,"34":2,"37":2,"40":1,"41":2}}],["f5eb13",{"2":{"21":2}}],["fbad20",{"2":{"21":1}}],["false",{"2":{"21":1,"23":1}}],["fa",{"2":{"21":5,"22":4,"23":2,"24":4}}],["faarrowicondata",{"2":{"17":1}}],["folder",{"2":{"43":1}}],["following",{"2":{"27":1}}],["for",{"2":{"19":1,"26":1,"27":2,"29":1,"30":1,"41":2}}],["form",{"2":{"16":1}}],["fontsize",{"2":{"22":1}}],["font",{"2":{"17":3}}],["field",{"2":{"45":1}}],["first",{"2":{"21":1}}],["final",{"2":{"16":1}}],["finally",{"2":{"16":1}}],["files",{"2":{"12":2,"14":1,"27":1,"29":1,"30":1,"43":1}}],["filename",{"2":{"8":2}}],["file",{"2":{"8":3,"9":1,"16":1,"18":1,"19":2,"27":2,"29":1,"30":3,"31":1,"34":3,"37":3,"40":1}}],["fill=",{"2":{"21":1,"23":1}}],["fill",{"0":{"23":1},"2":{"2":1,"7":2,"19":1,"21":2}}],["funtion",{"2":{"15":1}}],["functional",{"2":{"16":2}}],["function",{"2":{"2":1,"3":1,"4":1,"6":1,"7":5,"8":1,"40":1,"41":1}}],["gain",{"2":{"26":1}}],["gift",{"2":{"21":2}}],["green",{"2":{"21":2}}],["gradient",{"2":{"2":1,"7":1,"21":4}}],["globally",{"2":{"19":1}}],["global",{"2":{"5":2,"7":1,"34":1,"37":1,"44":2}}],["gen",{"0":{"8":1},"2":{"8":2,"27":1}}],["generated",{"2":{"9":1,"14":1,"16":3,"19":1,"27":1}}],["generate",{"0":{"46":1},"2":{"2":1,"4":1,"8":3,"27":2}}],["getoptions",{"2":{"7":1}}],["get",{"2":{"3":1,"7":1}}],["getpropkeys",{"0":{"3":1},"2":{"3":1,"7":1,"41":2}}],["dangerouslysetinnerhtml=",{"2":{"41":1}}],["data=",{"2":{"21":17,"22":4,"23":2,"24":4,"25":1,"34":2,"37":2}}],["data",{"2":{"2":3,"4":1,"7":4,"8":2,"9":1,"16":8,"17":1,"19":1,"27":4,"29":1,"30":1,"31":1,"34":1}}],["d",{"2":{"29":1,"30":1}}],["down",{"2":{"24":1}}],["don",{"2":{"8":1}}],["dist",{"2":{"46":1}}],["div>",{"2":{"15":2,"34":2,"37":2,"40":2}}],["dir=",{"2":{"24":3}}],["dirname",{"2":{"15":1,"16":1,"17":3,"29":1}}],["directly",{"2":{"8":1,"34":1,"37":1}}],["direction",{"0":{"24":1},"2":{"2":1,"7":1}}],["dir",{"2":{"2":1,"7":1}}],["describe",{"2":{"45":1}}],["deeper",{"2":{"26":1}}],["demo",{"2":{"21":12,"22":2,"23":2,"24":2,"25":2,"45":1}}],["dependencies",{"0":{"33":1,"36":1,"39":1},"2":{"19":1}}],["depth",{"0":{"13":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"2":{"26":2}}],["defs>",{"2":{"21":2}}],["definition",{"2":{"18":1}}],["define",{"2":{"41":1}}],["defineconfig",{"2":{"15":2,"16":2,"17":2,"29":2}}],["defined",{"2":{"5":1,"7":1}}],["defaultheight",{"2":{"5":1,"7":1}}],["defaultwidth",{"2":{"5":1,"7":1}}],["default",{"2":{"5":3,"6":1,"7":2,"8":1,"15":2,"16":3,"17":1,"29":1,"34":1,"40":1}}],["declare",{"2":{"3":1,"6":1,"7":4,"18":2}}],["||",{"2":{"41":2}}],["|",{"2":{"2":4,"7":8,"8":2,"10":4,"12":5}}],["supported",{"2":{"45":1}}],["suitable",{"2":{"41":1}}],["successful",{"2":{"19":1}}],["script",{"2":{"37":1}}],["script>",{"2":{"34":2,"37":1}}],["scale",{"2":{"2":1,"7":1}}],["size",{"0":{"22":1}}],["section",{"2":{"26":2}}],["second",{"2":{"21":2}}],["setup",{"2":{"37":1}}],["setting",{"2":{"16":1}}],["set",{"2":{"7":1,"27":1}}],["setoptions",{"0":{"6":1},"2":{"6":1,"7":1,"41":2}}],["snippet",{"2":{"16":2}}],["src",{"2":{"15":1,"16":1,"19":1,"29":1,"45":3,"46":1}}],["svigon",{"0":{"11":1},"1":{"12":1}}],["svg$",{"2":{"30":1}}],["svg>",{"2":{"21":1,"41":1}}],["svgfilepath>",{"2":{"45":1}}],["svgfilepaths",{"2":{"19":3}}],["svgfilepath",{"2":{"10":1,"12":1,"15":1,"16":1,"17":3,"19":1,"29":1,"30":1}}],["svgrootpath",{"2":{"8":2}}],["svgoconfig",{"2":{"8":3,"10":1,"12":2,"19":1,"30":1}}],["svgo",{"2":{"8":3,"30":1}}],["svginnercontent",{"2":{"2":1,"7":1}}],["svgiconresult",{"2":{"4":1,"7":2}}],["svgicon",{"0":{"1":1,"4":1,"8":1,"9":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"10":1},"2":{"4":1,"7":3,"8":3,"14":2,"15":3,"16":8,"17":5,"18":2,"19":7,"26":1,"27":14,"29":5,"30":3,"33":2,"34":3,"36":2,"37":3,"39":2,"40":2,"41":8,"43":1,"44":1,"45":2,"46":1}}],["svg",{"0":{"14":1},"1":{"15":1,"16":1},"2":{"2":1,"7":1,"8":3,"9":2,"12":2,"14":1,"15":5,"16":4,"17":14,"18":5,"19":1,"21":18,"22":4,"23":2,"24":4,"25":3,"27":12,"29":5,"30":4,"31":2,"34":5,"37":5,"40":2,"41":1,"43":1,"45":3,"46":1}}],["solid",{"2":{"21":5,"22":4,"23":2,"24":4}}],["so",{"2":{"8":1}}],["source",{"2":{"8":2}}],["save",{"2":{"8":1,"33":1,"36":1,"39":1}}],["static",{"0":{"46":1}}],["start",{"0":{"26":1},"1":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1}}],["style>",{"2":{"23":2}}],["style=",{"2":{"21":2,"22":1}}],["style",{"2":{"7":1,"34":1,"37":1,"41":3}}],["stroke",{"0":{"23":1},"2":{"5":1,"7":1,"21":2,"23":3}}],["string>",{"2":{"41":1}}],["string",{"2":{"2":10,"5":3,"7":26,"8":8,"10":3,"12":8,"41":4}}],["stopcolors",{"2":{"2":1,"7":2}}],["stop",{"2":{"2":1,"7":1,"21":9}}],["ie",{"2":{"27":1}}],["id=",{"2":{"21":2}}],["if",{"2":{"16":1,"18":1,"19":2,"29":1,"30":1,"41":2}}],["it",{"2":{"8":1,"19":2,"26":1,"27":1,"29":1,"30":1,"34":1,"37":1}}],["imported",{"0":{"14":1},"1":{"15":1,"16":1},"2":{"18":1}}],["import",{"2":{"8":1,"12":1,"14":1,"15":2,"16":6,"17":9,"18":2,"29":2,"34":4,"37":4,"41":1}}],["indexof",{"2":{"41":1}}],["installation",{"0":{"44":1},"2":{"44":1}}],["install",{"0":{"33":1,"36":1,"39":1},"2":{"29":1,"30":1,"33":1,"36":1,"39":1}}],["installed",{"2":{"19":1}}],["innerhtml",{"2":{"27":1}}],["information",{"2":{"26":1,"45":1}}],["into",{"2":{"27":1}}],["introduction",{"0":{"27":1},"2":{"26":1}}],["interface",{"2":{"2":1,"5":1,"7":6,"10":1,"12":1,"41":2}}],["invoke",{"2":{"19":3}}],["invoked",{"2":{"19":1}}],["includes",{"2":{"27":1}}],["include",{"2":{"12":1,"15":1,"16":1,"17":3,"29":1,"30":1}}],["included",{"2":{"12":1}}],["incoming",{"2":{"4":1,"27":1}}],["in",{"0":{"13":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"2":{"5":1,"7":1,"8":2,"19":1,"26":2,"27":1,"34":1,"37":1,"41":2,"43":1}}],["isoriginaldefault",{"2":{"5":1,"7":1}}],["isstroke",{"2":{"5":1,"7":1}}],["is",{"2":{"2":1,"5":1,"7":1,"18":1,"19":2,"21":4,"26":1,"27":2,"29":1,"30":1,"34":1,"37":1,"45":1}}],["iconname",{"2":{"41":1}}],["icons",{"2":{"8":1,"27":1}}],["icon>",{"2":{"8":2,"21":1}}],["icondata",{"2":{"7":2,"16":2,"41":4}}],["icon",{"0":{"43":1},"1":{"44":1,"45":1,"46":1},"2":{"2":4,"4":1,"7":4,"8":5,"9":2,"12":1,"15":1,"17":3,"19":2,"21":31,"22":4,"23":4,"24":4,"25":3,"27":11,"29":1,"30":1,"34":3,"37":3,"41":3,"45":1}}],["template>",{"2":{"34":2,"37":2}}],["test",{"2":{"30":1}}],["turns",{"2":{"27":1}}],["transformasseturls",{"2":{"19":2,"34":1,"37":1}}],["true",{"2":{"16":2,"21":1}}],["tagname",{"2":{"19":3,"37":1}}],["tag",{"2":{"19":1}}],["taro",{"2":{"10":1}}],["t",{"2":{"8":1}}],["third",{"2":{"21":1}}],["this",{"2":{"16":1,"19":1,"26":1,"41":1}}],["that",{"2":{"8":1,"27":1}}],["their",{"2":{"41":1}}],["the",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1,"8":3,"9":2,"16":9,"18":2,"19":4,"21":12,"26":2,"27":8,"29":2,"30":2,"34":1,"37":1,"45":1}}],["tip",{"2":{"8":1}}],["title=",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["title",{"2":{"2":1,"7":1,"21":6,"22":1,"23":1,"24":1,"25":1}}],["typeof",{"2":{"18":1}}],["typescript",{"0":{"18":1}}],["types",{"2":{"8":1}}],["type",{"2":{"7":2,"8":1,"18":1}}],["typings",{"0":{"7":1}}],["tsximport",{"2":{"15":1,"40":1,"41":1}}],["tsimport",{"2":{"8":1,"40":1}}],["ts",{"2":{"5":1,"7":1,"15":2,"16":2,"17":3,"18":1,"29":1,"37":3}}],["tsdeclare",{"2":{"4":1}}],["tsexport",{"2":{"2":1,"3":1,"6":1,"10":1,"12":1}}],["tool",{"2":{"27":1}}],["to",{"2":{"2":1,"8":4,"12":2,"14":1,"16":3,"18":1,"19":3,"21":1,"26":4,"27":2,"29":2,"30":2,"34":1,"37":1,"41":2,"43":1,"45":2}}],["any",{"2":{"43":1}}],["and",{"2":{"8":1,"14":1,"16":1,"19":4,"21":2,"26":1,"27":2,"29":1,"30":1}}],["attrs",{"2":{"41":8}}],["attributes",{"2":{"2":1,"4":1}}],["app",{"2":{"37":1}}],["api",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1}}],["according",{"2":{"27":1}}],["allowing",{"2":{"27":1}}],["aliases",{"2":{"19":1}}],["already",{"2":{"16":1}}],["automatically",{"2":{"19":1}}],["after",{"2":{"19":1}}],["affecting",{"2":{"5":1}}],["awesome",{"2":{"17":3}}],["additional",{"2":{"45":1}}],["added",{"2":{"18":1,"19":1}}],["add",{"2":{"16":1,"19":1,"44":1,"45":1}}],["advance",{"2":{"8":1}}],["are",{"2":{"16":1,"21":1,"27":1,"29":1,"30":1}}],["arrowdata",{"2":{"31":2,"34":3,"37":2}}],["arrowsvgurl",{"2":{"17":1}}],["arrow",{"2":{"15":1,"17":4,"21":5,"22":4,"23":2,"24":4,"31":2,"34":2,"37":2,"40":1,"45":1}}],["arrowicondata",{"2":{"17":1}}],["arrowicon",{"2":{"15":2,"17":1,"40":2}}],["array",{"2":{"3":1,"21":1}}],["above",{"2":{"16":1}}],["absolute",{"2":{"8":1,"21":1}}],["a",{"2":{"8":1,"10":2,"12":2,"16":1,"18":1,"19":2,"26":2,"27":2}}],["assets",{"2":{"15":2,"16":2,"17":8,"18":2,"19":1,"29":2,"45":3,"46":1}}],["as",{"0":{"14":1},"1":{"15":1,"16":1},"2":{"8":1,"9":1,"10":2,"12":2,"14":1,"16":1,"17":3,"18":1,"19":2,"27":1,"29":2,"30":2,"41":2}}],["public",{"2":{"41":1}}],["purecomponent",{"2":{"41":1}}],["please",{"2":{"41":1}}],["plugins",{"2":{"15":1,"16":1,"17":1,"29":1}}],["pluginoptions",{"2":{"12":1}}],["plugin",{"0":{"11":1,"12":1},"1":{"12":1},"2":{"14":1,"15":1,"16":2,"17":1,"19":3,"27":4,"29":3}}],["pid=",{"2":{"23":1}}],["polyfill",{"2":{"27":1}}],["porp",{"2":{"21":1}}],["position",{"2":{"21":1}}],["preview",{"0":{"43":1},"1":{"44":1,"45":1,"46":1},"2":{"27":1,"43":1}}],["presets",{"0":{"15":1}}],["primary",{"2":{"21":2}}],["prompted",{"2":{"19":1}}],["promise",{"2":{"8":2}}],["projects",{"2":{"27":1}}],["project",{"2":{"19":1}}],["processed",{"2":{"27":1}}],["process",{"2":{"16":1}}],["provides",{"2":{"26":1}}],["provide",{"2":{"14":1}}],["propskeys",{"2":{"41":2}}],["props",{"0":{"2":1},"2":{"2":1,"3":2,"4":2,"5":1,"7":5,"8":1,"27":1,"41":10}}],["page",{"0":{"46":1}}],["pass",{"2":{"34":1,"37":1}}],["packages",{"2":{"17":3,"27":1}}],["param",{"2":{"8":4}}],["parameters",{"2":{"2":1,"27":1}}],["pathalias",{"2":{"19":1}}],["paths",{"0":{"17":1}}],["path",{"2":{"7":1,"8":3,"15":2,"16":1,"17":5,"19":4,"21":2,"23":1,"29":1,"30":2,"31":1,"34":3,"37":3,"40":1,"41":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexzh.jEkI1h1v.js b/assets/chunks/@localSearchIndexzh.jEkI1h1v.js new file mode 100644 index 00000000..11bc8f0d --- /dev/null +++ b/assets/chunks/@localSearchIndexzh.jEkI1h1v.js @@ -0,0 +1 @@ +const t='{"documentCount":50,"nextId":50,"documentIds":{"0":"/svgicon/zh/api/#api","1":"/svgicon/zh/api/#yzfe-svgicon","2":"/svgicon/zh/api/#props","3":"/svgicon/zh/api/#getpropkeys","4":"/svgicon/zh/api/#svgicon","5":"/svgicon/zh/api/#options","6":"/svgicon/zh/api/#setoptions","7":"/svgicon/zh/api/#typings","8":"/svgicon/zh/api/#yzfe-svgicon-gen","9":"/svgicon/zh/api/#yzfe-svgicon-loader","10":"/svgicon/zh/api/#loader-options","11":"/svgicon/zh/api/#vite-plugin-svigon","12":"/svgicon/zh/api/#plugin-options","13":"/svgicon/zh/guide/advanced.html#深入","14":"/svgicon/zh/guide/advanced.html#svg-文件作为组件导入","15":"/svgicon/zh/guide/advanced.html#使用预设值","16":"/svgicon/zh/guide/advanced.html#自定义","17":"/svgicon/zh/guide/advanced.html#配置多个路径","18":"/svgicon/zh/guide/advanced.html#typescript","19":"/svgicon/zh/guide/advanced.html#vue-cli","20":"/svgicon/zh/guide/component.html#组件","21":"/svgicon/zh/guide/component.html#颜色","22":"/svgicon/zh/guide/component.html#填充-描边","23":"/svgicon/zh/guide/component.html#大小","24":"/svgicon/zh/guide/component.html#方向","25":"/svgicon/zh/guide/component.html#替换内容","26":"/svgicon/zh/guide/#快速上手","27":"/svgicon/zh/guide/#介绍","28":"/svgicon/zh/guide/#配置","29":"/svgicon/zh/guide/#vite","30":"/svgicon/zh/guide/#webpack","31":"/svgicon/zh/guide/#使用","32":"/svgicon/zh/guide/#vue-2-x","33":"/svgicon/zh/guide/#安装依赖","34":"/svgicon/zh/guide/#使用-1","35":"/svgicon/zh/guide/#vue-3-x","36":"/svgicon/zh/guide/#安装依赖-1","37":"/svgicon/zh/guide/#使用-2","38":"/svgicon/zh/guide/#react","39":"/svgicon/zh/guide/#安装依赖-2","40":"/svgicon/zh/guide/#使用-3","41":"/svgicon/zh/guide/#tarojs","42":"/svgicon/zh/guide/#安装依赖-3","43":"/svgicon/zh/guide/#其他框架","44":"/svgicon/zh/guide/other.html#其他","45":"/svgicon/zh/guide/other.html#图标预览","46":"/svgicon/zh/guide/other.html#安装","47":"/svgicon/zh/guide/other.html#使用","48":"/svgicon/zh/guide/other.html#meta-json","49":"/svgicon/zh/guide/other.html#输出静态-html-页面"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,1],"1":[3,1,1],"2":[1,3,36],"3":[1,3,12],"4":[1,3,8],"5":[1,3,25],"6":[1,3,9],"7":[1,3,80],"8":[4,1,60],"9":[4,1,9],"10":[2,4,20],"11":[3,1,1],"12":[2,4,37],"13":[1,1,1],"14":[2,1,26],"15":[1,3,34],"16":[1,3,56],"17":[1,1,38],"18":[1,1,23],"19":[3,1,57],"20":[1,1,1],"21":[1,1,110],"22":[2,1,31],"23":[1,1,26],"24":[1,1,25],"25":[1,1,27],"26":[1,1,7],"27":[1,1,57],"28":[1,1,1],"29":[1,2,36],"30":[1,2,39],"31":[1,2,15],"32":[3,1,1],"33":[1,4,7],"34":[1,4,37],"35":[3,1,1],"36":[1,4,7],"37":[1,4,37],"38":[1,1,1],"39":[1,2,7],"40":[1,2,23],"41":[1,1,1],"42":[1,2,12],"43":[1,1,78],"44":[1,1,1],"45":[1,1,8],"46":[1,2,9],"47":[1,2,10],"48":[2,2,20],"49":[3,2,14]},"averageFieldLength":[1.46,1.88,23.66],"storedFields":{"0":{"title":"API","titles":[]},"1":{"title":"@yzfe/svgicon","titles":["API"]},"2":{"title":"Props","titles":["API","@yzfe/svgicon"]},"3":{"title":"getPropKeys","titles":["API","@yzfe/svgicon"]},"4":{"title":"svgIcon","titles":["API","@yzfe/svgicon"]},"5":{"title":"Options","titles":["API","@yzfe/svgicon"]},"6":{"title":"setOptions","titles":["API","@yzfe/svgicon"]},"7":{"title":"Typings","titles":["API","@yzfe/svgicon"]},"8":{"title":"@yzfe/svgicon-gen","titles":["API"]},"9":{"title":"@yzfe/svgicon-loader","titles":["API"]},"10":{"title":"Loader options","titles":["API","@yzfe/svgicon-loader"]},"11":{"title":"vite-plugin-svigon","titles":["API"]},"12":{"title":"Plugin options","titles":["API","vite-plugin-svigon"]},"13":{"title":"深入","titles":[]},"14":{"title":"SVG 文件作为组件导入","titles":["深入"]},"15":{"title":"使用预设值","titles":["深入","SVG 文件作为组件导入"]},"16":{"title":"自定义","titles":["深入","SVG 文件作为组件导入"]},"17":{"title":"配置多个路径","titles":["深入"]},"18":{"title":"Typescript","titles":["深入"]},"19":{"title":"vue-cli 快速配置","titles":["深入"]},"20":{"title":"组件","titles":[]},"21":{"title":"颜色","titles":["组件"]},"22":{"title":"填充/描边","titles":["组件"]},"23":{"title":"大小","titles":["组件"]},"24":{"title":"方向","titles":["组件"]},"25":{"title":"替换内容","titles":["组件"]},"26":{"title":"快速上手","titles":[]},"27":{"title":"介绍","titles":["快速上手"]},"28":{"title":"配置","titles":["快速上手"]},"29":{"title":"Vite","titles":["快速上手","配置"]},"30":{"title":"Webpack","titles":["快速上手","配置"]},"31":{"title":"使用","titles":["快速上手","配置"]},"32":{"title":"Vue 2.x","titles":["快速上手"]},"33":{"title":"安装依赖","titles":["快速上手","Vue 2.x"]},"34":{"title":"使用","titles":["快速上手","Vue 2.x"]},"35":{"title":"Vue 3.x","titles":["快速上手"]},"36":{"title":"安装依赖","titles":["快速上手","Vue 3.x"]},"37":{"title":"使用","titles":["快速上手","Vue 3.x"]},"38":{"title":"React","titles":["快速上手"]},"39":{"title":"安装依赖","titles":["快速上手","React"]},"40":{"title":"使用","titles":["快速上手","React"]},"41":{"title":"TaroJs","titles":["快速上手"]},"42":{"title":"安装依赖","titles":["快速上手","TaroJs"]},"43":{"title":"其他框架","titles":["快速上手"]},"44":{"title":"其他","titles":[]},"45":{"title":"图标预览","titles":["其他"]},"46":{"title":"安装","titles":["其他","图标预览"]},"47":{"title":"使用","titles":["其他","图标预览"]},"48":{"title":"meta.json","titles":["其他","图标预览"]},"49":{"title":"输出静态 html 页面","titles":["其他","图标预览"]}},"dirtCount":0,"index":[["会生成静态",{"2":{"49":1}}],["会自动添加必要的依赖和代码",{"2":{"19":1}}],["添加",{"2":{"49":1}}],["页面到指定的输出目录",{"2":{"49":1}}],["页面",{"0":{"49":1}}],["输出静态",{"0":{"49":1}}],["箭头",{"2":{"48":1}}],["默认读取",{"2":{"48":1}}],["字段",{"2":{"48":1}}],["目前只支持一个",{"2":{"48":1}}],["安装",{"0":{"46":1}}],["安装依赖",{"0":{"33":1,"36":1,"39":1,"42":1}}],["$",{"2":{"43":1}}],["$attrs",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["+",{"2":{"43":1}}],["编写适用于其框架的图标组件",{"2":{"43":1}}],["其他",{"0":{"44":1},"1":{"45":1,"46":1,"47":1,"48":1,"49":1},"2":{"43":1}}],["其他框架",{"0":{"43":1}}],["一节",{"2":{"42":1}}],["一致",{"2":{"42":1}}],["请参考",{"2":{"42":1}}],["注册全局组件",{"2":{"34":1,"37":1}}],["样式",{"2":{"34":1,"37":1}}],["引入",{"2":{"34":1,"37":1}}],["选项为",{"2":{"29":1,"30":1}}],["选项可选值",{"2":{"14":1}}],["建议配置",{"2":{"29":1,"30":1,"34":1,"37":1}}],["建议查看",{"2":{"26":1}}],["加载",{"2":{"29":2,"30":2}}],["加载图标了",{"2":{"8":1}}],["使用方式与",{"2":{"42":1}}],["使用",{"0":{"31":1,"34":1,"37":1,"40":1,"47":1},"2":{"29":1,"30":2,"45":1,"48":1}}],["使用预设值",{"0":{"15":1}}],["兼容",{"2":{"27":1}}],["可以用来描述图标",{"2":{"48":1}}],["可以添加额外的信息",{"2":{"48":1}}],["可以预览任意文件夹的",{"2":{"45":1}}],["可以参考",{"2":{"43":1}}],["可以直接传入",{"2":{"34":1,"37":1}}],["可以快速的配置",{"2":{"27":1}}],["可以自定义生成的代码",{"2":{"9":1,"27":1}}],["预览",{"2":{"27":1}}],["预先生成图标数据",{"2":{"8":1}}],["类似",{"2":{"27":1}}],["功能与",{"2":{"27":1}}],["插件",{"2":{"27":2}}],["内容",{"2":{"27":1}}],["根据",{"2":{"27":1}}],["根据传入的参数",{"2":{"27":1}}],["根据传入的属性生成图标数据",{"2":{"4":1}}],["适用于",{"2":{"27":3}}],["包",{"2":{"27":1}}],["包括了以下的",{"2":{"27":1}}],["框架可以通过",{"2":{"43":1}}],["框架",{"2":{"27":1}}],["还是其他",{"2":{"27":1}}],["还有",{"2":{"19":1}}],["无论你是使用",{"2":{"27":1}}],["让你可以愉快的在项目中使用",{"2":{"27":1}}],["介绍",{"0":{"27":1}}],["这一节了解更多",{"2":{"26":1}}],["这样可以不用",{"2":{"8":1}}],["本节内容主要是简单的介绍",{"2":{"26":1}}],["快速上手",{"0":{"26":1},"1":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1}}],["快速配置",{"0":{"19":1}}],["替换内容",{"0":{"25":1}}],["方向",{"0":{"24":1}}],["4rem",{"2":{"23":2}}],["4em",{"2":{"23":2}}],["42b983",{"2":{"21":3}}],["大小",{"0":{"23":1}}],["描边",{"0":{"22":1}}],["填充",{"0":{"22":1}}],["才有效果",{"2":{"21":1}}],["必须是",{"2":{"21":1}}],["7295c2",{"2":{"21":1}}],["7e4d9f",{"2":{"21":2}}],["252e3d",{"2":{"21":1}}],["2",{"0":{"32":1},"1":{"33":1,"34":1},"2":{"21":2}}],["95",{"2":{"21":2}}],["yarn",{"2":{"46":1}}],["y2=",{"2":{"21":2}}],["y1=",{"2":{"21":2}}],["yzfe",{"0":{"1":1,"8":1,"9":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"10":1},"2":{"8":2,"14":1,"16":4,"18":2,"19":5,"27":10,"30":3,"33":2,"34":2,"36":2,"37":2,"39":2,"40":1,"42":2,"43":5,"45":1,"46":1}}],["lang=",{"2":{"37":1}}],["lib",{"2":{"34":1,"37":1,"40":1}}],["lineargradient>",{"2":{"21":2}}],["lineargradient",{"2":{"21":2}}],["log",{"2":{"31":1}}],["load",{"2":{"10":2,"12":2}}],["loaderoptions",{"2":{"10":1,"19":1}}],["loader",{"0":{"9":1,"10":1},"1":{"10":1},"2":{"8":1,"14":1,"16":3,"19":1,"27":2,"30":5,"43":1}}],["left",{"2":{"24":1}}],["60",{"2":{"21":10}}],["6bc9c6",{"2":{"21":2}}],["57f0c2",{"2":{"21":1}}],["5",{"2":{"21":3}}],["50",{"2":{"21":8}}],["element",{"2":{"43":1}}],["ed1944",{"2":{"21":2}}],["extends",{"2":{"43":3}}],["exclude",{"2":{"12":1}}],["excluded",{"2":{"12":1}}],["exports",{"2":{"19":1}}],["export",{"2":{"5":1,"7":10,"8":3,"15":2,"16":3,"17":1,"18":2,"29":1,"34":1,"40":1,"43":1}}],["80",{"2":{"21":6,"25":2}}],["8a99b2",{"2":{"21":2}}],["16",{"2":{"31":2}}],["16px",{"2":{"5":1,"7":1}}],["12px",{"2":{"23":1}}],["10px",{"2":{"22":1}}],["100",{"2":{"21":3}}],["147d58",{"2":{"21":1}}],["1",{"2":{"21":4}}],["1c2330",{"2":{"21":1}}],["是",{"2":{"27":1}}],["是一个名称",{"2":{"27":1}}],["是填充",{"2":{"21":1}}],["是描边",{"2":{"21":1}}],["第二和第三个色轮是在原色的基础上修改某些颜色",{"2":{"21":1}}],["第二个是",{"2":{"21":1}}],["第一个",{"2":{"21":1}}],["时针分针是描边",{"2":{"21":1}}],["时钟图标",{"2":{"21":1}}],["圆形是填充",{"2":{"21":1}}],["反转当前",{"2":{"21":1}}],["前缀",{"2":{"21":1}}],["查看代码",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["颜色值加上",{"2":{"21":1}}],["颜色",{"0":{"21":1}}],["058bc5",{"2":{"21":2}}],["0",{"2":{"19":1,"21":10,"22":1,"43":1}}],["等",{"2":{"19":1}}],["别名",{"2":{"19":1}}],["用来配置",{"2":{"19":1}}],["用法",{"2":{"15":1,"17":1}}],["另外还会生成",{"2":{"19":1}}],["成功调用后",{"2":{"19":1}}],["你可以手动调用",{"2":{"19":1}}],["你可以直接使用",{"2":{"8":1}}],["但是没有调用到这个插件",{"2":{"19":1}}],["全局安装",{"2":{"46":1}}],["全局注册的组件标签名称和",{"2":{"19":1}}],["全局配置",{"2":{"5":1}}],["进行快速配置",{"2":{"19":1}}],["推荐使用",{"2":{"19":1}}],["如果是使用",{"2":{"29":1,"30":1}}],["如果已经安装了",{"2":{"19":1}}],["如果你的项目使用",{"2":{"19":1}}],["如果配置",{"2":{"18":1}}],["如果使用的是",{"2":{"16":1}}],["导入为路径",{"2":{"17":1}}],["导入为组件",{"2":{"17":1}}],["导入为图标数据",{"2":{"17":1}}],["匹配",{"2":{"17":1}}],["配置",{"0":{"28":1},"1":{"29":1,"30":1,"31":1},"2":{"30":1}}],["配置和使用",{"2":{"26":1}}],["配置多个路径",{"0":{"17":1}}],["配搭使用",{"2":{"14":1}}],["处理生成的代码",{"2":{"16":1}}],["需要加上组件的类型定义",{"2":{"18":1}}],["需要加上",{"2":{"16":1}}],["上述配置将",{"2":{"16":1}}],["html",{"0":{"49":1},"2":{"43":1,"49":1}}],["h",{"2":{"16":4}}],["height=",{"2":{"21":17,"22":2,"23":3,"24":4,"25":1}}],["height",{"2":{"2":1,"7":2,"31":1}}],["`",{"2":{"16":2,"43":2}}],["拼接作为最终的代码",{"2":{"16":1}}],["最后会将这段代码与",{"2":{"16":1}}],["已预先生成代码片段",{"2":{"16":1}}],["或",{"2":{"16":1}}],["或者图标组件",{"2":{"27":1}}],["或者",{"2":{"9":1,"14":1,"27":1}}],["来自定义生成的代码",{"2":{"16":1}}],["为",{"2":{"16":1}}],["通过设置",{"2":{"16":1}}],["自定义",{"0":{"16":1},"2":{"30":1}}],["自定义生成的代码",{"2":{"14":1}}],[">",{"2":{"15":1,"21":33,"22":3,"23":5,"24":5,"25":2,"34":3,"37":4,"40":1,"43":1}}],["join",{"2":{"15":1,"16":1,"17":3,"29":1}}],["json",{"0":{"48":1},"2":{"48":5}}],["jsx",{"2":{"43":1}}],["jsimport",{"2":{"31":1}}],["jsconst",{"2":{"16":1,"19":1}}],["js",{"2":{"8":1,"19":1,"27":1,"29":1,"30":2,"34":2,"43":1}}],["与",{"2":{"14":1}}],["组件",{"0":{"20":1},"1":{"21":1,"22":1,"23":1,"24":1,"25":1},"2":{"14":2,"29":1,"30":1}}],["x2=",{"2":{"21":2}}],["x1=",{"2":{"21":2}}],["xxx",{"2":{"17":1}}],["x",{"0":{"32":1,"35":1},"1":{"33":1,"34":1,"36":1,"37":1},"2":{"14":1,"27":1}}],["x3c",{"2":{"7":1,"8":2,"15":3,"21":45,"22":6,"23":6,"24":6,"25":3,"34":9,"37":9,"40":3,"43":7,"47":1}}],["34469d",{"2":{"21":2,"25":1}}],["36",{"2":{"21":8,"22":4,"23":2,"24":8}}],["3",{"0":{"35":1},"1":{"36":1,"37":1},"2":{"14":1}}],["和",{"2":{"14":1,"19":1}}],["都提供",{"2":{"14":1}}],["深入",{"0":{"13":1},"1":{"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"2":{"26":1}}],["query",{"2":{"12":2}}],["meta",{"0":{"48":1},"2":{"48":4}}],["metafile",{"2":{"47":1}}],["main",{"2":{"34":1,"37":1}}],["map",{"2":{"19":1}}],["matchquery",{"2":{"12":1,"17":1}}],["match",{"2":{"12":1}}],["module",{"2":{"18":2,"19":1,"30":1}}],["minimatch",{"2":{"12":2}}],["wrap>",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["wrap",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["webpack",{"0":{"30":1},"2":{"19":1,"30":1}}],["warning",{"2":{"16":1}}],["with",{"2":{"12":1}}],["width=",{"2":{"21":17,"22":2,"23":3,"24":4,"25":1}}],["width",{"2":{"2":1,"7":2,"21":1,"22":1,"31":1}}],["white",{"2":{"21":1,"25":1}}],["which",{"2":{"12":1}}],["when",{"2":{"10":1,"12":1}}],["图标预览",{"0":{"45":1},"1":{"46":1,"47":1,"48":1,"49":1}}],["图标名称和处理过的",{"2":{"27":1}}],["图标",{"2":{"21":1,"27":2}}],["图标组件需要的数据",{"2":{"27":1}}],["图标组件和工具集",{"2":{"27":1}}],["图标组件",{"2":{"9":1,"27":4}}],["图标数据函数的参数",{"2":{"2":1}}],["将会提示你填写",{"2":{"19":1}}],["将",{"2":{"9":1,"27":2}}],["文件为",{"2":{"29":1,"30":1}}],["文件为图标数据",{"2":{"29":1,"30":1}}],["文件内容",{"2":{"27":1}}],["文件变成图标数据",{"2":{"27":1}}],["文件路径下的",{"2":{"48":1}}],["文件路径",{"2":{"19":1,"30":2,"34":1,"37":1}}],["文件加载为下面的代码",{"2":{"16":1}}],["文件加载成图标数据",{"2":{"9":1,"27":1}}],["文件作为组件导入",{"0":{"14":1},"1":{"15":1,"16":1},"2":{"14":1,"18":1}}],["文件",{"2":{"8":1,"19":1,"45":1}}],["保存为",{"2":{"8":1}}],["rules",{"2":{"30":1}}],["right",{"2":{"24":1}}],["rgba",{"2":{"21":1}}],["r",{"2":{"21":8}}],["root",{"2":{"8":1}}],["resolve",{"2":{"19":1}}],["result",{"2":{"7":2,"43":5}}],["require",{"2":{"19":1}}],["render",{"2":{"16":2,"43":1}}],["red",{"2":{"15":1,"21":3,"40":1}}],["return",{"2":{"15":1,"16":2,"34":1,"40":1,"43":1}}],["returns",{"2":{"8":1}}],["regexp",{"2":{"12":1}}],["reactsvgicon",{"2":{"43":2}}],["reactsvgiconfc",{"2":{"18":2,"43":2}}],["react",{"0":{"38":1},"1":{"39":1,"40":1},"2":{"9":1,"10":1,"12":1,"14":2,"15":1,"18":2,"27":5,"29":4,"30":4,"39":1,"42":2,"43":6}}],["relative",{"2":{"8":1}}],["record",{"2":{"7":1,"43":2}}],["replace=",{"2":{"25":1}}],["replace",{"2":{"2":3,"7":3,"25":1}}],["alias",{"2":{"49":1}}],["attrs",{"2":{"43":8}}],["app",{"2":{"37":1}}],["api",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1}}],["array",{"2":{"21":1}}],["arrowdata",{"2":{"31":2,"34":3,"37":2}}],["arrowsvgurl",{"2":{"17":1}}],["arrow",{"2":{"15":1,"17":4,"21":5,"22":2,"23":4,"24":4,"31":2,"34":2,"37":2,"40":1,"48":1}}],["arrowicondata",{"2":{"17":1}}],["arrowicon",{"2":{"15":2,"17":1,"40":2}}],["add",{"2":{"19":1,"46":1}}],["awesome",{"2":{"17":3}}],["a",{"2":{"10":2,"12":2}}],["assets",{"2":{"15":2,"16":2,"17":8,"18":2,"19":1,"29":2,"47":1,"48":2,"49":1}}],["as",{"2":{"10":2,"12":2,"43":2}}],["absolute",{"2":{"8":1,"21":1}}],["=",{"2":{"8":1,"16":2,"18":2,"19":4,"43":8}}],["=>",{"2":{"2":1,"7":1,"19":1,"25":1}}],["对象",{"2":{"8":1}}],["环境中运行",{"2":{"8":1}}],["在",{"2":{"8":1}}],["black",{"2":{"21":3}}],["blue",{"2":{"21":2}}],["b8d433",{"2":{"21":2}}],["bg",{"2":{"21":1}}],["bashsvgicon",{"2":{"48":1}}],["bashnpm",{"2":{"29":1,"30":1,"33":1,"36":1,"39":1,"42":1}}],["bashvue",{"2":{"19":1}}],["bash",{"2":{"19":1,"46":1,"47":1}}],["babel",{"2":{"16":1,"30":1}}],["be",{"2":{"12":2}}],["by",{"2":{"7":1}}],["box",{"2":{"7":1,"43":1}}],["boolean",{"2":{"2":2,"5":2,"7":4}}],["public",{"2":{"43":1}}],["purecomponent",{"2":{"43":1}}],["polyfill",{"2":{"27":1}}],["position",{"2":{"21":1}}],["pid=",{"2":{"22":1}}],["primary",{"2":{"21":1}}],["promise",{"2":{"8":2}}],["propskeys",{"2":{"43":2}}],["props",{"0":{"2":1},"2":{"2":1,"3":2,"4":2,"5":1,"7":5,"8":1,"27":1,"43":10}}],["plugins",{"2":{"15":1,"16":1,"17":1,"29":1}}],["pluginoptions",{"2":{"12":1}}],["plugin",{"0":{"11":1,"12":1},"1":{"12":1},"2":{"14":1,"15":1,"16":2,"17":1,"19":2,"27":2,"29":3}}],["packages",{"2":{"17":3}}],["param",{"2":{"8":4}}],["pathalias",{"2":{"19":1}}],["path",{"2":{"7":1,"8":3,"15":2,"16":1,"17":5,"19":3,"21":2,"22":1,"29":1,"31":1,"34":2,"37":2,"40":1,"43":1}}],["up",{"2":{"21":5,"22":2,"23":4,"24":4}}],["url",{"2":{"17":1,"21":2}}],["unknown>",{"2":{"43":1}}],["unknown",{"2":{"7":1,"10":1,"43":1}}],["usually",{"2":{"2":1,"7":1}}],["use",{"2":{"2":1,"7":1,"12":2,"21":2,"30":1,"37":1}}],["var",{"2":{"21":2,"25":1}}],["value",{"2":{"18":4}}],["v",{"2":{"19":2}}],["viewer",{"2":{"27":1,"45":1,"46":1,"47":2,"48":1,"49":1}}],["viewbox",{"2":{"7":2,"43":1}}],["vite",{"0":{"11":1,"29":1},"1":{"12":1},"2":{"14":1,"15":3,"16":4,"17":3,"27":2,"29":5}}],["vue3",{"2":{"27":1}}],["vuesvgiconplugin",{"2":{"37":2}}],["vuesvgicon",{"2":{"16":4,"18":2,"34":2}}],["vue",{"0":{"19":1,"32":1,"35":1},"1":{"33":1,"34":1,"36":1,"37":1},"2":{"9":1,"10":1,"12":1,"14":2,"16":6,"17":1,"18":2,"19":6,"21":9,"22":2,"23":1,"24":1,"25":1,"27":7,"30":1,"33":1,"34":3,"36":1,"37":2}}],["void",{"2":{"6":1,"7":1}}],["null",{"2":{"30":1}}],["number>",{"2":{"7":1}}],["number",{"2":{"2":3,"7":5}}],["npm",{"2":{"27":1}}],["nodejs",{"2":{"8":1}}],["name",{"2":{"7":1,"31":1,"48":2}}],["newoptions",{"2":{"6":1,"7":1}}],["修改默认选项",{"2":{"6":1}}],["c63d96",{"2":{"21":2}}],["check",{"2":{"21":1}}],["clock",{"2":{"21":2}}],["cli",{"0":{"19":1},"2":{"19":3,"27":2,"30":1}}],["class",{"2":{"43":1}}],["class=",{"2":{"22":1,"25":1}}],["classname",{"2":{"7":1,"43":3}}],["classprefix",{"2":{"5":1,"7":1}}],["custom和配置",{"2":{"16":1}}],["customcode选项将",{"2":{"14":1}}],["customcode",{"2":{"10":1,"12":1,"14":1,"16":3}}],["custom",{"2":{"10":3,"12":3,"14":1,"16":1}}],["calc",{"2":{"8":1}}],["css",{"2":{"5":1,"7":1,"21":1,"34":2,"37":2,"40":1}}],["compile",{"2":{"43":1}}],["componentprops>",{"2":{"43":2}}],["componentprops",{"2":{"43":1}}],["component",{"2":{"10":3,"12":3,"14":2,"15":1,"16":2,"17":4,"29":2,"30":2,"34":1,"43":1}}],["code",{"2":{"10":1,"12":1}}],["console",{"2":{"31":1}}],["const",{"2":{"16":1,"18":2,"19":2,"43":5}}],["context",{"2":{"16":4}}],["content",{"2":{"2":1,"7":2,"8":1}}],["config",{"2":{"8":1,"15":1,"16":1,"17":1,"19":1,"29":1,"30":1}}],["colorwheel",{"2":{"21":5,"25":1}}],["color=",{"2":{"15":1,"21":17,"40":1}}],["colors=",{"2":{"21":1}}],["colors",{"2":{"2":1,"7":1}}],["color",{"2":{"2":3,"7":4,"21":3,"25":1}}],["影响",{"2":{"5":1}}],["o",{"2":{"49":2}}],["output",{"2":{"49":1}}],["offset=",{"2":{"21":4}}],["opacity",{"2":{"21":1}}],["optimizeoptions",{"2":{"8":3}}],["options",{"0":{"5":1,"10":1,"12":1},"2":{"5":2,"6":1,"7":5,"8":1,"30":1,"43":2}}],["overwrite",{"2":{"21":1}}],["orange",{"2":{"21":1}}],["originalcolors",{"2":{"7":1}}],["originalcolor",{"2":{"7":2}}],["original",{"2":{"2":2,"7":2,"21":7,"25":1}}],["object",{"2":{"8":1}}],["for",{"2":{"43":1}}],["fontsize",{"2":{"23":1}}],["font",{"2":{"17":3}}],["fc",{"2":{"40":1,"43":1}}],["f5eb13",{"2":{"21":2}}],["fbad20",{"2":{"21":1}}],["false",{"2":{"21":1,"22":1}}],["fa",{"2":{"21":5,"22":2,"23":4,"24":4}}],["faarrowicondata",{"2":{"17":1}}],["funtion",{"2":{"15":1}}],["functional",{"2":{"16":2}}],["function",{"2":{"3":1,"4":1,"6":1,"7":5,"8":1,"40":1,"43":1}}],["files",{"2":{"12":2}}],["filename",{"2":{"8":2}}],["file",{"2":{"8":2,"31":1,"34":2,"37":2,"40":1}}],["fill=",{"2":{"21":1,"22":1}}],["fill",{"2":{"2":1,"7":2,"21":1}}],["from",{"2":{"8":2,"15":3,"16":6,"17":6,"18":2,"29":2,"31":1,"34":2,"37":2,"40":1,"43":2}}],["数组",{"2":{"3":1}}],["keyof",{"2":{"3":1,"7":1,"43":1}}],["key",{"2":{"3":1,"7":1,"43":5}}],["的版本",{"2":{"19":1}}],["的值",{"2":{"8":1}}],["的默认值",{"2":{"5":1}}],["的",{"2":{"3":1,"27":3}}],["获取",{"2":{"3":1}}],["gift",{"2":{"21":2}}],["green",{"2":{"21":2}}],["gradient",{"2":{"2":1,"7":1,"21":4}}],["generate",{"2":{"8":1}}],["gen",{"0":{"8":1},"2":{"8":2,"27":1}}],["get",{"2":{"7":1}}],["getoptions",{"2":{"7":1}}],["getpropkeys",{"0":{"3":1},"2":{"3":1,"7":1,"43":2}}],["global",{"2":{"5":1,"7":1,"46":1}}],["this",{"2":{"43":1}}],["template>",{"2":{"34":2,"37":2}}],["test",{"2":{"30":1}}],["tagname",{"2":{"19":3,"37":1}}],["tarojs",{"0":{"41":1},"1":{"42":1},"2":{"27":1,"42":1}}],["taro",{"2":{"10":1,"27":2,"42":1}}],["transformasseturls",{"2":{"19":2,"34":1,"37":1}}],["true",{"2":{"16":2,"21":1}}],["tip",{"2":{"8":1}}],["title=",{"2":{"21":6,"22":1,"23":1,"24":1,"25":1}}],["title",{"2":{"2":1,"7":1,"21":6,"22":1,"23":1,"24":1,"25":1}}],["to",{"2":{"8":1,"12":2}}],["typeof",{"2":{"18":1}}],["typescript",{"0":{"18":1}}],["types",{"2":{"8":1}}],["type",{"2":{"7":2,"8":1}}],["typings",{"0":{"7":1}}],["tsximport",{"2":{"15":1,"40":1,"43":1}}],["tsimport",{"2":{"8":1,"40":1}}],["ts",{"2":{"5":1,"7":1,"15":2,"16":2,"17":3,"18":1,"29":1,"37":3}}],["tsdeclare",{"2":{"4":1}}],["tsexport",{"2":{"2":1,"3":1,"6":1,"10":1,"12":1}}],["dangerouslysetinnerhtml=",{"2":{"43":1}}],["data=",{"2":{"21":17,"22":2,"23":4,"24":4,"25":1,"34":2,"37":2}}],["data",{"2":{"2":2,"7":4,"8":1,"16":8,"19":1,"31":1,"34":1}}],["d",{"2":{"29":1,"30":1}}],["down",{"2":{"24":1}}],["dist",{"2":{"49":1}}],["div>",{"2":{"15":2,"34":2,"37":2,"40":2}}],["dir=",{"2":{"24":3}}],["dirname",{"2":{"15":1,"16":1,"17":3,"29":1}}],["dir",{"2":{"2":1,"7":1}}],["direction",{"2":{"2":1,"7":1}}],["demo",{"2":{"21":12,"22":2,"23":2,"24":2,"25":2,"48":1}}],["defs>",{"2":{"21":2}}],["define",{"2":{"43":1}}],["defineconfig",{"2":{"15":2,"16":2,"17":2,"29":2}}],["defined",{"2":{"5":1,"7":1}}],["defaultheight",{"2":{"5":1,"7":1}}],["defaultwidth",{"2":{"5":1,"7":1}}],["default",{"2":{"5":2,"7":2,"8":1,"15":2,"16":3,"17":1,"29":1,"34":1,"40":1}}],["declare",{"2":{"3":1,"6":1,"7":4,"18":2}}],["||",{"2":{"43":2}}],["|",{"2":{"2":4,"7":8,"8":2,"10":4,"12":5}}],["script",{"2":{"37":1}}],["script>",{"2":{"34":2,"37":1}}],["scale",{"2":{"2":1,"7":1}}],["save",{"2":{"33":1,"36":1,"39":1}}],["solid",{"2":{"21":5,"22":2,"23":4,"24":4}}],["source",{"2":{"8":2}}],["src",{"2":{"15":1,"16":1,"19":1,"29":1,"47":1,"48":2,"49":1}}],["svigon",{"0":{"11":1},"1":{"12":1}}],["svg$",{"2":{"30":1}}],["svg>",{"2":{"21":1,"43":1}}],["svgfilepath>",{"2":{"47":1}}],["svgfilepaths",{"2":{"19":3}}],["svgfilepath",{"2":{"10":1,"12":1,"15":1,"16":1,"17":3,"19":1,"29":1,"30":1}}],["svgrootpath",{"2":{"8":2}}],["svgoconfig",{"2":{"8":3,"10":1,"12":2,"19":1,"30":1}}],["svgo",{"2":{"8":3,"30":1}}],["svginnercontent",{"2":{"2":1,"7":1}}],["svgiconresult",{"2":{"4":1,"7":2}}],["svgicon",{"0":{"1":1,"4":1,"8":1,"9":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"10":1},"2":{"4":1,"7":3,"8":3,"14":2,"15":3,"16":8,"17":5,"18":2,"19":7,"26":1,"27":15,"29":5,"30":3,"33":2,"34":3,"36":2,"37":3,"39":2,"40":2,"42":2,"43":8,"45":1,"46":1,"47":2,"49":1}}],["svg",{"0":{"14":1},"1":{"15":1,"16":1},"2":{"2":1,"7":1,"8":3,"9":2,"12":2,"14":1,"15":5,"16":4,"17":14,"18":5,"19":1,"21":18,"22":2,"23":4,"24":4,"25":3,"27":13,"29":5,"30":4,"31":2,"34":5,"37":5,"40":2,"43":1,"45":1,"47":1,"48":3,"49":1}}],["setup",{"2":{"37":1}}],["set",{"2":{"7":1}}],["setoptions",{"0":{"6":1},"2":{"6":1,"7":1,"43":2}}],["style>",{"2":{"22":2}}],["style=",{"2":{"21":2,"23":1}}],["style",{"2":{"7":1,"43":3}}],["stroke",{"2":{"5":1,"7":1,"22":3}}],["string>",{"2":{"43":1}}],["string",{"2":{"2":10,"5":3,"7":26,"8":8,"10":3,"12":8,"43":4}}],["stopcolors",{"2":{"2":1,"7":2}}],["stop",{"2":{"2":1,"7":1,"21":9}}],["if",{"2":{"43":2}}],["ie",{"2":{"27":1}}],["id=",{"2":{"21":2}}],["import",{"2":{"8":1,"12":1,"15":2,"16":6,"17":6,"18":2,"29":2,"34":3,"37":3,"43":1}}],["indexof",{"2":{"43":1}}],["install",{"2":{"29":1,"30":1,"33":1,"36":1,"39":1,"42":1}}],["innerhtml",{"2":{"27":1}}],["invoke",{"2":{"19":1}}],["include",{"2":{"12":1,"15":1,"16":1,"17":3,"29":1,"30":1}}],["included",{"2":{"12":1}}],["in",{"2":{"5":1,"7":1,"43":2}}],["interface",{"2":{"2":1,"5":1,"7":6,"10":1,"12":1,"43":2}}],["isoriginaldefault",{"2":{"5":1,"7":1}}],["isstroke",{"2":{"5":1,"7":1}}],["is",{"2":{"2":1,"5":1,"7":1}}],["iconname",{"2":{"43":1}}],["icon>",{"2":{"8":2,"21":1}}],["icondata",{"2":{"7":2,"16":2,"43":4}}],["icon",{"2":{"2":3,"7":4,"8":4,"12":1,"15":1,"17":2,"19":2,"21":29,"22":4,"23":4,"24":4,"25":3,"34":3,"37":3,"43":2}}],["属性",{"2":{"2":1,"21":1}}],["生成图标数据",{"2":{"27":1}}],["生成",{"2":{"2":1,"8":1,"27":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/VPLocalSearchBox.v5obXZm9.js b/assets/chunks/VPLocalSearchBox.v5obXZm9.js new file mode 100644 index 00000000..3978d177 --- /dev/null +++ b/assets/chunks/VPLocalSearchBox.v5obXZm9.js @@ -0,0 +1,13 @@ +import{Y as Ve,h as oe,y as $e,ai as kt,aj as Nt,d as It,G as xe,ak as tt,g as Fe,al as Dt,am as _t,z as Ot,an as Rt,j as _e,P as he,W as Ee,ao as Mt,U as Lt,V as Pt,ap as zt,Z as Bt,v as Vt,aq as $t,o as ee,b as Wt,k as E,a2 as jt,m as U,ar as Kt,as as Jt,at as Ut,c as re,n as rt,e as Se,E as at,F as nt,a as ve,t as pe,au as Ht,p as Gt,q as qt,av as it,aw as Qt,a8 as Yt,ae as Zt,_ as Xt}from"./framework.a4NdKwKH.js";import{u as er,c as tr,L as rr}from"./theme.8ZSd-Y1h.js";const ar={root:()=>Ve(()=>import("./@localSearchIndexroot.lEek4xJw.js"),__vite__mapDeps([])),zh:()=>Ve(()=>import("./@localSearchIndexzh.jEkI1h1v.js"),__vite__mapDeps([]))};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var mt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ce=mt.join(","),yt=typeof Element>"u",ue=yt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ke=!yt&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},Ne=function o(e,t){var r;t===void 0&&(t=!0);var n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),a=n===""||n==="true",i=a||t&&e&&o(e.parentNode);return i},nr=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},gt=function(e,t,r){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ce));return t&&ue.call(e,Ce)&&n.unshift(e),n=n.filter(r),n},bt=function o(e,t,r){for(var n=[],a=Array.from(e);a.length;){var i=a.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=o(u,!0,r);r.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var d=ue.call(i,Ce);d&&r.filter(i)&&(t||!e.includes(i))&&n.push(i);var h=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),v=!Ne(h,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(h&&v){var y=o(h===!0?i.children:h.children,!0,r);r.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else a.unshift.apply(a,i.children)}}return n},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},se=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||nr(e))&&!wt(e)?0:e.tabIndex},ir=function(e,t){var r=se(e);return r<0&&t&&!wt(e)?0:r},or=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},sr=function(e){return xt(e)&&e.type==="hidden"},ur=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},lr=function(e,t){for(var r=0;rsummary:first-of-type"),i=a?e.parentElement:e;if(ue.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof n=="function"){for(var s=e;e;){var u=e.parentElement,l=ke(e);if(u&&!u.shadowRoot&&n(u)===!0)return ot(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=s}if(hr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ot(e);return!1},pr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r=0)},yr=function o(e){var t=[],r=[];return e.forEach(function(n,a){var i=!!n.scopeParent,s=i?n.scopeParent:n,u=ir(s,i),l=i?o(n.candidates):s;u===0?i?t.push.apply(t,l):t.push(s):r.push({documentOrder:a,tabIndex:u,item:n,isScope:i,content:l})}),r.sort(or).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(t)},gr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:We.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:mr}):r=gt(e,t.includeContainer,We.bind(null,t)),yr(r)},br=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:Ie.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=gt(e,t.includeContainer,Ie.bind(null,t)),r},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,Ce)===!1?!1:We(t,e)},wr=mt.concat("iframe").join(","),Oe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,wr)===!1?!1:Ie(t,e)};/*! +* focus-trap 7.5.4 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function st(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function ut(o){for(var e=1;e0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Sr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ar=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Tr=function(e){return ge(e)&&!e.shiftKey},Cr=function(e){return ge(e)&&e.shiftKey},ct=function(e){return setTimeout(e,0)},ft=function(e,t){var r=-1;return e.every(function(n,a){return t(n)?(r=a,!1):!0}),r},me=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?p-1:0),I=1;I=0)c=r.activeElement;else{var f=i.tabbableGroups[0],p=f&&f.firstTabbableNode;c=p||d("fallbackFocus")}if(!c)throw new Error("Your focus-trap needs to have at least one focusable element");return c},v=function(){if(i.containerGroups=i.containers.map(function(c){var f=gr(c,a.tabbableOptions),p=br(c,a.tabbableOptions),N=f.length>0?f[0]:void 0,I=f.length>0?f[f.length-1]:void 0,M=p.find(function(m){return le(m)}),P=p.slice().reverse().find(function(m){return le(m)}),z=!!f.find(function(m){return se(m)>0});return{container:c,tabbableNodes:f,focusableNodes:p,posTabIndexesFound:z,firstTabbableNode:N,lastTabbableNode:I,firstDomTabbableNode:M,lastDomTabbableNode:P,nextTabbableNode:function(x){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=f.indexOf(x);return j<0?$?p.slice(p.indexOf(x)+1).find(function(G){return le(G)}):p.slice(0,p.indexOf(x)).reverse().find(function(G){return le(G)}):f[j+($?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(c){return c.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(c){return c.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function w(c){var f=c.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?w(f.shadowRoot):f},b=function w(c){if(c!==!1&&c!==y(document)){if(!c||!c.focus){w(h());return}c.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=c,Sr(c)&&c.select()}},S=function(c){var f=d("setReturnFocus",c);return f||(f===!1?!1:c)},g=function(c){var f=c.target,p=c.event,N=c.isBackward,I=N===void 0?!1:N;f=f||Ae(p),v();var M=null;if(i.tabbableGroups.length>0){var P=l(f,p),z=P>=0?i.containerGroups[P]:void 0;if(P<0)I?M=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:M=i.tabbableGroups[0].firstTabbableNode;else if(I){var m=ft(i.tabbableGroups,function(B){var J=B.firstTabbableNode;return f===J});if(m<0&&(z.container===f||Oe(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!z.nextTabbableNode(f,!1))&&(m=P),m>=0){var x=m===0?i.tabbableGroups.length-1:m-1,$=i.tabbableGroups[x];M=se(f)>=0?$.lastTabbableNode:$.lastDomTabbableNode}else ge(p)||(M=z.nextTabbableNode(f,!1))}else{var j=ft(i.tabbableGroups,function(B){var J=B.lastTabbableNode;return f===J});if(j<0&&(z.container===f||Oe(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!z.nextTabbableNode(f))&&(j=P),j>=0){var G=j===i.tabbableGroups.length-1?0:j+1,q=i.tabbableGroups[G];M=se(f)>=0?q.firstTabbableNode:q.firstDomTabbableNode}else ge(p)||(M=z.nextTabbableNode(f))}}else M=d("fallbackFocus");return M},A=function(c){var f=Ae(c);if(!(l(f,c)>=0)){if(me(a.clickOutsideDeactivates,c)){s.deactivate({returnFocus:a.returnFocusOnDeactivate});return}me(a.allowOutsideClick,c)||c.preventDefault()}},C=function(c){var f=Ae(c),p=l(f,c)>=0;if(p||f instanceof Document)p&&(i.mostRecentlyFocusedNode=f);else{c.stopImmediatePropagation();var N,I=!0;if(i.mostRecentlyFocusedNode)if(se(i.mostRecentlyFocusedNode)>0){var M=l(i.mostRecentlyFocusedNode),P=i.containerGroups[M].tabbableNodes;if(P.length>0){var z=P.findIndex(function(m){return m===i.mostRecentlyFocusedNode});z>=0&&(a.isKeyForward(i.recentNavEvent)?z+1=0&&(N=P[z-1],I=!1))}}else i.containerGroups.some(function(m){return m.tabbableNodes.some(function(x){return se(x)>0})})||(I=!1);else I=!1;I&&(N=g({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),b(N||i.mostRecentlyFocusedNode||h())}i.recentNavEvent=void 0},F=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=c;var p=g({event:c,isBackward:f});p&&(ge(c)&&c.preventDefault(),b(p))},L=function(c){if(Ar(c)&&me(a.escapeDeactivates,c)!==!1){c.preventDefault(),s.deactivate();return}(a.isKeyForward(c)||a.isKeyBackward(c))&&F(c,a.isKeyBackward(c))},R=function(c){var f=Ae(c);l(f,c)>=0||me(a.clickOutsideDeactivates,c)||me(a.allowOutsideClick,c)||(c.preventDefault(),c.stopImmediatePropagation())},V=function(){if(i.active)return lt.activateTrap(n,s),i.delayInitialFocusTimer=a.delayInitialFocus?ct(function(){b(h())}):b(h()),r.addEventListener("focusin",C,!0),r.addEventListener("mousedown",A,{capture:!0,passive:!1}),r.addEventListener("touchstart",A,{capture:!0,passive:!1}),r.addEventListener("click",R,{capture:!0,passive:!1}),r.addEventListener("keydown",L,{capture:!0,passive:!1}),s},k=function(){if(i.active)return r.removeEventListener("focusin",C,!0),r.removeEventListener("mousedown",A,!0),r.removeEventListener("touchstart",A,!0),r.removeEventListener("click",R,!0),r.removeEventListener("keydown",L,!0),s},O=function(c){var f=c.some(function(p){var N=Array.from(p.removedNodes);return N.some(function(I){return I===i.mostRecentlyFocusedNode})});f&&b(h())},T=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(O):void 0,_=function(){T&&(T.disconnect(),i.active&&!i.paused&&i.containers.map(function(c){T.observe(c,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(c){if(i.active)return this;var f=u(c,"onActivate"),p=u(c,"onPostActivate"),N=u(c,"checkCanFocusTrap");N||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,f==null||f();var I=function(){N&&v(),V(),_(),p==null||p()};return N?(N(i.containers.concat()).then(I,I),this):(I(),this)},deactivate:function(c){if(!i.active)return this;var f=ut({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},c);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,k(),i.active=!1,i.paused=!1,_(),lt.deactivateTrap(n,s);var p=u(f,"onDeactivate"),N=u(f,"onPostDeactivate"),I=u(f,"checkCanReturnFocus"),M=u(f,"returnFocus","returnFocusOnDeactivate");p==null||p();var P=function(){ct(function(){M&&b(S(i.nodeFocusedBeforeActivation)),N==null||N()})};return M&&I?(I(S(i.nodeFocusedBeforeActivation)).then(P,P),this):(P(),this)},pause:function(c){if(i.paused||!i.active)return this;var f=u(c,"onPause"),p=u(c,"onPostPause");return i.paused=!0,f==null||f(),k(),_(),p==null||p(),this},unpause:function(c){if(!i.paused||!i.active)return this;var f=u(c,"onUnpause"),p=u(c,"onPostUnpause");return i.paused=!1,f==null||f(),v(),V(),_(),p==null||p(),this},updateContainerElements:function(c){var f=[].concat(c).filter(Boolean);return i.containers=f.map(function(p){return typeof p=="string"?r.querySelector(p):p}),i.active&&v(),_(),this}},s.updateContainerElements(e),s};function Ir(o,e={}){let t;const{immediate:r,...n}=e,a=oe(!1),i=oe(!1),s=h=>t&&t.activate(h),u=h=>t&&t.deactivate(h),l=()=>{t&&(t.pause(),i.value=!0)},d=()=>{t&&(t.unpause(),i.value=!1)};return $e(()=>kt(o),h=>{h&&(t=Nr(h,{...n,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&s())},{flush:"post"}),Nt(()=>u()),{hasFocus:a,isPaused:i,activate:s,deactivate:u,pause:l,unpause:d}}class fe{constructor(e,t=!0,r=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=r,this.iframesTimeout=n}static matches(e,t){const r=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return r.every(i=>n.call(e,i)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(r=>{const n=t.filter(a=>a.contains(r)).length>0;t.indexOf(r)===-1&&!n&&t.push(r)}),t}getIframeContents(e,t,r=()=>{}){let n;try{const a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{r()}n&&t(n)}isIframeBlank(e){const t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}observeIframeLoad(e,t,r){let n=!1,a=null;const i=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,r))}catch{r()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,r){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch{r()}}waitForIframes(e,t){let r=0;this.forEachIframe(e,()=>!0,n=>{r++,this.waitForIframes(n.querySelector("html"),()=>{--r||t()})},n=>{n||t()})}forEachIframe(e,t,r,n=()=>{}){let a=e.querySelectorAll("iframe"),i=a.length,s=0;a=Array.prototype.slice.call(a);const u=()=>{--i<=0&&n(s)};i||u(),a.forEach(l=>{fe.matches(l,this.exclude)?u():this.onIframeReady(l,d=>{t(l)&&(s++,r(d)),u()},u)})}createIterator(e,t,r){return document.createNodeIterator(e,t,r,!1)}createInstanceOnIframe(e){return new fe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,r){const n=e.compareDocumentPosition(r),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){const i=t.compareDocumentPosition(r),s=Node.DOCUMENT_POSITION_FOLLOWING;if(i&s)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let r;return t===null?r=e.nextNode():r=e.nextNode()&&e.nextNode(),{prevNode:t,node:r}}checkIframeFilter(e,t,r,n){let a=!1,i=!1;return n.forEach((s,u)=>{s.val===r&&(a=u,i=s.handled)}),this.compareNodeIframe(e,t,r)?(a===!1&&!i?n.push({val:r,handled:!0}):a!==!1&&!i&&(n[a].handled=!0),!0):(a===!1&&n.push({val:r,handled:!1}),!1)}handleOpenIframes(e,t,r,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,r,n)})})}iterateThroughNodes(e,t,r,n,a){const i=this.createIterator(t,e,n);let s=[],u=[],l,d,h=()=>({prevNode:d,node:l}=this.getIteratorNode(i),l);for(;h();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,d,v,s),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>u.push(y),n)}),u.push(l);u.forEach(v=>{r(v)}),this.iframes&&this.handleOpenIframes(s,e,r,n),a()}forEachNode(e,t,r,n=()=>{}){const a=this.getContexts();let i=a.length;i||n(),a.forEach(s=>{const u=()=>{this.iterateThroughNodes(e,s,t,r,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(s,u):u()})}}let Dr=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const r=this.opt.log;this.opt.debug&&typeof r=="object"&&typeof r[t]=="function"&&r[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){const i=t[a],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);s!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(u)})`,`gm${r}`),n+`(${this.processSynomyms(s)}|${this.processSynomyms(u)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,r,n)=>{let a=n.charAt(r+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(a=>{r.every(i=>{if(i.indexOf(a)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let r=this.opt.accuracy,n=typeof r=="string"?r:r.value,a=typeof r=="string"?[]:r.limiters,i="";switch(a.forEach(s=>{i+=`|${this.escapeStr(s)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(r=>{this.opt.separateWordSearch?r.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):r.trim()&&t.indexOf(r)===-1&&t.push(r)}),{keywords:t.sort((r,n)=>n.length-r.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let r=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:i,valid:s}=this.callNoMatchOnInvalidRanges(n,r);s&&(n.start=a,n.length=i-a,t.push(n),r=i)}),t}callNoMatchOnInvalidRanges(e,t){let r,n,a=!1;return e&&typeof e.start<"u"?(r=parseInt(e.start,10),n=r+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-r>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:r,end:n,valid:a}}checkWhitespaceRanges(e,t,r){let n,a=!0,i=r.length,s=t-i,u=parseInt(e.start,10)-s;return u=u>i?i:u,n=u+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),u<0||n-u<0||u>i||n>i?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):r.substring(u,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:n,valid:a}}getTextNodes(e){let t="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{r.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:r})})}matchesExclude(e){return fe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,r){const n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),i=a.splitText(r-t);let s=document.createElement(n);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=a.textContent,a.parentNode.replaceChild(s,a),i}wrapRangeInMappedTextNode(e,t,r,n,a){e.nodes.every((i,s)=>{const u=e.nodes[s+1];if(typeof u>"u"||u.start>t){if(!n(i.node))return!1;const l=t-i.start,d=(r>i.end?i.end:r)-i.start,h=e.value.substr(0,i.start),v=e.value.substr(d+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,d),e.value=h+v,e.nodes.forEach((y,b)=>{b>=s&&(e.nodes[b].start>0&&b!==s&&(e.nodes[b].start-=d),e.nodes[b].end-=d)}),r-=d,a(i.node.previousSibling,i.start),r>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,r,n,a){const i=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(u=>{u=u.node;let l;for(;(l=e.exec(u.textContent))!==null&&l[i]!=="";){if(!r(l[i],u))continue;let d=l.index;if(i!==0)for(let h=1;h{let u;for(;(u=e.exec(s.value))!==null&&u[i]!=="";){let l=u.index;if(i!==0)for(let h=1;hr(u[i],h),(h,v)=>{e.lastIndex=v,n(h)})}a()})}wrapRangeFromIndex(e,t,r,n){this.getTextNodes(a=>{const i=a.value.length;e.forEach((s,u)=>{let{start:l,end:d,valid:h}=this.checkWhitespaceRanges(s,i,a.value);h&&this.wrapRangeInMappedTextNode(a,l,d,v=>t(v,s,a.value.substring(l,d),u),v=>{r(v,s)})}),n()})}unwrapMatches(e){const t=e.parentNode;let r=document.createDocumentFragment();for(;e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let r=0,n="wrapMatches";const a=i=>{r++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,s)=>this.opt.filter(s,i,r),a,()=>{r===0&&this.opt.noMatch(e),this.opt.done(r)})}mark(e,t){this.opt=t;let r=0,n="wrapMatches";const{keywords:a,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",u=l=>{let d=new RegExp(this.createRegExp(l),`gm${s}`),h=0;this.log(`Searching with expression "${d}"`),this[n](d,1,(v,y)=>this.opt.filter(y,l,r,h),v=>{h++,r++,this.opt.each(v)},()=>{h===0&&this.opt.noMatch(l),a[i-1]===l?this.opt.done(r):u(a[a.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(r):u(a[0])}markRanges(e,t){this.opt=t;let r=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,i,s,u)=>this.opt.filter(a,i,s,u),(a,i)=>{r++,this.opt.each(a,i)},()=>{this.opt.done(r)})):this.opt.done(r)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,r=>{this.unwrapMatches(r)},r=>{const n=fe.matches(r,t),a=this.matchesExclude(r);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function _r(o){const e=new Dr(o);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this}var W=function(){return W=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function K(o,e){var t=typeof Symbol=="function"&&o[Symbol.iterator];if(!t)return o;var r=t.call(o),n,a=[],i;try{for(;(e===void 0||e-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return a}var Mr="ENTRIES",Ft="KEYS",Et="VALUES",H="",Re=function(){function o(e,t){var r=e._tree,n=Array.from(r.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:r,keys:n}]:[]}return o.prototype.next=function(){var e=this.dive();return this.backtrack(),e},o.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=ce(this._path),t=e.node,r=e.keys;if(ce(r)===H)return{done:!1,value:this.result()};var n=t.get(ce(r));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()},o.prototype.backtrack=function(){if(this._path.length!==0){var e=ce(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},o.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return ce(t)}).filter(function(e){return e!==H}).join("")},o.prototype.value=function(){return ce(this._path).node.get(H)},o.prototype.result=function(){switch(this._type){case Et:return this.value();case Ft:return this.key();default:return[this.key(),this.value()]}},o.prototype[Symbol.iterator]=function(){return this},o}(),ce=function(o){return o[o.length-1]},Lr=function(o,e,t){var r=new Map;if(e===void 0)return r;for(var n=e.length+1,a=n+t,i=new Uint8Array(a*n).fill(t+1),s=0;st)continue e}St(o.get(y),e,t,r,n,S,i,s+y)}}}catch(f){u={error:f}}finally{try{v&&!v.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}},Me=function(){function o(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return o.prototype.atPrefix=function(e){var t,r;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var n=K(De(this._tree,e.slice(this._prefix.length)),2),a=n[0],i=n[1];if(a===void 0){var s=K(Ue(i),2),u=s[0],l=s[1];try{for(var d=D(u.keys()),h=d.next();!h.done;h=d.next()){var v=h.value;if(v!==H&&v.startsWith(l)){var y=new Map;return y.set(v.slice(l.length),u.get(v)),new o(y,e)}}}catch(b){t={error:b}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}}return new o(a,e)},o.prototype.clear=function(){this._size=void 0,this._tree.clear()},o.prototype.delete=function(e){return this._size=void 0,Pr(this._tree,e)},o.prototype.entries=function(){return new Re(this,Mr)},o.prototype.forEach=function(e){var t,r;try{for(var n=D(this),a=n.next();!a.done;a=n.next()){var i=K(a.value,2),s=i[0],u=i[1];e(s,u,this)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},o.prototype.fuzzyGet=function(e,t){return Lr(this._tree,e,t)},o.prototype.get=function(e){var t=je(this._tree,e);return t!==void 0?t.get(H):void 0},o.prototype.has=function(e){var t=je(this._tree,e);return t!==void 0&&t.has(H)},o.prototype.keys=function(){return new Re(this,Ft)},o.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(H,t),this},Object.defineProperty(o.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),o.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(H,t(r.get(H))),this},o.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e),n=r.get(H);return n===void 0&&r.set(H,n=t()),n},o.prototype.values=function(){return new Re(this,Et)},o.prototype[Symbol.iterator]=function(){return this.entries()},o.from=function(e){var t,r,n=new o;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=K(i.value,2),u=s[0],l=s[1];n.set(u,l)}}catch(d){t={error:d}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},o.fromObject=function(e){return o.from(Object.entries(e))},o}(),De=function(o,e,t){var r,n;if(t===void 0&&(t=[]),e.length===0||o==null)return[o,t];try{for(var a=D(o.keys()),i=a.next();!i.done;i=a.next()){var s=i.value;if(s!==H&&e.startsWith(s))return t.push([o,s]),De(o.get(s),e.slice(s.length),t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t.push([o,e]),De(void 0,"",t)},je=function(o,e){var t,r;if(e.length===0||o==null)return o;try{for(var n=D(o.keys()),a=n.next();!a.done;a=n.next()){var i=a.value;if(i!==H&&e.startsWith(i))return je(o.get(i),e.slice(i.length))}}catch(s){t={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},Le=function(o,e){var t,r,n=e.length;e:for(var a=0;o&&a0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Me,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},o.prototype.discard=function(e){var t=this,r=this._idToShortId.get(e);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(n,a){t.removeFieldLength(r,a,t._documentCount,n)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},o.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,r=e.minDirtCount,n=e.batchSize,a=e.batchWait;this.conditionalVacuum({batchSize:n,batchWait:a},{minDirtCount:r,minDirtFactor:t})}},o.prototype.discardAll=function(e){var t,r,n=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=i.value;this.discard(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()},o.prototype.replace=function(e){var t=this._options,r=t.idField,n=t.extractField,a=n(e,r);this.discard(a),this.add(e)},o.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},o.prototype.conditionalVacuum=function(e,t){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var n=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=Je,r.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},o.prototype.performVacuuming=function(e,t){return Or(this,void 0,void 0,function(){var r,n,a,i,s,u,l,d,h,v,y,b,S,g,A,C,F,L,R,V,k,O,T,_,w;return Rr(this,function(c){switch(c.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];n=e.batchSize||Ke.batchSize,a=e.batchWait||Ke.batchWait,i=1,c.label=1;case 1:c.trys.push([1,7,8,9]),s=D(this._index),u=s.next(),c.label=2;case 2:if(u.done)return[3,6];l=K(u.value,2),d=l[0],h=l[1];try{for(v=(O=void 0,D(h)),y=v.next();!y.done;y=v.next()){b=K(y.value,2),S=b[0],g=b[1];try{for(A=(_=void 0,D(g)),C=A.next();!C.done;C=A.next())F=K(C.value,1),L=F[0],!this._documentIds.has(L)&&(g.size<=1?h.delete(S):g.delete(L))}catch(f){_={error:f}}finally{try{C&&!C.done&&(w=A.return)&&w.call(A)}finally{if(_)throw _.error}}}}catch(f){O={error:f}}finally{try{y&&!y.done&&(T=v.return)&&T.call(v)}finally{if(O)throw O.error}}return this._index.get(d).size===0&&this._index.delete(d),i%n!==0?[3,4]:[4,new Promise(function(f){return setTimeout(f,a)})];case 3:c.sent(),c.label=4;case 4:i+=1,c.label=5;case 5:return u=s.next(),[3,2];case 6:return[3,9];case 7:return R=c.sent(),V={error:R},[3,9];case 8:try{u&&!u.done&&(k=s.return)&&k.call(s)}finally{if(V)throw V.error}return[7];case 9:this._dirtCount-=r,c.label=10;case 10:return[4,null];case 11:return c.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},o.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,r=e.minDirtFactor;return t=t||Be.minDirtCount,r=r||Be.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=r},Object.defineProperty(o.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),o.prototype.has=function(e){return this._idToShortId.has(e)},o.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},o.prototype.search=function(e,t){var r,n;t===void 0&&(t={});var a=this.executeQuery(e,t),i=[];try{for(var s=D(a),u=s.next();!u.done;u=s.next()){var l=K(u.value,2),d=l[0],h=l[1],v=h.score,y=h.terms,b=h.match,S=y.length||1,g={id:this._documentIds.get(d),score:v*S,terms:Object.keys(b),queryTerms:y,match:b};Object.assign(g,this._storedFields.get(d)),(t.filter==null||t.filter(g))&&i.push(g)}}catch(A){r={error:A}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return e===o.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||i.sort(vt),i},o.prototype.autoSuggest=function(e,t){var r,n,a,i;t===void 0&&(t={}),t=W(W({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var u=D(this.search(e,t)),l=u.next();!l.done;l=u.next()){var d=l.value,h=d.score,v=d.terms,y=v.join(" "),b=s.get(y);b!=null?(b.score+=h,b.count+=1):s.set(y,{score:h,terms:v,count:1})}}catch(R){r={error:R}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var S=[];try{for(var g=D(s),A=g.next();!A.done;A=g.next()){var C=K(A.value,2),b=C[0],F=C[1],h=F.score,v=F.terms,L=F.count;S.push({suggestion:b,terms:v,score:h/L})}}catch(R){a={error:R}}finally{try{A&&!A.done&&(i=g.return)&&i.call(g)}finally{if(a)throw a.error}}return S.sort(vt),S},Object.defineProperty(o.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),o.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},o.getDefault=function(e){if(ze.hasOwnProperty(e))return Pe(ze,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},o.loadJS=function(e,t){var r,n,a,i,s,u,l=e.index,d=e.documentCount,h=e.nextId,v=e.documentIds,y=e.fieldIds,b=e.fieldLength,S=e.averageFieldLength,g=e.storedFields,A=e.dirtCount,C=e.serializationVersion;if(C!==1&&C!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var F=new o(t);F._documentCount=d,F._nextId=h,F._documentIds=Te(v),F._idToShortId=new Map,F._fieldIds=y,F._fieldLength=Te(b),F._avgFieldLength=S,F._storedFields=Te(g),F._dirtCount=A||0,F._index=new Me;try{for(var L=D(F._documentIds),R=L.next();!R.done;R=L.next()){var V=K(R.value,2),k=V[0],O=V[1];F._idToShortId.set(O,k)}}catch(z){r={error:z}}finally{try{R&&!R.done&&(n=L.return)&&n.call(L)}finally{if(r)throw r.error}}try{for(var T=D(l),_=T.next();!_.done;_=T.next()){var w=K(_.value,2),c=w[0],f=w[1],p=new Map;try{for(var N=(s=void 0,D(Object.keys(f))),I=N.next();!I.done;I=N.next()){var M=I.value,P=f[M];C===1&&(P=P.ds),p.set(parseInt(M,10),Te(P))}}catch(z){s={error:z}}finally{try{I&&!I.done&&(u=N.return)&&u.call(N)}finally{if(s)throw s.error}}F._index.set(c,p)}}catch(z){a={error:z}}finally{try{_&&!_.done&&(i=T.return)&&i.call(T)}finally{if(a)throw a.error}}return F},o.prototype.executeQuery=function(e,t){var r=this;if(t===void 0&&(t={}),e===o.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){var n=W(W(W({},t),e),{queries:void 0}),a=e.queries.map(function(g){return r.executeQuery(g,n)});return this.combineResults(a,n.combineWith)}var i=this._options,s=i.tokenize,u=i.processTerm,l=i.searchOptions,d=W(W({tokenize:s,processTerm:u},l),t),h=d.tokenize,v=d.processTerm,y=h(e).flatMap(function(g){return v(g)}).filter(function(g){return!!g}),b=y.map(jr(d)),S=b.map(function(g){return r.executeQuerySpec(g,d)});return this.combineResults(S,d.combineWith)},o.prototype.executeQuerySpec=function(e,t){var r,n,a,i,s=W(W({},this._options.searchOptions),t),u=(s.fields||this._options.fields).reduce(function(M,P){var z;return W(W({},M),(z={},z[P]=Pe(s.boost,P)||1,z))},{}),l=s.boostDocument,d=s.weights,h=s.maxFuzzy,v=s.bm25,y=W(W({},dt.weights),d),b=y.fuzzy,S=y.prefix,g=this._index.get(e.term),A=this.termResults(e.term,e.term,1,g,u,l,v),C,F;if(e.prefix&&(C=this._index.atPrefix(e.term)),e.fuzzy){var L=e.fuzzy===!0?.2:e.fuzzy,R=L<1?Math.min(h,Math.round(e.term.length*L)):L;R&&(F=this._index.fuzzyGet(e.term,R))}if(C)try{for(var V=D(C),k=V.next();!k.done;k=V.next()){var O=K(k.value,2),T=O[0],_=O[1],w=T.length-e.term.length;if(w){F==null||F.delete(T);var c=S*T.length/(T.length+.3*w);this.termResults(e.term,T,c,_,u,l,v,A)}}}catch(M){r={error:M}}finally{try{k&&!k.done&&(n=V.return)&&n.call(V)}finally{if(r)throw r.error}}if(F)try{for(var f=D(F.keys()),p=f.next();!p.done;p=f.next()){var T=p.value,N=K(F.get(T),2),I=N[0],w=N[1];if(w){var c=b*T.length/(T.length+w);this.termResults(e.term,T,c,I,u,l,v,A)}}}catch(M){a={error:M}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}return A},o.prototype.executeWildcardQuery=function(e){var t,r,n=new Map,a=W(W({},this._options.searchOptions),e);try{for(var i=D(this._documentIds),s=i.next();!s.done;s=i.next()){var u=K(s.value,2),l=u[0],d=u[1],h=a.boostDocument?a.boostDocument(d,"",this._storedFields.get(l)):1;n.set(l,{score:h,terms:[],match:{}})}}catch(v){t={error:v}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},o.prototype.combineResults=function(e,t){if(t===void 0&&(t=He),e.length===0)return new Map;var r=t.toLowerCase();return e.reduce(Vr[r])||new Map},o.prototype.toJSON=function(){var e,t,r,n,a=[];try{for(var i=D(this._index),s=i.next();!s.done;s=i.next()){var u=K(s.value,2),l=u[0],d=u[1],h={};try{for(var v=(r=void 0,D(d)),y=v.next();!y.done;y=v.next()){var b=K(y.value,2),S=b[0],g=b[1];h[S]=Object.fromEntries(g)}}catch(A){r={error:A}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}a.push([l,h])}}catch(A){e={error:A}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:a,serializationVersion:2}},o.prototype.termResults=function(e,t,r,n,a,i,s,u){var l,d,h,v,y;if(u===void 0&&(u=new Map),n==null)return u;try{for(var b=D(Object.keys(a)),S=b.next();!S.done;S=b.next()){var g=S.value,A=a[g],C=this._fieldIds[g],F=n.get(C);if(F!=null){var L=F.size,R=this._avgFieldLength[C];try{for(var V=(h=void 0,D(F.keys())),k=V.next();!k.done;k=V.next()){var O=k.value;if(!this._documentIds.has(O)){this.removeTerm(C,O,t),L-=1;continue}var T=i?i(this._documentIds.get(O),t,this._storedFields.get(O)):1;if(T){var _=F.get(O),w=this._fieldLength.get(O)[C],c=Wr(_,L,this._documentCount,w,R,s),f=r*A*T*c,p=u.get(O);if(p){p.score+=f,Jr(p.terms,e);var N=Pe(p.match,t);N?N.push(g):p.match[t]=[g]}else u.set(O,{score:f,terms:[e],match:(y={},y[t]=[g],y)})}}}catch(I){h={error:I}}finally{try{k&&!k.done&&(v=V.return)&&v.call(V)}finally{if(h)throw h.error}}}}}catch(I){l={error:I}}finally{try{S&&!S.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}return u},o.prototype.addTerm=function(e,t,r){var n=this._index.fetch(r,pt),a=n.get(e);if(a==null)a=new Map,a.set(t,1),n.set(e,a);else{var i=a.get(t);a.set(t,(i||0)+1)}},o.prototype.removeTerm=function(e,t,r){if(!this._index.has(r)){this.warnDocumentChanged(t,e,r);return}var n=this._index.fetch(r,pt),a=n.get(e);a==null||a.get(t)==null?this.warnDocumentChanged(t,e,r):a.get(t)<=1?a.size<=1?n.delete(e):a.delete(t):a.set(t,a.get(t)-1),this._index.get(r).size===0&&this._index.delete(r)},o.prototype.warnDocumentChanged=function(e,t,r){var n,a;try{for(var i=D(Object.keys(this._fieldIds)),s=i.next();!s.done;s=i.next()){var u=s.value;if(this._fieldIds[u]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(r,'" was not present in field "').concat(u,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(l){n={error:l}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}},o.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},o.prototype.addFields=function(e){for(var t=0;t(Gt("data-v-1289454d"),o=o(),qt(),o),Hr=["aria-owns"],Gr={class:"shell"},qr=["title"],Qr=Y(()=>E("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("circle",{cx:"11",cy:"11",r:"8"}),E("path",{d:"m21 21l-4.35-4.35"})])],-1)),Yr=[Qr],Zr={class:"search-actions before"},Xr=["title"],ea=Y(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m7 7l-7-7l7-7"})],-1)),ta=[ea],ra=["placeholder"],aa={class:"search-actions"},na=["title"],ia=Y(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14h7v7H3zM3 3h7v7H3zm11 1h7m-7 5h7m-7 6h7m-7 5h7"})],-1)),oa=[ia],sa=["disabled","title"],ua=Y(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 5H9l-7 7l7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-2 4l-6 6m0-6l6 6"})],-1)),la=[ua],ca=["id","role","aria-labelledby"],fa=["aria-selected"],da=["href","aria-label","onMouseenter","onFocusin"],ha={class:"titles"},va=Y(()=>E("span",{class:"title-icon"},"#",-1)),pa=["innerHTML"],ma=Y(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"})],-1)),ya={class:"title main"},ga=["innerHTML"],ba={key:0,class:"excerpt-wrapper"},wa={key:0,class:"excerpt",inert:""},xa=["innerHTML"],Fa=Y(()=>E("div",{class:"excerpt-gradient-bottom"},null,-1)),Ea=Y(()=>E("div",{class:"excerpt-gradient-top"},null,-1)),Sa={key:0,class:"no-results"},Aa={class:"search-keyboard-shortcuts"},Ta=["aria-label"],Ca=Y(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19V5m-7 7l7-7l7 7"})],-1)),ka=[Ca],Na=["aria-label"],Ia=Y(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"})],-1)),Da=[Ia],_a=["aria-label"],Oa=Y(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("g",{fill:"none",stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("path",{d:"m9 10l-5 5l5 5"}),E("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"})])],-1)),Ra=[Oa],Ma=["aria-label"],La=It({__name:"VPLocalSearchBox",emits:["close"],setup(o,{emit:e}){var P,z;const t=e,r=xe(),n=xe(),a=xe(ar),i=er(),{activate:s}=Ir(r,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:u,theme:l}=i,d=tt(async()=>{var m,x,$,j,G,q,B,J,Z;return it(Br.loadJSON(($=await((x=(m=a.value)[u.value])==null?void 0:x.call(m)))==null?void 0:$.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((j=l.value.search)==null?void 0:j.provider)==="local"&&((q=(G=l.value.search.options)==null?void 0:G.miniSearch)==null?void 0:q.searchOptions)},...((B=l.value.search)==null?void 0:B.provider)==="local"&&((Z=(J=l.value.search.options)==null?void 0:J.miniSearch)==null?void 0:Z.options)}))}),v=Fe(()=>{var m,x;return((m=l.value.search)==null?void 0:m.provider)==="local"&&((x=l.value.search.options)==null?void 0:x.disableQueryPersistence)===!0}).value?oe(""):Dt("vitepress:local-search-filter",""),y=_t("vitepress:local-search-detailed-list",((P=l.value.search)==null?void 0:P.provider)==="local"&&((z=l.value.search.options)==null?void 0:z.detailedView)===!0),b=Fe(()=>{var m,x,$;return((m=l.value.search)==null?void 0:m.provider)==="local"&&(((x=l.value.search.options)==null?void 0:x.disableDetailedView)===!0||(($=l.value.search.options)==null?void 0:$.detailedView)===!1)}),S=Fe(()=>{var x,$,j,G,q,B,J;const m=((x=l.value.search)==null?void 0:x.options)??l.value.algolia;return((q=(G=(j=($=m==null?void 0:m.locales)==null?void 0:$[u.value])==null?void 0:j.translations)==null?void 0:G.button)==null?void 0:q.buttonText)||((J=(B=m==null?void 0:m.translations)==null?void 0:B.button)==null?void 0:J.buttonText)||"Search"});Ot(()=>{b.value&&(y.value=!1)});const g=xe([]),A=oe(!1);$e(v,()=>{A.value=!1});const C=tt(async()=>{if(n.value)return it(new _r(n.value))},null),F=new rr(16);Rt(()=>[d.value,v.value,y.value],async([m,x,$],j,G)=>{var be,Ge,qe,Qe;(j==null?void 0:j[0])!==m&&F.clear();let q=!1;if(G(()=>{q=!0}),!m)return;g.value=m.search(x).slice(0,16),A.value=!0;const B=$?await Promise.all(g.value.map(Q=>L(Q.id))):[];if(q)return;for(const{id:Q,mod:ae}of B){const ne=Q.slice(0,Q.indexOf("#"));let te=F.get(ne);if(te)continue;te=new Map,F.set(ne,te);const X=ae.default??ae;if(X!=null&&X.render||X!=null&&X.setup){const ie=Qt(X);ie.config.warnHandler=()=>{},ie.provide(Yt,i),Object.defineProperties(ie.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Ye=document.createElement("div");ie.mount(Ye),Ye.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var et;const we=(et=de.querySelector("a"))==null?void 0:et.getAttribute("href"),Ze=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Ze)return;let Xe="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Xe+=de.outerHTML;te.set(Ze,Xe)}),ie.unmount()}if(q)return}const J=new Set;if(g.value=g.value.map(Q=>{const[ae,ne]=Q.id.split("#"),te=F.get(ae),X=(te==null?void 0:te.get(ne))??"";for(const ie in Q.match)J.add(ie);return{...Q,text:X}}),await he(),q)return;await new Promise(Q=>{var ae;(ae=C.value)==null||ae.unmark({done:()=>{var ne;(ne=C.value)==null||ne.markRegExp(M(J),{done:Q})}})});const Z=((be=r.value)==null?void 0:be.querySelectorAll(".result .excerpt"))??[];for(const Q of Z)(Ge=Q.querySelector('mark[data-markjs="true"]'))==null||Ge.scrollIntoView({block:"center"});(Qe=(qe=n.value)==null?void 0:qe.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function L(m){const x=Zt(m.slice(0,m.indexOf("#")));try{if(!x)throw new Error(`Cannot find file for id: ${m}`);return{id:m,mod:await Ve(()=>import(x),__vite__mapDeps([]))}}catch($){return console.error($),{id:m,mod:{}}}}const R=oe(),V=Fe(()=>{var m;return((m=v.value)==null?void 0:m.length)<=0});function k(m=!0){var x,$;(x=R.value)==null||x.focus(),m&&(($=R.value)==null||$.select())}_e(()=>{k()});function O(m){m.pointerType==="mouse"&&k()}const T=oe(-1),_=oe(!1);$e(g,m=>{T.value=m.length?0:-1,w()});function w(){he(()=>{const m=document.querySelector(".result.selected");m&&m.scrollIntoView({block:"nearest"})})}Ee("ArrowUp",m=>{m.preventDefault(),T.value--,T.value<0&&(T.value=g.value.length-1),_.value=!0,w()}),Ee("ArrowDown",m=>{m.preventDefault(),T.value++,T.value>=g.value.length&&(T.value=0),_.value=!0,w()});const c=Mt();Ee("Enter",m=>{if(m.target instanceof HTMLButtonElement&&m.target.type!=="submit")return;const x=g.value[T.value];if(m.target instanceof HTMLInputElement&&!x){m.preventDefault();return}x&&(c.go(x.id),t("close"))}),Ee("Escape",()=>{t("close")});const f={modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}},p=Lt(tr)(Pt(()=>{var m;return(m=l.value.search)==null?void 0:m.options}),f);_e(()=>{window.history.pushState(null,"",null)}),zt("popstate",m=>{m.preventDefault(),t("close")});const N=Bt(Vt?document.body:null);_e(()=>{he(()=>{N.value=!0,he().then(()=>s())})}),$t(()=>{N.value=!1});function I(){v.value="",he().then(()=>k(!1))}function M(m){return new RegExp([...m].sort((x,$)=>$.length-x.length).map(x=>`(${x.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}return(m,x)=>{var $,j,G,q;return ee(),Wt(Ht,{to:"body"},[E("div",{ref_key:"el",ref:r,role:"button","aria-owns":($=g.value)!=null&&$.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[E("div",{class:"backdrop",onClick:x[0]||(x[0]=B=>m.$emit("close"))}),E("div",Gr,[E("form",{class:"search-bar",onPointerup:x[4]||(x[4]=B=>O(B)),onSubmit:x[5]||(x[5]=jt(()=>{},["prevent"]))},[E("label",{title:S.value,id:"localsearch-label",for:"localsearch-input"},Yr,8,qr),E("div",Zr,[E("button",{class:"back-button",title:U(p)("modal.backButtonTitle"),onClick:x[1]||(x[1]=B=>m.$emit("close"))},ta,8,Xr)]),Kt(E("input",{ref_key:"searchInput",ref:R,"onUpdate:modelValue":x[2]||(x[2]=B=>Ut(v)?v.value=B:null),placeholder:S.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,ra),[[Jt,U(v)]]),E("div",aa,[b.value?Se("",!0):(ee(),re("button",{key:0,class:rt(["toggle-layout-button",{"detailed-list":U(y)}]),type:"button",title:U(p)("modal.displayDetails"),onClick:x[3]||(x[3]=B=>T.value>-1&&(y.value=!U(y)))},oa,10,na)),E("button",{class:"clear-button",type:"reset",disabled:V.value,title:U(p)("modal.resetButtonTitle"),onClick:I},la,8,sa)])],32),E("ul",{ref_key:"resultsEl",ref:n,id:(j=g.value)!=null&&j.length?"localsearch-list":void 0,role:(G=g.value)!=null&&G.length?"listbox":void 0,"aria-labelledby":(q=g.value)!=null&&q.length?"localsearch-label":void 0,class:"results",onMousemove:x[7]||(x[7]=B=>_.value=!1)},[(ee(!0),re(nt,null,at(g.value,(B,J)=>(ee(),re("li",{key:B.id,role:"option","aria-selected":T.value===J?"true":"false"},[E("a",{href:B.id,class:rt(["result",{selected:T.value===J}]),"aria-label":[...B.titles,B.title].join(" > "),onMouseenter:Z=>!_.value&&(T.value=J),onFocusin:Z=>T.value=J,onClick:x[6]||(x[6]=Z=>m.$emit("close"))},[E("div",null,[E("div",ha,[va,(ee(!0),re(nt,null,at(B.titles,(Z,be)=>(ee(),re("span",{key:be,class:"title"},[E("span",{class:"text",innerHTML:Z},null,8,pa),ma]))),128)),E("span",ya,[E("span",{class:"text",innerHTML:B.title},null,8,ga)])]),U(y)?(ee(),re("div",ba,[B.text?(ee(),re("div",wa,[E("div",{class:"vp-doc",innerHTML:B.text},null,8,xa)])):Se("",!0),Fa,Ea])):Se("",!0)])],42,da)],8,fa))),128)),U(v)&&!g.value.length&&A.value?(ee(),re("li",Sa,[ve(pe(U(p)("modal.noResultsText"))+' "',1),E("strong",null,pe(U(v)),1),ve('" ')])):Se("",!0)],40,ca),E("div",Aa,[E("span",null,[E("kbd",{"aria-label":U(p)("modal.footer.navigateUpKeyAriaLabel")},ka,8,Ta),E("kbd",{"aria-label":U(p)("modal.footer.navigateDownKeyAriaLabel")},Da,8,Na),ve(" "+pe(U(p)("modal.footer.navigateText")),1)]),E("span",null,[E("kbd",{"aria-label":U(p)("modal.footer.selectKeyAriaLabel")},Ra,8,_a),ve(" "+pe(U(p)("modal.footer.selectText")),1)]),E("span",null,[E("kbd",{"aria-label":U(p)("modal.footer.closeKeyAriaLabel")},"esc",8,Ma),ve(" "+pe(U(p)("modal.footer.closeText")),1)])])])],8,Hr)])}}}),$a=Xt(La,[["__scopeId","data-v-1289454d"]]);export{$a as default}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/chunks/framework.a4NdKwKH.js b/assets/chunks/framework.a4NdKwKH.js new file mode 100644 index 00000000..aa08a2a8 --- /dev/null +++ b/assets/chunks/framework.a4NdKwKH.js @@ -0,0 +1,2 @@ +function xi(e,t){const n=Object.create(null),i=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const te={},gt=[],Ie=()=>{},mo=()=>!1,ho=/^on[^a-z]/,zt=e=>ho.test(e),vi=e=>e.startsWith("onUpdate:"),fe=Object.assign,yi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},go=Object.prototype.hasOwnProperty,X=(e,t)=>go.call(e,t),B=Array.isArray,xt=e=>jn(e)==="[object Map]",Vs=e=>jn(e)==="[object Set]",q=e=>typeof e=="function",ne=e=>typeof e=="string",An=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",zs=e=>(ee(e)||q(e))&&q(e.then)&&q(e.catch),Ys=Object.prototype.toString,jn=e=>Ys.call(e),xo=e=>jn(e).slice(8,-1),Js=e=>jn(e)==="[object Object]",bi=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=xi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},vo=/-(\w)/g,Le=Sn(e=>e.replace(vo,(t,n)=>n?n.toUpperCase():"")),yo=/\B([A-Z])/g,ut=Sn(e=>e.replace(yo,"-$1").toLowerCase()),Rn=Sn(e=>e.charAt(0).toUpperCase()+e.slice(1)),dn=Sn(e=>e?`on${Rn(e)}`:""),ft=(e,t)=>!Object.is(e,t),mn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ti=e=>{const t=parseFloat(e);return isNaN(t)?e:t},bo=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Ji;const ni=()=>Ji||(Ji=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _i(e){if(B(e)){const t={};for(let n=0;n{if(n){const i=n.split(wo);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function wi(e){let t="";if(ne(e))t=e;else if(B(e))for(let n=0;nne(e)?e:e==null?"":B(e)||ee(e)&&(e.toString===Ys||!q(e.toString))?JSON.stringify(e,Qs,2):String(e),Qs=(e,t)=>t&&t.__v_isRef?Qs(e,t.value):xt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,r])=>(n[`${i} =>`]=r,n),{})}:Vs(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!B(t)&&!Js(t)?String(t):t;let ye;class jo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){ye=this}off(){ye=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Gs=e=>(e.w&Qe)>0,er=e=>(e.n&Qe)>0,Oo=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(u==="length"||!An(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":B(e)?bi(n)&&l.push(o.get("length")):(l.push(o.get(lt)),xt(e)&&l.push(o.get(si)));break;case"delete":B(e)||(l.push(o.get(lt)),xt(e)&&l.push(o.get(si)));break;case"set":xt(e)&&l.push(o.get(lt));break}if(l.length===1)l[0]&&ri(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);ri(Ci(a))}}function ri(e,t){const n=B(e)?e:[...e];for(const i of n)i.computed&&Qi(i);for(const i of n)i.computed||Qi(i)}function Qi(e,t){(e!==je||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Mo(e,t){var n;return(n=vn.get(e))==null?void 0:n.get(t)}const Fo=xi("__proto__,__v_isRef,__isVue"),ir=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(An)),Zi=Io();function Io(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Q(this);for(let s=0,o=this.length;s{e[t]=function(...n){At();const i=Q(this)[t].apply(this,n);return jt(),i}}),e}function Lo(e){const t=Q(this);return xe(t,"has",e),t.hasOwnProperty(e)}class sr{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,i){const r=this._isReadonly,s=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw"&&i===(r?s?Yo:ar:s?lr:or).get(t))return t;const o=B(t);if(!r){if(o&&X(Zi,n))return Reflect.get(Zi,n,i);if(n==="hasOwnProperty")return Lo}const l=Reflect.get(t,n,i);return(An(n)?ir.has(n):Fo(n))||(r||xe(t,"get",n),s)?l:ae(l)?o&&bi(n)?l:l.value:ee(l)?r?Mn(l):Pn(l):l}}class rr extends sr{constructor(t=!1){super(!1,t)}set(t,n,i,r){let s=t[n];if(wt(s)&&ae(s)&&!ae(i))return!1;if(!this._shallow&&(!yn(i)&&!wt(i)&&(s=Q(s),i=Q(i)),!B(t)&&ae(s)&&!ae(i)))return s.value=i,!0;const o=B(t)&&bi(n)?Number(n)e,On=e=>Reflect.getPrototypeOf(e);function Zt(e,t,n=!1,i=!1){e=e.__v_raw;const r=Q(e),s=Q(t);n||(ft(t,s)&&xe(r,"get",t),xe(r,"get",s));const{has:o}=On(r),l=i?Ti:n?Si:Dt;if(o.call(r,t))return l(e.get(t));if(o.call(r,s))return l(e.get(s));e!==r&&e.get(t)}function Gt(e,t=!1){const n=this.__v_raw,i=Q(n),r=Q(e);return t||(ft(e,r)&&xe(i,"has",e),xe(i,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function en(e,t=!1){return e=e.__v_raw,!t&&xe(Q(e),"iterate",lt),Reflect.get(e,"size",e)}function Gi(e){e=Q(e);const t=Q(this);return On(t).has.call(t,e)||(t.add(e),$e(t,"add",e,e)),this}function es(e,t){t=Q(t);const n=Q(this),{has:i,get:r}=On(n);let s=i.call(n,e);s||(e=Q(e),s=i.call(n,e));const o=r.call(n,e);return n.set(e,t),s?ft(t,o)&&$e(n,"set",e,t):$e(n,"add",e,t),this}function ts(e){const t=Q(this),{has:n,get:i}=On(t);let r=n.call(t,e);r||(e=Q(e),r=n.call(t,e)),i&&i.call(t,e);const s=t.delete(e);return r&&$e(t,"delete",e,void 0),s}function ns(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&$e(e,"clear",void 0,void 0),n}function tn(e,t){return function(i,r){const s=this,o=s.__v_raw,l=Q(o),a=t?Ti:e?Si:Dt;return!e&&xe(l,"iterate",lt),o.forEach((c,u)=>i.call(r,a(c),a(u),s))}}function nn(e,t,n){return function(...i){const r=this.__v_raw,s=Q(r),o=xt(s),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=r[e](...i),u=n?Ti:t?Si:Dt;return!t&&xe(s,"iterate",a?si:lt),{next(){const{value:d,done:g}=c.next();return g?{value:d,done:g}:{value:l?[u(d[0]),u(d[1])]:u(d),done:g}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:this}}function Do(){const e={get(s){return Zt(this,s)},get size(){return en(this)},has:Gt,add:Gi,set:es,delete:ts,clear:ns,forEach:tn(!1,!1)},t={get(s){return Zt(this,s,!1,!0)},get size(){return en(this)},has:Gt,add:Gi,set:es,delete:ts,clear:ns,forEach:tn(!1,!0)},n={get(s){return Zt(this,s,!0)},get size(){return en(this,!0)},has(s){return Gt.call(this,s,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:tn(!0,!1)},i={get(s){return Zt(this,s,!0,!0)},get size(){return en(this,!0)},has(s){return Gt.call(this,s,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:tn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=nn(s,!1,!1),n[s]=nn(s,!0,!1),t[s]=nn(s,!1,!0),i[s]=nn(s,!0,!0)}),[e,n,t,i]}const[Bo,Uo,Ko,Wo]=Do();function Ai(e,t){const n=t?e?Wo:Ko:e?Uo:Bo;return(i,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?i:Reflect.get(X(n,r)&&r in i?n:i,r,s)}const qo={get:Ai(!1,!1)},Vo={get:Ai(!1,!0)},zo={get:Ai(!0,!1)},or=new WeakMap,lr=new WeakMap,ar=new WeakMap,Yo=new WeakMap;function Jo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xo(e){return e.__v_skip||!Object.isExtensible(e)?0:Jo(xo(e))}function Pn(e){return wt(e)?e:ji(e,!1,No,qo,or)}function Qo(e){return ji(e,!1,$o,Vo,lr)}function Mn(e){return ji(e,!0,Ho,zo,ar)}function ji(e,t,n,i,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const o=Xo(e);if(o===0)return e;const l=new Proxy(e,o===2?i:n);return r.set(e,l),l}function vt(e){return wt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function yn(e){return!!(e&&e.__v_isShallow)}function cr(e){return vt(e)||wt(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function It(e){return xn(e,"__v_skip",!0),e}const Dt=e=>ee(e)?Pn(e):e,Si=e=>ee(e)?Mn(e):e;function Ri(e){Ye&&je&&(e=Q(e),nr(e.dep||(e.dep=Ci())))}function Oi(e,t){e=Q(e);const n=e.dep;n&&ri(n)}function ae(e){return!!(e&&e.__v_isRef===!0)}function ce(e){return fr(e,!1)}function Pi(e){return fr(e,!0)}function fr(e,t){return ae(e)?e:new Zo(e,t)}class Zo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:Dt(t)}get value(){return Ri(this),this._value}set value(t){const n=this.__v_isShallow||yn(t)||wt(t);t=n?t:Q(t),ft(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Dt(t),Oi(this))}}function Mi(e){return ae(e)?e.value:e}const Go={get:(e,t,n)=>Mi(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const r=e[t];return ae(r)&&!ae(n)?(r.value=n,!0):Reflect.set(e,t,n,i)}};function ur(e){return vt(e)?e:new Proxy(e,Go)}class el{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:i}=t(()=>Ri(this),()=>Oi(this));this._get=n,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function tl(e){return new el(e)}class nl{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Mo(Q(this._object),this._key)}}class il{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function sl(e,t,n){return ae(e)?e:q(e)?new il(e):ee(e)&&arguments.length>1?rl(e,t,n):ce(e)}function rl(e,t,n){const i=e[t];return ae(i)?i:new nl(e,t,n)}class ol{constructor(t,n,i,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ei(t,()=>{this._dirty||(this._dirty=!0,Oi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const t=Q(this);return Ri(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ll(e,t,n=!1){let i,r;const s=q(e);return s?(i=e,r=Ie):(i=e.get,r=e.set),new ol(i,r,s||!r,n)}function Je(e,t,n,i){let r;try{r=i?e(...i):e()}catch(s){Yt(s,t,n)}return r}function Ee(e,t,n,i){if(q(e)){const s=Je(e,t,n,i);return s&&zs(s)&&s.catch(o=>{Yt(o,t,n)}),s}const r=[];for(let s=0;s>>1,r=de[i],s=Ut(r);sFe&&de.splice(t,1)}function ul(e){B(e)?yt.push(...e):(!He||!He.includes(e,e.allowRecurse?it+1:it))&&yt.push(e),dr()}function is(e,t=Bt?Fe+1:0){for(;tUt(n)-Ut(i)),it=0;ite.id==null?1/0:e.id,pl=(e,t)=>{const n=Ut(e)-Ut(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function mr(e){oi=!1,Bt=!0,de.sort(pl);try{for(Fe=0;Fene(b)?b.trim():b)),d&&(r=n.map(ti))}let l,a=i[l=dn(t)]||i[l=dn(Le(t))];!a&&s&&(a=i[l=dn(ut(t))]),a&&Ee(a,e,6,r);const c=i[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ee(c,e,6,r)}}function hr(e,t,n=!1){const i=t.emitsCache,r=i.get(e);if(r!==void 0)return r;const s=e.emits;let o={},l=!1;if(!q(e)){const a=c=>{const u=hr(c,t,!0);u&&(l=!0,fe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(ee(e)&&i.set(e,null),null):(B(s)?s.forEach(a=>o[a]=null):fe(o,s),ee(e)&&i.set(e,o),o)}function Ln(e,t){return!e||!zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,ut(t))||X(e,t))}let pe=null,kn=null;function _n(e){const t=pe;return pe=e,kn=e&&e.type.__scopeId||null,t}function Hc(e){kn=e}function $c(){kn=null}function ml(e,t=pe,n){if(!t||e._n)return e;const i=(...r)=>{i._d&&gs(-1);const s=_n(t);let o;try{o=e(...r)}finally{_n(s),i._d&&gs(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function qn(e){const{type:t,vnode:n,proxy:i,withProxy:r,props:s,propsOptions:[o],slots:l,attrs:a,emit:c,render:u,renderCache:d,data:g,setupState:b,ctx:w,inheritAttrs:E}=e;let I,K;const L=_n(e);try{if(n.shapeFlag&4){const m=r||i;I=Ae(u.call(m,m,d,s,b,g,w)),K=a}else{const m=t;I=Ae(m.length>1?m(s,{attrs:a,slots:l,emit:c}):m(s,null)),K=t.props?a:hl(a)}}catch(m){Ht.length=0,Yt(m,e,1),I=se(be)}let x=I;if(K&&E!==!1){const m=Object.keys(K),{shapeFlag:M}=x;m.length&&M&7&&(o&&m.some(vi)&&(K=gl(K,o)),x=Ze(x,K))}return n.dirs&&(x=Ze(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),I=x,_n(L),I}const hl=e=>{let t;for(const n in e)(n==="class"||n==="style"||zt(n))&&((t||(t={}))[n]=e[n]);return t},gl=(e,t)=>{const n={};for(const i in e)(!vi(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function xl(e,t,n){const{props:i,children:r,component:s}=e,{props:o,children:l,patchFlag:a}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return i?ss(i,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function vr(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):ul(e)}function Li(e,t){return Nn(e,null,t)}function Uc(e,t){return Nn(e,null,{flush:"post"})}const sn={};function Xe(e,t,n){return Nn(e,t,n)}function Nn(e,t,{immediate:n,deep:i,flush:r,onTrack:s,onTrigger:o}=te){var l;const a=Zs()===((l=le)==null?void 0:l.scope)?le:null;let c,u=!1,d=!1;if(ae(e)?(c=()=>e.value,u=yn(e)):vt(e)?(c=()=>e,i=!0):B(e)?(d=!0,u=e.some(m=>vt(m)||yn(m)),c=()=>e.map(m=>{if(ae(m))return m.value;if(vt(m))return ot(m);if(q(m))return Je(m,a,2)})):q(e)?t?c=()=>Je(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return g&&g(),Ee(e,a,3,[b])}:c=Ie,t&&i){const m=c;c=()=>ot(m())}let g,b=m=>{g=L.onStop=()=>{Je(m,a,4)}},w;if(Tt)if(b=Ie,t?n&&Ee(t,a,3,[c(),d?[]:void 0,b]):c(),r==="sync"){const m=ha();w=m.__watcherHandles||(m.__watcherHandles=[])}else return Ie;let E=d?new Array(e.length).fill(sn):sn;const I=()=>{if(L.active)if(t){const m=L.run();(i||u||(d?m.some((M,U)=>ft(M,E[U])):ft(m,E)))&&(g&&g(),Ee(t,a,3,[m,E===sn?void 0:d&&E[0]===sn?[]:E,b]),E=m)}else L.run()};I.allowRecurse=!!t;let K;r==="sync"?K=I:r==="post"?K=()=>he(I,a&&a.suspense):(I.pre=!0,a&&(I.id=a.uid),K=()=>In(I));const L=new Ei(c,K);t?n?I():E=L.run():r==="post"?he(L.run.bind(L),a&&a.suspense):L.run();const x=()=>{L.stop(),a&&a.scope&&yi(a.scope.effects,L)};return w&&w.push(x),x}function bl(e,t,n){const i=this.proxy,r=ne(e)?e.includes(".")?yr(i,e):()=>i[e]:e.bind(i,i);let s;q(t)?s=t:(s=t.handler,n=t);const o=le;Et(this);const l=Nn(r,s.bind(i),n);return o?Et(o):at(),l}function yr(e,t){const n=t.split(".");return()=>{let i=e;for(let r=0;r{ot(n,t)});else if(Js(e))for(const n in e)ot(e[n],t);return e}function Kc(e,t){const n=pe;if(n===null)return e;const i=Un(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),Er(()=>{e.isUnmounting=!0}),e}const _e=[Function,Array],br={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_e,onEnter:_e,onAfterEnter:_e,onEnterCancelled:_e,onBeforeLeave:_e,onLeave:_e,onAfterLeave:_e,onLeaveCancelled:_e,onBeforeAppear:_e,onAppear:_e,onAfterAppear:_e,onAppearCancelled:_e},wl={name:"BaseTransition",props:br,setup(e,{slots:t}){const n=Bn(),i=_l();let r;return()=>{const s=t.default&&wr(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const E of s)if(E.type!==be){o=E;break}}const l=Q(e),{mode:a}=l;if(i.isLeaving)return Vn(o);const c=os(o);if(!c)return Vn(o);const u=li(c,l,i,n);ai(c,u);const d=n.subTree,g=d&&os(d);let b=!1;const{getTransitionKey:w}=c.type;if(w){const E=w();r===void 0?r=E:E!==r&&(r=E,b=!0)}if(g&&g.type!==be&&(!st(c,g)||b)){const E=li(g,l,i,n);if(ai(g,E),a==="out-in")return i.isLeaving=!0,E.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Vn(o);a==="in-out"&&c.type!==be&&(E.delayLeave=(I,K,L)=>{const x=_r(i,g);x[String(g.key)]=g,I[Ve]=()=>{K(),I[Ve]=void 0,delete u.delayedLeave},u.delayedLeave=L})}return o}}},Cl=wl;function _r(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function li(e,t,n,i){const{appear:r,mode:s,persisted:o=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:g,onAfterLeave:b,onLeaveCancelled:w,onBeforeAppear:E,onAppear:I,onAfterAppear:K,onAppearCancelled:L}=t,x=String(e.key),m=_r(n,e),M=(R,T)=>{R&&Ee(R,i,9,T)},U=(R,T)=>{const j=T[1];M(R,T),B(R)?R.every(W=>W.length<=1)&&j():R.length<=1&&j()},$={mode:s,persisted:o,beforeEnter(R){let T=l;if(!n.isMounted)if(r)T=E||l;else return;R[Ve]&&R[Ve](!0);const j=m[x];j&&st(e,j)&&j.el[Ve]&&j.el[Ve](),M(T,[R])},enter(R){let T=a,j=c,W=u;if(!n.isMounted)if(r)T=I||a,j=K||c,W=L||u;else return;let O=!1;const z=R[rn]=oe=>{O||(O=!0,oe?M(W,[R]):M(j,[R]),$.delayedLeave&&$.delayedLeave(),R[rn]=void 0)};T?U(T,[R,z]):z()},leave(R,T){const j=String(e.key);if(R[rn]&&R[rn](!0),n.isUnmounting)return T();M(d,[R]);let W=!1;const O=R[Ve]=z=>{W||(W=!0,T(),z?M(w,[R]):M(b,[R]),R[Ve]=void 0,m[j]===e&&delete m[j])};m[j]=e,g?U(g,[R,O]):O()},clone(R){return li(R,t,n,i)}};return $}function Vn(e){if(Jt(e))return e=Ze(e),e.children=null,e}function os(e){return Jt(e)?e.children?e.children[0]:void 0:e}function ai(e,t){e.shapeFlag&6&&e.component?ai(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wr(e,t=!1,n){let i=[],r=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Wc(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:r=200,timeout:s,suspensible:o=!0,onError:l}=e;let a=null,c,u=0;const d=()=>(u++,a=null,g()),g=()=>{let b;return a||(b=a=t().catch(w=>{if(w=w instanceof Error?w:new Error(String(w)),l)return new Promise((E,I)=>{l(w,()=>E(d()),()=>I(w),u+1)});throw w}).then(w=>b!==a&&a?a:(w&&(w.__esModule||w[Symbol.toStringTag]==="Module")&&(w=w.default),c=w,w)))};return ki({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return c},setup(){const b=le;if(c)return()=>zn(c,b);const w=L=>{a=null,Yt(L,b,13,!i)};if(o&&b.suspense||Tt)return g().then(L=>()=>zn(L,b)).catch(L=>(w(L),()=>i?se(i,{error:L}):null));const E=ce(!1),I=ce(),K=ce(!!r);return r&&setTimeout(()=>{K.value=!1},r),s!=null&&setTimeout(()=>{if(!E.value&&!I.value){const L=new Error(`Async component timed out after ${s}ms.`);w(L),I.value=L}},s),g().then(()=>{E.value=!0,b.parent&&Jt(b.parent.vnode)&&In(b.parent.update)}).catch(L=>{w(L),I.value=L}),()=>{if(E.value&&c)return zn(c,b);if(I.value&&i)return se(i,{error:I.value});if(n&&!K.value)return se(n)}}})}function zn(e,t){const{ref:n,props:i,children:r,ce:s}=t.vnode,o=se(e,i,r);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const Jt=e=>e.type.__isKeepAlive;function El(e,t){Cr(e,"a",t)}function Tl(e,t){Cr(e,"da",t)}function Cr(e,t,n=le){const i=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Hn(t,i,n),n){let r=n.parent;for(;r&&r.parent;)Jt(r.parent.vnode)&&Al(i,t,n,r),r=r.parent}}function Al(e,t,n,i){const r=Hn(t,e,i,!0);$n(()=>{yi(i[t],r)},n)}function Hn(e,t,n=le,i=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;At(),Et(n);const l=Ee(t,n,e,o);return at(),jt(),l});return i?r.unshift(s):r.push(s),s}}const Be=e=>(t,n=le)=>(!Tt||e==="sp")&&Hn(e,(...i)=>t(...i),n),jl=Be("bm"),St=Be("m"),Sl=Be("bu"),Rl=Be("u"),Er=Be("bum"),$n=Be("um"),Ol=Be("sp"),Pl=Be("rtg"),Ml=Be("rtc");function Fl(e,t=le){Hn("ec",e,t)}function qc(e,t,n,i){let r;const s=n&&n[i];if(B(e)||ne(e)){r=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,s&&s[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,a=o.length;lTn(t)?!(t.type===be||t.type===ge&&!Tr(t.children)):!0)?e:null}function zc(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:dn(i)]=e[i];return n}const ci=e=>e?Ur(e)?Un(e)||e.proxy:ci(e.parent):null,Lt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ci(e.parent),$root:e=>ci(e.root),$emit:e=>e.emit,$options:e=>Ni(e),$forceUpdate:e=>e.f||(e.f=()=>In(e.update)),$nextTick:e=>e.n||(e.n=Fn.bind(e.proxy)),$watch:e=>bl.bind(e)}),Yn=(e,t)=>e!==te&&!e.__isScriptSetup&&X(e,t),Il={get({_:e},t){const{ctx:n,setupState:i,data:r,props:s,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return i[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Yn(i,t))return o[t]=1,i[t];if(r!==te&&X(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&X(c,t))return o[t]=3,s[t];if(n!==te&&X(n,t))return o[t]=4,n[t];fi&&(o[t]=0)}}const u=Lt[t];let d,g;if(u)return t==="$attrs"&&xe(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==te&&X(n,t))return o[t]=4,n[t];if(g=a.config.globalProperties,X(g,t))return g[t]},set({_:e},t,n){const{data:i,setupState:r,ctx:s}=e;return Yn(r,t)?(r[t]=n,!0):i!==te&&X(i,t)?(i[t]=n,!0):X(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:s}},o){let l;return!!n[o]||e!==te&&X(e,o)||Yn(t,o)||(l=s[0])&&X(l,o)||X(i,o)||X(Lt,o)||X(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:X(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Yc(){return Ll().slots}function Ll(){const e=Bn();return e.setupContext||(e.setupContext=Wr(e))}function ls(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fi=!0;function kl(e){const t=Ni(e),n=e.proxy,i=e.ctx;fi=!1,t.beforeCreate&&as(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:d,mounted:g,beforeUpdate:b,updated:w,activated:E,deactivated:I,beforeDestroy:K,beforeUnmount:L,destroyed:x,unmounted:m,render:M,renderTracked:U,renderTriggered:$,errorCaptured:R,serverPrefetch:T,expose:j,inheritAttrs:W,components:O,directives:z,filters:oe}=t;if(c&&Nl(c,i,null),o)for(const J in o){const D=o[J];q(D)&&(i[J]=D.bind(n))}if(r){const J=r.call(n,n);ee(J)&&(e.data=Pn(J))}if(fi=!0,s)for(const J in s){const D=s[J],ke=q(D)?D.bind(n,n):q(D.get)?D.get.bind(n,n):Ie,Xt=!q(D)&&q(D.set)?D.set.bind(n):Ie,Ge=ie({get:ke,set:Xt});Object.defineProperty(i,J,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Oe=>Ge.value=Oe})}if(l)for(const J in l)Ar(l[J],i,n,J);if(a){const J=q(a)?a.call(n):a;Reflect.ownKeys(J).forEach(D=>{Kl(D,J[D])})}u&&as(u,e,"c");function k(J,D){B(D)?D.forEach(ke=>J(ke.bind(n))):D&&J(D.bind(n))}if(k(jl,d),k(St,g),k(Sl,b),k(Rl,w),k(El,E),k(Tl,I),k(Fl,R),k(Ml,U),k(Pl,$),k(Er,L),k($n,m),k(Ol,T),B(j))if(j.length){const J=e.exposed||(e.exposed={});j.forEach(D=>{Object.defineProperty(J,D,{get:()=>n[D],set:ke=>n[D]=ke})})}else e.exposed||(e.exposed={});M&&e.render===Ie&&(e.render=M),W!=null&&(e.inheritAttrs=W),O&&(e.components=O),z&&(e.directives=z)}function Nl(e,t,n=Ie){B(e)&&(e=ui(e));for(const i in e){const r=e[i];let s;ee(r)?"default"in r?s=_t(r.from||i,r.default,!0):s=_t(r.from||i):s=_t(r),ae(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[i]=s}}function as(e,t,n){Ee(B(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ar(e,t,n,i){const r=i.includes(".")?yr(n,i):()=>n[i];if(ne(e)){const s=t[e];q(s)&&Xe(r,s)}else if(q(e))Xe(r,e.bind(n));else if(ee(e))if(B(e))e.forEach(s=>Ar(s,t,n,i));else{const s=q(e.handler)?e.handler.bind(n):t[e.handler];q(s)&&Xe(r,s,e)}}function Ni(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,l=s.get(t);let a;return l?a=l:!r.length&&!n&&!i?a=t:(a={},r.length&&r.forEach(c=>wn(a,c,o,!0)),wn(a,t,o)),ee(t)&&s.set(t,a),a}function wn(e,t,n,i=!1){const{mixins:r,extends:s}=t;s&&wn(e,s,n,!0),r&&r.forEach(o=>wn(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const l=Hl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Hl={data:cs,props:fs,emits:fs,methods:Mt,computed:Mt,beforeCreate:me,created:me,beforeMount:me,mounted:me,beforeUpdate:me,updated:me,beforeDestroy:me,beforeUnmount:me,destroyed:me,unmounted:me,activated:me,deactivated:me,errorCaptured:me,serverPrefetch:me,components:Mt,directives:Mt,watch:Dl,provide:cs,inject:$l};function cs(e,t){return t?e?function(){return fe(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function $l(e,t){return Mt(ui(e),ui(t))}function ui(e){if(B(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(i&&i.proxy):t}}function Wl(e,t,n,i=!1){const r={},s={};xn(s,Dn,1),e.propsDefaults=Object.create(null),Sr(e,t,r,s);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=i?r:Qo(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function ql(e,t,n,i){const{props:r,attrs:s,vnode:{patchFlag:o}}=e,l=Q(r),[a]=e.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[g,b]=Rr(d,t,!0);fe(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!a)return ee(e)&&i.set(e,gt),gt;if(B(s))for(let u=0;u-1,b[1]=E<0||w-1||X(b,"default"))&&l.push(d)}}}const c=[o,l];return ee(e)&&i.set(e,c),c}function us(e){return e[0]!=="$"}function ps(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ds(e,t){return ps(e)===ps(t)}function ms(e,t){return B(t)?t.findIndex(n=>ds(n,e)):q(t)&&ds(t,e)?0:-1}const Or=e=>e[0]==="_"||e==="$stable",Hi=e=>B(e)?e.map(Ae):[Ae(e)],Vl=(e,t,n)=>{if(t._n)return t;const i=ml((...r)=>Hi(t(...r)),n);return i._c=!1,i},Pr=(e,t,n)=>{const i=e._ctx;for(const r in e){if(Or(r))continue;const s=e[r];if(q(s))t[r]=Vl(r,s,i);else if(s!=null){const o=Hi(s);t[r]=()=>o}}},Mr=(e,t)=>{const n=Hi(t);e.slots.default=()=>n},zl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),xn(t,"_",n)):Pr(t,e.slots={})}else e.slots={},t&&Mr(e,t);xn(e.slots,Dn,1)},Yl=(e,t,n)=>{const{vnode:i,slots:r}=e;let s=!0,o=te;if(i.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(fe(r,t),!n&&l===1&&delete r._):(s=!t.$stable,Pr(t,r)),o=t}else t&&(Mr(e,t),o={default:1});if(s)for(const l in r)!Or(l)&&o[l]==null&&delete r[l]};function En(e,t,n,i,r=!1){if(B(e)){e.forEach((g,b)=>En(g,t&&(B(t)?t[b]:t),n,i,r));return}if(bt(i)&&!r)return;const s=i.shapeFlag&4?Un(i.component)||i.component.proxy:i.el,o=r?null:s,{i:l,r:a}=e,c=t&&t.r,u=l.refs===te?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==a&&(ne(c)?(u[c]=null,X(d,c)&&(d[c]=null)):ae(c)&&(c.value=null)),q(a))Je(a,l,12,[o,u]);else{const g=ne(a),b=ae(a);if(g||b){const w=()=>{if(e.f){const E=g?X(d,a)?d[a]:u[a]:a.value;r?B(E)&&yi(E,s):B(E)?E.includes(s)||E.push(s):g?(u[a]=[s],X(d,a)&&(d[a]=u[a])):(a.value=[s],e.k&&(u[e.k]=a.value))}else g?(u[a]=o,X(d,a)&&(d[a]=o)):b&&(a.value=o,e.k&&(u[e.k]=o))};o?(w.id=-1,he(w,n)):w()}}}let Ke=!1;const on=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",ln=e=>e.nodeType===8;function Jl(e){const{mt:t,p:n,o:{patchProp:i,createText:r,nextSibling:s,parentNode:o,remove:l,insert:a,createComment:c}}=e,u=(x,m)=>{if(!m.hasChildNodes()){n(null,x,m),bn(),m._vnode=x;return}Ke=!1,d(m.firstChild,x,null,null,null),bn(),m._vnode=x,Ke&&console.error("Hydration completed but contains mismatches.")},d=(x,m,M,U,$,R=!1)=>{const T=ln(x)&&x.data==="[",j=()=>E(x,m,M,U,$,T),{type:W,ref:O,shapeFlag:z,patchFlag:oe}=m;let ue=x.nodeType;m.el=x,oe===-2&&(R=!1,m.dynamicChildren=null);let k=null;switch(W){case Ct:ue!==3?m.children===""?(a(m.el=r(""),o(x),x),k=x):k=j():(x.data!==m.children&&(Ke=!0,x.data=m.children),k=s(x));break;case be:L(x)?(k=s(x),K(m.el=x.content.firstChild,x,M)):ue!==8||T?k=j():k=s(x);break;case Nt:if(T&&(x=s(x),ue=x.nodeType),ue===1||ue===3){k=x;const J=!m.children.length;for(let D=0;D{R=R||!!m.dynamicChildren;const{type:T,props:j,patchFlag:W,shapeFlag:O,dirs:z,transition:oe}=m,ue=T==="input"&&z||T==="option";if(ue||W!==-1){if(z&&Me(m,null,M,"created"),j)if(ue||!R||W&48)for(const D in j)(ue&&D.endsWith("value")||zt(D)&&!Ft(D))&&i(x,D,null,j[D],!1,void 0,M);else j.onClick&&i(x,"onClick",null,j.onClick,!1,void 0,M);let k;(k=j&&j.onVnodeBeforeMount)&&we(k,M,m);let J=!1;if(L(x)){J=Ir(U,oe)&&M&&M.vnode.props&&M.vnode.props.appear;const D=x.content.firstChild;J&&oe.beforeEnter(D),K(D,x,M),m.el=x=D}if(z&&Me(m,null,M,"beforeMount"),((k=j&&j.onVnodeMounted)||z||J)&&vr(()=>{k&&we(k,M,m),J&&oe.enter(x),z&&Me(m,null,M,"mounted")},U),O&16&&!(j&&(j.innerHTML||j.textContent))){let D=b(x.firstChild,m,x,M,U,$,R);for(;D;){Ke=!0;const ke=D;D=D.nextSibling,l(ke)}}else O&8&&x.textContent!==m.children&&(Ke=!0,x.textContent=m.children)}return x.nextSibling},b=(x,m,M,U,$,R,T)=>{T=T||!!m.dynamicChildren;const j=m.children,W=j.length;for(let O=0;O{const{slotScopeIds:T}=m;T&&($=$?$.concat(T):T);const j=o(x),W=b(s(x),m,j,M,U,$,R);return W&&ln(W)&&W.data==="]"?s(m.anchor=W):(Ke=!0,a(m.anchor=c("]"),j,W),W)},E=(x,m,M,U,$,R)=>{if(Ke=!0,m.el=null,R){const W=I(x);for(;;){const O=s(x);if(O&&O!==W)l(O);else break}}const T=s(x),j=o(x);return l(x),n(null,m,j,T,M,U,on(j),$),T},I=(x,m="[",M="]")=>{let U=0;for(;x;)if(x=s(x),x&&ln(x)&&(x.data===m&&U++,x.data===M)){if(U===0)return s(x);U--}return x},K=(x,m,M)=>{const U=m.parentNode;U&&U.replaceChild(x,m);let $=M;for(;$;)$.vnode.el===m&&($.vnode.el=$.subTree.el=x),$=$.parent},L=x=>x.nodeType===1&&x.tagName.toLowerCase()==="template";return[u,d]}const he=vr;function Xl(e){return Fr(e)}function Ql(e){return Fr(e,Jl)}function Fr(e,t){const n=ni();n.__VUE__=!0;const{insert:i,remove:r,patchProp:s,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:g,setScopeId:b=Ie,insertStaticContent:w}=e,E=(f,p,h,v=null,y=null,A=null,P=!1,C=null,S=!!p.dynamicChildren)=>{if(f===p)return;f&&!st(f,p)&&(v=Qt(f),Oe(f,y,A,!0),f=null),p.patchFlag===-2&&(S=!1,p.dynamicChildren=null);const{type:_,ref:N,shapeFlag:F}=p;switch(_){case Ct:I(f,p,h,v);break;case be:K(f,p,h,v);break;case Nt:f==null&&L(p,h,v,P);break;case ge:O(f,p,h,v,y,A,P,C,S);break;default:F&1?M(f,p,h,v,y,A,P,C,S):F&6?z(f,p,h,v,y,A,P,C,S):(F&64||F&128)&&_.process(f,p,h,v,y,A,P,C,S,pt)}N!=null&&y&&En(N,f&&f.ref,A,p||f,!p)},I=(f,p,h,v)=>{if(f==null)i(p.el=l(p.children),h,v);else{const y=p.el=f.el;p.children!==f.children&&c(y,p.children)}},K=(f,p,h,v)=>{f==null?i(p.el=a(p.children||""),h,v):p.el=f.el},L=(f,p,h,v)=>{[f.el,f.anchor]=w(f.children,p,h,v,f.el,f.anchor)},x=({el:f,anchor:p},h,v)=>{let y;for(;f&&f!==p;)y=g(f),i(f,h,v),f=y;i(p,h,v)},m=({el:f,anchor:p})=>{let h;for(;f&&f!==p;)h=g(f),r(f),f=h;r(p)},M=(f,p,h,v,y,A,P,C,S)=>{P=P||p.type==="svg",f==null?U(p,h,v,y,A,P,C,S):T(f,p,y,A,P,C,S)},U=(f,p,h,v,y,A,P,C)=>{let S,_;const{type:N,props:F,shapeFlag:H,transition:V,dirs:Y}=f;if(S=f.el=o(f.type,A,F&&F.is,F),H&8?u(S,f.children):H&16&&R(f.children,S,null,v,y,A&&N!=="foreignObject",P,C),Y&&Me(f,null,v,"created"),$(S,f,f.scopeId,P,v),F){for(const Z in F)Z!=="value"&&!Ft(Z)&&s(S,Z,null,F[Z],A,f.children,v,y,Ne);"value"in F&&s(S,"value",null,F.value),(_=F.onVnodeBeforeMount)&&we(_,v,f)}Y&&Me(f,null,v,"beforeMount");const G=Ir(y,V);G&&V.beforeEnter(S),i(S,p,h),((_=F&&F.onVnodeMounted)||G||Y)&&he(()=>{_&&we(_,v,f),G&&V.enter(S),Y&&Me(f,null,v,"mounted")},y)},$=(f,p,h,v,y)=>{if(h&&b(f,h),v)for(let A=0;A{for(let _=S;_{const C=p.el=f.el;let{patchFlag:S,dynamicChildren:_,dirs:N}=p;S|=f.patchFlag&16;const F=f.props||te,H=p.props||te;let V;h&&et(h,!1),(V=H.onVnodeBeforeUpdate)&&we(V,h,p,f),N&&Me(p,f,h,"beforeUpdate"),h&&et(h,!0);const Y=y&&p.type!=="foreignObject";if(_?j(f.dynamicChildren,_,C,h,v,Y,A):P||D(f,p,C,null,h,v,Y,A,!1),S>0){if(S&16)W(C,p,F,H,h,v,y);else if(S&2&&F.class!==H.class&&s(C,"class",null,H.class,y),S&4&&s(C,"style",F.style,H.style,y),S&8){const G=p.dynamicProps;for(let Z=0;Z{V&&we(V,h,p,f),N&&Me(p,f,h,"updated")},v)},j=(f,p,h,v,y,A,P)=>{for(let C=0;C{if(h!==v){if(h!==te)for(const C in h)!Ft(C)&&!(C in v)&&s(f,C,h[C],null,P,p.children,y,A,Ne);for(const C in v){if(Ft(C))continue;const S=v[C],_=h[C];S!==_&&C!=="value"&&s(f,C,_,S,P,p.children,y,A,Ne)}"value"in v&&s(f,"value",h.value,v.value)}},O=(f,p,h,v,y,A,P,C,S)=>{const _=p.el=f?f.el:l(""),N=p.anchor=f?f.anchor:l("");let{patchFlag:F,dynamicChildren:H,slotScopeIds:V}=p;V&&(C=C?C.concat(V):V),f==null?(i(_,h,v),i(N,h,v),R(p.children,h,N,y,A,P,C,S)):F>0&&F&64&&H&&f.dynamicChildren?(j(f.dynamicChildren,H,h,y,A,P,C),(p.key!=null||y&&p===y.subTree)&&$i(f,p,!0)):D(f,p,h,N,y,A,P,C,S)},z=(f,p,h,v,y,A,P,C,S)=>{p.slotScopeIds=C,f==null?p.shapeFlag&512?y.ctx.activate(p,h,v,P,S):oe(p,h,v,y,A,P,S):ue(f,p,S)},oe=(f,p,h,v,y,A,P)=>{const C=f.component=aa(f,v,y);if(Jt(f)&&(C.ctx.renderer=pt),ca(C),C.asyncDep){if(y&&y.registerDep(C,k),!f.el){const S=C.subTree=se(be);K(null,S,p,h)}return}k(C,f,p,h,y,A,P)},ue=(f,p,h)=>{const v=p.component=f.component;if(xl(f,p,h))if(v.asyncDep&&!v.asyncResolved){J(v,p,h);return}else v.next=p,fl(v.update),v.update();else p.el=f.el,v.vnode=p},k=(f,p,h,v,y,A,P)=>{const C=()=>{if(f.isMounted){let{next:N,bu:F,u:H,parent:V,vnode:Y}=f,G=N,Z;et(f,!1),N?(N.el=Y.el,J(f,N,P)):N=Y,F&&mn(F),(Z=N.props&&N.props.onVnodeBeforeUpdate)&&we(Z,V,N,Y),et(f,!0);const re=qn(f),Te=f.subTree;f.subTree=re,E(Te,re,d(Te.el),Qt(Te),f,y,A),N.el=re.el,G===null&&vl(f,re.el),H&&he(H,y),(Z=N.props&&N.props.onVnodeUpdated)&&he(()=>we(Z,V,N,Y),y)}else{let N;const{el:F,props:H}=p,{bm:V,m:Y,parent:G}=f,Z=bt(p);if(et(f,!1),V&&mn(V),!Z&&(N=H&&H.onVnodeBeforeMount)&&we(N,G,p),et(f,!0),F&&Wn){const re=()=>{f.subTree=qn(f),Wn(F,f.subTree,f,y,null)};Z?p.type.__asyncLoader().then(()=>!f.isUnmounted&&re()):re()}else{const re=f.subTree=qn(f);E(null,re,h,v,f,y,A),p.el=re.el}if(Y&&he(Y,y),!Z&&(N=H&&H.onVnodeMounted)){const re=p;he(()=>we(N,G,re),y)}(p.shapeFlag&256||G&&bt(G.vnode)&&G.vnode.shapeFlag&256)&&f.a&&he(f.a,y),f.isMounted=!0,p=h=v=null}},S=f.effect=new Ei(C,()=>In(_),f.scope),_=f.update=()=>S.run();_.id=f.uid,et(f,!0),_()},J=(f,p,h)=>{p.component=f;const v=f.vnode.props;f.vnode=p,f.next=null,ql(f,p.props,v,h),Yl(f,p.children,h),At(),is(),jt()},D=(f,p,h,v,y,A,P,C,S=!1)=>{const _=f&&f.children,N=f?f.shapeFlag:0,F=p.children,{patchFlag:H,shapeFlag:V}=p;if(H>0){if(H&128){Xt(_,F,h,v,y,A,P,C,S);return}else if(H&256){ke(_,F,h,v,y,A,P,C,S);return}}V&8?(N&16&&Ne(_,y,A),F!==_&&u(h,F)):N&16?V&16?Xt(_,F,h,v,y,A,P,C,S):Ne(_,y,A,!0):(N&8&&u(h,""),V&16&&R(F,h,v,y,A,P,C,S))},ke=(f,p,h,v,y,A,P,C,S)=>{f=f||gt,p=p||gt;const _=f.length,N=p.length,F=Math.min(_,N);let H;for(H=0;HN?Ne(f,y,A,!0,!1,F):R(p,h,v,y,A,P,C,S,F)},Xt=(f,p,h,v,y,A,P,C,S)=>{let _=0;const N=p.length;let F=f.length-1,H=N-1;for(;_<=F&&_<=H;){const V=f[_],Y=p[_]=S?ze(p[_]):Ae(p[_]);if(st(V,Y))E(V,Y,h,null,y,A,P,C,S);else break;_++}for(;_<=F&&_<=H;){const V=f[F],Y=p[H]=S?ze(p[H]):Ae(p[H]);if(st(V,Y))E(V,Y,h,null,y,A,P,C,S);else break;F--,H--}if(_>F){if(_<=H){const V=H+1,Y=VH)for(;_<=F;)Oe(f[_],y,A,!0),_++;else{const V=_,Y=_,G=new Map;for(_=Y;_<=H;_++){const ve=p[_]=S?ze(p[_]):Ae(p[_]);ve.key!=null&&G.set(ve.key,_)}let Z,re=0;const Te=H-Y+1;let dt=!1,Vi=0;const Rt=new Array(Te);for(_=0;_=Te){Oe(ve,y,A,!0);continue}let Pe;if(ve.key!=null)Pe=G.get(ve.key);else for(Z=Y;Z<=H;Z++)if(Rt[Z-Y]===0&&st(ve,p[Z])){Pe=Z;break}Pe===void 0?Oe(ve,y,A,!0):(Rt[Pe-Y]=_+1,Pe>=Vi?Vi=Pe:dt=!0,E(ve,p[Pe],h,null,y,A,P,C,S),re++)}const zi=dt?Zl(Rt):gt;for(Z=zi.length-1,_=Te-1;_>=0;_--){const ve=Y+_,Pe=p[ve],Yi=ve+1{const{el:A,type:P,transition:C,children:S,shapeFlag:_}=f;if(_&6){Ge(f.component.subTree,p,h,v);return}if(_&128){f.suspense.move(p,h,v);return}if(_&64){P.move(f,p,h,pt);return}if(P===ge){i(A,p,h);for(let F=0;FC.enter(A),y);else{const{leave:F,delayLeave:H,afterLeave:V}=C,Y=()=>i(A,p,h),G=()=>{F(A,()=>{Y(),V&&V()})};H?H(A,Y,G):G()}else i(A,p,h)},Oe=(f,p,h,v=!1,y=!1)=>{const{type:A,props:P,ref:C,children:S,dynamicChildren:_,shapeFlag:N,patchFlag:F,dirs:H}=f;if(C!=null&&En(C,null,h,f,!0),N&256){p.ctx.deactivate(f);return}const V=N&1&&H,Y=!bt(f);let G;if(Y&&(G=P&&P.onVnodeBeforeUnmount)&&we(G,p,f),N&6)po(f.component,h,v);else{if(N&128){f.suspense.unmount(h,v);return}V&&Me(f,null,p,"beforeUnmount"),N&64?f.type.remove(f,p,h,y,pt,v):_&&(A!==ge||F>0&&F&64)?Ne(_,p,h,!1,!0):(A===ge&&F&384||!y&&N&16)&&Ne(S,p,h),v&&Wi(f)}(Y&&(G=P&&P.onVnodeUnmounted)||V)&&he(()=>{G&&we(G,p,f),V&&Me(f,null,p,"unmounted")},h)},Wi=f=>{const{type:p,el:h,anchor:v,transition:y}=f;if(p===ge){uo(h,v);return}if(p===Nt){m(f);return}const A=()=>{r(h),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:C}=y,S=()=>P(h,A);C?C(f.el,A,S):S()}else A()},uo=(f,p)=>{let h;for(;f!==p;)h=g(f),r(f),f=h;r(p)},po=(f,p,h)=>{const{bum:v,scope:y,update:A,subTree:P,um:C}=f;v&&mn(v),y.stop(),A&&(A.active=!1,Oe(P,f,p,h)),C&&he(C,p),he(()=>{f.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},Ne=(f,p,h,v=!1,y=!1,A=0)=>{for(let P=A;Pf.shapeFlag&6?Qt(f.component.subTree):f.shapeFlag&128?f.suspense.next():g(f.anchor||f.el),qi=(f,p,h)=>{f==null?p._vnode&&Oe(p._vnode,null,null,!0):E(p._vnode||null,f,p,null,null,null,h),is(),bn(),p._vnode=f},pt={p:E,um:Oe,m:Ge,r:Wi,mt:oe,mc:R,pc:D,pbc:j,n:Qt,o:e};let Kn,Wn;return t&&([Kn,Wn]=t(pt)),{render:qi,hydrate:Kn,createApp:Ul(qi,Kn)}}function et({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ir(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $i(e,t,n=!1){const i=e.children,r=t.children;if(B(i)&&B(r))for(let s=0;s>1,e[n[l]]0&&(t[i]=n[s-1]),n[s]=i)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}const Gl=e=>e.__isTeleport,kt=e=>e&&(e.disabled||e.disabled===""),hs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,di=(e,t)=>{const n=e&&e.to;return ne(n)?t?t(n):null:n},ea={__isTeleport:!0,process(e,t,n,i,r,s,o,l,a,c){const{mc:u,pc:d,pbc:g,o:{insert:b,querySelector:w,createText:E,createComment:I}}=c,K=kt(t.props);let{shapeFlag:L,children:x,dynamicChildren:m}=t;if(e==null){const M=t.el=E(""),U=t.anchor=E("");b(M,n,i),b(U,n,i);const $=t.target=di(t.props,w),R=t.targetAnchor=E("");$&&(b(R,$),o=o||hs($));const T=(j,W)=>{L&16&&u(x,j,W,r,s,o,l,a)};K?T(n,U):$&&T($,R)}else{t.el=e.el;const M=t.anchor=e.anchor,U=t.target=e.target,$=t.targetAnchor=e.targetAnchor,R=kt(e.props),T=R?n:U,j=R?M:$;if(o=o||hs(U),m?(g(e.dynamicChildren,m,T,r,s,o,l),$i(e,t,!0)):a||d(e,t,T,j,r,s,o,l,!1),K)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):an(t,n,M,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=di(t.props,w);W&&an(t,W,null,c,0)}else R&&an(t,U,$,c,1)}Lr(t)},remove(e,t,n,i,{um:r,o:{remove:s}},o){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:d,props:g}=e;if(d&&s(u),o&&s(c),l&16){const b=o||!kt(g);for(let w=0;w0?Se||gt:null,na(),Kt>0&&Se&&Se.push(e),e}function Xc(e,t,n,i,r,s){return Nr(Dr(e,t,n,i,r,s,!0))}function Hr(e,t,n,i,r){return Nr(se(e,t,n,i,r,!0))}function Tn(e){return e?e.__v_isVNode===!0:!1}function st(e,t){return e.type===t.type&&e.key===t.key}const Dn="__vInternal",$r=({key:e})=>e??null,hn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||ae(e)||q(e)?{i:pe,r:e,k:t,f:!!n}:e:null);function Dr(e,t=null,n=null,i=0,r=null,s=e===ge?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$r(t),ref:t&&hn(t),scopeId:kn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:pe};return l?(Di(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=ne(n)?8:16),Kt>0&&!o&&Se&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Se.push(a),a}const se=ia;function ia(e,t=null,n=null,i=0,r=null,s=!1){if((!e||e===gr)&&(e=be),Tn(e)){const l=Ze(e,t,!0);return n&&Di(l,n),Kt>0&&!s&&Se&&(l.shapeFlag&6?Se[Se.indexOf(e)]=l:Se.push(l)),l.patchFlag|=-2,l}if(da(e)&&(e=e.__vccOpts),t){t=sa(t);let{class:l,style:a}=t;l&&!ne(l)&&(t.class=wi(l)),ee(a)&&(cr(a)&&!B(a)&&(a=fe({},a)),t.style=_i(a))}const o=ne(e)?1:yl(e)?128:Gl(e)?64:ee(e)?4:q(e)?2:0;return Dr(e,t,n,i,r,o,s,!0)}function sa(e){return e?cr(e)||Dn in e?fe({},e):e:null}function Ze(e,t,n=!1){const{props:i,ref:r,patchFlag:s,children:o}=e,l=t?ra(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&$r(l),ref:t&&t.ref?n&&r?B(r)?r.concat(hn(t)):[r,hn(t)]:hn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ze(e.ssContent),ssFallback:e.ssFallback&&Ze(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Br(e=" ",t=0){return se(Ct,null,e,t)}function Qc(e,t){const n=se(Nt,null,e);return n.staticCount=t,n}function Zc(e="",t=!1){return t?(kr(),Hr(be,null,e)):se(be,null,e)}function Ae(e){return e==null||typeof e=="boolean"?se(be):B(e)?se(ge,null,e.slice()):typeof e=="object"?ze(e):se(Ct,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ze(e)}function Di(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(i&65){const r=t.default;r&&(r._c&&(r._d=!1),Di(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Dn in t)?t._ctx=pe:r===3&&pe&&(pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:pe},n=32):(t=String(t),i&64?(n=16,t=[Br(t)]):n=8);e.children=t,e.shapeFlag|=n}function ra(...e){const t={};for(let n=0;nle||pe;let Bi,mt,xs="__VUE_INSTANCE_SETTERS__";(mt=ni()[xs])||(mt=ni()[xs]=[]),mt.push(e=>le=e),Bi=e=>{mt.length>1?mt.forEach(t=>t(e)):mt[0](e)};const Et=e=>{Bi(e),e.scope.on()},at=()=>{le&&le.scope.off(),Bi(null)};function Ur(e){return e.vnode.shapeFlag&4}let Tt=!1;function ca(e,t=!1){Tt=t;const{props:n,children:i}=e.vnode,r=Ur(e);Wl(e,n,r,t),zl(e,i);const s=r?fa(e,t):void 0;return Tt=!1,s}function fa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=It(new Proxy(e.ctx,Il));const{setup:i}=n;if(i){const r=e.setupContext=i.length>1?Wr(e):null;Et(e),At();const s=Je(i,e,0,[e.props,r]);if(jt(),at(),zs(s)){if(s.then(at,at),t)return s.then(o=>{vs(e,o,t)}).catch(o=>{Yt(o,e,0)});e.asyncDep=s}else vs(e,s,t)}else Kr(e,t)}function vs(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=ur(t)),Kr(e,n)}let ys;function Kr(e,t,n){const i=e.type;if(!e.render){if(!t&&ys&&!i.render){const r=i.template||Ni(e).template;if(r){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=i,c=fe(fe({isCustomElement:s,delimiters:l},o),a);i.render=ys(r,c)}}e.render=i.render||Ie}{Et(e),At();try{kl(e)}finally{jt(),at()}}}function ua(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return xe(e,"get","$attrs"),t[n]}}))}function Wr(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return ua(e)},slots:e.slots,emit:e.emit,expose:t}}function Un(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ur(It(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Lt)return Lt[n](e)},has(t,n){return n in t||n in Lt}}))}function pa(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function da(e){return q(e)&&"__vccOpts"in e}const ie=(e,t)=>ll(e,t,Tt);function mi(e,t,n){const i=arguments.length;return i===2?ee(t)&&!B(t)?Tn(t)?se(e,null,[t]):se(e,t):se(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Tn(n)&&(n=[n]),se(e,t,n))}const ma=Symbol.for("v-scx"),ha=()=>_t(ma),ga="3.3.8",xa="http://www.w3.org/2000/svg",rt=typeof document<"u"?document:null,bs=rt&&rt.createElement("template"),va={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const r=t?rt.createElementNS(xa,e):rt.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,r,s){const o=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{bs.innerHTML=i?`${e}`:e;const l=bs.content;if(i){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},We="transition",Ot="animation",Wt=Symbol("_vtc"),qr=(e,{slots:t})=>mi(Cl,ya(e),t);qr.displayName="Transition";const Vr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};qr.props=fe({},br,Vr);const tt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},_s=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function ya(e){const t={};for(const O in e)O in Vr||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:i,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,w=ba(r),E=w&&w[0],I=w&&w[1],{onBeforeEnter:K,onEnter:L,onEnterCancelled:x,onLeave:m,onLeaveCancelled:M,onBeforeAppear:U=K,onAppear:$=L,onAppearCancelled:R=x}=t,T=(O,z,oe)=>{nt(O,z?u:l),nt(O,z?c:o),oe&&oe()},j=(O,z)=>{O._isLeaving=!1,nt(O,d),nt(O,b),nt(O,g),z&&z()},W=O=>(z,oe)=>{const ue=O?$:L,k=()=>T(z,O,oe);tt(ue,[z,k]),ws(()=>{nt(z,O?a:s),qe(z,O?u:l),_s(ue)||Cs(z,i,E,k)})};return fe(t,{onBeforeEnter(O){tt(K,[O]),qe(O,s),qe(O,o)},onBeforeAppear(O){tt(U,[O]),qe(O,a),qe(O,c)},onEnter:W(!1),onAppear:W(!0),onLeave(O,z){O._isLeaving=!0;const oe=()=>j(O,z);qe(O,d),Ca(),qe(O,g),ws(()=>{O._isLeaving&&(nt(O,d),qe(O,b),_s(m)||Cs(O,i,I,oe))}),tt(m,[O,oe])},onEnterCancelled(O){T(O,!1),tt(x,[O])},onAppearCancelled(O){T(O,!0),tt(R,[O])},onLeaveCancelled(O){j(O),tt(M,[O])}})}function ba(e){if(e==null)return null;if(ee(e))return[Jn(e.enter),Jn(e.leave)];{const t=Jn(e);return[t,t]}}function Jn(e){return bo(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Wt]||(e[Wt]=new Set)).add(t)}function nt(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[Wt];n&&(n.delete(t),n.size||(e[Wt]=void 0))}function ws(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _a=0;function Cs(e,t,n,i){const r=e._endId=++_a,s=()=>{r===e._endId&&i()};if(n)return setTimeout(s,n);const{type:o,timeout:l,propCount:a}=wa(e,t);if(!o)return i();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,g),s()},g=b=>{b.target===e&&++u>=a&&d()};setTimeout(()=>{u(n[w]||"").split(", "),r=i(`${We}Delay`),s=i(`${We}Duration`),o=Es(r,s),l=i(`${Ot}Delay`),a=i(`${Ot}Duration`),c=Es(l,a);let u=null,d=0,g=0;t===We?o>0&&(u=We,d=o,g=s.length):t===Ot?c>0&&(u=Ot,d=c,g=a.length):(d=Math.max(o,c),u=d>0?o>c?We:Ot:null,g=u?u===We?s.length:a.length:0);const b=u===We&&/\b(transform|all)(,|$)/.test(i(`${We}Property`).toString());return{type:u,timeout:d,propCount:g,hasTransform:b}}function Es(e,t){for(;e.lengthTs(n)+Ts(e[i])))}function Ts(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ca(){return document.body.offsetHeight}function Ea(e,t,n){const i=e[Wt];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ta=Symbol("_vod");function Aa(e,t,n){const i=e.style,r=ne(n);if(n&&!r){if(t&&!ne(t))for(const s in t)n[s]==null&&hi(i,s,"");for(const s in n)hi(i,s,n[s])}else{const s=i.display;r?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),Ta in e&&(i.display=s)}}const As=/\s*!important$/;function hi(e,t,n){if(B(n))n.forEach(i=>hi(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=ja(e,t);As.test(n)?e.setProperty(ut(i),n.replace(As,""),"important"):e[i]=n}}const js=["Webkit","Moz","ms"],Xn={};function ja(e,t){const n=Xn[t];if(n)return n;let i=Le(t);if(i!=="filter"&&i in e)return Xn[t]=i;i=Rn(i);for(let r=0;rQn||(Fa.then(()=>Qn=0),Qn=Date.now());function La(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Ee(ka(i,n.value),t,5,[i])};return n.value=e,n.attached=Ia(),n}function ka(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>r=>!r._stopped&&i&&i(r))}else return t}const Ps=/^on[a-z]/,Na=(e,t,n,i,r=!1,s,o,l,a)=>{t==="class"?Ea(e,i,r):t==="style"?Aa(e,n,i):zt(t)?vi(t)||Pa(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ha(e,t,i,r))?Ra(e,t,i,s,o,l,a):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Sa(e,t,i,r))};function Ha(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&Ps.test(t)&&q(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ps.test(t)&&ne(n)?!1:t in e}const Ms=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>mn(t,n):t};function $a(e){e.target.composing=!0}function Fs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Zn=Symbol("_assign"),Gc={created(e,{modifiers:{lazy:t,trim:n,number:i}},r){e[Zn]=Ms(r);const s=i||r.props&&r.props.type==="number";ht(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),s&&(l=ti(l)),e[Zn](l)}),n&&ht(e,"change",()=>{e.value=e.value.trim()}),t||(ht(e,"compositionstart",$a),ht(e,"compositionend",Fs),ht(e,"change",Fs))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:r}},s){if(e[Zn]=Ms(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||i&&e.value.trim()===t||(r||e.type==="number")&&ti(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},Da=["ctrl","shift","alt","meta"],Ba={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Da.some(n=>e[`${n}Key`]&&!t.includes(n))},ef=(e,t)=>(n,...i)=>{for(let r=0;rn=>{if(!("key"in n))return;const i=ut(n.key);if(t.some(r=>r===i||Ua[r]===i))return e(n)},zr=fe({patchProp:Na},va);let $t,Is=!1;function Ka(){return $t||($t=Xl(zr))}function Wa(){return $t=Is?$t:Ql(zr),Is=!0,$t}const nf=(...e)=>{const t=Ka().createApp(...e),{mount:n}=t;return t.mount=i=>{const r=Yr(i);if(!r)return;const s=t._component;!q(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},sf=(...e)=>{const t=Wa().createApp(...e),{mount:n}=t;return t.mount=i=>{const r=Yr(i);if(r)return n(r,!0,r instanceof SVGElement)},t};function Yr(e){return ne(e)?document.querySelector(e):e}const rf=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},qa="modulepreload",Va=function(e){return"/svgicon/"+e},Ls={},of=function(t,n,i){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=Va(s),s in Ls)return;Ls[s]=!0;const o=s.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(!!i)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===s&&(!o||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${l}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":qa,o||(c.as="script",c.crossOrigin=""),c.href=s,document.head.appendChild(c),o)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},za=window.__VP_SITE_DATA__;function Ui(e){return Zs()?(Ro(e),!0):!1}function Re(e){return typeof e=="function"?e():Mi(e)}function lf(e,t){const n=(t==null?void 0:t.computedGetter)===!1?Mi:Re;return function(...i){return ie(()=>e.apply(this,i.map(r=>n(r))))}}const Jr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ya=Object.prototype.toString,Ja=e=>Ya.call(e)==="[object Object]",qt=()=>{},ks=Xa();function Xa(){var e;return Jr&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Qa(e,t){function n(...i){return new Promise((r,s)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(r).catch(s)})}return n}const Xr=e=>e();function Za(e,t={}){let n,i,r=qt;const s=l=>{clearTimeout(l),r(),r=qt};return l=>{const a=Re(e),c=Re(t.maxWait);return n&&s(n),a<=0||c!==void 0&&c<=0?(i&&(s(i),i=null),Promise.resolve(l())):new Promise((u,d)=>{r=t.rejectOnCancel?d:u,c&&!i&&(i=setTimeout(()=>{n&&s(n),i=null,u(l())},c)),n=setTimeout(()=>{i&&s(i),i=null,u(l())},a)})}}function Ga(e=Xr){const t=ce(!0);function n(){t.value=!1}function i(){t.value=!0}const r=(...s)=>{t.value&&e(...s)};return{isActive:Mn(t),pause:n,resume:i,eventFilter:r}}function Qr(...e){if(e.length!==1)return sl(...e);const t=e[0];return typeof t=="function"?Mn(tl(()=>({get:t,set:qt}))):ce(t)}function Zr(e,t,n={}){const{eventFilter:i=Xr,...r}=n;return Xe(e,Qa(i,t),r)}function ec(e,t,n={}){const{eventFilter:i,...r}=n,{eventFilter:s,pause:o,resume:l,isActive:a}=Ga(i);return{stop:Zr(e,t,{...r,eventFilter:s}),pause:o,resume:l,isActive:a}}function Gr(e,t=!0){Bn()?St(e):t?e():Fn(e)}function af(e,t,n={}){const{debounce:i=0,maxWait:r=void 0,...s}=n;return Zr(e,t,{...s,eventFilter:Za(i,{maxWait:r})})}function cf(e,t,n){let i;ae(n)?i={evaluating:n}:i=n||{};const{lazy:r=!1,evaluating:s=void 0,shallow:o=!0,onError:l=qt}=i,a=ce(!r),c=o?Pi(t):ce(t);let u=0;return Li(async d=>{if(!a.value)return;u++;const g=u;let b=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const w=await e(E=>{d(()=>{s&&(s.value=!1),b||E()})});g===u&&(c.value=w)}catch(w){l(w)}finally{s&&g===u&&(s.value=!1),b=!0}}),r?ie(()=>(a.value=!0,c.value)):c}function eo(e){var t;const n=Re(e);return(t=n==null?void 0:n.$el)!=null?t:n}const De=Jr?window:void 0;function Vt(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,r]=e,t=De):[t,n,i,r]=e,!t)return qt;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},l=(u,d,g,b)=>(u.addEventListener(d,g,b),()=>u.removeEventListener(d,g,b)),a=Xe(()=>[eo(t),Re(r)],([u,d])=>{if(o(),!u)return;const g=Ja(d)?{...d}:d;s.push(...n.flatMap(b=>i.map(w=>l(u,b,w,g))))},{immediate:!0,flush:"post"}),c=()=>{a(),o()};return Ui(c),c}function tc(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ff(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=De,eventName:s="keydown",passive:o=!1,dedupe:l=!1}=i,a=tc(t);return Vt(r,s,u=>{u.repeat&&Re(l)||a(u)&&n(u)},o)}function nc(){const e=ce(!1);return Bn()&&St(()=>{e.value=!0}),e}function ic(e){const t=nc();return ie(()=>(t.value,!!e()))}function sc(e,t={}){const{window:n=De}=t,i=ic(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const s=ce(!1),o=c=>{s.value=c.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},a=Li(()=>{i.value&&(l(),r=n.matchMedia(Re(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),s.value=r.matches)});return Ui(()=>{a(),l(),r=void 0}),s}const cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fn="__vueuse_ssr_handlers__",rc=oc();function oc(){return fn in cn||(cn[fn]=cn[fn]||{}),cn[fn]}function to(e,t){return rc[e]||t}function lc(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ac={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ns="vueuse-storage";function Ki(e,t,n,i={}){var r;const{flush:s="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:d=De,eventFilter:g,onError:b=T=>{console.error(T)},initOnMounted:w}=i,E=(u?Pi:ce)(typeof t=="function"?t():t);if(!n)try{n=to("getDefaultStorage",()=>{var T;return(T=De)==null?void 0:T.localStorage})()}catch(T){b(T)}if(!n)return E;const I=Re(t),K=lc(I),L=(r=i.serializer)!=null?r:ac[K],{pause:x,resume:m}=ec(E,()=>M(E.value),{flush:s,deep:o,eventFilter:g});return d&&l&&Gr(()=>{Vt(d,"storage",R),Vt(d,Ns,$),w&&R()}),w||R(),E;function M(T){try{if(T==null)n.removeItem(e);else{const j=L.write(T),W=n.getItem(e);W!==j&&(n.setItem(e,j),d&&d.dispatchEvent(new CustomEvent(Ns,{detail:{key:e,oldValue:W,newValue:j,storageArea:n}})))}}catch(j){b(j)}}function U(T){const j=T?T.newValue:n.getItem(e);if(j==null)return a&&I!==null&&n.setItem(e,L.write(I)),I;if(!T&&c){const W=L.read(j);return typeof c=="function"?c(W,I):K==="object"&&!Array.isArray(W)?{...I,...W}:W}else return typeof j!="string"?j:L.read(j)}function $(T){R(T.detail)}function R(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){E.value=I;return}if(!(T&&T.key!==e)){x();try{(T==null?void 0:T.newValue)!==L.write(E.value)&&(E.value=U(T))}catch(j){b(j)}finally{T?Fn(m):m()}}}}}function cc(e){return sc("(prefers-color-scheme: dark)",e)}function fc(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:r=De,storage:s,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},g=cc({window:r}),b=ie(()=>g.value?"dark":"light"),w=a||(o==null?Qr(i):Ki(o,i,s,{window:r,listenToStorageChanges:l})),E=ie(()=>w.value==="auto"?b.value:w.value),I=to("updateHTMLAttrs",(m,M,U)=>{const $=typeof m=="string"?r==null?void 0:r.document.querySelector(m):eo(m);if(!$)return;let R;if(u){R=r.document.createElement("style");const T="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";R.appendChild(document.createTextNode(T)),r.document.head.appendChild(R)}if(M==="class"){const T=U.split(/\s/g);Object.values(d).flatMap(j=>(j||"").split(/\s/g)).filter(Boolean).forEach(j=>{T.includes(j)?$.classList.add(j):$.classList.remove(j)})}else $.setAttribute(M,U);u&&(r.getComputedStyle(R).opacity,document.head.removeChild(R))});function K(m){var M;I(t,n,(M=d[m])!=null?M:m)}function L(m){e.onChanged?e.onChanged(m,K):K(m)}Xe(E,L,{flush:"post",immediate:!0}),Gr(()=>L(E.value));const x=ie({get(){return c?w.value:E.value},set(m){w.value=m}});try{return Object.assign(x,{store:w,system:b,state:E})}catch{return x}}function uc(e={}){const{valueDark:t="dark",valueLight:n=""}=e,i=fc({...e,onChanged:(s,o)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,s==="dark",o,s):o(s)},modes:{dark:t,light:n}});return ie({get(){return i.value==="dark"},set(s){const o=s?"dark":"light";i.system.value===o?i.value="auto":i.value=o}})}function Gn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function uf(e,t,n={}){const{window:i=De}=n;return Ki(e,t,i==null?void 0:i.localStorage,n)}function no(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const un=new WeakMap;function pf(e,t=!1){const n=ce(t);let i=null,r;Xe(Qr(e),l=>{const a=Gn(Re(l));if(a){const c=a;un.get(c)||un.set(c,r),n.value&&(c.style.overflow="hidden")}},{immediate:!0});const s=()=>{const l=Gn(Re(e));!l||n.value||(ks&&(i=Vt(l,"touchmove",a=>{pc(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{var l;const a=Gn(Re(e));!a||!n.value||(ks&&(i==null||i()),a.style.overflow=(l=un.get(a))!=null?l:"",un.delete(a),n.value=!1)};return Ui(o),ie({get(){return n.value},set(l){l?s():o()}})}function df(e,t,n={}){const{window:i=De}=n;return Ki(e,t,i==null?void 0:i.sessionStorage,n)}function mf(e={}){const{window:t=De,behavior:n="auto"}=e;if(!t)return{x:ce(0),y:ce(0)};const i=ce(t.scrollX),r=ce(t.scrollY),s=ie({get(){return i.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Vt(t,"scroll",()=>{i.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:o}}const io=/^(?:[a-z]+:|\/\/)/i,dc="vitepress-theme-appearance",so=/#.*$/,mc=/(index)?\.(md|html)$/,Ce=typeof document<"u",ro={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function hc(e,t,n=!1){if(t===void 0)return!1;if(e=Hs(`/${e}`),n)return new RegExp(t).test(e);if(Hs(t)!==e)return!1;const i=t.match(so);return i?(Ce?location.hash:"")===i[0]:!0}function Hs(e){return decodeURI(e).replace(so,"").replace(mc,"")}function gc(e){return io.test(e)}function xc(e,t){var i,r,s,o,l,a,c;const n=Object.keys(e.locales).find(u=>u!=="root"&&!gc(u)&&hc(t,`/${u}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((i=e.locales[n])==null?void 0:i.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((s=e.locales[n])==null?void 0:s.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:lo(e.head,((a=e.locales[n])==null?void 0:a.head)??[]),themeConfig:{...e.themeConfig,...(c=e.locales[n])==null?void 0:c.themeConfig}})}function oo(e,t){const n=t.title||e.title,i=t.titleTemplate??e.titleTemplate;if(typeof i=="string"&&i.includes(":title"))return i.replace(/:title/g,n);const r=vc(e.title,i);return`${n}${r}`}function vc(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function yc(e,t){const[n,i]=t;if(n!=="meta")return!1;const r=Object.entries(i)[0];return r==null?!1:e.some(([s,o])=>s===n&&o[r[0]]===r[1])}function lo(e,t){return[...e.filter(n=>!yc(t,n)),...t]}const bc=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,_c=/^[a-z]:/i;function $s(e){const t=_c.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(bc,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const wc=Symbol(),ct=Pi(za);function hf(e){const t=ie(()=>xc(ct.value,e.data.relativePath)),n=t.value.appearance,i=n==="force-dark"?ce(!0):n?uc({storageKey:dc,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):ce(!1);return{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>oo(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:i}}function Cc(){const e=_t(wc);if(!e)throw new Error("vitepress data not properly injected in app");return e}const Ec={ez:"application/andrew-inset",aw:"application/applixware",atom:"application/atom+xml",atomcat:"application/atomcat+xml",atomdeleted:"application/atomdeleted+xml",atomsvc:"application/atomsvc+xml",dwd:"application/atsc-dwd+xml",held:"application/atsc-held+xml",rsat:"application/atsc-rsat+xml",bdoc:"application/bdoc",xcs:"application/calendar+xml",ccxml:"application/ccxml+xml",cdfx:"application/cdfx+xml",cdmia:"application/cdmi-capability",cdmic:"application/cdmi-container",cdmid:"application/cdmi-domain",cdmio:"application/cdmi-object",cdmiq:"application/cdmi-queue",cu:"application/cu-seeme",mpd:"application/dash+xml",davmount:"application/davmount+xml",dbk:"application/docbook+xml",dssc:"application/dssc+der",xdssc:"application/dssc+xml",es:"application/ecmascript",ecma:"application/ecmascript",emma:"application/emma+xml",emotionml:"application/emotionml+xml",epub:"application/epub+zip",exi:"application/exi",fdt:"application/fdt+xml",pfr:"application/font-tdpfr",geojson:"application/geo+json",gml:"application/gml+xml",gpx:"application/gpx+xml",gxf:"application/gxf",gz:"application/gzip",hjson:"application/hjson",stk:"application/hyperstudio",ink:"application/inkml+xml",inkml:"application/inkml+xml",ipfix:"application/ipfix",its:"application/its+xml",jar:"application/java-archive",war:"application/java-archive",ear:"application/java-archive",ser:"application/java-serialized-object",class:"application/java-vm",js:"application/javascript",mjs:"application/javascript",json:"application/json",map:"application/json",json5:"application/json5",jsonml:"application/jsonml+json",jsonld:"application/ld+json",lgr:"application/lgr+xml",lostxml:"application/lost+xml",hqx:"application/mac-binhex40",cpt:"application/mac-compactpro",mads:"application/mads+xml",webmanifest:"application/manifest+json",mrc:"application/marc",mrcx:"application/marcxml+xml",ma:"application/mathematica",nb:"application/mathematica",mb:"application/mathematica",mathml:"application/mathml+xml",mbox:"application/mbox",mscml:"application/mediaservercontrol+xml",metalink:"application/metalink+xml",meta4:"application/metalink4+xml",mets:"application/mets+xml",maei:"application/mmt-aei+xml",musd:"application/mmt-usd+xml",mods:"application/mods+xml",m21:"application/mp21",mp21:"application/mp21",mp4s:"application/mp4",m4p:"application/mp4",doc:"application/msword",dot:"application/msword",mxf:"application/mxf",nq:"application/n-quads",nt:"application/n-triples",cjs:"application/node",bin:"application/octet-stream",dms:"application/octet-stream",lrf:"application/octet-stream",mar:"application/octet-stream",so:"application/octet-stream",dist:"application/octet-stream",distz:"application/octet-stream",pkg:"application/octet-stream",bpk:"application/octet-stream",dump:"application/octet-stream",elc:"application/octet-stream",deploy:"application/octet-stream",exe:"application/octet-stream",dll:"application/octet-stream",deb:"application/octet-stream",dmg:"application/octet-stream",iso:"application/octet-stream",img:"application/octet-stream",msi:"application/octet-stream",msp:"application/octet-stream",msm:"application/octet-stream",buffer:"application/octet-stream",oda:"application/oda",opf:"application/oebps-package+xml",ogx:"application/ogg",omdoc:"application/omdoc+xml",onetoc:"application/onenote",onetoc2:"application/onenote",onetmp:"application/onenote",onepkg:"application/onenote",oxps:"application/oxps",relo:"application/p2p-overlay+xml",xer:"application/patch-ops-error+xml",pdf:"application/pdf",pgp:"application/pgp-encrypted",asc:"application/pgp-signature",sig:"application/pgp-signature",prf:"application/pics-rules",p10:"application/pkcs10",p7m:"application/pkcs7-mime",p7c:"application/pkcs7-mime",p7s:"application/pkcs7-signature",p8:"application/pkcs8",ac:"application/pkix-attr-cert",cer:"application/pkix-cert",crl:"application/pkix-crl",pkipath:"application/pkix-pkipath",pki:"application/pkixcmp",pls:"application/pls+xml",ai:"application/postscript",eps:"application/postscript",ps:"application/postscript",provx:"application/provenance+xml",cww:"application/prs.cww",pskcxml:"application/pskc+xml",raml:"application/raml+yaml",rdf:"application/rdf+xml",owl:"application/rdf+xml",rif:"application/reginfo+xml",rnc:"application/relax-ng-compact-syntax",rl:"application/resource-lists+xml",rld:"application/resource-lists-diff+xml",rs:"application/rls-services+xml",rapd:"application/route-apd+xml",sls:"application/route-s-tsid+xml",rusd:"application/route-usd+xml",gbr:"application/rpki-ghostbusters",mft:"application/rpki-manifest",roa:"application/rpki-roa",rsd:"application/rsd+xml",rss:"application/rss+xml",rtf:"application/rtf",sbml:"application/sbml+xml",scq:"application/scvp-cv-request",scs:"application/scvp-cv-response",spq:"application/scvp-vp-request",spp:"application/scvp-vp-response",sdp:"application/sdp",senmlx:"application/senml+xml",sensmlx:"application/sensml+xml",setpay:"application/set-payment-initiation",setreg:"application/set-registration-initiation",shf:"application/shf+xml",siv:"application/sieve",sieve:"application/sieve",smi:"application/smil+xml",smil:"application/smil+xml",rq:"application/sparql-query",srx:"application/sparql-results+xml",gram:"application/srgs",grxml:"application/srgs+xml",sru:"application/sru+xml",ssdl:"application/ssdl+xml",ssml:"application/ssml+xml",swidtag:"application/swid+xml",tei:"application/tei+xml",teicorpus:"application/tei+xml",tfi:"application/thraud+xml",tsd:"application/timestamped-data",toml:"application/toml",trig:"application/trig",ttml:"application/ttml+xml",ubj:"application/ubjson",rsheet:"application/urc-ressheet+xml",td:"application/urc-targetdesc+xml",vxml:"application/voicexml+xml",wasm:"application/wasm",wgt:"application/widget",hlp:"application/winhlp",wsdl:"application/wsdl+xml",wspolicy:"application/wspolicy+xml",xaml:"application/xaml+xml",xav:"application/xcap-att+xml",xca:"application/xcap-caps+xml",xdf:"application/xcap-diff+xml",xel:"application/xcap-el+xml",xns:"application/xcap-ns+xml",xenc:"application/xenc+xml",xhtml:"application/xhtml+xml",xht:"application/xhtml+xml",xlf:"application/xliff+xml",xml:"application/xml",xsl:"application/xml",xsd:"application/xml",rng:"application/xml",dtd:"application/xml-dtd",xop:"application/xop+xml",xpl:"application/xproc+xml",xslt:"application/xml",xspf:"application/xspf+xml",mxml:"application/xv+xml",xhvml:"application/xv+xml",xvml:"application/xv+xml",xvm:"application/xv+xml",yang:"application/yang",yin:"application/yin+xml",zip:"application/zip","3gpp":"video/3gpp",adp:"audio/adpcm",amr:"audio/amr",au:"audio/basic",snd:"audio/basic",mid:"audio/midi",midi:"audio/midi",kar:"audio/midi",rmi:"audio/midi",mxmf:"audio/mobile-xmf",mp3:"audio/mpeg",m4a:"audio/mp4",mp4a:"audio/mp4",mpga:"audio/mpeg",mp2:"audio/mpeg",mp2a:"audio/mpeg",m2a:"audio/mpeg",m3a:"audio/mpeg",oga:"audio/ogg",ogg:"audio/ogg",spx:"audio/ogg",opus:"audio/ogg",s3m:"audio/s3m",sil:"audio/silk",wav:"audio/wav",weba:"audio/webm",xm:"audio/xm",ttc:"font/collection",otf:"font/otf",ttf:"font/ttf",woff:"font/woff",woff2:"font/woff2",exr:"image/aces",apng:"image/apng",avif:"image/avif",bmp:"image/bmp",cgm:"image/cgm",drle:"image/dicom-rle",emf:"image/emf",fits:"image/fits",g3:"image/g3fax",gif:"image/gif",heic:"image/heic",heics:"image/heic-sequence",heif:"image/heif",heifs:"image/heif-sequence",hej2:"image/hej2k",hsj2:"image/hsj2",ief:"image/ief",jls:"image/jls",jp2:"image/jp2",jpg2:"image/jp2",jpeg:"image/jpeg",jpg:"image/jpeg",jpe:"image/jpeg",jph:"image/jph",jhc:"image/jphc",jpm:"image/jpm",jpx:"image/jpx",jpf:"image/jpx",jxr:"image/jxr",jxra:"image/jxra",jxrs:"image/jxrs",jxs:"image/jxs",jxsc:"image/jxsc",jxsi:"image/jxsi",jxss:"image/jxss",ktx:"image/ktx",ktx2:"image/ktx2",png:"image/png",btif:"image/prs.btif",pti:"image/prs.pti",sgi:"image/sgi",svg:"image/svg+xml",svgz:"image/svg+xml",t38:"image/t38",tif:"image/tiff",tiff:"image/tiff",tfx:"image/tiff-fx",webp:"image/webp",wmf:"image/wmf","disposition-notification":"message/disposition-notification",u8msg:"message/global",u8dsn:"message/global-delivery-status",u8mdn:"message/global-disposition-notification",u8hdr:"message/global-headers",eml:"message/rfc822",mime:"message/rfc822","3mf":"model/3mf",gltf:"model/gltf+json",glb:"model/gltf-binary",igs:"model/iges",iges:"model/iges",msh:"model/mesh",mesh:"model/mesh",silo:"model/mesh",mtl:"model/mtl",obj:"model/obj",stpz:"model/step+zip",stpxz:"model/step-xml+zip",stl:"model/stl",wrl:"model/vrml",vrml:"model/vrml",x3db:"model/x3d+fastinfoset",x3dbz:"model/x3d+binary",x3dv:"model/x3d-vrml",x3dvz:"model/x3d+vrml",x3d:"model/x3d+xml",x3dz:"model/x3d+xml",appcache:"text/cache-manifest",manifest:"text/cache-manifest",ics:"text/calendar",ifb:"text/calendar",coffee:"text/coffeescript",litcoffee:"text/coffeescript",css:"text/css",csv:"text/csv",html:"text/html",htm:"text/html",shtml:"text/html",jade:"text/jade",jsx:"text/jsx",less:"text/less",markdown:"text/markdown",md:"text/markdown",mml:"text/mathml",mdx:"text/mdx",n3:"text/n3",txt:"text/plain",text:"text/plain",conf:"text/plain",def:"text/plain",list:"text/plain",log:"text/plain",in:"text/plain",ini:"text/plain",dsc:"text/prs.lines.tag",rtx:"text/richtext",sgml:"text/sgml",sgm:"text/sgml",shex:"text/shex",slim:"text/slim",slm:"text/slim",spdx:"text/spdx",stylus:"text/stylus",styl:"text/stylus",tsv:"text/tab-separated-values",t:"text/troff",tr:"text/troff",roff:"text/troff",man:"text/troff",me:"text/troff",ms:"text/troff",ttl:"text/turtle",uri:"text/uri-list",uris:"text/uri-list",urls:"text/uri-list",vcard:"text/vcard",vtt:"text/vtt",yaml:"text/yaml",yml:"text/yaml","3gp":"video/3gpp","3g2":"video/3gpp2",h261:"video/h261",h263:"video/h263",h264:"video/h264",m4s:"video/iso.segment",jpgv:"video/jpeg",jpgm:"image/jpm",mj2:"video/mj2",mjp2:"video/mj2",ts:"video/mp2t",mp4:"video/mp4",mp4v:"video/mp4",mpg4:"video/mp4",mpeg:"video/mpeg",mpg:"video/mpeg",mpe:"video/mpeg",m1v:"video/mpeg",m2v:"video/mpeg",ogv:"video/ogg",qt:"video/quicktime",mov:"video/quicktime",webm:"video/webm"};function Tc(e){let t=(""+e).trim().toLowerCase(),n=t.lastIndexOf(".");return Ec[~n?t.substring(++n):t]}function Ac(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ds(e){return io.test(e)||!e.startsWith("/")?e:Ac(ct.value.base,e)}function jc(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ce){const n="/svgicon/";t=$s(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let i=__VP_HASH_MAP__[t.toLowerCase()];if(i||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",i=__VP_HASH_MAP__[t.toLowerCase()]),!i)return null;t=`${n}assets/${t}.${i}.js`}else t=`./${$s(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let gn=[];function gf(e){gn.push(e),$n(()=>{gn=gn.filter(t=>t!==e)})}const Sc=Symbol(),ao="http://a.com",Rc=()=>({path:"/",component:null,data:ro});function xf(e,t){const n=Pn(Rc()),i={route:n,go:r};async function r(l=Ce?location.href:"/"){var a,c;l=gi(l),await((a=i.onBeforeRouteChange)==null?void 0:a.call(i,l))!==!1&&(Ks(l),await o(l),await((c=i.onAfterRouteChanged)==null?void 0:c.call(i,l)))}let s=null;async function o(l,a=0,c=!1){var g;if(await((g=i.onBeforePageLoad)==null?void 0:g.call(i,l))===!1)return;const u=new URL(l,ao),d=s=u.pathname;try{let b=await e(d);if(!b)throw new Error(`Page not found: ${d}`);if(s===d){s=null;const{default:w,__pageData:E}=b;if(!w)throw new Error(`Invalid route component: ${w}`);n.path=Ce?d:Ds(d),n.component=It(w),n.data=It(E),Ce&&Fn(()=>{let I=ct.value.base+E.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ct.value.cleanUrls&&!I.endsWith("/")&&(I+=".html"),I!==u.pathname&&(u.pathname=I,l=I+u.search+u.hash,history.replaceState(null,"",l)),u.hash&&!a){let K=null;try{K=document.getElementById(decodeURIComponent(u.hash).slice(1))}catch(L){console.warn(L)}if(K){Bs(K,u.hash);return}}window.scrollTo(0,a)})}}catch(b){if(!/fetch|Page not found/.test(b.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(b),!c)try{const w=await fetch(ct.value.base+"hashmap.json");window.__VP_HASH_MAP__=await w.json(),await o(l,a,!0);return}catch{}s===d&&(s=null,n.path=Ce?d:Ds(d),n.component=t?It(t):null,n.data=ro)}}return Ce&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const c=l.target.closest("a");if(c&&!c.closest(".vp-raw")&&(c instanceof SVGElement||!c.download)){const{target:u}=c,{href:d,origin:g,pathname:b,hash:w,search:E}=new URL(c.href instanceof SVGAnimatedString?c.href.animVal:c.href,c.baseURI),I=window.location,K=Tc(b);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!u&&g===I.origin&&(!K||K==="text/html")&&(l.preventDefault(),b===I.pathname&&E===I.search?(w!==I.hash&&(history.pushState(null,"",w),window.dispatchEvent(new Event("hashchange"))),w?Bs(c,w,c.classList.contains("header-anchor")):(Ks(d),window.scrollTo(0,0))):r(d))}},{capture:!0}),window.addEventListener("popstate",async l=>{var a;await o(gi(location.href),l.state&&l.state.scrollPosition||0),(a=i.onAfterRouteChanged)==null||a.call(i,location.href)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),i}function Oc(){const e=_t(Sc);if(!e)throw new Error("useRouter() is called without provider.");return e}function co(){return Oc().route}function Bs(e,t,n=!1){let i=null;try{i=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(i){let r=function(){!n||Math.abs(c-window.scrollY)>window.innerHeight?window.scrollTo(0,c):window.scrollTo({left:0,top:c,behavior:"smooth"})},s=ct.value.scrollOffset,o=0,l=24;if(typeof s=="object"&&"padding"in s&&(l=s.padding,s=s.selector),typeof s=="number")o=s;else if(typeof s=="string")o=Us(s,l);else if(Array.isArray(s))for(const u of s){const d=Us(u,l);if(d){o=d;break}}const a=parseInt(window.getComputedStyle(i).paddingTop,10),c=window.scrollY+i.getBoundingClientRect().top-o+a;requestAnimationFrame(r)}}function Us(e,t){const n=document.querySelector(e);if(!n)return 0;const i=n.getBoundingClientRect().bottom;return i<0?0:i+t}function Ks(e){Ce&&e!==gi(location.href)&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}function gi(e){const t=new URL(e,ao);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ct.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const Ws=()=>gn.forEach(e=>e()),vf=ki({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=co(),{site:n}=Cc();return()=>mi(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?mi(t.component,{onVnodeMounted:Ws,onVnodeUpdated:Ws}):"404 Page Not Found"])}}),yf=ki({setup(e,{slots:t}){const n=ce(!1);return St(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function bf(){Ce&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const i=(n=t.parentElement)==null?void 0:n.parentElement;if(!i)return;const r=Array.from(i.querySelectorAll("input")).indexOf(t);if(r<0)return;const s=i.querySelector(".blocks");if(!s)return;const o=Array.from(s.children).find(c=>c.classList.contains("active"));if(!o)return;const l=s.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const a=i==null?void 0:i.querySelector(`label[for="${t.id}"]`);a==null||a.scrollIntoView({block:"nearest"})}})}function _f(){if(Ce){const e=new WeakMap;window.addEventListener("click",t=>{var i;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,s=(i=n.nextElementSibling)==null?void 0:i.nextElementSibling;if(!r||!s)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className);let l="";s.querySelectorAll("span.line:not(.diff.remove)").forEach(a=>l+=(a.textContent||"")+` +`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Pc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Pc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const i=document.getSelection(),r=i?i.rangeCount>0&&i.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(i.removeAllRanges(),i.addRange(r)),n&&n.focus()}}function wf(e,t){let n=[],i=!0;const r=s=>{if(i){i=!1;return}const o=s.map(qs);n.forEach((l,a)=>{const c=o.findIndex(u=>u==null?void 0:u.isEqualNode(l??null));c!==-1?delete o[c]:(l==null||l.remove(),delete n[a])}),o.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...o].filter(Boolean)};Li(()=>{const s=e.data,o=t.value,l=s&&s.description,a=s&&s.frontmatter.head||[],c=oo(o,s);c!==document.title&&(document.title=c);const u=l||o.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==u&&d.setAttribute("content",u):qs(["meta",{name:"description",content:u}]),r(lo(o.head,Fc(a)))})}function qs([e,t,n]){const i=document.createElement(e);for(const r in t)i.setAttribute(r,t[r]);return n&&(i.innerHTML=n),e==="script"&&!t.async&&(i.async=!1),i}function Mc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Fc(e){return e.filter(t=>!Mc(t))}const ei=new Set,fo=()=>document.createElement("link"),Ic=e=>{const t=fo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Lc=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let pn;const kc=Ce&&(pn=fo())&&pn.relList&&pn.relList.supports&&pn.relList.supports("prefetch")?Ic:Lc;function Cf(){if(!Ce||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const i=()=>{n&&n.disconnect(),n=new IntersectionObserver(s=>{s.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:a}=l;if(!ei.has(a)){ei.add(a);const c=jc(a);c&&kc(c)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(s=>{const{hostname:o,pathname:l}=new URL(s.href instanceof SVGAnimatedString?s.href.animVal:s.href,s.baseURI),a=l.match(/\.\w+$/);a&&a[0]!==".html"||s.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(s):ei.add(l))})})};St(i);const r=co();Xe(()=>r.path,i),$n(()=>{n&&n.disconnect()})}export{Kl as $,$n as A,Uc as B,Rl as C,Dc as D,qc as E,ge as F,Pi as G,gf as H,se as I,Bc as J,io as K,co as L,ra as M,_t as N,_i as O,Fn as P,mf as Q,Qc as R,Mn as S,qr as T,lf as U,sl as V,ff as W,Wc as X,of as Y,pf as Z,rf as _,Br as a,tf as a0,zc as a1,ef as a2,Yc as a3,mi as a4,wf as a5,Sc as a6,hf as a7,wc as a8,vf as a9,yf as aa,ct as ab,sf as ac,xf as ad,jc as ae,Cf as af,_f as ag,bf as ah,eo as ai,Ui as aj,cf as ak,df as al,uf as am,af as an,Oc as ao,Vt as ap,Er as aq,Kc as ar,Gc as as,ae as at,Jc as au,It as av,nf as aw,Hr as b,Xc as c,ki as d,Zc as e,Ds as f,ie as g,ce as h,gc as i,St as j,Dr as k,Tc as l,Mi as m,wi as n,kr as o,Hc as p,$c as q,Vc as r,hc as s,Nc as t,Cc as u,Ce as v,ml as w,sc as x,Xe as y,Li as z}; diff --git a/assets/chunks/theme.8ZSd-Y1h.js b/assets/chunks/theme.8ZSd-Y1h.js new file mode 100644 index 00000000..e029589d --- /dev/null +++ b/assets/chunks/theme.8ZSd-Y1h.js @@ -0,0 +1,7 @@ +var De=Object.defineProperty;var Fe=(s,e,t)=>e in s?De(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var ae=(s,e,t)=>(Fe(s,typeof e!="symbol"?e+"":e,t),t);import{d as $,o as a,c as l,r as u,n as T,a as H,t as L,_ as m,b as k,w as h,T as ue,e as f,u as xe,i as Oe,l as Ue,f as de,g as b,h as M,j as U,k as c,m as i,p as z,q as E,s as O,v as q,x as ie,y as G,z as te,A as ve,B as Ve,C as Ge,D as j,F as C,E as B,G as he,H as Y,I as _,J as x,K as Le,L as se,M as Z,N as ne,O as je,P as Re,Q as Se,R as Ke,S as qe,U as We,V as Ye,W as ye,X as Je,Y as Xe,Z as Me,$ as Ce,a0 as Ze,a1 as Qe,a2 as et,a3 as tt}from"./framework.a4NdKwKH.js";const st=$({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),l("span",{class:T(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[H(L(e.text),1)],!0)],2))}}),nt=m(st,[["__scopeId","data-v-ea5b2908"]]),ot={key:0,class:"VPBackdrop"},at=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),k(ue,{name:"fade"},{default:h(()=>[e.show?(a(),l("div",ot)):f("",!0)]),_:1}))}}),rt=m(at,[["__scopeId","data-v-54a304ca"]]),P=xe;function it(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function le(s){return/^\//.test(s)?s:`/${s}`}function J(s){const{pathname:e,search:t,hash:n,protocol:o}=new URL(s,"http://a.com");if(Oe(s)||s.startsWith("#")||!o.startsWith("http")||/\.(?!html|md)\w+($|\?)/i.test(s)&&Ue(s))return s;const{site:r}=P(),d=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return de(d)}function X({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=b(()=>{var v,g;return{label:(v=t.value.locales[n.value])==null?void 0:v.label,link:((g=t.value.locales[n.value])==null?void 0:g.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:b(()=>Object.entries(t.value.locales).flatMap(([v,g])=>s&&d.value.label===g.label?[]:{text:g.label,link:lt(g.link||(v==="root"?"/":`/${v}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function lt(s,e,t,n){return e?s.replace(/\/$/,"")+le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const ct=s=>(z("data-v-b9c0c15a"),s=s(),E(),s),ut={class:"NotFound"},dt={class:"code"},vt={class:"title"},ht=ct(()=>c("div",{class:"divider"},null,-1)),pt={class:"quote"},_t={class:"action"},ft=["href","aria-label"],mt=$({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=X({removeCurrent:!1}),o=M("/");return U(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,v,g,w,y;return a(),l("div",ut,[c("p",dt,L(((p=i(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",vt,L(((v=i(t).notFound)==null?void 0:v.title)??"PAGE NOT FOUND"),1),ht,c("blockquote",pt,L(((g=i(t).notFound)==null?void 0:g.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",_t,[c("a",{class:"link",href:i(de)(o.value),"aria-label":((w=i(t).notFound)==null?void 0:w.linkLabel)??"go to home"},L(((y=i(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,ft)])])}}}),gt=m(mt,[["__scopeId","data-v-b9c0c15a"]]);function Ie(s,e){if(Array.isArray(s))return Q(s);if(s==null)return[];e=le(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(le(o))),n=t?s[t]:[];return Array.isArray(n)?Q(n):Q(n.items,n.base)}function $t(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function kt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function ce(s,e){return Array.isArray(e)?e.some(t=>ce(s,t)):O(s,e.link)?!0:e.items?ce(s,e.items):!1}function Q(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Q(n.items,o)),n})}function D(){const{frontmatter:s,page:e,theme:t}=P(),n=ie("(min-width: 960px)"),o=M(!1),r=b(()=>{const N=t.value.sidebar,V=e.value.relativePath;return N?Ie(N,V):[]}),d=M(r.value);G(r,(N,V)=>{JSON.stringify(N)!==JSON.stringify(V)&&(d.value=r.value)});const p=b(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),v=b(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=b(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),w=b(()=>p.value&&n.value),y=b(()=>p.value?$t(d.value):[]);function I(){o.value=!0}function S(){o.value=!1}function A(){o.value?S():I()}return{isOpen:o,sidebar:d,sidebarGroups:y,hasSidebar:p,hasAside:g,leftAside:v,isSidebarEnabled:w,open:I,close:S,toggle:A}}function bt(s,e){let t;te(()=>{t=s.value?document.activeElement:void 0}),U(()=>{window.addEventListener("keyup",n)}),ve(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Te=M(q?location.hash:"");q&&window.addEventListener("hashchange",()=>{Te.value=location.hash});function yt(s){const{page:e}=P(),t=M(!1),n=b(()=>s.value.collapsed!=null),o=b(()=>!!s.value.link),r=M(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};G([e,s,Te],d),U(d);const p=b(()=>r.value?!0:s.value.items?ce(e.value.relativePath,s.value.items):!1),v=b(()=>!!(s.value.items&&s.value.items.length));te(()=>{t.value=!!(n.value&&s.value.collapsed)}),Ve(()=>{(r.value||p.value)&&(t.value=!1)});function g(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:v,toggle:g}}function Pt(){const{hasSidebar:s}=D(),e=ie("(min-width: 960px)"),t=ie("(min-width: 1280px)");return{isAsideEnabled:b(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const wt=71;function pe(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function _e(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:Vt(t),link:"#"+t.id,level:n}});return Lt(e,s)}function Vt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Lt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;v--){const g=s[v];if(g.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ge(()=>{d(location.hash)}),ve(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),v=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(S=>p.some(A=>A.hash===S.hash&&S.offsetParent!==null)),g=window.scrollY,w=window.innerHeight,y=document.body.offsetHeight,I=Math.abs(g+w-y)<1;if(v.length&&I){d(v[v.length-1].hash);return}for(let S=0;S{const o=j("VPDocOutlineItem",!0);return a(),l("ul",{class:T(t.root?"root":"nested")},[(a(!0),l(C,null,B(t.headers,({children:r,link:d,title:p})=>(a(),l("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,Ct),r!=null&&r.length?(a(),k(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}}),fe=m(It,[["__scopeId","data-v-463da30f"]]),Tt=s=>(z("data-v-3a6c4994"),s=s(),E(),s),At={class:"content"},Nt={class:"outline-title",role:"heading","aria-level":"2"},Bt={"aria-labelledby":"doc-outline-aria-label"},Ht=Tt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),zt=$({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=he([]);Y(()=>{n.value=_e(e.value.outline??t.value.outline)});const o=M(),r=M();return St(o,r),(d,p)=>(a(),l("div",{class:T(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",At,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",Nt,L(i(pe)(i(t))),1),c("nav",Bt,[Ht,_(fe,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Et=m(zt,[["__scopeId","data-v-3a6c4994"]]),Dt={class:"VPDocAsideCarbonAds"},Ft=$({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),l("div",Dt,[_(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),xt=s=>(z("data-v-cb998dce"),s=s(),E(),s),Ot={class:"VPDocAside"},Ut=xt(()=>c("div",{class:"spacer"},null,-1)),Gt=$({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),l("div",Ot,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),_(Et),u(t.$slots,"aside-outline-after",{},void 0,!0),Ut,u(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),k(Ft,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}}),jt=m(Gt,[["__scopeId","data-v-cb998dce"]]);function Rt(){const{theme:s,page:e}=P();return b(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function Kt(){const{page:s,theme:e,frontmatter:t}=P();return b(()=>{var v,g,w,y,I,S,A,N;const n=Ie(e.value.sidebar,s.value.relativePath),o=kt(n),r=o.findIndex(V=>O(s.value.relativePath,V.link)),d=((v=e.value.docFooter)==null?void 0:v.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((w=o[r-1])==null?void 0:w.docFooterText)??((y=o[r-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=o[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((S=o[r+1])==null?void 0:S.docFooterText)??((A=o[r+1])==null?void 0:A.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((N=o[r+1])==null?void 0:N.link)}}})}const qt={},Wt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Yt=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Jt=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Xt=[Yt,Jt];function Zt(s,e){return a(),l("svg",Wt,Xt)}const Qt=m(qt,[["render",Zt]]),F=$({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=b(()=>e.tag??(e.href?"a":"span")),n=b(()=>e.href&&Le.test(e.href));return(o,r)=>(a(),k(x(t.value),{class:T(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?i(J)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:h(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),es={class:"VPLastUpdated"},ts=["datetime"],ss=$({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=b(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=b(()=>r.value.toISOString()),p=M("");return U(()=>{te(()=>{var v,g,w;p.value=new Intl.DateTimeFormat((g=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&g.forceLocale?o.value:void 0,((w=e.value.lastUpdated)==null?void 0:w.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(v,g)=>{var w;return a(),l("p",es,[H(L(((w=i(e).lastUpdated)==null?void 0:w.text)||i(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,ts)])}}}),ns=m(ss,[["__scopeId","data-v-19a7ae4e"]]),os={key:0,class:"VPDocFooter"},as={key:0,class:"edit-info"},rs={key:0,class:"edit-link"},is={key:1,class:"last-updated"},ls={key:1,class:"prev-next"},cs={class:"pager"},us=["href"],ds=["innerHTML"],vs=["innerHTML"],hs={class:"pager"},ps=["href"],_s=["innerHTML"],fs=["innerHTML"],ms=$({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Rt(),r=Kt(),d=b(()=>e.value.editLink&&n.value.editLink!==!1),p=b(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),v=b(()=>d.value||p.value||r.value.prev||r.value.next);return(g,w)=>{var y,I,S,A,N,V;return v.value?(a(),l("footer",os,[u(g.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),l("div",as,[d.value?(a(),l("div",rs,[_(F,{class:"edit-link-button",href:i(o).url,"no-icon":!0},{default:h(()=>[_(Qt,{class:"edit-link-icon","aria-label":"edit icon"}),H(" "+L(i(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",is,[_(ns)])):f("",!0)])):f("",!0),(y=i(r).prev)!=null&&y.link||(I=i(r).next)!=null&&I.link?(a(),l("nav",ls,[c("div",cs,[(S=i(r).prev)!=null&&S.link?(a(),l("a",{key:0,class:"pager-link prev",href:i(J)(i(r).prev.link)},[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,ds),c("span",{class:"title",innerHTML:i(r).prev.text},null,8,vs)],8,us)):f("",!0)]),c("div",hs,[(N=i(r).next)!=null&&N.link?(a(),l("a",{key:0,class:"pager-link next",href:i(J)(i(r).next.link)},[c("span",{class:"desc",innerHTML:((V=i(e).docFooter)==null?void 0:V.next)||"Next page"},null,8,_s),c("span",{class:"title",innerHTML:i(r).next.text},null,8,fs)],8,ps)):f("",!0)])])):f("",!0)])):f("",!0)}}}),gs=m(ms,[["__scopeId","data-v-a2d931e4"]]),$s={},ks={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},bs=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),ys=[bs];function Ps(s,e){return a(),l("svg",ks,ys)}const me=m($s,[["render",Ps]]),ws={key:0,class:"VPDocOutlineDropdown"},Vs={key:0,class:"items"},Ls=$({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=M(!1);Y(()=>{n.value=!1});const o=he([]);return Y(()=>{o.value=_e(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),l("div",ws,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2),n.value?(a(),l("div",Vs,[_(fe,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}}),Ss=m(Ls,[["__scopeId","data-v-95bb0785"]]),Ms=s=>(z("data-v-a3c25e27"),s=s(),E(),s),Cs={class:"container"},Is=Ms(()=>c("div",{class:"aside-curtain"},null,-1)),Ts={class:"aside-container"},As={class:"aside-content"},Ns={class:"content"},Bs={class:"content-container"},Hs={class:"main"},zs=$({__name:"VPDoc",setup(s){const{theme:e}=P(),t=se(),{hasSidebar:n,hasAside:o,leftAside:r}=D(),d=b(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,v)=>{const g=j("Content");return a(),l("div",{class:T(["VPDoc",{"has-sidebar":i(n),"has-aside":i(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",Cs,[i(o)?(a(),l("div",{key:0,class:T(["aside",{"left-aside":i(r)}])},[Is,c("div",Ts,[c("div",As,[_(jt,null,{"aside-top":h(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Ns,[c("div",Bs,[u(p.$slots,"doc-before",{},void 0,!0),_(Ss),c("main",Hs,[_(g,{class:T(["vp-doc",[d.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(gs,null,{"doc-footer-before":h(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Es=m(zs,[["__scopeId","data-v-a3c25e27"]]),Ds=$({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=b(()=>e.href&&Le.test(e.href)),n=b(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),k(x(n.value),{class:T(["VPButton",[o.size,o.theme]]),href:o.href?i(J)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:h(()=>[H(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Fs=m(Ds,[["__scopeId","data-v-1e76fe75"]]),xs=["src","alt"],Os=$({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",Z({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(de)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,xs)):(a(),l(C,{key:1},[_(n,Z({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),_(n,Z({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),ee=m(Os,[["__scopeId","data-v-ab19afbb"]]),Us=s=>(z("data-v-5a3e9999"),s=s(),E(),s),Gs={class:"container"},js={class:"main"},Rs={key:0,class:"name"},Ks=["innerHTML"],qs=["innerHTML"],Ws=["innerHTML"],Ys={key:0,class:"actions"},Js={key:0,class:"image"},Xs={class:"image-container"},Zs=Us(()=>c("div",{class:"image-bg"},null,-1)),Qs=$({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=ne("hero-image-slot-exists");return(t,n)=>(a(),l("div",{class:T(["VPHero",{"has-image":t.image||i(e)}])},[c("div",Gs,[c("div",js,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Rs,[c("span",{innerHTML:t.name,class:"clip"},null,8,Ks)])):f("",!0),t.text?(a(),l("p",{key:1,innerHTML:t.text,class:"text"},null,8,qs)):f("",!0),t.tagline?(a(),l("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Ws)):f("",!0)],!0),t.actions?(a(),l("div",Ys,[(a(!0),l(C,null,B(t.actions,o=>(a(),l("div",{key:o.link,class:"action"},[_(Fs,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Js,[c("div",Xs,[Zs,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(ee,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),en=m(Qs,[["__scopeId","data-v-5a3e9999"]]),tn=$({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).hero?(a(),k(en,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info":h(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":h(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),sn={},nn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},on=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),an=[on];function rn(s,e){return a(),l("svg",nn,an)}const ln=m(sn,[["render",rn]]),cn={class:"box"},un={key:0,class:"icon"},dn=["innerHTML"],vn=["innerHTML"],hn=["innerHTML"],pn={key:4,class:"link-text"},_n={class:"link-text-value"},fn=$({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),k(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:h(()=>[c("article",cn,[typeof e.icon=="object"&&e.icon.wrap?(a(),l("div",un,[_(ee,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(ee,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:2,class:"icon",innerHTML:e.icon},null,8,dn)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,vn),e.details?(a(),l("p",{key:3,class:"details",innerHTML:e.details},null,8,hn)):f("",!0),e.linkText?(a(),l("div",pn,[c("p",_n,[H(L(e.linkText)+" ",1),_(ln,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),mn=m(fn,[["__scopeId","data-v-ee984185"]]),gn={key:0,class:"VPFeatures"},$n={class:"container"},kn={class:"items"},bn=$({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=b(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),l("div",gn,[c("div",$n,[c("div",kn,[(a(!0),l(C,null,B(n.features,r=>(a(),l("div",{key:r.title,class:T(["item",[t.value]])},[_(mn,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),yn=m(bn,[["__scopeId","data-v-b1eea84a"]]),Pn=$({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).features?(a(),k(yn,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),wn={class:"VPHome"},Vn=$({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),l("div",wn,[u(e.$slots,"home-hero-before",{},void 0,!0),_(tn,null,{"home-hero-info":h(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),_(Pn),u(e.$slots,"home-features-after",{},void 0,!0),_(n)])}}}),Ln=m(Vn,[["__scopeId","data-v-20eabd3a"]]),Sn={},Mn={class:"VPPage"};function Cn(s,e){const t=j("Content");return a(),l("div",Mn,[u(s.$slots,"page-top"),_(t),u(s.$slots,"page-bottom")])}const In=m(Sn,[["render",Cn]]),Tn=$({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>(a(),l("div",{class:T(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[_(gt)],!0):i(t).layout==="page"?(a(),k(In,{key:1},{"page-top":h(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),k(Ln,{key:2},{"home-hero-before":h(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),k(x(i(t).layout),{key:3})):(a(),k(Es,{key:4},{"doc-top":h(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),An=m(Tn,[["__scopeId","data-v-3cf691b6"]]),Nn={class:"container"},Bn=["innerHTML"],Hn=["innerHTML"],zn=$({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>i(e).footer&&i(t).footer!==!1?(a(),l("footer",{key:0,class:T(["VPFooter",{"has-sidebar":i(n)}])},[c("div",Nn,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,Bn)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Hn)):f("",!0)])],2)):f("",!0)}}),En=m(zn,[["__scopeId","data-v-566314d4"]]),Dn={class:"header"},Fn={class:"outline"},xn=$({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=M(!1),o=M(0),r=M();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(g){g.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Re(()=>{n.value=!1}))}function v(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(g,w)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:je({"--vp-vh":o.value+"px"})},[g.headers.length>0?(a(),l("button",{key:0,onClick:d,class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)),_(ue,{name:"flyout"},{default:h(()=>[n.value?(a(),l("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",Dn,[c("a",{class:"top-link",href:"#",onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)]),c("div",Fn,[_(fe,{headers:g.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),On=m(xn,[["__scopeId","data-v-24251f6f"]]),Un={},Gn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},jn=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),Rn=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),Kn=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),qn=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),Wn=[jn,Rn,Kn,qn];function Yn(s,e){return a(),l("svg",Gn,Wn)}const Jn=m(Un,[["render",Yn]]),Xn=["aria-expanded"],Zn={class:"menu-text"},Qn=$({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D(),{y:o}=Se(),r=he([]),d=M(0);U(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=_e(t.value.outline??e.value.outline)});const p=b(()=>r.value.length===0&&!n.value),v=b(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(g,w)=>i(t).layout!=="home"&&(!p.value||i(o)>=d.value)?(a(),l("div",{key:0,class:T(v.value)},[i(n)?(a(),l("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:w[0]||(w[0]=y=>g.$emit("open-menu"))},[_(Jn,{class:"menu-icon"}),c("span",Zn,L(i(e).sidebarMenuLabel||"Menu"),1)],8,Xn)):f("",!0),_(On,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}}),eo=m(Qn,[["__scopeId","data-v-f8a0b38a"]]);function to(){const s=M(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=se();return G(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const so={},no={class:"VPSwitch",type:"button",role:"switch"},oo={class:"check"},ao={key:0,class:"icon"};function ro(s,e){return a(),l("button",no,[c("span",oo,[s.$slots.default?(a(),l("span",ao,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const io=m(so,[["render",ro],["__scopeId","data-v-1c29e291"]]),lo={},co={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},uo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),vo=[uo];function ho(s,e){return a(),l("svg",co,vo)}const po=m(lo,[["render",ho]]),_o={},fo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},mo=Ke('',9),go=[mo];function $o(s,e){return a(),l("svg",fo,go)}const ko=m(_o,[["render",$o]]),bo=$({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=ne("toggle-appearance",()=>{e.value=!e.value}),n=b(()=>e.value?"Switch to light theme":"Switch to dark theme");return(o,r)=>(a(),k(io,{title:n.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(t)},{default:h(()=>[_(ko,{class:"sun"}),_(po,{class:"moon"})]),_:1},8,["title","aria-checked","onClick"]))}}),ge=m(bo,[["__scopeId","data-v-70af5d02"]]),yo={key:0,class:"VPNavBarAppearance"},Po=$({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",yo,[_(ge)])):f("",!0)}}),wo=m(Po,[["__scopeId","data-v-283b26e9"]]),$e=M();let Ae=!1,re=0;function Vo(s){const e=M(!1);if(q){!Ae&&Lo(),re++;const t=G($e,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});ve(()=>{t(),re--,re||So()})}return qe(e)}function Lo(){document.addEventListener("focusin",Ne),Ae=!0,$e.value=document.activeElement}function So(){document.removeEventListener("focusin",Ne)}function Ne(){$e.value=document.activeElement}const Mo={},Co={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Io=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),To=[Io];function Ao(s,e){return a(),l("svg",Co,To)}const Be=m(Mo,[["render",Ao]]),No={},Bo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ho=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),zo=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),Eo=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),Do=[Ho,zo,Eo];function Fo(s,e){return a(),l("svg",Bo,Do)}const xo=m(No,[["render",Fo]]),Oo={class:"VPMenuLink"},Uo=$({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),l("div",Oo,[_(F,{class:T({active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),oe=m(Uo,[["__scopeId","data-v-f51f088d"]]),Go={class:"VPMenuGroup"},jo={key:0,class:"title"},Ro=$({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Go,[e.text?(a(),l("p",jo,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),l(C,null,["link"in n?(a(),k(oe,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}}),Ko=m(Ro,[["__scopeId","data-v-a6b0397c"]]),qo={class:"VPMenu"},Wo={key:0,class:"items"},Yo=$({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),l("div",qo,[e.items?(a(),l("div",Wo,[(a(!0),l(C,null,B(e.items,n=>(a(),l(C,{key:n.text},["link"in n?(a(),k(oe,{key:0,item:n},null,8,["item"])):(a(),k(Ko,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}}),Jo=m(Yo,[["__scopeId","data-v-e42ed9b3"]]),Xo=["aria-expanded","aria-label"],Zo={key:0,class:"text"},Qo=["innerHTML"],ea={class:"menu"},ta=$({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=M(!1),t=M();Vo({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),l("span",Zo,[o.icon?(a(),k(x(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),l("span",{key:1,innerHTML:o.button},null,8,Qo)):f("",!0),_(Be,{class:"text-icon"})])):(a(),k(xo,{key:1,class:"icon"}))],8,Xo),c("div",ea,[_(Jo,{items:o.items},{default:h(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ke=m(ta,[["__scopeId","data-v-aa8de344"]]),sa={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},na=["href","aria-label","innerHTML"],oa=$({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=b(()=>typeof e.icon=="object"?e.icon.svg:sa[e.icon]);return(n,o)=>(a(),l("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,na))}}),aa=m(oa,[["__scopeId","data-v-16cf740a"]]),ra={class:"VPSocialLinks"},ia=$({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),l("div",ra,[(a(!0),l(C,null,B(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),k(aa,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),be=m(ia,[["__scopeId","data-v-e71e869c"]]),la={key:0,class:"group translations"},ca={class:"trans-title"},ua={key:1,class:"group"},da={class:"item appearance"},va={class:"label"},ha={class:"appearance-action"},pa={key:2,class:"group"},_a={class:"item social-links"},fa=$({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=X({correspondingLink:!0}),r=b(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),k(ke,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[i(n).length&&i(o).label?(a(),l("div",la,[c("p",ca,L(i(o).label),1),(a(!0),l(C,null,B(i(n),v=>(a(),k(oe,{key:v.link,item:v},null,8,["item"]))),128))])):f("",!0),i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",ua,[c("div",da,[c("p",va,L(i(t).darkModeSwitchLabel||"Appearance"),1),c("div",ha,[_(ge)])])])):f("",!0),i(t).socialLinks?(a(),l("div",pa,[c("div",_a,[_(be,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),ma=m(fa,[["__scopeId","data-v-8e87c032"]]),ga=s=>(z("data-v-6bee1efd"),s=s(),E(),s),$a=["aria-expanded"],ka=ga(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),ba=[ka],ya=$({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),l("button",{type:"button",class:T(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},ba,10,$a))}}),Pa=m(ya,[["__scopeId","data-v-6bee1efd"]]),wa=["innerHTML"],Va=$({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),k(F,{class:T({VPNavBarMenuLink:!0,active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:h(()=>[c("span",{innerHTML:t.item.text},null,8,wa)]),_:1},8,["class","href","target","rel"]))}}),La=m(Va,[["__scopeId","data-v-cb318fec"]]),Sa=$({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=b(()=>n(e.item));return(r,d)=>(a(),k(ke,{class:T({VPNavBarMenuGroup:!0,active:i(O)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Ma=s=>(z("data-v-f732b5d0"),s=s(),E(),s),Ca={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ia=Ma(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Ta=$({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Ca,[Ia,(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),k(La,{key:0,item:o},null,8,["item"])):(a(),k(Sa,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Aa=m(Ta,[["__scopeId","data-v-f732b5d0"]]);function Na(s,e){const{localeIndex:t}=P();function n(o){var S,A;const r=o.split("."),d=s&&typeof s=="object",p=d&&((A=(S=s.locales)==null?void 0:S[t.value])==null?void 0:A.translations)||null,v=d&&s.translations||null;let g=p,w=v,y=e;const I=r.pop();for(const N of r){let V=null;const R=y==null?void 0:y[N];R&&(V=y=R);const W=w==null?void 0:w[N];W&&(V=w=W);const K=g==null?void 0:g[N];K&&(V=g=K),R||(y=V),W||(w=V),K||(g=V)}return(g==null?void 0:g[I])??(w==null?void 0:w[I])??(y==null?void 0:y[I])??""}return n}const Ba=["aria-label"],Ha={class:"DocSearch-Button-Container"},za=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Ea={class:"DocSearch-Button-Placeholder"},Da=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),we=$({__name:"VPNavBarSearchButton",setup(s){const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=We(Na)(Ye(()=>{var o;return(o=e.value.search)==null?void 0:o.options}),t);return(o,r)=>(a(),l("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(n)("button.buttonAriaLabel")},[c("span",Ha,[za,c("span",Ea,L(i(n)("button.buttonText")),1)]),Da],8,Ba))}}),Fa={class:"VPNavBarSearch"},xa={id:"local-search"},Oa={key:1,id:"docsearch"},Ua=$({__name:"VPNavBarSearch",setup(s){const e=Je(()=>Xe(()=>import("./VPLocalSearchBox.v5obXZm9.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=P(),o=M(!1),r=M(!1);U(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}function v(y){const I=y.target,S=I.tagName;return I.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const g=M(!1);ye("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),g.value=!0)}),ye("/",y=>{v(y)||(y.preventDefault(),g.value=!0)});const w="local";return(y,I)=>{var S;return a(),l("div",Fa,[i(w)==="local"?(a(),l(C,{key:0},[g.value?(a(),k(i(e),{key:0,onClose:I[0]||(I[0]=A=>g.value=!1)})):f("",!0),c("div",xa,[_(we,{onClick:I[1]||(I[1]=A=>g.value=!0)})])],64)):i(w)==="algolia"?(a(),l(C,{key:1},[o.value?(a(),k(i(t),{key:0,algolia:((S=i(n).search)==null?void 0:S.options)??i(n).algolia,onVnodeBeforeMount:I[2]||(I[2]=A=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),l("div",Oa,[_(we,{onClick:d})]))],64)):f("",!0)])}}}),Ga=$({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),k(be,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),ja=m(Ga,[["__scopeId","data-v-ef6192dc"]]),Ra=["href"],Ka=$({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=D(),{currentLang:o}=X();return(r,d)=>(a(),l("div",{class:T(["VPNavBarTitle",{"has-sidebar":i(n)}])},[c("a",{class:"title",href:i(t).logoLink??i(J)(i(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),k(ee,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[H(L(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[H(L(i(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ra)],2))}}),qa=m(Ka,[["__scopeId","data-v-2973dbb4"]]),Wa={},Ya={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ja=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Xa=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Za=[Ja,Xa];function Qa(s,e){return a(),l("svg",Ya,Za)}const He=m(Wa,[["render",Qa]]),er={class:"items"},tr={class:"title"},sr=$({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=X({correspondingLink:!0});return(o,r)=>i(t).length&&i(n).label?(a(),k(ke,{key:0,class:"VPNavBarTranslations",icon:He,label:i(e).langMenuLabel||"Change language"},{default:h(()=>[c("div",er,[c("p",tr,L(i(n).label),1),(a(!0),l(C,null,B(i(t),d=>(a(),k(oe,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),nr=m(sr,[["__scopeId","data-v-ff4524ae"]]),or=s=>(z("data-v-5befd255"),s=s(),E(),s),ar={class:"container"},rr={class:"title"},ir={class:"content"},lr=or(()=>c("div",{class:"curtain"},null,-1)),cr={class:"content-body"},ur=$({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=Se(),{hasSidebar:t}=D(),{frontmatter:n}=P(),o=M({});return Ve(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),l("div",{class:T(["VPNavBar",o.value])},[c("div",ar,[c("div",rr,[_(qa,null,{"nav-bar-title-before":h(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",ir,[lr,c("div",cr,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),_(Ua,{class:"search"}),_(Aa,{class:"menu"}),_(nr,{class:"translations"}),_(wo,{class:"appearance"}),_(ja,{class:"social-links"}),_(ma,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),_(Pa,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}}),dr=m(ur,[["__scopeId","data-v-5befd255"]]),vr={key:0,class:"VPNavScreenAppearance"},hr={class:"text"},pr=$({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",vr,[c("p",hr,L(i(t).darkModeSwitchLabel||"Appearance"),1),_(ge)])):f("",!0)}}),_r=m(pr,[["__scopeId","data-v-338d9b48"]]),fr=$({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),k(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),mr=m(fr,[["__scopeId","data-v-fe523e3d"]]),gr={},$r={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},kr=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),br=[kr];function yr(s,e){return a(),l("svg",$r,br)}const Pr=m(gr,[["render",yr]]),wr=$({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),k(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ze=m(wr,[["__scopeId","data-v-aea78dd1"]]),Vr={class:"VPNavScreenMenuGroupSection"},Lr={key:0,class:"title"},Sr=$({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Vr,[e.text?(a(),l("p",Lr,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),k(ze,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Mr=m(Sr,[["__scopeId","data-v-f60dbfa7"]]),Cr=["aria-controls","aria-expanded"],Ir=["innerHTML"],Tr=["id"],Ar={key:1,class:"group"},Nr=$({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=M(!1),n=b(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),l("div",{class:T(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",{class:"button-text",innerHTML:r.text},null,8,Ir),_(Pr,{class:"button-icon"})],8,Cr),c("div",{id:n.value,class:"items"},[(a(!0),l(C,null,B(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[_(ze,{item:p},null,8,["item"])])):(a(),l("div",Ar,[_(Mr,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,Tr)],2))}}),Br=m(Nr,[["__scopeId","data-v-32e4a89c"]]),Hr={key:0,class:"VPNavScreenMenu"},zr=$({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Hr,[(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),k(mr,{key:0,item:o},null,8,["item"])):(a(),k(Br,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Er=$({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),k(be,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Dr={class:"list"},Fr=$({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=X({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(r,d)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:T(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[_(He,{class:"icon lang"}),H(" "+L(i(t).label)+" ",1),_(Be,{class:"icon chevron"})]),c("ul",Dr,[(a(!0),l(C,null,B(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[_(F,{class:"link",href:p.link},{default:h(()=>[H(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),xr=m(Fr,[["__scopeId","data-v-41505286"]]),Or={class:"container"},Ur=$({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=M(null),t=Me(q?document.body:null);return(n,o)=>(a(),k(ue,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:h(()=>[n.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",Or,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),_(zr,{class:"menu"}),_(xr,{class:"translations"}),_(_r,{class:"appearance"}),_(Er,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Gr=m(Ur,[["__scopeId","data-v-57cce842"]]),jr={key:0,class:"VPNav"},Rr=$({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=to(),{frontmatter:o}=P(),r=b(()=>o.value.navbar!==!1);return Ce("close-screen",t),te(()=>{q&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),l("header",jr,[_(dr,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":h(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(Gr,{open:i(e)},{"nav-screen-content-before":h(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),Kr=m(Rr,[["__scopeId","data-v-7ad780c2"]]),qr=s=>(z("data-v-bd01e0d5"),s=s(),E(),s),Wr=["role","tabindex"],Yr=qr(()=>c("div",{class:"indicator"},null,-1)),Jr=["onKeydown"],Xr={key:1,class:"items"},Zr=$({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:v}=yt(b(()=>e.item)),g=b(()=>p.value?"section":"div"),w=b(()=>o.value?"a":"div"),y=b(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=b(()=>o.value?void 0:"button"),S=b(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function A(V){"key"in V&&V.key!=="Enter"||!e.item.link&&v()}function N(){e.item.link&&v()}return(V,R)=>{const W=j("VPSidebarItem",!0);return a(),k(x(g.value),{class:T(["VPSidebarItem",S.value])},{default:h(()=>[V.item.text?(a(),l("div",Z({key:0,class:"item",role:I.value},Qe(V.item.items?{click:A,keydown:A}:{},!0),{tabindex:V.item.items&&0}),[Yr,V.item.link?(a(),k(F,{key:0,tag:w.value,class:"link",href:V.item.link,rel:V.item.rel,target:V.item.target},{default:h(()=>[(a(),k(x(y.value),{class:"text",innerHTML:V.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(x(y.value),{key:1,class:"text",innerHTML:V.item.text},null,8,["innerHTML"])),V.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:N,onKeydown:Ze(N,["enter"]),tabindex:"0"},[_(me,{class:"caret-icon"})],40,Jr)):f("",!0)],16,Wr)):f("",!0),V.item.items&&V.item.items.length?(a(),l("div",Xr,[V.depth<5?(a(!0),l(C,{key:0},B(V.item.items,K=>(a(),k(W,{key:K.text,item:K,depth:V.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),Qr=m(Zr,[["__scopeId","data-v-bd01e0d5"]]),Ee=s=>(z("data-v-168699b1"),s=s(),E(),s),ei=Ee(()=>c("div",{class:"curtain"},null,-1)),ti={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},si=Ee(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ni=$({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=D(),n=s,o=M(null),r=Me(q?document.body:null);return G([n,o],()=>{var d;n.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>i(t)?(a(),l("aside",{key:0,class:T(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[ei,c("nav",ti,[si,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,B(i(e),v=>(a(),l("div",{key:v.text,class:"group"},[_(Qr,{item:v,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),oi=m(ni,[["__scopeId","data-v-168699b1"]]),ai=$({__name:"VPSkipLink",setup(s){const e=se(),t=M();G(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),l(C,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),ri=m(ai,[["__scopeId","data-v-c8291ffa"]]),ii=$({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=D(),o=se();G(()=>o.path,n),bt(e,n);const{frontmatter:r}=P(),d=tt(),p=b(()=>!!d["home-hero-image"]);return Ce("hero-image-slot-exists",p),(v,g)=>{const w=j("Content");return i(r).layout!==!1?(a(),l("div",{key:0,class:T(["Layout",i(r).pageClass])},[u(v.$slots,"layout-top",{},void 0,!0),_(ri),_(rt,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),_(Kr,null,{"nav-bar-title-before":h(()=>[u(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[u(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(eo,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),_(oi,{open:i(e)},{"sidebar-nav-before":h(()=>[u(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[u(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(An,null,{"page-top":h(()=>[u(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[u(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[u(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[u(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[u(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[u(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(En),u(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(w,{key:1}))}}}),li=m(ii,[["__scopeId","data-v-9d8abc1e"]]),di={Layout:li,enhanceApp:({app:s})=>{s.component("Badge",nt)}};class vi{constructor(e=10){ae(this,"max");ae(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}export{vi as L,Na as c,di as t,P as u}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/chunks/VPLocalSearchBox.v5obXZm9.js","assets/chunks/framework.a4NdKwKH.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/guide_advanced.md.0UtTqeQw.js b/assets/guide_advanced.md.0UtTqeQw.js new file mode 100644 index 00000000..2774c98e --- /dev/null +++ b/assets/guide_advanced.md.0UtTqeQw.js @@ -0,0 +1,119 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const c=JSON.parse('{"title":"In-Depth","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/advanced.md","filePath":"guide/advanced.md"}'),p={name:"guide/advanced.md"},l=n(`

In-Depth

SVG imported as component

@yzfe/svgicon-loader or vite-plugin-svgicon both provide component and customCode options to import svg files as components.

  • component
    • vue Vue 3.x Component
    • react React Component
    • custom Custom generated code, used with customCode

Use presets

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            component: 'react',
+        })
+    ]
+})

Usage

tsx
import ArrowIcon from 'svg-icon-path/arrow.svg'
+export default funtion() {
+   return (
+        <div>
+            <ArrowIcon color="red" />
+        </div>
+    )
+}

Customize

Customize the generated code by setting the component and customCode options. The @yzfe/svgicon-loader or vite-plugin-svgicon has already generated a code snippet: const data = {/*iconData*/}. Finally, this code snippet will be concatenated with the customCode to form the final code.

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            component: 'custom',
+            customCode: \`
+                import Vue from 'vue'
+                import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+                export default {
+                    functional: true,
+                    render(h, context) {
+                        return h(VueSvgIcon, {
+                            ...context.data,
+                            data: data
+                        })
+                    }
+                }
+            \`
+        })
+    ]
+})

The above configuration loads the svg file as the code below

js
const data = {/*iconData*/}
+import Vue from 'vue'
+import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+export default {
+    functional: true,
+    render(h, context) {
+        return h(VueSvgIcon, {
+            ...context.data,
+            data: data
+        })
+    }
+}

WARNING

If you are using @yzfe/svgicon-loader, you need to add babel-loader to process the generated code.

Configure multiple paths

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, '../../packages/assets/svg'),
+        }),
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            // macth:  xxx.svg?component
+            matchQuery: /component/,
+            svgFilePath: path.join(__dirname, '../../packages/assets'),
+            component: 'vue',
+        }),
+         svgicon({
+            include: ['**/assets/font-awesome/**/*.svg'],
+            svgFilePath: path.join(
+                __dirname,
+                '../../packages/assets/font-awesome'
+            ),
+        }),
+    ]
+})

Usage

ts
// import as icon data
+import ArrowIconData from '@/assets/svg/arrow.svg'
+import FaArrowIconData from '@/assets/font-awesome/arrow.svg'
+
+// import as component
+import ArrowIcon from 'svg-icon-path/arrow.svg?component'
+
+// import as url
+import ArrowSvgUrl from 'svg-icon-path/arrow.svg?url'

Typescript

If SVG file is imported as a component, the type definition of the component needs to be added.

ts
// react
+declare module '@/assets/svg/*.svg' {
+    import { ReactSvgIconFC } from '@yzfe/react-svgicon'
+    const value: ReactSvgIconFC
+    export = value
+}
+
+// vue
+declare module '@/assets/svg/*.svg' {
+    import { VueSvgIcon } from '@yzfe/vue-svgicon'
+    const value: typeof VueSvgIcon
+    export = value
+}

vue-cli

If your project uses vue-cli, it is recommended to use @yzfe/vue-cli-plugin-svgicon for quick configuration.

bash
# You will be prompted to fill in the SVG file path, the globally registered component tag name and the vue version
+vue add @yzfe/svgicon

If you have installed @yzfe/vue-cli-plugin-svgicon, but this plugin is not invoked, you can invoke it manually.

bash
vue invoke @yzfe/svgicon

After a successful invoke, the necessary dependencies and code will be automatically added, and a .vue-svgicon.config.js file will be generated to configure @yzfe/svgicon-loader and webpack aliases, as well as transformAssetUrls, etc.

js
const path = require('path')
+const svgFilePaths = ['src/assets/svgicon'].map((v) => path.resolve(v))
+const tagName = 'icon'
+
+module.exports = {
+    tagName,
+    svgFilePath: svgFilePaths,
+    svgoConfig: {},
+    pathAlias: {
+        '@icon': svgFilePaths[0],
+    },
+    transformAssetUrls: {
+        [tagName]: ['data'],
+    },
+    loaderOptions: {},
+}
`,28),h=[l];function t(e,k,d,E,r,g){return i(),a("div",null,h)}const y=s(p,[["render",t]]);export{c as __pageData,y as default}; diff --git a/assets/guide_advanced.md.0UtTqeQw.lean.js b/assets/guide_advanced.md.0UtTqeQw.lean.js new file mode 100644 index 00000000..b12d0408 --- /dev/null +++ b/assets/guide_advanced.md.0UtTqeQw.lean.js @@ -0,0 +1 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const c=JSON.parse('{"title":"In-Depth","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/advanced.md","filePath":"guide/advanced.md"}'),p={name:"guide/advanced.md"},l=n("",28),h=[l];function t(e,k,d,E,r,g){return i(),a("div",null,h)}const y=s(p,[["render",t]]);export{c as __pageData,y as default}; diff --git a/assets/guide_component.md.CmpP1JPd.js b/assets/guide_component.md.CmpP1JPd.js new file mode 100644 index 00000000..c0d249d1 --- /dev/null +++ b/assets/guide_component.md.CmpP1JPd.js @@ -0,0 +1,158 @@ +import{_ as c,D as s,o as u,c as y,I as i,k as t,a as n,R as a}from"./chunks/framework.a4NdKwKH.js";const z=JSON.parse('{"title":"Component","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/component.md","filePath":"guide/component.md"}'),q={name:"guide/component.md"},_=t("h1",{id:"component",tabindex:"-1"},[n("Component "),t("a",{class:"header-anchor",href:"#component","aria-label":'Permalink to "Component"'},"​")],-1),m=t("h2",{id:"color",tabindex:"-1"},[n("Color "),t("a",{class:"header-anchor",href:"#color","aria-label":'Permalink to "Color"'},"​")],-1),F=a(`
View Code
vue
<demo-wrap :title="$attrs.title" :style="{ color: 'orange' }">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="red"
+    />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="green"
+    />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="blue"
+    />
+</demo-wrap>
`,1),C=a(`

Clock icon: the circle is the fill, the hour and minute hands are the stroke, Vue icon: the first path is the stroke, the second is the path is the fill

View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="50"
+        height="50"
+        color="r-red"
+    />
+    <icon
+        data="@icon/clock.svg"
+        width="50"
+        height="50"
+        color="#8A99B2 r-#1C2330"
+    />
+    <!-- use css var -->
+    <icon
+        data="@icon/clock.svg"
+        width="50"
+        height="50"
+        color="#8A99B2 r-var(--color-bg-primary)"
+    />
+    <icon
+        data="@icon/vue.svg"
+        width="50"
+        height="50"
+        :fill="false"
+        color="#42b983 r-#42b983"
+    />
+</demo-wrap>
`,2),v=a(`
View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/check.svg"
+        width="80"
+        height="80"
+        color="#42b983 r-white"
+    />
+    <icon
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        color="#FBAD20 #F5EB13 #B8D433 #6BC9C6 #058BC5 #34469D #7E4D9F #C63D96 #ED1944"
+    />
+    <!-- Use array -->
+    <icon
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        :color="[
+            'rgba(0, 0, 100, .5)',
+            '#F5EB13',
+            '#B8D433',
+            '#6BC9C6',
+            '#058BC5',
+            '#34469D',
+            '#7E4D9F',
+            '#C63D96',
+            '#ED1944',
+        ]"
+    />
+</demo-wrap>
`,1),b=a(`
View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@icon/colorwheel.svg" width="60" height="60" original />
+    <!-- overwrite original color -->
+    <icon
+        data="@icon/colorwheel.svg"
+        width="60"
+        height="60"
+        original
+        color="_ black _ black _"
+    />
+    <icon
+        data="@icon/colorwheel.svg"
+        width="60"
+        height="60"
+        original
+        color="_ r-black _ r-red _"
+    />
+    <icon data="@icon/gift.svg" width="60" height="60" original />
+</demo-wrap>

The second and third color wheels modify certain colors based on the primary colors

`,2),w=a(`
View Code
vue
<svg style="position: absolute; width: 0; opacity: 0">
+    <defs>
+        <linearGradient id="gradient-1" x1="0" y1="0" x2="0" y2="1">
+            <stop offset="5%" stop-color="#57f0c2" />
+            <stop offset="95%" stop-color="#147d58" />
+        </linearGradient>
+        <linearGradient id="gradient-2" x1="0" y1="0" x2="0" y2="1">
+            <stop offset="5%" stop-color="#7295c2" />
+            <stop offset="95%" stop-color="#252e3d" />
+        </linearGradient>
+    </defs>
+</svg>
+<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/vue.svg"
+        width="100"
+        height="100"
+        color="url(#gradient-1) url(#gradient-2)"
+    ></icon>
+</demo-wrap>
`,1),B=a(`
View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/gift.svg"
+        width="60" height="60"
+        original
+        :stop-colors="['blue', 'green']" />
+</demo-wrap>

The original porp must to be true

Size

`,3),f=a(`
View Code
vue
<demo-wrap :title="$attrs.title" :style="{ fontSize: '12px' }">
+    <icon data="@fa/solid/arrow-up.svg" />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon data="@fa/solid/arrow-up.svg" width="4em" height="4em" />
+    <icon data="@fa/solid/arrow-up.svg" width="4rem" height="4rem" />
+</demo-wrap>

Fill/Stroke

`,2),T=a(`
View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        :fill="false"
+        class="stroke-icon"
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+    />
+</demo-wrap>
vue
<style>
+.stroke-icon path[pid='0'] {
+    stroke-width: 10px;
+}
+</style>

Direction

`,2),A=a(`
View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        dir="right"
+    />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" dir="down" />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" dir="left" />
+</demo-wrap>

Repalce content

`,2),D=a(`
View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        class="icon"
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        original
+        :replace="(svg) => svg.replace('#34469D', 'var(--color-white)')"
+    />
+</demo-wrap>
`,1);function S(V,P,I,x,N,R){const l=s("demo-color"),h=s("demo-reverse-color"),p=s("demo-multi-color"),e=s("demo-original-color"),k=s("demo-gradient"),E=s("demo-gradient-colors"),o=s("demo-size"),d=s("demo-fill"),r=s("demo-direction"),g=s("demo-replace");return u(),y("div",null,[_,m,i(l,{title:"Single color (default: inherit font color)"}),F,i(h,{title:"r-color (Reverse fill or stroke attributes)"}),C,i(p,{title:"Multicolor (set in the order of path/shape)"}),v,i(e,{title:"Original Color (original)"}),b,i(k,{title:"Gradient"}),w,i(E,{title:"Modify Original Gradient Colors"}),B,i(o,{title:"size, default unit: px, default size: 16px"}),f,i(d,{title:"fill, default: true"}),T,i(r,{title:"dir, default: up"}),A,i(g,{title:"Replace SVG content (replace)"}),D])}const G=c(q,[["render",S]]);export{z as __pageData,G as default}; diff --git a/assets/guide_component.md.CmpP1JPd.lean.js b/assets/guide_component.md.CmpP1JPd.lean.js new file mode 100644 index 00000000..5fefb107 --- /dev/null +++ b/assets/guide_component.md.CmpP1JPd.lean.js @@ -0,0 +1 @@ +import{_ as c,D as s,o as u,c as y,I as i,k as t,a as n,R as a}from"./chunks/framework.a4NdKwKH.js";const z=JSON.parse('{"title":"Component","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/component.md","filePath":"guide/component.md"}'),q={name:"guide/component.md"},_=t("h1",{id:"component",tabindex:"-1"},[n("Component "),t("a",{class:"header-anchor",href:"#component","aria-label":'Permalink to "Component"'},"​")],-1),m=t("h2",{id:"color",tabindex:"-1"},[n("Color "),t("a",{class:"header-anchor",href:"#color","aria-label":'Permalink to "Color"'},"​")],-1),F=a("",1),C=a("",2),v=a("",1),b=a("",2),w=a("",1),B=a("",3),f=a("",2),T=a("",2),A=a("",2),D=a("",1);function S(V,P,I,x,N,R){const l=s("demo-color"),h=s("demo-reverse-color"),p=s("demo-multi-color"),e=s("demo-original-color"),k=s("demo-gradient"),E=s("demo-gradient-colors"),o=s("demo-size"),d=s("demo-fill"),r=s("demo-direction"),g=s("demo-replace");return u(),y("div",null,[_,m,i(l,{title:"Single color (default: inherit font color)"}),F,i(h,{title:"r-color (Reverse fill or stroke attributes)"}),C,i(p,{title:"Multicolor (set in the order of path/shape)"}),v,i(e,{title:"Original Color (original)"}),b,i(k,{title:"Gradient"}),w,i(E,{title:"Modify Original Gradient Colors"}),B,i(o,{title:"size, default unit: px, default size: 16px"}),f,i(d,{title:"fill, default: true"}),T,i(r,{title:"dir, default: up"}),A,i(g,{title:"Replace SVG content (replace)"}),D])}const G=c(q,[["render",S]]);export{z as __pageData,G as default}; diff --git a/assets/guide_index.md.b4NKrtkH.js b/assets/guide_index.md.b4NKrtkH.js new file mode 100644 index 00000000..1df7bdc1 --- /dev/null +++ b/assets/guide_index.md.b4NKrtkH.js @@ -0,0 +1,143 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const c=JSON.parse('{"title":"Quick Start","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md"}'),l={name:"guide/index.md"},t=n(`

Quick Start

This section provides a brief introduction to the configuration and usage of svgicon. For more in-depth information, it is recommended to refer to the "In-Depth" section to gain a deeper understanding.

Introduction

svgicon is a name

svgicon is SVG icon component and tool set. It turns SVG files into icon data (vue) or icon components (react), allowing you to happily use SVG icons in your projects, whether you are using vue, react, vue3.x or Other js frameworks. svgicon includes the following npm packages:

  • @yzfe/svgicon Generate the data required by the SVG icon component according to the incoming parameters (props)
  • @yzfe/vue-svgicon SVG icon component for vue
  • @yzfe/react-svgicon SVG icon component for react
  • @yzfe/svgicon-gen Generate icon data (icon name and processed SVG content) based on the content of the SVG file
  • @yzfe/svgicon-loader Load the SVG file as icon data (vue) or SVG icon component (react), the generated code can be customized
  • vite-plugin-svgicon vite plugin,like @yzfe/svgicon-loader
  • @yzfe/svgicon-viewer Preview SVG icon
  • @yzfe/vue-cli-plugin-svgicon A vue-cli plugin that can quickly configure svgicon
  • @yzfe/svgicon-polyfill SVG innerHTML compatible (IE)

Configuration

Vite

Use vite-plugin-svgicon to load svg files as icon data

bash
npm install vite-plugin-svgicon -D
js
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            // If you are using react, it is recommended to configure the component option for react and load the svg file as react components.
+            component: 'react',
+        })
+    ]
+})

Webpack

Use @yzfe/svgicon-loader to load svg files as icon data

bash
npm install @yzfe/svgicon-loader -D
js
// webpack.config.js
+{
+    module: {
+        rules: [
+             {
+                test: /\\.svg$/,
+                include: ['SVG file path'],
+                use: [
+                    'babel-loader',
+                    {
+                        loader: '@yzfe/svgicon-loader',
+                        options: {
+                            svgFilePath: ['SVG file path'],
+                            // Custom svgo configuration
+                            svgoConfig: null,
+                            // If you are using react, it is recommended to configure the component option for react and load the svg file as react components.
+                            component: 'react',
+                        }
+                    }
+                ]
+            },
+        ]
+    }
+}

Use vue-cli

Usage

js
import arrowData from 'svg-file-path/arrow.svg'
+// {name: 'arrow', data: {width: 16, height: 16, ...}}
+console.log(arrowData)

Vue 2.x

Install dependencies

bash
npm install @yzfe/svgicon @yzfe/vue-svgicon  --save

Usage

js
// main.js
+import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+// Import style
+import '@yzfe/svgicon/lib/svgicon.css'
+// Global component
+Vue.component('icon', VueSvgIcon)
vue
<template>
+    <div>
+        <icon :data="arrowData" />
+        <!-- It is recommended to configure transformAssetUrls,. You can directly pass in the svg file path. -->
+        <icon data="svg-file-path/arrow.svg" />
+    </div>
+</template>
+<script>
+import arrowData from 'svg-file-path/arrow.svg'
+export default {
+    data() {
+        return: {
+            arrowData
+        }
+    }
+}
+</script>

Vue 3.x

Install dependencies

bash
npm install @yzfe/svgicon @yzfe/vue-svgicon --save

Usage

ts
// main.ts
+import { VueSvgIconPlugin } from '@yzfe/vue-svgicon'
+// Import style
+import '@yzfe/svgicon/lib/svgicon.css'
+// Global component
+app.use(VueSvgIconPlugin, {tagName: 'icon'})
vue
<script setup lang="ts">
+import arrowData from 'svg-file-path/arrow.svg'
+</script>
+<template>
+    <div>
+        <icon :data="arrowData" />
+        <!-- It is recommended to configure transformAssetUrls,. You can directly pass in the svg file path. -->
+        <icon data="svg-file-path/arrow.svg" />
+    </div>
+</template>

React

Install dependencies

bash
npm install @yzfe/svgicon @yzfe/react-svgicon --save

Usage

ts
import '@yzfe/svgicon/lib/svgicon.css'
tsx
import ArrowIcon from 'svg-file-path/arrow.svg'
+
+export default function FC() {
+    return (
+        <div>
+            <ArrowIcon color="red" />
+        </div>
+    )
+}

Other frameworks

Other frameworks can use @yzfe/svgicon to write icon components suitable for their frameworks, please refer to @yzfe/react-svgicon.

@yzfe/react-svgicon
tsx
import React from 'react'
+import {
+    svgIcon,
+    Props,
+    Options,
+    setOptions,
+    getPropKeys,
+    Icon,
+    IconData,
+} from '@yzfe/svgicon'
+
+interface ComponentProps extends Props {
+    [key: string]: unknown
+}
+
+class ReactSvgIcon extends React.PureComponent<ComponentProps> {
+    public render(): JSX.Element {
+        const props = this.props
+        const result = svgIcon(props)
+        const attrs: Record<string, unknown> = {}
+
+        if (props) {
+            const propsKeys = getPropKeys()
+            for (const key in props) {
+                if (propsKeys.indexOf(key as keyof Props) < 0) {
+                    attrs[key] = props[key]
+                }
+            }
+        }
+
+        attrs.viewBox = result.box
+        attrs.className = (attrs.className || '') + \` \${result.className}\`
+        attrs.style = {
+            ...((attrs.style as Record<string, string>) || {}),
+            ...result.style,
+        }
+
+        return (
+            <svg
+                {...attrs}
+                dangerouslySetInnerHTML={{ __html: result.path }}
+            ></svg>
+        )
+    }
+}
+
+/** SvgIcon function component, define in @yzfe/svgicon-loader compile */
+interface ReactSvgIconFC extends React.FC<ComponentProps> {
+    iconName: string
+    iconData: IconData
+}
+
+export {
+    ReactSvgIcon,
+    ReactSvgIconFC,
+    Props,
+    Options,
+    Icon,
+    IconData,
+    setOptions,
+}
`,39),h=[t];function p(e,k,E,r,d,g){return i(),a("div",null,h)}const y=s(l,[["render",p]]);export{c as __pageData,y as default}; diff --git a/assets/guide_index.md.b4NKrtkH.lean.js b/assets/guide_index.md.b4NKrtkH.lean.js new file mode 100644 index 00000000..fd6e1fea --- /dev/null +++ b/assets/guide_index.md.b4NKrtkH.lean.js @@ -0,0 +1 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const c=JSON.parse('{"title":"Quick Start","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md"}'),l={name:"guide/index.md"},t=n("",39),h=[t];function p(e,k,E,r,d,g){return i(),a("div",null,h)}const y=s(l,[["render",p]]);export{c as __pageData,y as default}; diff --git a/assets/guide_other.md.8dLgtnI_.js b/assets/guide_other.md.8dLgtnI_.js new file mode 100644 index 00000000..295d10c5 --- /dev/null +++ b/assets/guide_other.md.8dLgtnI_.js @@ -0,0 +1,8 @@ +import{_ as s,o as a,c as i,R as e}from"./chunks/framework.a4NdKwKH.js";const v=JSON.parse('{"title":"Other","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/other.md","filePath":"guide/other.md"}'),t={name:"guide/other.md"},n=e(`

Other

Icon Preview

Use @yzfe/svgicon-viewer to preview SVG files in any folder.

Installation

bash
# Global installation
+yarn global add @yzfe/svgicon-viewer

Usage

bash
# svgicon-viewer <svgFilePath> [metaFile]
+svgicon-viewer ./src/assets/svg

svgicon-viewer

Use meta.json to add additional information. Currently, only one name field is supported, which can be used to describe the icon.

json
// meta.json demo
+{
+    "arrow": {
+        "name": "箭头"
+    }
+}
bash
svgicon-viewer ./src/assets/svg ./src/assets/svg/meta.json

svgicon-viewer

Generate static html page

svgicon-viewer ./src/assets/svg -o ./dist
`,14),l=[n];function h(p,o,r,c,d,g){return a(),i("div",null,l)}const u=s(t,[["render",h]]);export{v as __pageData,u as default}; diff --git a/assets/guide_other.md.8dLgtnI_.lean.js b/assets/guide_other.md.8dLgtnI_.lean.js new file mode 100644 index 00000000..96af7b74 --- /dev/null +++ b/assets/guide_other.md.8dLgtnI_.lean.js @@ -0,0 +1 @@ +import{_ as s,o as a,c as i,R as e}from"./chunks/framework.a4NdKwKH.js";const v=JSON.parse('{"title":"Other","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/other.md","filePath":"guide/other.md"}'),t={name:"guide/other.md"},n=e("",14),l=[n];function h(p,o,r,c,d,g){return a(),i("div",null,l)}const u=s(t,[["render",h]]);export{v as __pageData,u as default}; diff --git a/assets/index.md.oxmTioWI.js b/assets/index.md.oxmTioWI.js new file mode 100644 index 00000000..f1a8cf3a --- /dev/null +++ b/assets/index.md.oxmTioWI.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as o}from"./chunks/framework.a4NdKwKH.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"svgicon","text":"SVG icon toolkit","actions":[{"theme":"brand","text":"Quick Start →","link":"/guide/"}]},"features":[{"title":"Support multiple js frameworks","details":"Vue 2.x, Vue 3.x, React >= 16.8 icon components are provided by default, and components that support other frameworks can be written through @yzfe/svgicon"},{"title":"Load with webpack loader","details":"Load SVG files into icon data or icon components through webpack loader (@yzfe/svgicon-loader) or vite-plugin-svgicon, and you can customize the generated code."},{"title":"Multiple features","details":"Supports multiple colors, including gradients; Supports set fill and stroke attributes at the same time; supports original colors, and can modify a certain color; Supports zoom, animation etc."},{"title":"Icon Preview","details":"In any folder, use @yzfe/svgicon-viewer to view the SVG icon effect"}],"footer":"MIT Licensed | Copyright © 2020-present YZFE"},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function a(n,r,s,c,d,l){return t(),o("div")}const m=e(i,[["render",a]]);export{u as __pageData,m as default}; diff --git a/assets/index.md.oxmTioWI.lean.js b/assets/index.md.oxmTioWI.lean.js new file mode 100644 index 00000000..f1a8cf3a --- /dev/null +++ b/assets/index.md.oxmTioWI.lean.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as o}from"./chunks/framework.a4NdKwKH.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"svgicon","text":"SVG icon toolkit","actions":[{"theme":"brand","text":"Quick Start →","link":"/guide/"}]},"features":[{"title":"Support multiple js frameworks","details":"Vue 2.x, Vue 3.x, React >= 16.8 icon components are provided by default, and components that support other frameworks can be written through @yzfe/svgicon"},{"title":"Load with webpack loader","details":"Load SVG files into icon data or icon components through webpack loader (@yzfe/svgicon-loader) or vite-plugin-svgicon, and you can customize the generated code."},{"title":"Multiple features","details":"Supports multiple colors, including gradients; Supports set fill and stroke attributes at the same time; supports original colors, and can modify a certain color; Supports zoom, animation etc."},{"title":"Icon Preview","details":"In any folder, use @yzfe/svgicon-viewer to view the SVG icon effect"}],"footer":"MIT Licensed | Copyright © 2020-present YZFE"},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function a(n,r,s,c,d,l){return t(),o("div")}const m=e(i,[["render",a]]);export{u as __pageData,m as default}; diff --git a/assets/inter-italic-cyrillic-ext.OVycGSDq.woff2 b/assets/inter-italic-cyrillic-ext.OVycGSDq.woff2 new file mode 100644 index 00000000..2a687296 Binary files /dev/null and b/assets/inter-italic-cyrillic-ext.OVycGSDq.woff2 differ diff --git a/assets/inter-italic-cyrillic.-nLMcIwj.woff2 b/assets/inter-italic-cyrillic.-nLMcIwj.woff2 new file mode 100644 index 00000000..f6403515 Binary files /dev/null and b/assets/inter-italic-cyrillic.-nLMcIwj.woff2 differ diff --git a/assets/inter-italic-greek-ext.hznxWNZO.woff2 b/assets/inter-italic-greek-ext.hznxWNZO.woff2 new file mode 100644 index 00000000..00218960 Binary files /dev/null and b/assets/inter-italic-greek-ext.hznxWNZO.woff2 differ diff --git a/assets/inter-italic-greek.PSfer2Kc.woff2 b/assets/inter-italic-greek.PSfer2Kc.woff2 new file mode 100644 index 00000000..71c265f8 Binary files /dev/null and b/assets/inter-italic-greek.PSfer2Kc.woff2 differ diff --git a/assets/inter-italic-latin-ext.RnFly65-.woff2 b/assets/inter-italic-latin-ext.RnFly65-.woff2 new file mode 100644 index 00000000..9c1b9440 Binary files /dev/null and b/assets/inter-italic-latin-ext.RnFly65-.woff2 differ diff --git a/assets/inter-italic-latin.27E69YJn.woff2 b/assets/inter-italic-latin.27E69YJn.woff2 new file mode 100644 index 00000000..01fcf207 Binary files /dev/null and b/assets/inter-italic-latin.27E69YJn.woff2 differ diff --git a/assets/inter-italic-vietnamese.xzQHe1q1.woff2 b/assets/inter-italic-vietnamese.xzQHe1q1.woff2 new file mode 100644 index 00000000..e4f788ee Binary files /dev/null and b/assets/inter-italic-vietnamese.xzQHe1q1.woff2 differ diff --git a/assets/inter-roman-cyrillic-ext.8T9wMG5w.woff2 b/assets/inter-roman-cyrillic-ext.8T9wMG5w.woff2 new file mode 100644 index 00000000..28593ccb Binary files /dev/null and b/assets/inter-roman-cyrillic-ext.8T9wMG5w.woff2 differ diff --git a/assets/inter-roman-cyrillic.jIZ9REo5.woff2 b/assets/inter-roman-cyrillic.jIZ9REo5.woff2 new file mode 100644 index 00000000..a20adc16 Binary files /dev/null and b/assets/inter-roman-cyrillic.jIZ9REo5.woff2 differ diff --git a/assets/inter-roman-greek-ext.9JiNzaSO.woff2 b/assets/inter-roman-greek-ext.9JiNzaSO.woff2 new file mode 100644 index 00000000..e3b0be76 Binary files /dev/null and b/assets/inter-roman-greek-ext.9JiNzaSO.woff2 differ diff --git a/assets/inter-roman-greek.Cb5wWeGA.woff2 b/assets/inter-roman-greek.Cb5wWeGA.woff2 new file mode 100644 index 00000000..f790e047 Binary files /dev/null and b/assets/inter-roman-greek.Cb5wWeGA.woff2 differ diff --git a/assets/inter-roman-latin-ext.GZWE-KO4.woff2 b/assets/inter-roman-latin-ext.GZWE-KO4.woff2 new file mode 100644 index 00000000..715bd903 Binary files /dev/null and b/assets/inter-roman-latin-ext.GZWE-KO4.woff2 differ diff --git a/assets/inter-roman-latin.bvIUbFQP.woff2 b/assets/inter-roman-latin.bvIUbFQP.woff2 new file mode 100644 index 00000000..a540b7af Binary files /dev/null and b/assets/inter-roman-latin.bvIUbFQP.woff2 differ diff --git a/assets/inter-roman-vietnamese.paY3CzEB.woff2 b/assets/inter-roman-vietnamese.paY3CzEB.woff2 new file mode 100644 index 00000000..5a9f9cb9 Binary files /dev/null and b/assets/inter-roman-vietnamese.paY3CzEB.woff2 differ diff --git a/assets/style.YsujVWqA.css b/assets/style.YsujVWqA.css new file mode 100644 index 00000000..bc0fd68b --- /dev/null +++ b/assets/style.YsujVWqA.css @@ -0,0 +1 @@ +@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/svgicon/assets/inter-roman-cyrillic.jIZ9REo5.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/svgicon/assets/inter-roman-cyrillic-ext.8T9wMG5w.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/svgicon/assets/inter-roman-greek.Cb5wWeGA.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/svgicon/assets/inter-roman-greek-ext.9JiNzaSO.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/svgicon/assets/inter-roman-latin.bvIUbFQP.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/svgicon/assets/inter-roman-latin-ext.GZWE-KO4.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/svgicon/assets/inter-roman-vietnamese.paY3CzEB.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/svgicon/assets/inter-italic-cyrillic.-nLMcIwj.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/svgicon/assets/inter-italic-cyrillic-ext.OVycGSDq.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/svgicon/assets/inter-italic-greek.PSfer2Kc.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/svgicon/assets/inter-italic-greek-ext.hznxWNZO.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/svgicon/assets/inter-italic-latin.27E69YJn.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/svgicon/assets/inter-italic-latin-ext.RnFly65-.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/svgicon/assets/inter-italic-vietnamese.xzQHe1q1.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Chinese Quotes;src:local("PingFang SC Regular"),local("PingFang SC"),local("SimHei"),local("Source Han Sans SC");unicode-range:U+2018,U+2019,U+201C,U+201D}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4'/%3E%3C/svg%3E")}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-green-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-green-1);--vp-code-line-diff-remove-color: var(--vp-c-red-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-red-1);--vp-code-line-warning-color: var(--vp-c-yellow-soft);--vp-code-line-error-color: var(--vp-c-red-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-brand-soft);--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-gray-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-brand-1);--vp-badge-tip-bg: var(--vp-c-brand-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);direction:ltr;font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{margin:auto}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-brand-1)}.custom-block.tip a:hover{color:var(--vp-c-brand-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin-bottom:4px;text-align:center;letter-spacing:1px;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge[data-v-ea5b2908]{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.vp-doc h1>.VPBadge[data-v-ea5b2908]{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge[data-v-ea5b2908]{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge[data-v-ea5b2908]{vertical-align:middle}.vp-doc h4>.VPBadge[data-v-ea5b2908],.vp-doc h5>.VPBadge[data-v-ea5b2908],.vp-doc h6>.VPBadge[data-v-ea5b2908]{vertical-align:middle;line-height:18px}.VPBadge.info[data-v-ea5b2908]{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip[data-v-ea5b2908]{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning[data-v-ea5b2908]{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger[data-v-ea5b2908]{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-54a304ca]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-54a304ca],.VPBackdrop.fade-leave-to[data-v-54a304ca]{opacity:0}.VPBackdrop.fade-leave-active[data-v-54a304ca]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-54a304ca]{display:none}}.NotFound[data-v-b9c0c15a]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-b9c0c15a]{padding:96px 32px 168px}}.code[data-v-b9c0c15a]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-b9c0c15a]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-b9c0c15a]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-b9c0c15a]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-b9c0c15a]{padding-top:20px}.link[data-v-b9c0c15a]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-b9c0c15a]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-463da30f]{position:relative;z-index:1}.nested[data-v-463da30f]{padding-left:16px}.outline-link[data-v-463da30f]{display:block;line-height:28px;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s;font-weight:400}.outline-link[data-v-463da30f]:hover,.outline-link.active[data-v-463da30f]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-463da30f]{padding-left:13px}.VPDocAsideOutline[data-v-3a6c4994]{display:none}.VPDocAsideOutline.has-outline[data-v-3a6c4994]{display:block}.content[data-v-3a6c4994]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-3a6c4994]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-3a6c4994]{letter-spacing:.4px;line-height:28px;font-size:13px;font-weight:600}.VPDocAside[data-v-cb998dce]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-cb998dce]{flex-grow:1}.VPDocAside[data-v-cb998dce] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-cb998dce] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-cb998dce] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-19a7ae4e]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-19a7ae4e]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-a2d931e4]{margin-top:64px}.edit-info[data-v-a2d931e4]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-a2d931e4]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-a2d931e4]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-a2d931e4]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-a2d931e4]{margin-right:8px;width:14px;height:14px;fill:currentColor}.prev-next[data-v-a2d931e4]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-a2d931e4]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-a2d931e4]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-a2d931e4]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-a2d931e4]{margin-left:auto;text-align:right}.desc[data-v-a2d931e4]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-a2d931e4]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDocOutlineDropdown[data-v-95bb0785]{margin-bottom:48px}.VPDocOutlineDropdown button[data-v-95bb0785]{display:block;font-size:14px;font-weight:500;line-height:24px;border:1px solid var(--vp-c-border);padding:4px 12px;color:var(--vp-c-text-2);background-color:var(--vp-c-default-soft);border-radius:8px;transition:color .5s}.VPDocOutlineDropdown button[data-v-95bb0785]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPDocOutlineDropdown button.open[data-v-95bb0785]{color:var(--vp-c-text-1)}.icon[data-v-95bb0785]{display:inline-block;vertical-align:middle;width:16px;height:16px;fill:currentColor}[data-v-95bb0785] .outline-link{font-size:14px;font-weight:400}.open>.icon[data-v-95bb0785]{transform:rotate(90deg)}.items[data-v-95bb0785]{margin-top:12px;border-left:1px solid var(--vp-c-divider)}.VPDoc[data-v-a3c25e27]{padding:32px 24px 96px;width:100%}.VPDoc .VPDocOutlineDropdown[data-v-a3c25e27]{display:none}@media (min-width: 960px) and (max-width: 1279px){.VPDoc .VPDocOutlineDropdown[data-v-a3c25e27]{display:block}}@media (min-width: 768px){.VPDoc[data-v-a3c25e27]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-a3c25e27]{padding:32px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-a3c25e27]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-a3c25e27]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-a3c25e27]{display:flex;justify-content:center}.VPDoc .aside[data-v-a3c25e27]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-a3c25e27]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-a3c25e27]{max-width:1104px}}.container[data-v-a3c25e27]{margin:0 auto;width:100%}.aside[data-v-a3c25e27]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-a3c25e27]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-a3c25e27]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 32px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-a3c25e27]::-webkit-scrollbar{display:none}.aside-curtain[data-v-a3c25e27]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-a3c25e27]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px));padding-bottom:32px}.content[data-v-a3c25e27]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-a3c25e27]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-a3c25e27]{order:1;margin:0;min-width:640px}}.content-container[data-v-a3c25e27]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-a3c25e27]{max-width:688px}.external-link-icon-enabled[data-v-a3c25e27] :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.VPButton[data-v-1e76fe75]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-1e76fe75]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-1e76fe75]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-1e76fe75]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-1e76fe75]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-1e76fe75]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-1e76fe75]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-1e76fe75]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-1e76fe75]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-1e76fe75]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-1e76fe75]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-1e76fe75]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-1e76fe75]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-ab19afbb]{display:none}.dark .VPImage.light[data-v-ab19afbb]{display:none}.VPHero[data-v-5a3e9999]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-5a3e9999]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-5a3e9999]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-5a3e9999]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-5a3e9999]{flex-direction:row}}.main[data-v-5a3e9999]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-5a3e9999]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-5a3e9999]{text-align:left}}@media (min-width: 960px){.main[data-v-5a3e9999]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-5a3e9999]{max-width:592px}}.name[data-v-5a3e9999],.text[data-v-5a3e9999]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-5a3e9999],.VPHero.has-image .text[data-v-5a3e9999]{margin:0 auto}.name[data-v-5a3e9999]{color:var(--vp-home-hero-name-color)}.clip[data-v-5a3e9999]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-5a3e9999],.text[data-v-5a3e9999]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-5a3e9999],.text[data-v-5a3e9999]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-5a3e9999],.VPHero.has-image .text[data-v-5a3e9999]{margin:0}}.tagline[data-v-5a3e9999]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-5a3e9999]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-5a3e9999]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-5a3e9999]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-5a3e9999]{margin:0}}.actions[data-v-5a3e9999]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-5a3e9999]{justify-content:center}@media (min-width: 640px){.actions[data-v-5a3e9999]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-5a3e9999]{justify-content:flex-start}}.action[data-v-5a3e9999]{flex-shrink:0;padding:6px}.image[data-v-5a3e9999]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-5a3e9999]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-5a3e9999]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-5a3e9999]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-5a3e9999]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-5a3e9999]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-5a3e9999]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-5a3e9999]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-5a3e9999]{width:320px;height:320px}}[data-v-5a3e9999] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-5a3e9999] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-5a3e9999] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-ee984185]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-ee984185]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-ee984185]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-ee984185]>.VPImage{margin-bottom:20px}.icon[data-v-ee984185]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-ee984185]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-ee984185]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-ee984185]{padding-top:8px}.link-text-value[data-v-ee984185]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-ee984185]{display:inline-block;margin-left:6px;width:14px;height:14px;fill:currentColor}.VPFeatures[data-v-b1eea84a]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-b1eea84a]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-b1eea84a]{padding:0 64px}}.container[data-v-b1eea84a]{margin:0 auto;max-width:1152px}.items[data-v-b1eea84a]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-b1eea84a]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-b1eea84a],.item.grid-4[data-v-b1eea84a],.item.grid-6[data-v-b1eea84a]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-b1eea84a],.item.grid-4[data-v-b1eea84a]{width:50%}.item.grid-3[data-v-b1eea84a],.item.grid-6[data-v-b1eea84a]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-b1eea84a]{width:25%}}.VPHome[data-v-20eabd3a]{padding-bottom:96px}.VPHome[data-v-20eabd3a] .VPHomeSponsors{margin-top:112px;margin-bottom:-128px}@media (min-width: 768px){.VPHome[data-v-20eabd3a]{padding-bottom:128px}}.VPContent[data-v-3cf691b6]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-3cf691b6]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-3cf691b6]{margin:0}@media (min-width: 960px){.VPContent[data-v-3cf691b6]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-3cf691b6]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-3cf691b6]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-566314d4]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-566314d4]{display:none}.VPFooter[data-v-566314d4] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-566314d4] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-566314d4]{padding:32px}}.container[data-v-566314d4]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-566314d4],.copyright[data-v-566314d4]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-24251f6f]{padding:12px 20px 11px}.VPLocalNavOutlineDropdown button[data-v-24251f6f]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-24251f6f]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-24251f6f]{color:var(--vp-c-text-1)}.icon[data-v-24251f6f]{display:inline-block;vertical-align:middle;margin-left:2px;width:14px;height:14px;fill:currentColor}[data-v-24251f6f] .outline-link{font-size:14px;padding:2px 0}.open>.icon[data-v-24251f6f]{transform:rotate(90deg)}.items[data-v-24251f6f]{position:absolute;top:64px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}.header[data-v-24251f6f]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-24251f6f]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-24251f6f]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-24251f6f]{transition:all .2s ease-out}.flyout-leave-active[data-v-24251f6f]{transition:all .15s ease-in}.flyout-enter-from[data-v-24251f6f],.flyout-leave-to[data-v-24251f6f]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-f8a0b38a]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--vp-c-gutter);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-f8a0b38a]{position:fixed}.VPLocalNav.reached-top[data-v-f8a0b38a]{border-top-color:transparent}@media (min-width: 960px){.VPLocalNav[data-v-f8a0b38a]{display:none}}.menu[data-v-f8a0b38a]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-f8a0b38a]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-f8a0b38a]{padding:0 32px}}.menu-icon[data-v-f8a0b38a]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPOutlineDropdown[data-v-f8a0b38a]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-f8a0b38a]{padding:12px 32px 11px}}.VPSwitch[data-v-1c29e291]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-1c29e291]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-1c29e291]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-1c29e291]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-1c29e291] svg{position:absolute;top:3px;left:3px;width:12px;height:12px;fill:var(--vp-c-text-2)}.dark .icon[data-v-1c29e291] svg{fill:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-70af5d02]{opacity:1}.moon[data-v-70af5d02],.dark .sun[data-v-70af5d02]{opacity:0}.dark .moon[data-v-70af5d02]{opacity:1}.dark .VPSwitchAppearance[data-v-70af5d02] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-283b26e9]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-283b26e9]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-f51f088d]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-f51f088d]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-f51f088d]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-f51f088d]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-a6b0397c]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-a6b0397c]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-a6b0397c]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-a6b0397c]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-e42ed9b3]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-e42ed9b3] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-e42ed9b3] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-e42ed9b3] .group:last-child{padding-bottom:0}.VPMenu[data-v-e42ed9b3] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-e42ed9b3] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-e42ed9b3] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-e42ed9b3] .action{padding-left:24px}.VPFlyout[data-v-aa8de344]{position:relative}.VPFlyout[data-v-aa8de344]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-aa8de344]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-aa8de344]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-aa8de344]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-aa8de344]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-aa8de344],.button[aria-expanded=true]+.menu[data-v-aa8de344]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-aa8de344]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-aa8de344]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-aa8de344]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-aa8de344]{margin-right:0;width:16px;height:16px;fill:currentColor}.text-icon[data-v-aa8de344]{margin-left:4px;width:14px;height:14px;fill:currentColor}.icon[data-v-aa8de344]{width:20px;height:20px;fill:currentColor;transition:fill .25s}.menu[data-v-aa8de344]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-16cf740a]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-16cf740a]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-16cf740a]>svg{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-e71e869c]{display:flex;justify-content:center}.VPNavBarExtra[data-v-8e87c032]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-8e87c032]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-8e87c032]{display:none}}.trans-title[data-v-8e87c032]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-8e87c032],.item.social-links[data-v-8e87c032]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-8e87c032]{min-width:176px}.appearance-action[data-v-8e87c032]{margin-right:-2px}.social-links-list[data-v-8e87c032]{margin:-4px -8px}.VPNavBarHamburger[data-v-6bee1efd]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-6bee1efd]{display:none}}.container[data-v-6bee1efd]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-6bee1efd]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-6bee1efd]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-6bee1efd]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-6bee1efd]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-6bee1efd]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-6bee1efd]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-6bee1efd],.VPNavBarHamburger.active:hover .middle[data-v-6bee1efd],.VPNavBarHamburger.active:hover .bottom[data-v-6bee1efd]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-6bee1efd],.middle[data-v-6bee1efd],.bottom[data-v-6bee1efd]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-6bee1efd]{top:0;left:0;transform:translate(0)}.middle[data-v-6bee1efd]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-6bee1efd]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-cb318fec]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-cb318fec],.VPNavBarMenuLink[data-v-cb318fec]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-f732b5d0]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-f732b5d0]{display:flex}}/*! @docsearch/css 3.5.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-ef6192dc]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-ef6192dc]{display:flex;align-items:center}}.title[data-v-2973dbb4]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-2973dbb4]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-2973dbb4]{border-bottom-color:var(--vp-c-divider)}}[data-v-2973dbb4] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-ff4524ae]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-ff4524ae]{display:flex;align-items:center}}.title[data-v-ff4524ae]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-5befd255]{position:relative;border-bottom:1px solid transparent;padding:0 8px 0 24px;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap}@media (min-width: 768px){.VPNavBar[data-v-5befd255]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar[data-v-5befd255]{padding:0}.VPNavBar[data-v-5befd255]:not(.has-sidebar):not(.top){border-bottom-color:var(--vp-c-gutter);background-color:var(--vp-nav-bg-color)}}.container[data-v-5befd255]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-5befd255],.container>.content[data-v-5befd255]{pointer-events:none}.container[data-v-5befd255] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-5befd255]{max-width:100%}}.title[data-v-5befd255]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-5befd255]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-5befd255]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-5befd255]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-5befd255]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-5befd255]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-5befd255]{display:flex;justify-content:flex-end;align-items:center;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.top) .content-body[data-v-5befd255]{position:relative;background-color:var(--vp-nav-bg-color)}}@media (max-width: 767px){.content-body[data-v-5befd255]{column-gap:.5rem}}.menu+.translations[data-v-5befd255]:before,.menu+.appearance[data-v-5befd255]:before,.menu+.social-links[data-v-5befd255]:before,.translations+.appearance[data-v-5befd255]:before,.appearance+.social-links[data-v-5befd255]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-5befd255]:before,.translations+.appearance[data-v-5befd255]:before{margin-right:16px}.appearance+.social-links[data-v-5befd255]:before{margin-left:16px}.social-links[data-v-5befd255]{margin-right:-8px}@media (min-width: 960px){.VPNavBar.has-sidebar .curtain[data-v-5befd255]{position:absolute;right:0;bottom:-31px;width:calc(100% - var(--vp-sidebar-width));height:32px}.VPNavBar.has-sidebar .curtain[data-v-5befd255]:before{display:block;width:100%;height:32px;background:linear-gradient(var(--vp-c-bg),transparent 70%);content:""}}@media (min-width: 1440px){.VPNavBar.has-sidebar .curtain[data-v-5befd255]{width:calc(100% - ((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width)))}}.VPNavScreenAppearance[data-v-338d9b48]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-338d9b48]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-fe523e3d]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-fe523e3d]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-aea78dd1]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-aea78dd1]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-f60dbfa7]{display:block}.title[data-v-f60dbfa7]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-32e4a89c]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-32e4a89c]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-32e4a89c]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-32e4a89c]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-32e4a89c]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-32e4a89c]{transform:rotate(45deg)}.button[data-v-32e4a89c]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-32e4a89c]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-32e4a89c]{width:14px;height:14px;fill:var(--vp-c-text-2);transition:fill .5s,transform .25s}.group[data-v-32e4a89c]:first-child{padding-top:0}.group+.group[data-v-32e4a89c],.group+.item[data-v-32e4a89c]{padding-top:4px}.VPNavScreenTranslations[data-v-41505286]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-41505286]{height:auto}.title[data-v-41505286]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-41505286]{width:16px;height:16px;fill:currentColor}.icon.lang[data-v-41505286]{margin-right:8px}.icon.chevron[data-v-41505286]{margin-left:4px}.list[data-v-41505286]{padding:4px 0 0 24px}.link[data-v-41505286]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-57cce842]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-57cce842],.VPNavScreen.fade-leave-active[data-v-57cce842]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-57cce842],.VPNavScreen.fade-leave-active .container[data-v-57cce842]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-57cce842],.VPNavScreen.fade-leave-to[data-v-57cce842]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-57cce842],.VPNavScreen.fade-leave-to .container[data-v-57cce842]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-57cce842]{display:none}}.container[data-v-57cce842]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-57cce842],.menu+.appearance[data-v-57cce842],.translations+.appearance[data-v-57cce842]{margin-top:24px}.menu+.social-links[data-v-57cce842]{margin-top:16px}.appearance+.social-links[data-v-57cce842]{margin-top:16px}.VPNav[data-v-7ad780c2]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-7ad780c2]{position:fixed}}.VPSidebarItem.level-0[data-v-bd01e0d5]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-bd01e0d5]{padding-bottom:10px}.item[data-v-bd01e0d5]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-bd01e0d5]{cursor:pointer}.indicator[data-v-bd01e0d5]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-bd01e0d5],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-bd01e0d5],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-bd01e0d5],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-bd01e0d5]{background-color:var(--vp-c-brand-1)}.link[data-v-bd01e0d5]{display:flex;align-items:center;flex-grow:1}.text[data-v-bd01e0d5]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-bd01e0d5]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-bd01e0d5],.VPSidebarItem.level-2 .text[data-v-bd01e0d5],.VPSidebarItem.level-3 .text[data-v-bd01e0d5],.VPSidebarItem.level-4 .text[data-v-bd01e0d5],.VPSidebarItem.level-5 .text[data-v-bd01e0d5]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-bd01e0d5],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-bd01e0d5],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-bd01e0d5],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-bd01e0d5],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-bd01e0d5],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-bd01e0d5]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-bd01e0d5],.VPSidebarItem.level-1.has-active>.item>.text[data-v-bd01e0d5],.VPSidebarItem.level-2.has-active>.item>.text[data-v-bd01e0d5],.VPSidebarItem.level-3.has-active>.item>.text[data-v-bd01e0d5],.VPSidebarItem.level-4.has-active>.item>.text[data-v-bd01e0d5],.VPSidebarItem.level-5.has-active>.item>.text[data-v-bd01e0d5],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-bd01e0d5],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-bd01e0d5],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-bd01e0d5],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-bd01e0d5],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-bd01e0d5],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-bd01e0d5]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-bd01e0d5],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-bd01e0d5],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-bd01e0d5],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-bd01e0d5],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-bd01e0d5],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-bd01e0d5]{color:var(--vp-c-brand-1)}.caret[data-v-bd01e0d5]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-bd01e0d5]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-bd01e0d5]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-bd01e0d5]{width:18px;height:18px;fill:currentColor;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-bd01e0d5]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-bd01e0d5],.VPSidebarItem.level-2 .items[data-v-bd01e0d5],.VPSidebarItem.level-3 .items[data-v-bd01e0d5],.VPSidebarItem.level-4 .items[data-v-bd01e0d5],.VPSidebarItem.level-5 .items[data-v-bd01e0d5]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-bd01e0d5]{display:none}.VPSidebar[data-v-168699b1]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-168699b1]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-168699b1]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-168699b1]{z-index:1;padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-168699b1]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-168699b1]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-168699b1]{outline:0}.group+.group[data-v-168699b1]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-168699b1]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-c8291ffa]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-c8291ffa]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-c8291ffa]{top:14px;left:16px}}.Layout[data-v-9d8abc1e]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-843cc1b2]{border-top:1px solid var(--vp-c-gutter);padding:88px 24px 96px;background-color:var(--vp-c-bg)}.container[data-v-843cc1b2]{margin:0 auto;max-width:1152px}.love[data-v-843cc1b2]{margin:0 auto;width:28px;height:28px;color:var(--vp-c-text-3)}.icon[data-v-843cc1b2]{width:28px;height:28px;fill:currentColor}.message[data-v-843cc1b2]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-843cc1b2]{padding-top:32px}.action[data-v-843cc1b2]{padding-top:40px;text-align:center}.VPTeamPage[data-v-b1cfd8dc]{padding-bottom:96px}@media (min-width: 768px){.VPTeamPage[data-v-b1cfd8dc]{padding-bottom:128px}}.VPTeamPageSection+.VPTeamPageSection[data-v-b1cfd8dc-s],.VPTeamMembers+.VPTeamPageSection[data-v-b1cfd8dc-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-b1cfd8dc-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-b1cfd8dc-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-b1cfd8dc-s],.VPTeamMembers+.VPTeamPageSection[data-v-b1cfd8dc-s]{margin-top:96px}}.VPTeamMembers[data-v-b1cfd8dc-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-b1cfd8dc-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-b1cfd8dc-s]{padding:0 64px}}.VPTeamPageTitle[data-v-46c5e327]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-46c5e327]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-46c5e327]{padding:80px 64px 48px}}.title[data-v-46c5e327]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-46c5e327]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-46c5e327]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-46c5e327]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-3bf2e850]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-3bf2e850]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-3bf2e850]{padding:0 64px}}.title[data-v-3bf2e850]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-3bf2e850]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-3bf2e850]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-3bf2e850]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-3bf2e850]{padding-top:40px}.VPTeamMembersItem[data-v-3a0078bd]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-3a0078bd]{padding:32px}.VPTeamMembersItem.small .data[data-v-3a0078bd]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-3a0078bd]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-3a0078bd]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-3a0078bd]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-3a0078bd]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-3a0078bd]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-3a0078bd]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-3a0078bd]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-3a0078bd]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-3a0078bd]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-3a0078bd]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-3a0078bd]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-3a0078bd]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-3a0078bd]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-3a0078bd]{text-align:center}.avatar[data-v-3a0078bd]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-3a0078bd]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-3a0078bd]{margin:0;font-weight:600}.affiliation[data-v-3a0078bd]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-3a0078bd]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-3a0078bd]:hover{color:var(--vp-c-brand-1)}.desc[data-v-3a0078bd]{margin:0 auto}.desc[data-v-3a0078bd] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-3a0078bd]{display:flex;justify-content:center;height:56px}.sp-link[data-v-3a0078bd]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-3a0078bd]:hover,.sp .sp-link.link[data-v-3a0078bd]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-3a0078bd]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPTeamMembers.small .container[data-v-bf782009]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-bf782009]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-bf782009]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-bf782009]{max-width:876px}.VPTeamMembers.medium .container[data-v-bf782009]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-bf782009]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-bf782009]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-bf782009]{max-width:760px}.container[data-v-bf782009]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.stroke-icon path[pid="0"]{stroke-width:10px}.icon{--color-white: #fff}.grid{--color-bg-primary: #efefef;display:grid;grid-template-columns:repeat(auto-fit,minmax(50px,1fr));grid-auto-rows:1fr;gap:10px;padding:20px;margin:20px 0;border-radius:4px;background-color:#efefef;place-items:center}.svg-icon{display:inline-block;width:16px;height:16px;color:inherit;vertical-align:middle;fill:none;stroke:currentcolor}.svg-fill{fill:currentcolor;stroke:none}.svg-up{transform:rotate(0)}.svg-right{transform:rotate(90deg)}.svg-down{transform:rotate(180deg)}.svg-left{transform:rotate(-90deg)}.VPLocalSearchBox[data-v-1289454d]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-1289454d]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-1289454d]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-1289454d]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-1289454d]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-1289454d]{padding:0 8px}}.search-bar[data-v-1289454d]:focus-within{border-color:var(--vp-c-brand-1)}.search-icon[data-v-1289454d]{margin:8px}@media (max-width: 767px){.search-icon[data-v-1289454d]{display:none}}.search-input[data-v-1289454d]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-1289454d]{padding:6px 4px}}.search-actions[data-v-1289454d]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-1289454d]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-1289454d]{display:none}}.search-actions button[data-v-1289454d]{padding:8px}.search-actions button[data-v-1289454d]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-1289454d]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-1289454d]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-1289454d]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-1289454d]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-1289454d]{display:none}}.search-keyboard-shortcuts kbd[data-v-1289454d]{background:rgba(128,128,128,.1);border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-1289454d]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-1289454d]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-1289454d]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-1289454d]{margin:8px}}.titles[data-v-1289454d]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-1289454d]{display:flex;align-items:center;gap:4px}.title.main[data-v-1289454d]{font-weight:500}.title-icon[data-v-1289454d]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-1289454d]{opacity:.5}.result.selected[data-v-1289454d]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-1289454d]{position:relative}.excerpt[data-v-1289454d]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-1289454d]{opacity:1}.excerpt[data-v-1289454d] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-1289454d] mark,.excerpt[data-v-1289454d] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-1289454d] .vp-code-group .tabs{display:none}.excerpt[data-v-1289454d] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-1289454d]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-1289454d]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-1289454d],.result.selected .title-icon[data-v-1289454d]{color:var(--vp-c-brand-1)!important}.no-results[data-v-1289454d]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-1289454d]{flex:none} diff --git a/assets/zh_api_index.md.cItbVkbe.js b/assets/zh_api_index.md.cItbVkbe.js new file mode 100644 index 00000000..ddb0b0e9 --- /dev/null +++ b/assets/zh_api_index.md.cItbVkbe.js @@ -0,0 +1,117 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const E=JSON.parse('{"title":"API","description":"","frontmatter":{"0":"t","1":"o","2":"c"},"headers":[],"relativePath":"zh/api/index.md","filePath":"zh/api/index.md"}'),h={name:"zh/api/index.md"},k=n(`

API

@yzfe/svgicon

Props

生成 SVG 图标数据函数的参数(属性)

ts
export interface Props {
+    /** icon data */
+    data?: Icon
+    width?: string | number
+    height?: string | number
+    scale?: string | number
+    /** icon direction */
+    dir?: string
+    color?: string | string[]
+    /** gradient stop colors */
+    stopColors?: string[]
+    title?: string
+    fill?: boolean
+    /** is use original color */
+    original?: boolean
+    /** Replace content, usually replace color */
+    replace?: (svgInnerContent: string) => string
+}

getPropKeys

获取 props 的 key 数组

ts
export declare function getPropKeys(): (keyof Props)[];

svgIcon

根据传入的属性生成图标数据

ts
declare function svgIcon(props: Props): SvgIconResult;

Options

全局配置,影响 props 的默认值

ts
/** Global default options */
+export interface Options {
+    classPrefix?: string
+    // Is stroke default
+    isStroke?: boolean
+    isOriginalDefault?: boolean
+    /** 16px, defined in css */
+    defaultWidth?: string
+    defaultHeight?: string
+}

setOptions

修改默认选项

ts
export declare function setOptions(newOptions: Options): void;

Typings

ts
/** Global default options */
+export interface Options {
+    classPrefix?: string;
+    isStroke?: boolean;
+    isOriginalDefault?: boolean;
+    /** 16px, defined in css */
+    defaultWidth?: string;
+    defaultHeight?: string;
+}
+export interface OriginalColor {
+    type: 'fill' | 'stroke';
+    color: string;
+}
+export interface IconData {
+    width?: number | string;
+    height?: number | string;
+    viewBox: string;
+    data: string;
+    originalColors?: OriginalColor[];
+    stopColors?: string[];
+    [key: string]: unknown;
+}
+export interface Icon {
+    name: string;
+    data: IconData;
+}
+export interface Props {
+    /** icon data */
+    data?: Icon;
+    width?: string | number;
+    height?: string | number;
+    scale?: string | number;
+    /** icon direction */
+    dir?: string;
+    color?: string | string[];
+    /** gradient stop colors */
+    stopColors?: string[];
+    title?: string;
+    fill?: boolean;
+    /** is use original color */
+    original?: boolean;
+    /** Replace content, usually replace color */
+    replace?: (svgInnerContent: string) => string;
+}
+/** SvgIcon function result type */
+export interface SvgIconResult {
+    /** SVG content */
+    path: string;
+    /** viewBox */
+    box: string;
+    className: string;
+    style: Record<string, string | number>;
+}
+/** set default options */
+export declare function setOptions(newOptions: Options): void;
+export declare function getOptions(): Options;
+export declare function getPropKeys(): (keyof Props)[];
+/** get svgicon result by props */
+export declare function svgIcon(props: Props): SvgIconResult;

@yzfe/svgicon-gen

在 nodejs 环境中运行,生成 Icon 对象 (props.data 的值)

ts
import { OptimizeOptions } from 'svgo';
+import { Icon } from './types';
+export type SvgoConfig = OptimizeOptions;
+/**
+ * generate svgicon object
+ * @export
+ * @param {string} source svg file content
+ * @param {string} filename svg icon file absolute path
+ * @param {(string | string[])} [svgRootPath] svg icon root path, to calc relative path
+ * @param {SVGO.Options} [svgoConfig] svgo config
+ * @returns {Promise<Icon>}
+ */
+export default function gen(source: string, filename: string, svgRootPath?: string | string[], svgoConfig?: OptimizeOptions): Promise<Icon>;

TIP: 你可以直接使用 @yzfe/svgicon-gen 预先生成图标数据,保存为 js 文件,这样可以不用 @yzfe/svgicon-loader 加载图标了。

@yzfe/svgicon-loader

将 SVG 文件加载成图标数据(vue)或者 SVG 图标组件(react), 可以自定义生成的代码

Loader options

ts
export interface LoaderOptions {
+    svgFilePath?: string | string[]
+    /** load as a component */
+    component?: 'react' | 'taro' | 'vue' | 'custom'
+    /** custom code when load as a custom component */
+    customCode?: string
+    svgoConfig?: unknown
+}

vite-plugin-svigon

Plugin options

ts
export interface PluginOptions {
+    svgFilePath?: string | string[]
+    /** load as a component */
+    component?: 'react' | 'vue' | 'custom'
+    /** custom code when load as a custom component */
+    customCode?: string
+    svgoConfig?: SvgoConfig
+    /** Svg files to be excluded, use minimatch */
+    exclude?: string | string[]
+    /** Svg files to be included, use minimatch */
+    include?: string | string[]
+    /** Match query which import icon with query string */
+    matchQuery?: RegExp
+}
`,30),l=[k];function p(t,e,r,g,d,F){return i(),a("div",null,l)}const o=s(h,[["render",p]]);export{E as __pageData,o as default}; diff --git a/assets/zh_api_index.md.cItbVkbe.lean.js b/assets/zh_api_index.md.cItbVkbe.lean.js new file mode 100644 index 00000000..17029954 --- /dev/null +++ b/assets/zh_api_index.md.cItbVkbe.lean.js @@ -0,0 +1 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const E=JSON.parse('{"title":"API","description":"","frontmatter":{"0":"t","1":"o","2":"c"},"headers":[],"relativePath":"zh/api/index.md","filePath":"zh/api/index.md"}'),h={name:"zh/api/index.md"},k=n("",30),l=[k];function p(t,e,r,g,d,F){return i(),a("div",null,l)}const o=s(h,[["render",p]]);export{E as __pageData,o as default}; diff --git a/assets/zh_guide_advanced.md.mYK880RU.js b/assets/zh_guide_advanced.md.mYK880RU.js new file mode 100644 index 00000000..5889c0d8 --- /dev/null +++ b/assets/zh_guide_advanced.md.mYK880RU.js @@ -0,0 +1,119 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const o=JSON.parse('{"title":"深入","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"zh/guide/advanced.md","filePath":"zh/guide/advanced.md"}'),l={name:"zh/guide/advanced.md"},p=n(`

深入

SVG 文件作为组件导入

@yzfe/svgicon-loader 或者 vite-plugin-svgicon 都提供 componentcustomCode选项将 SVG 文件作为组件导入。

  • component 选项可选值
    • vue Vue 3.x 组件
    • react React 组件
    • custom 自定义生成的代码, 与 customCode 配搭使用

使用预设值

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            component: 'react',
+        })
+    ]
+})

用法

tsx
import ArrowIcon from 'svg-icon-path/arrow.svg'
+export default funtion() {
+   return (
+        <div>
+            <ArrowIcon color="red" />
+        </div>
+    )
+}

自定义

通过设置 componentcustom和配置 customCode 来自定义生成的代码。@yzfe/svgicon-loadervite-plugin-svgicon 已预先生成代码片段,const data = {/*iconData*/},最后会将这段代码与 customCode 拼接作为最终的代码。

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            component: 'custom',
+            customCode: \`
+                import Vue from 'vue'
+                import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+                export default {
+                    functional: true,
+                    render(h, context) {
+                        return h(VueSvgIcon, {
+                            ...context.data,
+                            data: data
+                        })
+                    }
+                }
+            \`
+        })
+    ]
+})

上述配置将 SVG 文件加载为下面的代码:

js
const data = {/*iconData*/}
+import Vue from 'vue'
+import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+export default {
+    functional: true,
+    render(h, context) {
+        return h(VueSvgIcon, {
+            ...context.data,
+            data: data
+        })
+    }
+}

WARNING

如果使用的是 @yzfe/svgicon-loader, 需要加上 babel-loader 处理生成的代码。

配置多个路径

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, '../../packages/assets/svg'),
+        }),
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            // 匹配:  xxx.svg?component
+            matchQuery: /component/,
+            svgFilePath: path.join(__dirname, '../../packages/assets'),
+            component: 'vue',
+        }),
+         svgicon({
+            include: ['**/assets/font-awesome/**/*.svg'],
+            svgFilePath: path.join(
+                __dirname,
+                '../../packages/assets/font-awesome'
+            ),
+        }),
+    ]
+})

用法

ts
// 导入为图标数据
+import ArrowIconData from '@/assets/svg/arrow.svg'
+import FaArrowIconData from '@/assets/font-awesome/arrow.svg'
+
+// 导入为组件
+import ArrowIcon from 'svg-icon-path/arrow.svg?component'
+
+// 导入为路径
+import ArrowSvgUrl from 'svg-icon-path/arrow.svg?url'

Typescript

如果配置 SVG 文件作为组件导入,需要加上组件的类型定义。

ts
// react
+declare module '@/assets/svg/*.svg' {
+    import { ReactSvgIconFC } from '@yzfe/react-svgicon'
+    const value: ReactSvgIconFC
+    export = value
+}
+
+// vue
+declare module '@/assets/svg/*.svg' {
+    import { VueSvgIcon } from '@yzfe/vue-svgicon'
+    const value: typeof VueSvgIcon
+    export = value
+}

vue-cli 快速配置

如果你的项目使用 vue-cli, 推荐使用 @yzfe/vue-cli-plugin-svgicon 进行快速配置。

bash
# 将会提示你填写 SVG 文件路径,全局注册的组件标签名称和 vue 的版本
+vue add @yzfe/svgicon

如果已经安装了 @yzfe/vue-cli-plugin-svgicon, 但是没有调用到这个插件,你可以手动调用。

bash
vue invoke @yzfe/svgicon

成功调用后,会自动添加必要的依赖和代码,另外还会生成 .vue-svgicon.config.js 文件,用来配置 @yzfe/svgicon-loaderwebpack 别名,还有 transformAssetUrls 等。

js
const path = require('path')
+const svgFilePaths = ['src/assets/svgicon'].map((v) => path.resolve(v))
+const tagName = 'icon'
+
+module.exports = {
+    tagName,
+    svgFilePath: svgFilePaths,
+    svgoConfig: {},
+    pathAlias: {
+        '@icon': svgFilePaths[0],
+    },
+    transformAssetUrls: {
+        [tagName]: ['data'],
+    },
+    loaderOptions: {},
+}
`,28),h=[p];function t(k,e,E,d,r,g){return i(),a("div",null,h)}const y=s(l,[["render",t]]);export{o as __pageData,y as default}; diff --git a/assets/zh_guide_advanced.md.mYK880RU.lean.js b/assets/zh_guide_advanced.md.mYK880RU.lean.js new file mode 100644 index 00000000..f90b0445 --- /dev/null +++ b/assets/zh_guide_advanced.md.mYK880RU.lean.js @@ -0,0 +1 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const o=JSON.parse('{"title":"深入","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"zh/guide/advanced.md","filePath":"zh/guide/advanced.md"}'),l={name:"zh/guide/advanced.md"},p=n("",28),h=[p];function t(k,e,E,d,r,g){return i(),a("div",null,h)}const y=s(l,[["render",t]]);export{o as __pageData,y as default}; diff --git a/assets/zh_guide_component.md.97CrAp_2.js b/assets/zh_guide_component.md.97CrAp_2.js new file mode 100644 index 00000000..76e599ed --- /dev/null +++ b/assets/zh_guide_component.md.97CrAp_2.js @@ -0,0 +1,158 @@ +import{_ as c,D as s,o as u,c as y,I as i,k as t,a as n,R as a}from"./chunks/framework.a4NdKwKH.js";const z=JSON.parse('{"title":"组件","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"zh/guide/component.md","filePath":"zh/guide/component.md"}'),q={name:"zh/guide/component.md"},_=t("h1",{id:"组件",tabindex:"-1"},[n("组件 "),t("a",{class:"header-anchor",href:"#组件","aria-label":'Permalink to "组件"'},"​")],-1),m=t("h2",{id:"颜色",tabindex:"-1"},[n("颜色 "),t("a",{class:"header-anchor",href:"#颜色","aria-label":'Permalink to "颜色"'},"​")],-1),F=a(`
查看代码
vue
<demo-wrap :title="$attrs.title" :style="{ color: 'orange' }">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="red"
+    />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="green"
+    />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="blue"
+    />
+</demo-wrap>
`,1),v=a(`

颜色值加上 r- 前缀,反转当前 fill 属性

时钟图标:圆形是填充,时针分针是描边, Vue 图标:第一个 path 是描边,第二个是 path 是填充

查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="50"
+        height="50"
+        color="r-red"
+    />
+    <icon
+        data="@icon/clock.svg"
+        width="50"
+        height="50"
+        color="#8A99B2 r-#1C2330"
+    />
+    <!-- use css var -->
+    <icon
+        data="@icon/clock.svg"
+        width="50"
+        height="50"
+        color="#8A99B2 r-var(--color-bg-primary)"
+    />
+    <icon
+        data="@icon/vue.svg"
+        width="50"
+        height="50"
+        :fill="false"
+        color="#42b983 r-#42b983"
+    />
+</demo-wrap>
`,3),C=a(`
查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/check.svg"
+        width="80"
+        height="80"
+        color="#42b983 r-white"
+    />
+    <icon
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        color="#FBAD20 #F5EB13 #B8D433 #6BC9C6 #058BC5 #34469D #7E4D9F #C63D96 #ED1944"
+    />
+    <!-- Use array -->
+    <icon
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        :color="[
+            'rgba(0, 0, 100, .5)',
+            '#F5EB13',
+            '#B8D433',
+            '#6BC9C6',
+            '#058BC5',
+            '#34469D',
+            '#7E4D9F',
+            '#C63D96',
+            '#ED1944',
+        ]"
+    />
+</demo-wrap>
`,1),b=a(`
查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@icon/colorwheel.svg" width="60" height="60" original />
+    <!-- overwrite original color -->
+    <icon
+        data="@icon/colorwheel.svg"
+        width="60"
+        height="60"
+        original
+        color="_ black _ black _"
+    />
+    <icon
+        data="@icon/colorwheel.svg"
+        width="60"
+        height="60"
+        original
+        color="_ r-black _ r-red _"
+    />
+    <icon data="@icon/gift.svg" width="60" height="60" original />
+</demo-wrap>

第二和第三个色轮是在原色的基础上修改某些颜色

`,2),w=a(`
查看代码
vue
<svg style="position: absolute; width: 0; opacity: 0">
+    <defs>
+        <linearGradient id="gradient-1" x1="0" y1="0" x2="0" y2="1">
+            <stop offset="5%" stop-color="#57f0c2" />
+            <stop offset="95%" stop-color="#147d58" />
+        </linearGradient>
+        <linearGradient id="gradient-2" x1="0" y1="0" x2="0" y2="1">
+            <stop offset="5%" stop-color="#7295c2" />
+            <stop offset="95%" stop-color="#252e3d" />
+        </linearGradient>
+    </defs>
+</svg>
+<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/vue.svg"
+        width="100"
+        height="100"
+        color="url(#gradient-1) url(#gradient-2)"
+    ></icon>
+</demo-wrap>
`,1),B=a(`
查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/gift.svg"
+        width="60" height="60"
+        original
+        :stop-colors="['blue', 'green']" />
+</demo-wrap>

original 必须是 true 才有效果

填充/描边

`,3),T=a(`
查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        :fill="false"
+        class="stroke-icon"
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+    />
+</demo-wrap>
vue
<style>
+.stroke-icon path[pid='0'] {
+    stroke-width: 10px;
+}
+</style>

大小

`,2),A=a(`
查看代码
vue
<demo-wrap :title="$attrs.title" :style="{ fontSize: '12px' }">
+    <icon data="@fa/solid/arrow-up.svg" />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon data="@fa/solid/arrow-up.svg" width="4em" height="4em" />
+    <icon data="@fa/solid/arrow-up.svg" width="4rem" height="4rem" />
+</demo-wrap>

方向

`,2),f=a(`
查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        dir="right"
+    />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" dir="down" />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" dir="left" />
+</demo-wrap>

替换内容

`,2),D=a(`
查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        class="icon"
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        original
+        :replace="(svg) => svg.replace('#34469D', 'var(--color-white)')"
+    />
+</demo-wrap>
`,1);function S(P,V,I,x,N,$){const l=s("demo-color"),h=s("demo-reverse-color"),p=s("demo-multi-color"),E=s("demo-original-color"),k=s("demo-gradient"),e=s("demo-gradient-colors"),o=s("demo-fill"),d=s("demo-size"),r=s("demo-direction"),g=s("demo-replace");return u(),y("div",null,[_,m,i(l,{title:"单色 (默认: 继承字体颜色)"}),F,i(h,{title:"r-color (反转填充或描边属性)"}),v,i(p,{title:"多色(按照 path/shape 的顺序设置)"}),C,i(E,{title:"原色 (original)"}),b,i(k,{title:"渐变"}),w,i(e,{title:"修改原始渐变颜色"}),B,i(o,{title:"fill, 默认:true"}),T,i(d,{title:"size, 默认单位:px, 默认大小:16px"}),A,i(r,{title:"dir, 默认:up"}),f,i(g,{title:"替换 svg 代码 (replace)"}),D])}const G=c(q,[["render",S]]);export{z as __pageData,G as default}; diff --git a/assets/zh_guide_component.md.97CrAp_2.lean.js b/assets/zh_guide_component.md.97CrAp_2.lean.js new file mode 100644 index 00000000..0d9f552c --- /dev/null +++ b/assets/zh_guide_component.md.97CrAp_2.lean.js @@ -0,0 +1 @@ +import{_ as c,D as s,o as u,c as y,I as i,k as t,a as n,R as a}from"./chunks/framework.a4NdKwKH.js";const z=JSON.parse('{"title":"组件","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"zh/guide/component.md","filePath":"zh/guide/component.md"}'),q={name:"zh/guide/component.md"},_=t("h1",{id:"组件",tabindex:"-1"},[n("组件 "),t("a",{class:"header-anchor",href:"#组件","aria-label":'Permalink to "组件"'},"​")],-1),m=t("h2",{id:"颜色",tabindex:"-1"},[n("颜色 "),t("a",{class:"header-anchor",href:"#颜色","aria-label":'Permalink to "颜色"'},"​")],-1),F=a("",1),v=a("",3),C=a("",1),b=a("",2),w=a("",1),B=a("",3),T=a("",2),A=a("",2),f=a("",2),D=a("",1);function S(P,V,I,x,N,$){const l=s("demo-color"),h=s("demo-reverse-color"),p=s("demo-multi-color"),E=s("demo-original-color"),k=s("demo-gradient"),e=s("demo-gradient-colors"),o=s("demo-fill"),d=s("demo-size"),r=s("demo-direction"),g=s("demo-replace");return u(),y("div",null,[_,m,i(l,{title:"单色 (默认: 继承字体颜色)"}),F,i(h,{title:"r-color (反转填充或描边属性)"}),v,i(p,{title:"多色(按照 path/shape 的顺序设置)"}),C,i(E,{title:"原色 (original)"}),b,i(k,{title:"渐变"}),w,i(e,{title:"修改原始渐变颜色"}),B,i(o,{title:"fill, 默认:true"}),T,i(d,{title:"size, 默认单位:px, 默认大小:16px"}),A,i(r,{title:"dir, 默认:up"}),f,i(g,{title:"替换 svg 代码 (replace)"}),D])}const G=c(q,[["render",S]]);export{z as __pageData,G as default}; diff --git a/assets/zh_guide_index.md.vwlg3dK2.js b/assets/zh_guide_index.md.vwlg3dK2.js new file mode 100644 index 00000000..9fb00ecd --- /dev/null +++ b/assets/zh_guide_index.md.vwlg3dK2.js @@ -0,0 +1,143 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const y=JSON.parse('{"title":"快速上手","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"zh/guide/index.md","filePath":"zh/guide/index.md"}'),l={name:"zh/guide/index.md"},h=n(`

快速上手

本节内容主要是简单的介绍 svgicon 配置和使用,建议查看【深入】这一节了解更多。

介绍

svgicon 是一个名称

svgicon 是 SVG 图标组件和工具集,将 SVG 文件变成图标数据(vue)或者图标组件(react),让你可以愉快的在项目中使用 SVG 图标,无论你是使用 vue, react, vue3.x, taro 还是其他 js 框架。svgicon 包括了以下的 npm 包:

  • @yzfe/svgicon 根据传入的参数(props)生成 SVG 图标组件需要的数据
  • @yzfe/vue-svgicon 适用于 Vue 的 SVG 图标组件
  • @yzfe/react-svgicon 适用于 React 的 SVG 图标组件
  • @yzfe/taro-svgicon 适用于 TaroJs 的 SVG 图标组件
  • @yzfe/svgicon-gen 根据 SVG 文件内容,生成图标数据(图标名称和处理过的 SVG 内容)
  • @yzfe/svgicon-loader 将 SVG 文件加载成图标数据(vue)或者 SVG 图标组件(react), 可以自定义生成的代码
  • vite-plugin-svgicon vite 插件,功能与 @yzfe/svgicon-loader 类似
  • @yzfe/svgicon-viewer 预览 SVG 图标
  • @yzfe/vue-cli-plugin-svgicon vue-cli 插件,可以快速的配置 svgicon
  • @yzfe/svgicon-polyfill SVG innerHTML 兼容(IE)

配置

Vite

使用 vite-plugin-svgicon 加载 SVG 文件为图标数据

bash
npm install vite-plugin-svgicon -D
js
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            // 如果是使用 React,建议配置 component 选项为 react, 加载 SVG 文件为 react 组件
+            component: 'react',
+        })
+    ]
+})

Webpack

使用 @yzfe/svgicon-loader 加载 SVG 文件为图标数据

bash
npm install @yzfe/svgicon-loader -D
js
// webpack.config.js
+{
+    module: {
+        rules: [
+             {
+                test: /\\.svg$/,
+                include: ['SVG 文件路径'],
+                use: [
+                    'babel-loader',
+                    {
+                        loader: '@yzfe/svgicon-loader',
+                        options: {
+                            svgFilePath: ['SVG 文件路径'],
+                            // 自定义 svgo 配置
+                            svgoConfig: null,
+                            // 如果是使用 React,建议配置 component 选项为 react, 加载 SVG 文件为 react 组件
+                            component: 'react',
+                        }
+                    }
+                ]
+            },
+        ]
+    }
+}

使用 vue-cli

使用

js
import arrowData from 'svg-file-path/arrow.svg'
+// {name: 'arrow', data: {width: 16, height: 16, ...}}
+console.log(arrowData)

Vue 2.x

安装依赖

bash
npm install @yzfe/svgicon @yzfe/vue-svgicon  --save

使用

js
// main.js
+import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+// 引入 css 样式
+import '@yzfe/svgicon/lib/svgicon.css'
+// 注册全局组件
+Vue.component('icon', VueSvgIcon)
vue
<template>
+    <div>
+        <icon :data="arrowData" />
+        <!-- 建议配置 transformAssetUrls, 可以直接传入 SVG 文件路径 -->
+        <icon data="svg-file-path/arrow.svg" />
+    </div>
+</template>
+<script>
+import arrowData from 'svg-file-path/arrow.svg'
+export default {
+    data() {
+        return: {
+            arrowData
+        }
+    }
+}
+</script>

Vue 3.x

安装依赖

bash
npm install @yzfe/svgicon @yzfe/vue-svgicon --save

使用

ts
// main.ts
+import { VueSvgIconPlugin } from '@yzfe/vue-svgicon'
+// 引入 css 样式
+import '@yzfe/svgicon/lib/svgicon.css'
+// 注册全局组件
+app.use(VueSvgIconPlugin, {tagName: 'icon'})
vue
<script setup lang="ts">
+import arrowData from 'svg-file-path/arrow.svg'
+</script>
+<template>
+    <div>
+        <icon :data="arrowData" />
+        <!-- 建议配置 transformAssetUrls, 可以直接传入 SVG 文件路径 -->
+        <icon data="svg-file-path/arrow.svg" />
+    </div>
+</template>

React

安装依赖

bash
npm install @yzfe/svgicon @yzfe/react-svgicon --save

使用

ts
import '@yzfe/svgicon/lib/svgicon.css'
tsx
import ArrowIcon from 'svg-file-path/arrow.svg'
+
+export default function FC() {
+    return (
+        <div>
+            <ArrowIcon color="red" />
+        </div>
+    )
+}

TaroJs

安装依赖

bash
npm install @yzfe/svgicon @yzfe/taro-svgicon

TaroJs 使用方式与 React 一致,请参考 React 一节

其他框架

其他 js 框架可以通过 @yzfe/svgicon 编写适用于其框架的图标组件,可以参考 @yzfe/react-svgicon.

@yzfe/react-svgicon
tsx
import React from 'react'
+import {
+    svgIcon,
+    Props,
+    Options,
+    setOptions,
+    getPropKeys,
+    Icon,
+    IconData,
+} from '@yzfe/svgicon'
+
+interface ComponentProps extends Props {
+    [key: string]: unknown
+}
+
+class ReactSvgIcon extends React.PureComponent<ComponentProps> {
+    public render(): JSX.Element {
+        const props = this.props
+        const result = svgIcon(props)
+        const attrs: Record<string, unknown> = {}
+
+        if (props) {
+            const propsKeys = getPropKeys()
+            for (const key in props) {
+                if (propsKeys.indexOf(key as keyof Props) < 0) {
+                    attrs[key] = props[key]
+                }
+            }
+        }
+
+        attrs.viewBox = result.box
+        attrs.className = (attrs.className || '') + \` \${result.className}\`
+        attrs.style = {
+            ...((attrs.style as Record<string, string>) || {}),
+            ...result.style,
+        }
+
+        return (
+            <svg
+                {...attrs}
+                dangerouslySetInnerHTML={{ __html: result.path }}
+            ></svg>
+        )
+    }
+}
+
+/** SvgIcon function component, define in @yzfe/svgicon-loader compile */
+interface ReactSvgIconFC extends React.FC<ComponentProps> {
+    iconName: string
+    iconData: IconData
+}
+
+export {
+    ReactSvgIcon,
+    ReactSvgIconFC,
+    Props,
+    Options,
+    Icon,
+    IconData,
+    setOptions,
+}
`,43),t=[h];function p(k,e,E,r,d,g){return i(),a("div",null,t)}const o=s(l,[["render",p]]);export{y as __pageData,o as default}; diff --git a/assets/zh_guide_index.md.vwlg3dK2.lean.js b/assets/zh_guide_index.md.vwlg3dK2.lean.js new file mode 100644 index 00000000..a1069125 --- /dev/null +++ b/assets/zh_guide_index.md.vwlg3dK2.lean.js @@ -0,0 +1 @@ +import{_ as s,o as i,c as a,R as n}from"./chunks/framework.a4NdKwKH.js";const y=JSON.parse('{"title":"快速上手","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"zh/guide/index.md","filePath":"zh/guide/index.md"}'),l={name:"zh/guide/index.md"},h=n("",43),t=[h];function p(k,e,E,r,d,g){return i(),a("div",null,t)}const o=s(l,[["render",p]]);export{y as __pageData,o as default}; diff --git a/assets/zh_guide_other.md.JxSSMtro.js b/assets/zh_guide_other.md.JxSSMtro.js new file mode 100644 index 00000000..d7e93c5e --- /dev/null +++ b/assets/zh_guide_other.md.JxSSMtro.js @@ -0,0 +1,8 @@ +import{_ as s,o as a,c as i,R as e}from"./chunks/framework.a4NdKwKH.js";const u=JSON.parse('{"title":"其他","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"zh/guide/other.md","filePath":"zh/guide/other.md"}'),t={name:"zh/guide/other.md"},n=e(`

其他

图标预览

使用 @yzfe/svgicon-viewer 可以预览任意文件夹的 SVG 文件。

安装

bash
# 全局安装
+yarn global add @yzfe/svgicon-viewer

使用

bash
# svgicon-viewer <svgFilePath> [metaFile]
+svgicon-viewer ./src/assets/svg

svgicon-viewer

meta.json

使用 meta.json 可以添加额外的信息,目前只支持一个 name 字段,可以用来描述图标。默认读取 SVG 文件路径下的 meta.json

json
// meta.json demo
+{
+    "arrow": {
+        "name": "箭头"
+    }
+}
bash
svgicon-viewer ./src/assets/svg ./src/assets/svg/meta.json

svgicon-viewer

输出静态 html 页面

添加 --output (alias: -o) 会生成静态 html 页面到指定的输出目录

svgicon-viewer ./src/assets/svg -o ./dist
`,16),l=[n];function h(p,o,r,c,d,k){return a(),i("div",null,l)}const v=s(t,[["render",h]]);export{u as __pageData,v as default}; diff --git a/assets/zh_guide_other.md.JxSSMtro.lean.js b/assets/zh_guide_other.md.JxSSMtro.lean.js new file mode 100644 index 00000000..5d4dcd9b --- /dev/null +++ b/assets/zh_guide_other.md.JxSSMtro.lean.js @@ -0,0 +1 @@ +import{_ as s,o as a,c as i,R as e}from"./chunks/framework.a4NdKwKH.js";const u=JSON.parse('{"title":"其他","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"zh/guide/other.md","filePath":"zh/guide/other.md"}'),t={name:"zh/guide/other.md"},n=e("",16),l=[n];function h(p,o,r,c,d,k){return a(),i("div",null,l)}const v=s(t,[["render",h]]);export{u as __pageData,v as default}; diff --git a/assets/zh_index.md.Ue54J0pP.js b/assets/zh_index.md.Ue54J0pP.js new file mode 100644 index 00000000..4a68f394 --- /dev/null +++ b/assets/zh_index.md.Ue54J0pP.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as i}from"./chunks/framework.a4NdKwKH.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"svgicon","text":"SVG 图标组件和工具集","actions":[{"theme":"brand","text":"快速上手 →","link":"/zh/guide/"}]},"features":[{"title":"支持多种框架","details":"默认提供 Vue 2.x, Vue 3.x, React >= 16.8, Taro 的图标组件, 可以通过 @yzfe/svgicon 来编写支持其他框架的组件"},{"title":"按需加载","details":"通过 webpack loader (@yzfe/svgicon-loader) 或者 vite (vite-plugin-svgicon) 加载 SVG 文件变成图标数据或者图标组件,可以自定义生成的代码。"},{"title":"多功能","details":"支持多颜色,包括渐变;支持同时设置填充和描边;支持原始色,并可以只修改某个颜色的值;支持缩放,动画等功能;"},{"title":"图标预览","details":"在任意文件夹,使用 @yzfe/svgicon-viewer 查看 SVG 图标效果"}],"footer":"MIT Licensed | Copyright © 2020-present YZFE"},"headers":[],"relativePath":"zh/index.md","filePath":"zh/index.md"}'),a={name:"zh/index.md"};function o(n,s,r,c,d,l){return t(),i("div")}const h=e(a,[["render",o]]);export{f as __pageData,h as default}; diff --git a/assets/zh_index.md.Ue54J0pP.lean.js b/assets/zh_index.md.Ue54J0pP.lean.js new file mode 100644 index 00000000..4a68f394 --- /dev/null +++ b/assets/zh_index.md.Ue54J0pP.lean.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as i}from"./chunks/framework.a4NdKwKH.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"svgicon","text":"SVG 图标组件和工具集","actions":[{"theme":"brand","text":"快速上手 →","link":"/zh/guide/"}]},"features":[{"title":"支持多种框架","details":"默认提供 Vue 2.x, Vue 3.x, React >= 16.8, Taro 的图标组件, 可以通过 @yzfe/svgicon 来编写支持其他框架的组件"},{"title":"按需加载","details":"通过 webpack loader (@yzfe/svgicon-loader) 或者 vite (vite-plugin-svgicon) 加载 SVG 文件变成图标数据或者图标组件,可以自定义生成的代码。"},{"title":"多功能","details":"支持多颜色,包括渐变;支持同时设置填充和描边;支持原始色,并可以只修改某个颜色的值;支持缩放,动画等功能;"},{"title":"图标预览","details":"在任意文件夹,使用 @yzfe/svgicon-viewer 查看 SVG 图标效果"}],"footer":"MIT Licensed | Copyright © 2020-present YZFE"},"headers":[],"relativePath":"zh/index.md","filePath":"zh/index.md"}'),a={name:"zh/index.md"};function o(n,s,r,c,d,l){return t(),i("div")}const h=e(a,[["render",o]]);export{f as __pageData,h as default}; diff --git a/guide/advanced.html b/guide/advanced.html new file mode 100644 index 00000000..2609752a --- /dev/null +++ b/guide/advanced.html @@ -0,0 +1,144 @@ + + + + + + In-Depth | svgicon + + + + + + + + + + + + + + + +
Skip to content

In-Depth

SVG imported as component

@yzfe/svgicon-loader or vite-plugin-svgicon both provide component and customCode options to import svg files as components.

  • component
    • vue Vue 3.x Component
    • react React Component
    • custom Custom generated code, used with customCode

Use presets

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            component: 'react',
+        })
+    ]
+})

Usage

tsx
import ArrowIcon from 'svg-icon-path/arrow.svg'
+export default funtion() {
+   return (
+        <div>
+            <ArrowIcon color="red" />
+        </div>
+    )
+}

Customize

Customize the generated code by setting the component and customCode options. The @yzfe/svgicon-loader or vite-plugin-svgicon has already generated a code snippet: const data = {/*iconData*/}. Finally, this code snippet will be concatenated with the customCode to form the final code.

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            component: 'custom',
+            customCode: `
+                import Vue from 'vue'
+                import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+                export default {
+                    functional: true,
+                    render(h, context) {
+                        return h(VueSvgIcon, {
+                            ...context.data,
+                            data: data
+                        })
+                    }
+                }
+            `
+        })
+    ]
+})

The above configuration loads the svg file as the code below

js
const data = {/*iconData*/}
+import Vue from 'vue'
+import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+export default {
+    functional: true,
+    render(h, context) {
+        return h(VueSvgIcon, {
+            ...context.data,
+            data: data
+        })
+    }
+}

WARNING

If you are using @yzfe/svgicon-loader, you need to add babel-loader to process the generated code.

Configure multiple paths

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, '../../packages/assets/svg'),
+        }),
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            // macth:  xxx.svg?component
+            matchQuery: /component/,
+            svgFilePath: path.join(__dirname, '../../packages/assets'),
+            component: 'vue',
+        }),
+         svgicon({
+            include: ['**/assets/font-awesome/**/*.svg'],
+            svgFilePath: path.join(
+                __dirname,
+                '../../packages/assets/font-awesome'
+            ),
+        }),
+    ]
+})

Usage

ts
// import as icon data
+import ArrowIconData from '@/assets/svg/arrow.svg'
+import FaArrowIconData from '@/assets/font-awesome/arrow.svg'
+
+// import as component
+import ArrowIcon from 'svg-icon-path/arrow.svg?component'
+
+// import as url
+import ArrowSvgUrl from 'svg-icon-path/arrow.svg?url'

Typescript

If SVG file is imported as a component, the type definition of the component needs to be added.

ts
// react
+declare module '@/assets/svg/*.svg' {
+    import { ReactSvgIconFC } from '@yzfe/react-svgicon'
+    const value: ReactSvgIconFC
+    export = value
+}
+
+// vue
+declare module '@/assets/svg/*.svg' {
+    import { VueSvgIcon } from '@yzfe/vue-svgicon'
+    const value: typeof VueSvgIcon
+    export = value
+}

vue-cli

If your project uses vue-cli, it is recommended to use @yzfe/vue-cli-plugin-svgicon for quick configuration.

bash
# You will be prompted to fill in the SVG file path, the globally registered component tag name and the vue version
+vue add @yzfe/svgicon

If you have installed @yzfe/vue-cli-plugin-svgicon, but this plugin is not invoked, you can invoke it manually.

bash
vue invoke @yzfe/svgicon

After a successful invoke, the necessary dependencies and code will be automatically added, and a .vue-svgicon.config.js file will be generated to configure @yzfe/svgicon-loader and webpack aliases, as well as transformAssetUrls, etc.

js
const path = require('path')
+const svgFilePaths = ['src/assets/svgicon'].map((v) => path.resolve(v))
+const tagName = 'icon'
+
+module.exports = {
+    tagName,
+    svgFilePath: svgFilePaths,
+    svgoConfig: {},
+    pathAlias: {
+        '@icon': svgFilePaths[0],
+    },
+    transformAssetUrls: {
+        [tagName]: ['data'],
+    },
+    loaderOptions: {},
+}
+ + + + \ No newline at end of file diff --git a/guide/component.html b/guide/component.html new file mode 100644 index 00000000..646e3588 --- /dev/null +++ b/guide/component.html @@ -0,0 +1,183 @@ + + + + + + Component | svgicon + + + + + + + + + + + + + + + +
Skip to content

Component

Color

Single color (default: inherit font color)

View Code
vue
<demo-wrap :title="$attrs.title" :style="{ color: 'orange' }">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="red"
+    />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="green"
+    />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="blue"
+    />
+</demo-wrap>

r-color (Reverse fill or stroke attributes)

Clock icon: the circle is the fill, the hour and minute hands are the stroke, Vue icon: the first path is the stroke, the second is the path is the fill

View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="50"
+        height="50"
+        color="r-red"
+    />
+    <icon
+        data="@icon/clock.svg"
+        width="50"
+        height="50"
+        color="#8A99B2 r-#1C2330"
+    />
+    <!-- use css var -->
+    <icon
+        data="@icon/clock.svg"
+        width="50"
+        height="50"
+        color="#8A99B2 r-var(--color-bg-primary)"
+    />
+    <icon
+        data="@icon/vue.svg"
+        width="50"
+        height="50"
+        :fill="false"
+        color="#42b983 r-#42b983"
+    />
+</demo-wrap>

Multicolor (set in the order of path/shape)

View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/check.svg"
+        width="80"
+        height="80"
+        color="#42b983 r-white"
+    />
+    <icon
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        color="#FBAD20 #F5EB13 #B8D433 #6BC9C6 #058BC5 #34469D #7E4D9F #C63D96 #ED1944"
+    />
+    <!-- Use array -->
+    <icon
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        :color="[
+            'rgba(0, 0, 100, .5)',
+            '#F5EB13',
+            '#B8D433',
+            '#6BC9C6',
+            '#058BC5',
+            '#34469D',
+            '#7E4D9F',
+            '#C63D96',
+            '#ED1944',
+        ]"
+    />
+</demo-wrap>

Original Color (original)

View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@icon/colorwheel.svg" width="60" height="60" original />
+    <!-- overwrite original color -->
+    <icon
+        data="@icon/colorwheel.svg"
+        width="60"
+        height="60"
+        original
+        color="_ black _ black _"
+    />
+    <icon
+        data="@icon/colorwheel.svg"
+        width="60"
+        height="60"
+        original
+        color="_ r-black _ r-red _"
+    />
+    <icon data="@icon/gift.svg" width="60" height="60" original />
+</demo-wrap>

The second and third color wheels modify certain colors based on the primary colors

Gradient

View Code
vue
<svg style="position: absolute; width: 0; opacity: 0">
+    <defs>
+        <linearGradient id="gradient-1" x1="0" y1="0" x2="0" y2="1">
+            <stop offset="5%" stop-color="#57f0c2" />
+            <stop offset="95%" stop-color="#147d58" />
+        </linearGradient>
+        <linearGradient id="gradient-2" x1="0" y1="0" x2="0" y2="1">
+            <stop offset="5%" stop-color="#7295c2" />
+            <stop offset="95%" stop-color="#252e3d" />
+        </linearGradient>
+    </defs>
+</svg>
+<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/vue.svg"
+        width="100"
+        height="100"
+        color="url(#gradient-1) url(#gradient-2)"
+    ></icon>
+</demo-wrap>

Modify Original Gradient Colors

View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/gift.svg"
+        width="60" height="60"
+        original
+        :stop-colors="['blue', 'green']" />
+</demo-wrap>

The original porp must to be true

Size

size, default unit: px, default size: 16px

View Code
vue
<demo-wrap :title="$attrs.title" :style="{ fontSize: '12px' }">
+    <icon data="@fa/solid/arrow-up.svg" />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon data="@fa/solid/arrow-up.svg" width="4em" height="4em" />
+    <icon data="@fa/solid/arrow-up.svg" width="4rem" height="4rem" />
+</demo-wrap>

Fill/Stroke

fill, default: true

View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        :fill="false"
+        class="stroke-icon"
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+    />
+</demo-wrap>
vue
<style>
+.stroke-icon path[pid='0'] {
+    stroke-width: 10px;
+}
+</style>

Direction

dir, default: up

View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        dir="right"
+    />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" dir="down" />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" dir="left" />
+</demo-wrap>

Repalce content

Replace SVG content (replace)

View Code
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        class="icon"
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        original
+        :replace="(svg) => svg.replace('#34469D', 'var(--color-white)')"
+    />
+</demo-wrap>
+ + + + \ No newline at end of file diff --git a/guide/index.html b/guide/index.html new file mode 100644 index 00000000..beb42591 --- /dev/null +++ b/guide/index.html @@ -0,0 +1,168 @@ + + + + + + Quick Start | svgicon + + + + + + + + + + + + + + + +
Skip to content

Quick Start

This section provides a brief introduction to the configuration and usage of svgicon. For more in-depth information, it is recommended to refer to the "In-Depth" section to gain a deeper understanding.

Introduction

svgicon is a name

svgicon is SVG icon component and tool set. It turns SVG files into icon data (vue) or icon components (react), allowing you to happily use SVG icons in your projects, whether you are using vue, react, vue3.x or Other js frameworks. svgicon includes the following npm packages:

  • @yzfe/svgicon Generate the data required by the SVG icon component according to the incoming parameters (props)
  • @yzfe/vue-svgicon SVG icon component for vue
  • @yzfe/react-svgicon SVG icon component for react
  • @yzfe/svgicon-gen Generate icon data (icon name and processed SVG content) based on the content of the SVG file
  • @yzfe/svgicon-loader Load the SVG file as icon data (vue) or SVG icon component (react), the generated code can be customized
  • vite-plugin-svgicon vite plugin,like @yzfe/svgicon-loader
  • @yzfe/svgicon-viewer Preview SVG icon
  • @yzfe/vue-cli-plugin-svgicon A vue-cli plugin that can quickly configure svgicon
  • @yzfe/svgicon-polyfill SVG innerHTML compatible (IE)

Configuration

Vite

Use vite-plugin-svgicon to load svg files as icon data

bash
npm install vite-plugin-svgicon -D
js
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            // If you are using react, it is recommended to configure the component option for react and load the svg file as react components.
+            component: 'react',
+        })
+    ]
+})

Webpack

Use @yzfe/svgicon-loader to load svg files as icon data

bash
npm install @yzfe/svgicon-loader -D
js
// webpack.config.js
+{
+    module: {
+        rules: [
+             {
+                test: /\.svg$/,
+                include: ['SVG file path'],
+                use: [
+                    'babel-loader',
+                    {
+                        loader: '@yzfe/svgicon-loader',
+                        options: {
+                            svgFilePath: ['SVG file path'],
+                            // Custom svgo configuration
+                            svgoConfig: null,
+                            // If you are using react, it is recommended to configure the component option for react and load the svg file as react components.
+                            component: 'react',
+                        }
+                    }
+                ]
+            },
+        ]
+    }
+}

Use vue-cli

Usage

js
import arrowData from 'svg-file-path/arrow.svg'
+// {name: 'arrow', data: {width: 16, height: 16, ...}}
+console.log(arrowData)

Vue 2.x

Install dependencies

bash
npm install @yzfe/svgicon @yzfe/vue-svgicon  --save

Usage

js
// main.js
+import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+// Import style
+import '@yzfe/svgicon/lib/svgicon.css'
+// Global component
+Vue.component('icon', VueSvgIcon)
vue
<template>
+    <div>
+        <icon :data="arrowData" />
+        <!-- It is recommended to configure transformAssetUrls,. You can directly pass in the svg file path. -->
+        <icon data="svg-file-path/arrow.svg" />
+    </div>
+</template>
+<script>
+import arrowData from 'svg-file-path/arrow.svg'
+export default {
+    data() {
+        return: {
+            arrowData
+        }
+    }
+}
+</script>

Vue 3.x

Install dependencies

bash
npm install @yzfe/svgicon @yzfe/vue-svgicon --save

Usage

ts
// main.ts
+import { VueSvgIconPlugin } from '@yzfe/vue-svgicon'
+// Import style
+import '@yzfe/svgicon/lib/svgicon.css'
+// Global component
+app.use(VueSvgIconPlugin, {tagName: 'icon'})
vue
<script setup lang="ts">
+import arrowData from 'svg-file-path/arrow.svg'
+</script>
+<template>
+    <div>
+        <icon :data="arrowData" />
+        <!-- It is recommended to configure transformAssetUrls,. You can directly pass in the svg file path. -->
+        <icon data="svg-file-path/arrow.svg" />
+    </div>
+</template>

React

Install dependencies

bash
npm install @yzfe/svgicon @yzfe/react-svgicon --save

Usage

ts
import '@yzfe/svgicon/lib/svgicon.css'
tsx
import ArrowIcon from 'svg-file-path/arrow.svg'
+
+export default function FC() {
+    return (
+        <div>
+            <ArrowIcon color="red" />
+        </div>
+    )
+}

Other frameworks

Other frameworks can use @yzfe/svgicon to write icon components suitable for their frameworks, please refer to @yzfe/react-svgicon.

@yzfe/react-svgicon
tsx
import React from 'react'
+import {
+    svgIcon,
+    Props,
+    Options,
+    setOptions,
+    getPropKeys,
+    Icon,
+    IconData,
+} from '@yzfe/svgicon'
+
+interface ComponentProps extends Props {
+    [key: string]: unknown
+}
+
+class ReactSvgIcon extends React.PureComponent<ComponentProps> {
+    public render(): JSX.Element {
+        const props = this.props
+        const result = svgIcon(props)
+        const attrs: Record<string, unknown> = {}
+
+        if (props) {
+            const propsKeys = getPropKeys()
+            for (const key in props) {
+                if (propsKeys.indexOf(key as keyof Props) < 0) {
+                    attrs[key] = props[key]
+                }
+            }
+        }
+
+        attrs.viewBox = result.box
+        attrs.className = (attrs.className || '') + ` ${result.className}`
+        attrs.style = {
+            ...((attrs.style as Record<string, string>) || {}),
+            ...result.style,
+        }
+
+        return (
+            <svg
+                {...attrs}
+                dangerouslySetInnerHTML={{ __html: result.path }}
+            ></svg>
+        )
+    }
+}
+
+/** SvgIcon function component, define in @yzfe/svgicon-loader compile */
+interface ReactSvgIconFC extends React.FC<ComponentProps> {
+    iconName: string
+    iconData: IconData
+}
+
+export {
+    ReactSvgIcon,
+    ReactSvgIconFC,
+    Props,
+    Options,
+    Icon,
+    IconData,
+    setOptions,
+}
+ + + + \ No newline at end of file diff --git a/guide/other.html b/guide/other.html new file mode 100644 index 00000000..36302780 --- /dev/null +++ b/guide/other.html @@ -0,0 +1,33 @@ + + + + + + Other | svgicon + + + + + + + + + + + + + + + +
Skip to content

Other

Icon Preview

Use @yzfe/svgicon-viewer to preview SVG files in any folder.

Installation

bash
# Global installation
+yarn global add @yzfe/svgicon-viewer

Usage

bash
# svgicon-viewer <svgFilePath> [metaFile]
+svgicon-viewer ./src/assets/svg

svgicon-viewer

Use meta.json to add additional information. Currently, only one name field is supported, which can be used to describe the icon.

json
// meta.json demo
+{
+    "arrow": {
+        "name": "箭头"
+    }
+}
bash
svgicon-viewer ./src/assets/svg ./src/assets/svg/meta.json

svgicon-viewer

Generate static html page

svgicon-viewer ./src/assets/svg -o ./dist
+ + + + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json new file mode 100644 index 00000000..e825d559 --- /dev/null +++ b/hashmap.json @@ -0,0 +1 @@ +{"zh_index.md":"Ue54J0pP","guide_other.md":"8dLgtnI_","guide_index.md":"b4NKrtkH","zh_guide_other.md":"JxSSMtro","zh_guide_advanced.md":"mYK880RU","guide_component.md":"CmpP1JPd","index.md":"oxmTioWI","zh_api_index.md":"cItbVkbe","api_index.md":"QpN33xtC","guide_advanced.md":"0UtTqeQw","zh_guide_component.md":"97CrAp_2","zh_guide_index.md":"vwlg3dK2"} diff --git a/index.html b/index.html new file mode 100644 index 00000000..f4d97092 --- /dev/null +++ b/index.html @@ -0,0 +1,26 @@ + + + + + + svgicon | svgicon + + + + + + + + + + + + + + + +
Skip to content

svgicon

SVG icon toolkit

+ + + + \ No newline at end of file diff --git a/v3/css/chunk-vendors.ce2a2394.css b/v3/css/chunk-vendors.ce2a2394.css new file mode 100644 index 00000000..fa6b56b7 --- /dev/null +++ b/v3/css/chunk-vendors.ce2a2394.css @@ -0,0 +1 @@ +.hljs{display:block;background:#fff;padding:.5em;color:#333;overflow-x:auto}.hljs-comment,.hljs-meta{color:#969896}.hljs-emphasis,.hljs-quote,.hljs-strong,.hljs-template-variable,.hljs-variable{color:#df5000}.hljs-keyword,.hljs-selector-tag,.hljs-type{color:#d73a49}.hljs-attribute,.hljs-bullet,.hljs-literal,.hljs-symbol{color:#0086b3}.hljs-name,.hljs-section{color:#63a35c}.hljs-tag{color:#333}.hljs-attr,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-title{color:#6f42c1}.hljs-addition{color:#55a532;background-color:#eaffea}.hljs-deletion{color:#bd2c00;background-color:#ffecec}.hljs-link{text-decoration:underline}.hljs-number{color:#005cc5}.hljs-string{color:#032f62} \ No newline at end of file diff --git a/v3/css/style.c8848697.css b/v3/css/style.c8848697.css new file mode 100644 index 00000000..bc0d39d1 --- /dev/null +++ b/v3/css/style.c8848697.css @@ -0,0 +1 @@ +.demo-block{display:-webkit-box;display:-ms-flexbox;display:flex;max-width:1400px;margin:0 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden}.demo-block .svg-icon{margin-right:10px}.demo-block>div{float:left;width:50%}.demo-block code{line-height:1.5;border-radius:5px;background:#f4f4f4!important;font-size:12px;text-align:left;font-family:Roboto Mono,monospace}@media (max-width:1000px){.demo-block{display:block}.demo-block>div{width:100%}}body{--color-primary:#fff}.svg-icon{display:inline-block;width:16px;height:16px;color:inherit;vertical-align:middle;fill:none;stroke:currentColor}.svg-fill{fill:currentColor;stroke:none}.svg-up{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.svg-right{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.svg-down{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.svg-left{-webkit-transform:rotate(180deg);transform:rotate(180deg)}#app{margin-top:60px;color:#2c3e50;text-align:center;font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2{font-weight:400}h2{padding-top:20px;border-top:1px solid #dcdcdc}@-webkit-keyframes color1{0%{fill:#42b983}50%{fill:#35495e}to{fill:#42b983}}@keyframes color1{0%{fill:#42b983}50%{fill:#35495e}to{fill:#42b983}}@-webkit-keyframes color2{0%{fill:#35495e}50%{fill:#42b983}to{fill:#35495e}}@keyframes color2{0%{fill:#35495e}50%{fill:#42b983}to{fill:#35495e}}.vue-logo path[pid="0"]{-webkit-animation:color1 6s ease-in-out infinite;animation:color1 6s ease-in-out infinite}.vue-logo path[pid="1"]{-webkit-animation:color2 6s ease-in-out infinite;animation:color2 6s ease-in-out infinite}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(-30deg);transform:rotate(-30deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(-30deg);transform:rotate(-30deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}.good{-webkit-animation:rotate 1s linear infinite;animation:rotate 1s linear infinite;-webkit-transform-origin:left bottom;transform-origin:left bottom} \ No newline at end of file diff --git a/v3/favicon.ico b/v3/favicon.ico new file mode 100644 index 00000000..c7b9a43c Binary files /dev/null and b/v3/favicon.ico differ diff --git a/v3/index.html b/v3/index.html new file mode 100644 index 00000000..d371124e --- /dev/null +++ b/v3/index.html @@ -0,0 +1 @@ +vue-svgicon
\ No newline at end of file diff --git a/v3/js/app.6b1cee33.js b/v3/js/app.6b1cee33.js new file mode 100644 index 00000000..cd99cf88 --- /dev/null +++ b/v3/js/app.6b1cee33.js @@ -0,0 +1,1101 @@ +;(function (t) { + function e(e) { + for ( + var n, a, c = e[0], l = e[1], s = e[2], d = 0, f = []; + d < c.length; + d++ + ) + (a = c[d]), + Object.prototype.hasOwnProperty.call(o, a) && + o[a] && + f.push(o[a][0]), + (o[a] = 0) + for (n in l) Object.prototype.hasOwnProperty.call(l, n) && (t[n] = l[n]) + h && h(e) + while (f.length) f.shift()() + return r.push.apply(r, s || []), i() + } + function i() { + for (var t, e = 0; e < r.length; e++) { + for (var i = r[e], n = !0, a = 1; a < i.length; a++) { + var l = i[a] + 0 !== o[l] && (n = !1) + } + n && (r.splice(e--, 1), (t = c((c.s = i[0])))) + } + return t + } + var n = {}, + o = { app: 0 }, + r = [] + function a(t) { + return ( + c.p + + 'js/' + + ({}[t] || t) + + '.' + + { 'chunk-2d0c791e': '80cdeabd' }[t] + + '.js' + ) + } + function c(e) { + if (n[e]) return n[e].exports + var i = (n[e] = { i: e, l: !1, exports: {} }) + return t[e].call(i.exports, i, i.exports, c), (i.l = !0), i.exports + } + ;(c.e = function (t) { + var e = [], + i = o[t] + if (0 !== i) + if (i) e.push(i[2]) + else { + var n = new Promise(function (e, n) { + i = o[t] = [e, n] + }) + e.push((i[2] = n)) + var r, + l = document.createElement('script') + ;(l.charset = 'utf-8'), + (l.timeout = 120), + c.nc && l.setAttribute('nonce', c.nc), + (l.src = a(t)) + var s = new Error() + r = function (e) { + ;(l.onerror = l.onload = null), clearTimeout(d) + var i = o[t] + if (0 !== i) { + if (i) { + var n = + e && + ('load' === e.type ? 'missing' : e.type), + r = e && e.target && e.target.src + ;(s.message = + 'Loading chunk ' + + t + + ' failed.\n(' + + n + + ': ' + + r + + ')'), + (s.name = 'ChunkLoadError'), + (s.type = n), + (s.request = r), + i[1](s) + } + o[t] = void 0 + } + } + var d = setTimeout(function () { + r({ type: 'timeout', target: l }) + }, 12e4) + ;(l.onerror = l.onload = r), document.head.appendChild(l) + } + return Promise.all(e) + }), + (c.m = t), + (c.c = n), + (c.d = function (t, e, i) { + c.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: i }) + }), + (c.r = function (t) { + 'undefined' !== typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(t, Symbol.toStringTag, { + value: 'Module', + }), + Object.defineProperty(t, '__esModule', { value: !0 }) + }), + (c.t = function (t, e) { + if ((1 & e && (t = c(t)), 8 & e)) return t + if (4 & e && 'object' === typeof t && t && t.__esModule) return t + var i = Object.create(null) + if ( + (c.r(i), + Object.defineProperty(i, 'default', { + enumerable: !0, + value: t, + }), + 2 & e && 'string' != typeof t) + ) + for (var n in t) + c.d( + i, + n, + function (e) { + return t[e] + }.bind(null, n) + ) + return i + }), + (c.n = function (t) { + var e = + t && t.__esModule + ? function () { + return t['default'] + } + : function () { + return t + } + return c.d(e, 'a', e), e + }), + (c.o = function (t, e) { + return Object.prototype.hasOwnProperty.call(t, e) + }), + (c.p = './'), + (c.oe = function (t) { + throw (console.error(t), t) + }) + var l = (window['webpackJsonp'] = window['webpackJsonp'] || []), + s = l.push.bind(l) + ;(l.push = e), (l = l.slice()) + for (var d = 0; d < l.length; d++) e(l[d]) + var h = s + r.push([0, 'chunk-vendors']), i() +})({ + 0: function (t, e, i) { + t.exports = i('42a0') + }, + '0032': function (t, e, i) { + 'use strict' + var n = function () { + var t = this, + e = t.$createElement, + i = t._self._c || e + return i('svg', { + class: t.clazz, + style: t.style, + attrs: { version: '1.1', viewBox: t.box }, + domProps: { innerHTML: t._s(t.path) }, + on: { click: t.onClick }, + }) + }, + o = [], + r = (i('a481'), i('c5f6'), i('28a5'), i('7f7f'), i('6c7b'), {}), + a = [], + c = '', + l = 'svg', + s = !1, + d = !1, + h = { + data: function () { + return { loaded: !1 } + }, + props: { + icon: String, + name: String, + width: { type: String, default: '' }, + height: { type: String, default: '' }, + scale: String, + dir: String, + fill: { + type: Boolean, + default: function () { + return !s + }, + }, + color: String, + original: { + type: Boolean, + default: function () { + return d + }, + }, + title: String, + }, + computed: { + clazz: function () { + var t = ''.concat(l, '-icon') + return ( + this.fill && (t += ' '.concat(l, '-fill')), + this.dir && + (t += ' '.concat(l, '-').concat(this.dir)), + t + ) + }, + iconName: function () { + return this.name || this.icon + }, + iconData: function () { + var t = r[this.iconName] + return t || this.loaded ? t : null + }, + colors: function () { + return this.color ? this.color.split(' ') : [] + }, + path: function () { + var t = '' + return ( + this.iconData + ? ((t = this.iconData.data), + (t = this.setTitle(t)), + this.original && + (t = this.addOriginalColor(t)), + this.colors.length > 0 && + (t = this.addColor(t))) + : a.push({ + name: this.iconName, + component: this, + }), + this.getValidPathData(t) + ) + }, + box: function () { + var t = this.width || 16, + e = this.width || 16 + return this.iconData + ? this.iconData.viewBox + ? this.iconData.viewBox + : '0 0 ' + .concat(this.iconData.width, ' ') + .concat(this.iconData.height) + : '0 0 ' + .concat(parseFloat(t), ' ') + .concat(parseFloat(e)) + }, + style: function () { + var t, + e, + i = /^\d+$/, + n = Number(this.scale) + !isNaN(n) && this.iconData + ? ((t = Number(this.iconData.width) * n + 'px'), + (e = Number(this.iconData.height) * n + 'px')) + : ((t = i.test(this.width) + ? this.width + 'px' + : this.width || c), + (e = i.test(this.height) + ? this.height + 'px' + : this.height || c)) + var o = {} + return t && (o.width = t), e && (o.height = e), o + }, + }, + created: function () { + r[this.iconName] && (this.loaded = !0) + }, + methods: { + addColor: function (t) { + var e = this, + i = /<(path|rect|circle|polygon|line|polyline|ellipse)\s/gi, + n = 0 + return t.replace(i, function (t) { + var i = + e.colors[n++] || + e.colors[e.colors.length - 1], + o = e.fill + if (i && '_' === i) return t + i && + 0 === i.indexOf('r-') && + ((o = !o), (i = i.substr(2))) + var r = o ? 'fill' : 'stroke', + a = o ? 'stroke' : 'fill' + return ( + t + + '' + .concat(r, '="') + .concat(i, '" ') + .concat(a, '="none" ') + ) + }) + }, + addOriginalColor: function (t) { + var e = /_fill="|_stroke="/gi + return t.replace(e, function (t) { + return t && t.slice(1) + }) + }, + getValidPathData: function (t) { + if (this.original && this.colors.length > 0) { + var e = /<(path|rect|circle|polygon|line|polyline|ellipse)(\sfill|\sstroke)([="\w\s\.\-\+#\$\&>]+)(fill|stroke)/gi + t = t.replace(e, function (t, e, i, n, o) { + return '<' + .concat(e) + .concat(i) + .concat(n, '_') + .concat(o) + }) + } + return t + }, + setTitle: function (t) { + if (this.title) { + var e = this.title + .replace(/\/gi, '>') + .replace(/&/g, '&') + return ''.concat(e, '') + t + } + return t + }, + onClick: function (t) { + this.$emit('click', t) + }, + }, + install: function (t) { + var e = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : {}, + i = e.tagName || 'svgicon' + e.classPrefix && (l = e.classPrefix), + (s = !!e.isStroke), + (d = !!e.isOriginalDefault), + e.defaultWidth && (c = e.defaultWidth), + e.defaultHeight && e.defaultHeight, + t.component(i, this) + }, + register: function (t) { + var e = function (e) { + r[e] || (r[e] = t[e]), + (a = a.filter(function (t, i) { + return ( + t.name === e && + t.component.$set( + t.component, + 'loaded', + !0 + ), + t.name !== e + ) + })) + } + for (var i in t) e(i) + }, + icons: r, + }, + f = h, + u = i('2877'), + p = Object(u['a'])(f, n, o, !1, null, null, null) + e['a'] = p.exports + }, + '07c6': function (t, e, i) { + 'use strict' + ;(function (t) { + i('7f7f'), i('a481'), i('ac4d'), i('8a81') + var e = i('7618') + !(function (n, o) { + 'object' == + ('undefined' === typeof exports + ? 'undefined' + : Object(e['a'])(exports)) && + 'object' == Object(e['a'])(t) + ? (t.exports = o()) + : 'function' == typeof define && i('3c35') + ? define([], o) + : 'object' == + ('undefined' === typeof exports + ? 'undefined' + : Object(e['a'])(exports)) + ? (exports.VueSvgIconPolyfill = o()) + : (n.VueSvgIconPolyfill = o()) + })(window, function () { + return (function (t) { + var i = {} + function n(e) { + if (i[e]) return i[e].exports + var o = (i[e] = { i: e, l: !1, exports: {} }) + return ( + t[e].call(o.exports, o, o.exports, n), + (o.l = !0), + o.exports + ) + } + return ( + (n.m = t), + (n.c = i), + (n.d = function (t, e, i) { + n.o(t, e) || + Object.defineProperty(t, e, { + enumerable: !0, + get: i, + }) + }), + (n.r = function (t) { + 'undefined' != typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(t, Symbol.toStringTag, { + value: 'Module', + }), + Object.defineProperty(t, '__esModule', { + value: !0, + }) + }), + (n.t = function (t, i) { + if ((1 & i && (t = n(t)), 8 & i)) return t + if ( + 4 & i && + 'object' == Object(e['a'])(t) && + t && + t.__esModule + ) + return t + var o = Object.create(null) + if ( + (n.r(o), + Object.defineProperty(o, 'default', { + enumerable: !0, + value: t, + }), + 2 & i && 'string' != typeof t) + ) + for (var r in t) + n.d( + o, + r, + function (e) { + return t[e] + }.bind(null, r) + ) + return o + }), + (n.n = function (t) { + var e = + t && t.__esModule + ? function () { + return t.default + } + : function () { + return t + } + return n.d(e, 'a', e), e + }), + (n.o = function (t, e) { + return Object.prototype.hasOwnProperty.call(t, e) + }), + (n.p = ''), + n((n.s = 0)) + ) + })([ + function (t, e, i) { + var n = i(1) + 'string' != + typeof window.document.createElementNS( + 'http://www.w3.org/2000/svg', + 'svg' + ).innerHTML && n() + }, + function (t, e) { + t.exports = function () { + var t = function t(e, i) { + var n = e.nodeType + if (3 == n) + i.push( + e.textContent + .replace(/&/, '&') + .replace(/', '>') + ) + else if (1 == n) { + if ( + (i.push('<', e.tagName), + e.hasAttributes()) + ) + for ( + var o = e.attributes, + r = 0, + a = o.length; + r < a; + ++r + ) { + var c = o.item(r) + i.push( + ' ', + c.name, + "='", + c.value, + "'" + ) + } + if (e.hasChildNodes()) { + i.push('>') + var l = e.childNodes + for (r = 0, a = l.length; r < a; ++r) + t(l.item(r), i) + i.push('') + } else i.push('/>') + } else { + if (8 != n) + throw ( + 'Error serializing XML. Unhandled node of type: ' + + n + ) + i.push('\x3c!--', e.nodeValue, '--\x3e') + } + } + Object.defineProperty( + SVGElement.prototype, + 'innerHTML', + { + get: function () { + for ( + var e = [], i = this.firstChild; + i; + + ) + t(i, e), (i = i.nextSibling) + return e.join('') + }, + set: function (t) { + for (; this.firstChild; ) + this.removeChild(this.firstChild) + try { + var e = new DOMParser() + e.async = !1 + for ( + var i = + "" + + t + + '', + n = e.parseFromString( + i, + 'text/xml' + ).documentElement + .firstChild; + n; + + ) + this.appendChild( + this.ownerDocument.importNode( + n, + !0 + ) + ), + (n = n.nextSibling) + } catch (t) { + throw ( + (console.error(t), + new Error( + 'Error parsing XML string' + )) + ) + } + }, + } + ), + Object.defineProperty( + SVGElement.prototype, + 'innerSVG', + { + get: function () { + return this.innerHTML + }, + set: function (t) { + this.innerHTML = t + }, + } + ) + } + }, + ]) + }) + }.call(this, i('dd40')(t))) + }, + '42a0': function (t, e, i) { + 'use strict' + i.r(e) + i('cadf'), i('551c'), i('f751'), i('097d'), i('07c6') + var n = i('5ee5'), + o = i.n(n), + r = (i('6b54'), i('2397'), i('d225')), + a = i('b0b4'), + c = i('4e2b'), + l = i('308d'), + s = i('6bb5'), + d = i('9ab4'), + h = i('60a3'), + f = + (i('a481'), + { + dir: [ + '\n \n \n \n \n ', + ], + fill: [ + '\n \n \n ', + ], + 'r-color': [ + '\n \n \n ', + ], + color: [ + '\n \n \n \n \n ', + ], + size: [ + '\n \n \n \n \n \n ', + ], + 'multi-color': [ + '', + ], + 'multi-color2': [ + '', + '\n \n\n \n ', + ], + 'original-color': [ + '\n \n \x3c!-- overwrite original color --\x3e\n \n \n \n ', + ], + gradient: [ + '', + '\n \n ', + ], + namespace: [ + '\n \n \n \n ', + ], + uid: [ + '\n \n \n ', + ], + async: [ + '\n \n \n \n \n ', + "\n \n\n \n ", + ], + }), + u = i('a70e') + u['registerLanguage']('javascript', i('4dd1')), + u['registerLanguage']('xml', i('8dcb')) + var p = u + function g(t) { + var e = m() + return function () { + var i, + n = Object(s['a'])(t) + if (e) { + var o = Object(s['a'])(this).constructor + i = Reflect.construct(n, arguments, o) + } else i = n.apply(this, arguments) + return Object(l['a'])(this, i) + } + } + function m() { + if ('undefined' === typeof Reflect || !Reflect.construct) return !1 + if (Reflect.construct.sham) return !1 + if ('function' === typeof Proxy) return !0 + try { + return ( + Date.prototype.toString.call( + Reflect.construct(Date, [], function () {}) + ), + !0 + ) + } catch (t) { + return !1 + } + } + var v = (function (t) { + Object(c['a'])(i, t) + var e = g(i) + function i() { + return Object(r['a'])(this, i), e.apply(this, arguments) + } + return ( + Object(a['a'])(i, [ + { + key: 'mounted', + value: function () { + var t = this, + e = this.$refs.code + e && + ((e.textContent = this.codeString[1] + ? this.codeString[1].replace( + /#{{(\w+)}}/g, + function (e, i) { + return t.codeString[0] + } + ) + : this.codeString[0]), + p.highlightBlock(e)) + }, + }, + { + key: 'render', + value: function () { + var t = arguments[0] + if (this.codeString) { + var e = this.datas || [], + i = (function (t) { + Object(c['a'])(n, t) + var i = g(n) + function n() { + var t + return ( + Object(r['a'])(this, n), + (t = i.apply(this, arguments)), + (t.datas = e), + t + ) + } + return n + })(h['c']) + return ( + (i = Object(d['a'])( + [ + Object(h['a'])({ + name: 'PreviewBlock', + template: '
'.concat( + this.codeString[0], + '
' + ), + }), + ], + i + )), + t('div', { class: 'demo-block' }, [ + t(i), + t('div', [ + t('pre', [ + t('code', { + ref: 'code', + class: 'html', + }), + ]), + ]), + ]) + ) + } + return t('div') + }, + }, + { + key: 'codeString', + get: function () { + return f[this.code] + }, + }, + ]), + i + ) + })(h['c']) + Object(d['a'])( + [Object(h['b'])(), Object(d['b'])('design:type', String)], + v.prototype, + 'code', + void 0 + ), + Object(d['a'])( + [Object(h['b'])(), Object(d['b'])('design:type', Array)], + v.prototype, + 'datas', + void 0 + ), + (v = Object(d['a'])([Object(h['a'])({ components: {} })], v)) + var w = v + function b(t) { + var e = y() + return function () { + var i, + n = Object(s['a'])(t) + if (e) { + var o = Object(s['a'])(this).constructor + i = Reflect.construct(n, arguments, o) + } else i = n.apply(this, arguments) + return Object(l['a'])(this, i) + } + } + function y() { + if ('undefined' === typeof Reflect || !Reflect.construct) return !1 + if (Reflect.construct.sham) return !1 + if ('function' === typeof Proxy) return !0 + try { + return ( + Date.prototype.toString.call( + Reflect.construct(Date, [], function () {}) + ), + !0 + ) + } catch (t) { + return !1 + } + } + var _ = (function (t) { + Object(c['a'])(n, t) + var e = b(n) + function n() { + var t + return ( + Object(r['a'])(this, n), + (t = e.apply(this, arguments)), + (t.colors = + '#FBAD20 #F5EB13 #B8D433 #6BC9C6 #058BC5 #34469D #7E4D9F #C63D96 #ED1944'), + t + ) + } + return ( + Object(a['a'])(n, [ + { + key: 'mounted', + value: function () { + setTimeout(function () { + i.e('chunk-2d0c791e') + .then(i.bind(null, '50d1')) + .then(function () { + console.log('Async icons loaded') + }) + }, 3e3) + }, + }, + { + key: 'render', + value: function () { + var t = arguments[0] + return t('div', { attrs: { id: 'app' } }, [ + t('p', [ + t('icon', { + class: 'vue-logo', + attrs: { + name: 'vue', + width: '15rem', + height: '15rem', + }, + }), + ]), + t('h1', ['Vue Svg Icon']), + t('p', [ + t( + 'a', + { + class: 'github-button', + attrs: { + href: + 'https://github.com/MMF-FE/svgicon', + 'data-size': 'large', + 'data-show-count': 'true', + 'aria-label': + 'Star MMF-FE/svgicon on GitHub', + }, + }, + ['Star'] + ), + ]), + t('div', [ + t('h2', ['Color (defalt: inherit)']), + t('p', { style: 'color: darkorange' }, [ + t('demo-block', { + attrs: { code: 'color' }, + }), + ]), + t('h2', [ + 'Multi Color (define by path/shape order)', + ]), + t('demo-block', { + attrs: { code: 'multi-color' }, + }), + t('demo-block', { + attrs: { + code: 'multi-color2', + datas: [this.colors], + }, + }), + t('h2', ['Use original colors']), + t('demo-block', { + attrs: { code: 'original-color' }, + }), + t('h2', ['Gradient']), + t('demo-block', { + attrs: { code: 'gradient' }, + }), + t('h2', ['Size (defalt unit: px)']), + t('demo-block', { + attrs: { code: 'size' }, + }), + t('h2', ['Fill (default: fill)']), + t('demo-block', { + attrs: { code: 'fill' }, + }), + t('h2', [ + 'r-color (reverse fill property)', + ]), + t('demo-block', { + attrs: { code: 'r-color' }, + }), + t('div', [ + 'circle is fill, path is stroke', + ]), + t('h2', ['Direction (default: right)']), + t('demo-block', { attrs: { code: 'dir' } }), + t('h2', ['Namespace']), + t('demo-block', { + attrs: { code: 'namespace' }, + }), + t('h2', ['Unique Id']), + t('demo-block', { attrs: { code: 'uid' } }), + t('h2', ['Async']), + t('demo-block', { + attrs: { code: 'async' }, + }), + ]), + t( + 'svg', + { + style: + 'width: 0; position: absolute; opacity: 0', + }, + [ + t('defs', [ + t( + 'linearGradient', + { + attrs: { + id: 'gradient-1', + x1: '0', + y1: '0', + x2: '0', + y2: '1', + }, + }, + [ + t('stop', { + attrs: { + offset: '5%', + 'stop-color': + '#57f0c2', + }, + }), + t('stop', { + attrs: { + offset: '95%', + 'stop-color': + '#147d58', + }, + }), + ] + ), + t( + 'linearGradient', + { + attrs: { + id: 'gradient-2', + x1: '0', + y1: '0', + x2: '0', + y2: '1', + }, + }, + [ + t('stop', { + attrs: { + offset: '5%', + 'stop-color': + '#7295c2', + }, + }), + t('stop', { + attrs: { + offset: '95%', + 'stop-color': + '#252e3d', + }, + }), + ] + ), + ]), + ] + ), + ]) + }, + }, + ]), + n + ) + })(h['c']) + _ = Object(d['a'])( + [Object(h['a'])({ components: { DemoBlock: w } })], + _ + ) + var x = _, + k = i('0032') + k['a'].register({ + arrow: { + width: 4, + height: 7, + viewBox: '0 0 4 7', + data: + '', + }, + }), + k['a'].register({ + check: { + width: 32, + height: 31, + viewBox: '0 0 32 31', + data: + '', + }, + }), + k['a'].register({ + clock: { + width: 16, + height: 16, + viewBox: '0 0 16 16', + data: + '', + }, + }), + k['a'].register({ + colorwheel: { + width: 16, + height: 16, + viewBox: '0 0 800 800', + data: + '', + }, + }), + k['a'].register({ + gift: { + width: 16, + height: 16, + viewBox: '0 0 16 17', + data: + '', + }, + }), + k['a'].register({ + mask: { + width: 16, + height: 16, + viewBox: '0 0 200 200', + data: + '', + }, + }), + k['a'].register({ + 'sora/arrow': { + width: 200, + height: 200, + viewBox: '0 0 1024 1024', + data: + '', + }, + }), + k['a'].register({ + 'sora/fit/arrow': { + width: 254.688, + height: 200, + viewBox: '0 0 1304 1024', + data: + '', + }, + }), + k['a'].register({ + 'sora/fit/mask': { + width: 16, + height: 16, + viewBox: '0 0 200 200', + data: + '', + }, + }), + k['a'].register({ + vue: { + width: 2500, + height: 2158, + viewBox: '0 0 256 221', + data: + '', + }, + }) + i('b11d') + ;(o.a.config.productionTip = !1), + o.a.use(k['a'], { tagName: 'icon' }), + new o.a({ + render: function (t) { + return t(x) + }, + }).$mount('#app') + }, +}) diff --git a/v3/js/chunk-2d0c791e.80cdeabd.js b/v3/js/chunk-2d0c791e.80cdeabd.js new file mode 100644 index 00000000..6a6a2f95 --- /dev/null +++ b/v3/js/chunk-2d0c791e.80cdeabd.js @@ -0,0 +1,28 @@ +;(window['webpackJsonp'] = window['webpackJsonp'] || []).push([ + ['chunk-2d0c791e'], + { + '50d1': function (c, a, l) { + 'use strict' + l.r(a) + var d = l('0032') + d['a'].register({ + download: { + width: 200, + height: 200, + viewBox: '0 0 1024 1024', + data: + '', + }, + }), + d['a'].register({ + good: { + width: 200, + height: 200, + viewBox: '0 0 1024 1024', + data: + '', + }, + }) + }, + }, +]) diff --git a/v3/js/chunk-vendors.d9f13dec.js b/v3/js/chunk-vendors.d9f13dec.js new file mode 100644 index 00000000..0938cadd --- /dev/null +++ b/v3/js/chunk-vendors.d9f13dec.js @@ -0,0 +1,13170 @@ +;(window['webpackJsonp'] = window['webpackJsonp'] || []).push([ + ['chunk-vendors'], + { + '014b': function (e, t, n) { + 'use strict' + var r = n('e53d'), + i = n('07e3'), + o = n('8e60'), + a = n('63b6'), + c = n('9138'), + s = n('ebfd').KEY, + u = n('294c'), + f = n('dbdb'), + l = n('45f2'), + p = n('62a0'), + d = n('5168'), + v = n('ccb9'), + h = n('6718'), + y = n('47ee'), + g = n('9003'), + m = n('e4ae'), + b = n('f772'), + _ = n('241e'), + w = n('36c3'), + x = n('1bc3'), + O = n('aebd'), + E = n('a159'), + S = n('0395'), + A = n('bf0b'), + C = n('9aa9'), + k = n('d9f6'), + T = n('c3a1'), + $ = A.f, + N = k.f, + j = S.f, + M = r.Symbol, + R = r.JSON, + P = R && R.stringify, + I = 'prototype', + L = d('_hidden'), + D = d('toPrimitive'), + F = {}.propertyIsEnumerable, + B = f('symbol-registry'), + U = f('symbols'), + H = f('op-symbols'), + K = Object[I], + z = 'function' == typeof M && !!C.f, + V = r.QObject, + G = !V || !V[I] || !V[I].findChild, + W = + o && + u(function () { + return ( + 7 != + E( + N({}, 'a', { + get: function () { + return N(this, 'a', { value: 7 }).a + }, + }) + ).a + ) + }) + ? function (e, t, n) { + var r = $(K, t) + r && delete K[t], + N(e, t, n), + r && e !== K && N(K, t, r) + } + : N, + J = function (e) { + var t = (U[e] = E(M[I])) + return (t._k = e), t + }, + q = + z && 'symbol' == typeof M.iterator + ? function (e) { + return 'symbol' == typeof e + } + : function (e) { + return e instanceof M + }, + X = function (e, t, n) { + return ( + e === K && X(H, t, n), + m(e), + (t = x(t, !0)), + m(n), + i(U, t) + ? (n.enumerable + ? (i(e, L) && e[L][t] && (e[L][t] = !1), + (n = E(n, { enumerable: O(0, !1) }))) + : (i(e, L) || N(e, L, O(1, {})), + (e[L][t] = !0)), + W(e, t, n)) + : N(e, t, n) + ) + }, + Z = function (e, t) { + m(e) + var n, + r = y((t = w(t))), + i = 0, + o = r.length + while (o > i) X(e, (n = r[i++]), t[n]) + return e + }, + Y = function (e, t) { + return void 0 === t ? E(e) : Z(E(e), t) + }, + Q = function (e) { + var t = F.call(this, (e = x(e, !0))) + return ( + !(this === K && i(U, e) && !i(H, e)) && + (!( + t || + !i(this, e) || + !i(U, e) || + (i(this, L) && this[L][e]) + ) || + t) + ) + }, + ee = function (e, t) { + if ( + ((e = w(e)), + (t = x(t, !0)), + e !== K || !i(U, t) || i(H, t)) + ) { + var n = $(e, t) + return ( + !n || + !i(U, t) || + (i(e, L) && e[L][t]) || + (n.enumerable = !0), + n + ) + } + }, + te = function (e) { + var t, + n = j(w(e)), + r = [], + o = 0 + while (n.length > o) + i(U, (t = n[o++])) || t == L || t == s || r.push(t) + return r + }, + ne = function (e) { + var t, + n = e === K, + r = j(n ? H : w(e)), + o = [], + a = 0 + while (r.length > a) + !i(U, (t = r[a++])) || (n && !i(K, t)) || o.push(U[t]) + return o + } + z || + ((M = function () { + if (this instanceof M) + throw TypeError('Symbol is not a constructor!') + var e = p(arguments.length > 0 ? arguments[0] : void 0), + t = function (n) { + this === K && t.call(H, n), + i(this, L) && + i(this[L], e) && + (this[L][e] = !1), + W(this, e, O(1, n)) + } + return o && G && W(K, e, { configurable: !0, set: t }), J(e) + }), + c(M[I], 'toString', function () { + return this._k + }), + (A.f = ee), + (k.f = X), + (n('6abf').f = S.f = te), + (n('355d').f = Q), + (C.f = ne), + o && !n('b8e3') && c(K, 'propertyIsEnumerable', Q, !0), + (v.f = function (e) { + return J(d(e)) + })), + a(a.G + a.W + a.F * !z, { Symbol: M }) + for ( + var re = 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'.split( + ',' + ), + ie = 0; + re.length > ie; + + ) + d(re[ie++]) + for (var oe = T(d.store), ae = 0; oe.length > ae; ) h(oe[ae++]) + a(a.S + a.F * !z, 'Symbol', { + for: function (e) { + return i(B, (e += '')) ? B[e] : (B[e] = M(e)) + }, + keyFor: function (e) { + if (!q(e)) throw TypeError(e + ' is not a symbol!') + for (var t in B) if (B[t] === e) return t + }, + useSetter: function () { + G = !0 + }, + useSimple: function () { + G = !1 + }, + }), + a(a.S + a.F * !z, 'Object', { + create: Y, + defineProperty: X, + defineProperties: Z, + getOwnPropertyDescriptor: ee, + getOwnPropertyNames: te, + getOwnPropertySymbols: ne, + }) + var ce = u(function () { + C.f(1) + }) + a(a.S + a.F * ce, 'Object', { + getOwnPropertySymbols: function (e) { + return C.f(_(e)) + }, + }), + R && + a( + a.S + + a.F * + (!z || + u(function () { + var e = M() + return ( + '[null]' != P([e]) || + '{}' != P({ a: e }) || + '{}' != P(Object(e)) + ) + })), + 'JSON', + { + stringify: function (e) { + var t, + n, + r = [e], + i = 1 + while (arguments.length > i) + r.push(arguments[i++]) + if ( + ((n = t = r[1]), + (b(t) || void 0 !== e) && !q(e)) + ) + return ( + g(t) || + (t = function (e, t) { + if ( + ('function' == typeof n && + (t = n.call( + this, + e, + t + )), + !q(t)) + ) + return t + }), + (r[1] = t), + P.apply(R, r) + ) + }, + } + ), + M[I][D] || n('35e8')(M[I], D, M[I].valueOf), + l(M, 'Symbol'), + l(Math, 'Math', !0), + l(r.JSON, 'JSON', !0) + }, + '01f9': function (e, t, n) { + 'use strict' + var r = n('2d00'), + i = n('5ca1'), + o = n('2aba'), + a = n('32e9'), + c = n('84f2'), + s = n('41a0'), + u = n('7f20'), + f = n('38fd'), + l = n('2b4c')('iterator'), + p = !([].keys && 'next' in [].keys()), + d = '@@iterator', + v = 'keys', + h = 'values', + y = function () { + return this + } + e.exports = function (e, t, n, g, m, b, _) { + s(n, t, g) + var w, + x, + O, + E = function (e) { + if (!p && e in k) return k[e] + switch (e) { + case v: + return function () { + return new n(this, e) + } + case h: + return function () { + return new n(this, e) + } + } + return function () { + return new n(this, e) + } + }, + S = t + ' Iterator', + A = m == h, + C = !1, + k = e.prototype, + T = k[l] || k[d] || (m && k[m]), + $ = T || E(m), + N = m ? (A ? E('entries') : $) : void 0, + j = ('Array' == t && k.entries) || T + if ( + (j && + ((O = f(j.call(new e()))), + O !== Object.prototype && + O.next && + (u(O, S, !0), + r || 'function' == typeof O[l] || a(O, l, y))), + A && + T && + T.name !== h && + ((C = !0), + ($ = function () { + return T.call(this) + })), + (r && !_) || (!p && !C && k[l]) || a(k, l, $), + (c[t] = $), + (c[S] = y), + m) + ) + if ( + ((w = { + values: A ? $ : E(h), + keys: b ? $ : E(v), + entries: N, + }), + _) + ) + for (x in w) x in k || o(k, x, w[x]) + else i(i.P + i.F * (p || C), t, w) + return w + } + }, + '0293': function (e, t, n) { + var r = n('241e'), + i = n('53e2') + n('ce7e')('getPrototypeOf', function () { + return function (e) { + return i(r(e)) + } + }) + }, + '02f4': function (e, t, n) { + var r = n('4588'), + i = n('be13') + e.exports = function (e) { + return function (t, n) { + var o, + a, + c = String(i(t)), + s = r(n), + u = c.length + return s < 0 || s >= u + ? e + ? '' + : void 0 + : ((o = c.charCodeAt(s)), + o < 55296 || + o > 56319 || + s + 1 === u || + (a = c.charCodeAt(s + 1)) < 56320 || + a > 57343 + ? e + ? c.charAt(s) + : o + : e + ? c.slice(s, s + 2) + : a - 56320 + ((o - 55296) << 10) + 65536) + } + } + }, + '0390': function (e, t, n) { + 'use strict' + var r = n('02f4')(!0) + e.exports = function (e, t, n) { + return t + (n ? r(e, t).length : 1) + } + }, + '0395': function (e, t, n) { + var r = n('36c3'), + i = n('6abf').f, + o = {}.toString, + a = + 'object' == typeof window && + window && + Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) + : [], + c = function (e) { + try { + return i(e) + } catch (t) { + return a.slice() + } + } + e.exports.f = function (e) { + return a && '[object Window]' == o.call(e) ? c(e) : i(r(e)) + } + }, + '061b': function (e, t, n) { + e.exports = n('fa99') + }, + '07e3': function (e, t) { + var n = {}.hasOwnProperty + e.exports = function (e, t) { + return n.call(e, t) + } + }, + '097d': function (e, t, n) { + 'use strict' + var r = n('5ca1'), + i = n('8378'), + o = n('7726'), + a = n('ebd6'), + c = n('bcaa') + r(r.P + r.R, 'Promise', { + finally: function (e) { + var t = a(this, i.Promise || o.Promise), + n = 'function' == typeof e + return this.then( + n + ? function (n) { + return c(t, e()).then(function () { + return n + }) + } + : e, + n + ? function (n) { + return c(t, e()).then(function () { + throw n + }) + } + : e + ) + }, + }) + }, + '0bfb': function (e, t, n) { + 'use strict' + var r = n('cb7c') + e.exports = function () { + var e = r(this), + t = '' + return ( + e.global && (t += 'g'), + e.ignoreCase && (t += 'i'), + e.multiline && (t += 'm'), + e.unicode && (t += 'u'), + e.sticky && (t += 'y'), + t + ) + } + }, + '0d58': function (e, t, n) { + var r = n('ce10'), + i = n('e11e') + e.exports = + Object.keys || + function (e) { + return r(e, i) + } + }, + '0fc9': function (e, t, n) { + var r = n('3a38'), + i = Math.max, + o = Math.min + e.exports = function (e, t) { + return (e = r(e)), e < 0 ? i(e + t, 0) : o(e, t) + } + }, + 1169: function (e, t, n) { + var r = n('2d95') + e.exports = + Array.isArray || + function (e) { + return 'Array' == r(e) + } + }, + '11e9': function (e, t, n) { + var r = n('52a7'), + i = n('4630'), + o = n('6821'), + a = n('6a99'), + c = n('69a8'), + s = n('c69a'), + u = Object.getOwnPropertyDescriptor + t.f = n('9e1e') + ? u + : function (e, t) { + if (((e = o(e)), (t = a(t, !0)), s)) + try { + return u(e, t) + } catch (n) {} + if (c(e, t)) return i(!r.f.call(e, t), e[t]) + } + }, + 1495: function (e, t, n) { + var r = n('86cc'), + i = n('cb7c'), + o = n('0d58') + e.exports = n('9e1e') + ? Object.defineProperties + : function (e, t) { + i(e) + var n, + a = o(t), + c = a.length, + s = 0 + while (c > s) r.f(e, (n = a[s++]), t[n]) + return e + } + }, + 1654: function (e, t, n) { + 'use strict' + var r = n('71c1')(!0) + n('30f1')( + String, + 'String', + function (e) { + ;(this._t = String(e)), (this._i = 0) + }, + function () { + var e, + t = this._t, + n = this._i + return n >= t.length + ? { value: void 0, done: !0 } + : ((e = r(t, n)), + (this._i += e.length), + { value: e, done: !1 }) + } + ) + }, + 1691: function (e, t) { + e.exports = 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'.split( + ',' + ) + }, + 1991: function (e, t, n) { + var r, + i, + o, + a = n('9b43'), + c = n('31f4'), + s = n('fab2'), + u = n('230e'), + f = n('7726'), + l = f.process, + p = f.setImmediate, + d = f.clearImmediate, + v = f.MessageChannel, + h = f.Dispatch, + y = 0, + g = {}, + m = 'onreadystatechange', + b = function () { + var e = +this + if (g.hasOwnProperty(e)) { + var t = g[e] + delete g[e], t() + } + }, + _ = function (e) { + b.call(e.data) + } + ;(p && d) || + ((p = function (e) { + var t = [], + n = 1 + while (arguments.length > n) t.push(arguments[n++]) + return ( + (g[++y] = function () { + c('function' == typeof e ? e : Function(e), t) + }), + r(y), + y + ) + }), + (d = function (e) { + delete g[e] + }), + 'process' == n('2d95')(l) + ? (r = function (e) { + l.nextTick(a(b, e, 1)) + }) + : h && h.now + ? (r = function (e) { + h.now(a(b, e, 1)) + }) + : v + ? ((i = new v()), + (o = i.port2), + (i.port1.onmessage = _), + (r = a(o.postMessage, o, 1))) + : f.addEventListener && + 'function' == typeof postMessage && + !f.importScripts + ? ((r = function (e) { + f.postMessage(e + '', '*') + }), + f.addEventListener('message', _, !1)) + : (r = + m in u('script') + ? function (e) { + s.appendChild(u('script'))[ + m + ] = function () { + s.removeChild(this), b.call(e) + } + } + : function (e) { + setTimeout(a(b, e, 1), 0) + })), + (e.exports = { set: p, clear: d }) + }, + '1bc3': function (e, t, n) { + var r = n('f772') + e.exports = function (e, t) { + if (!r(e)) return e + var n, i + if ( + t && + 'function' == typeof (n = e.toString) && + !r((i = n.call(e))) + ) + return i + if ('function' == typeof (n = e.valueOf) && !r((i = n.call(e)))) + return i + if ( + !t && + 'function' == typeof (n = e.toString) && + !r((i = n.call(e))) + ) + return i + throw TypeError("Can't convert object to primitive value") + } + }, + '1df8': function (e, t, n) { + var r = n('63b6') + r(r.S, 'Object', { setPrototypeOf: n('ead6').set }) + }, + '1ec9': function (e, t, n) { + var r = n('f772'), + i = n('e53d').document, + o = r(i) && r(i.createElement) + e.exports = function (e) { + return o ? i.createElement(e) : {} + } + }, + '1fa8': function (e, t, n) { + var r = n('cb7c') + e.exports = function (e, t, n, i) { + try { + return i ? t(r(n)[0], n[1]) : t(n) + } catch (a) { + var o = e['return'] + throw (void 0 !== o && r(o.call(e)), a) + } + } + }, + '20d9': function (e, t, n) { + 'use strict' + ;(function (t) { + /*! + * Vue.js v2.6.11 + * (c) 2014-2019 Evan You + * Released under the MIT License. + */ + var n = Object.freeze({}) + function r(e) { + return null == e + } + function i(e) { + return null != e + } + function o(e) { + return !0 === e + } + function a(e) { + return ( + 'string' == typeof e || + 'number' == typeof e || + 'symbol' == typeof e || + 'boolean' == typeof e + ) + } + function c(e) { + return null !== e && 'object' == typeof e + } + var s = Object.prototype.toString + function u(e) { + return '[object Object]' === s.call(e) + } + function f(e) { + var t = parseFloat(String(e)) + return t >= 0 && Math.floor(t) === t && isFinite(e) + } + function l(e) { + return ( + i(e) && + 'function' == typeof e.then && + 'function' == typeof e.catch + ) + } + function p(e) { + return null == e + ? '' + : Array.isArray(e) || (u(e) && e.toString === s) + ? JSON.stringify(e, null, 2) + : String(e) + } + function d(e) { + var t = parseFloat(e) + return isNaN(t) ? e : t + } + function v(e, t) { + for ( + var n = Object.create(null), r = e.split(','), i = 0; + i < r.length; + i++ + ) + n[r[i]] = !0 + return t + ? function (e) { + return n[e.toLowerCase()] + } + : function (e) { + return n[e] + } + } + var h = v('slot,component', !0), + y = v('key,ref,slot,slot-scope,is') + function g(e, t) { + if (e.length) { + var n = e.indexOf(t) + if (n > -1) return e.splice(n, 1) + } + } + var m = Object.prototype.hasOwnProperty + function b(e, t) { + return m.call(e, t) + } + function _(e) { + var t = Object.create(null) + return function (n) { + return t[n] || (t[n] = e(n)) + } + } + var w = /-(\w)/g, + x = _(function (e) { + return e.replace(w, function (e, t) { + return t ? t.toUpperCase() : '' + }) + }), + O = _(function (e) { + return e.charAt(0).toUpperCase() + e.slice(1) + }), + E = /\B([A-Z])/g, + S = _(function (e) { + return e.replace(E, '-$1').toLowerCase() + }), + A = Function.prototype.bind + ? function (e, t) { + return e.bind(t) + } + : function (e, t) { + function n(n) { + var r = arguments.length + return r + ? r > 1 + ? e.apply(t, arguments) + : e.call(t, n) + : e.call(t) + } + return (n._length = e.length), n + } + function C(e, t) { + t = t || 0 + for (var n = e.length - t, r = new Array(n); n--; ) + r[n] = e[n + t] + return r + } + function k(e, t) { + for (var n in t) e[n] = t[n] + return e + } + function T(e) { + for (var t = {}, n = 0; n < e.length; n++) + e[n] && k(t, e[n]) + return t + } + function $(e, t, n) {} + var N = function (e, t, n) { + return !1 + }, + j = function (e) { + return e + } + function M(e, t) { + if (e === t) return !0 + var n = c(e), + r = c(t) + if (!n || !r) return !n && !r && String(e) === String(t) + try { + var i = Array.isArray(e), + o = Array.isArray(t) + if (i && o) + return ( + e.length === t.length && + e.every(function (e, n) { + return M(e, t[n]) + }) + ) + if (e instanceof Date && t instanceof Date) + return e.getTime() === t.getTime() + if (i || o) return !1 + var a = Object.keys(e), + s = Object.keys(t) + return ( + a.length === s.length && + a.every(function (n) { + return M(e[n], t[n]) + }) + ) + } catch (e) { + return !1 + } + } + function R(e, t) { + for (var n = 0; n < e.length; n++) if (M(e[n], t)) return n + return -1 + } + function P(e) { + var t = !1 + return function () { + t || ((t = !0), e.apply(this, arguments)) + } + } + var I = 'data-server-rendered', + L = ['component', 'directive', 'filter'], + D = [ + 'beforeCreate', + 'created', + 'beforeMount', + 'mounted', + 'beforeUpdate', + 'updated', + 'beforeDestroy', + 'destroyed', + 'activated', + 'deactivated', + 'errorCaptured', + 'serverPrefetch', + ], + F = { + optionMergeStrategies: Object.create(null), + silent: !1, + productionTip: !1, + devtools: !1, + performance: !1, + errorHandler: null, + warnHandler: null, + ignoredElements: [], + keyCodes: Object.create(null), + isReservedTag: N, + isReservedAttr: N, + isUnknownElement: N, + getTagNamespace: $, + parsePlatformTagName: j, + mustUseProp: N, + async: !0, + _lifecycleHooks: D, + }, + B = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ + function U(e, t, n, r) { + Object.defineProperty(e, t, { + value: n, + enumerable: !!r, + writable: !0, + configurable: !0, + }) + } + var H, + K = new RegExp('[^' + B.source + '.$_\\d]'), + z = '__proto__' in {}, + V = 'undefined' != typeof window, + G = + 'undefined' != typeof WXEnvironment && + !!WXEnvironment.platform, + W = G && WXEnvironment.platform.toLowerCase(), + J = V && window.navigator.userAgent.toLowerCase(), + q = J && /msie|trident/.test(J), + X = J && J.indexOf('msie 9.0') > 0, + Z = J && J.indexOf('edge/') > 0, + Y = + (J && J.indexOf('android'), + (J && /iphone|ipad|ipod|ios/.test(J)) || 'ios' === W), + Q = + (J && /chrome\/\d+/.test(J), + J && /phantomjs/.test(J), + J && J.match(/firefox\/(\d+)/)), + ee = {}.watch, + te = !1 + if (V) + try { + var ne = {} + Object.defineProperty(ne, 'passive', { + get: function () { + te = !0 + }, + }), + window.addEventListener('test-passive', null, ne) + } catch (n) {} + var re = function () { + return ( + void 0 === H && + (H = + !V && + !G && + 'undefined' != typeof t && + t.process && + 'server' === t.process.env.VUE_ENV), + H + ) + }, + ie = V && window.__VUE_DEVTOOLS_GLOBAL_HOOK__ + function oe(e) { + return ( + 'function' == typeof e && + /native code/.test(e.toString()) + ) + } + var ae, + ce = + 'undefined' != typeof Symbol && + oe(Symbol) && + 'undefined' != typeof Reflect && + oe(Reflect.ownKeys) + ae = + 'undefined' != typeof Set && oe(Set) + ? Set + : (function () { + function e() { + this.set = Object.create(null) + } + return ( + (e.prototype.has = function (e) { + return !0 === this.set[e] + }), + (e.prototype.add = function (e) { + this.set[e] = !0 + }), + (e.prototype.clear = function () { + this.set = Object.create(null) + }), + e + ) + })() + var se = $, + ue = 0, + fe = function () { + ;(this.id = ue++), (this.subs = []) + } + ;(fe.prototype.addSub = function (e) { + this.subs.push(e) + }), + (fe.prototype.removeSub = function (e) { + g(this.subs, e) + }), + (fe.prototype.depend = function () { + fe.target && fe.target.addDep(this) + }), + (fe.prototype.notify = function () { + for ( + var e = this.subs.slice(), t = 0, n = e.length; + t < n; + t++ + ) + e[t].update() + }), + (fe.target = null) + var le = [] + function pe(e) { + le.push(e), (fe.target = e) + } + function de() { + le.pop(), (fe.target = le[le.length - 1]) + } + var ve = function (e, t, n, r, i, o, a, c) { + ;(this.tag = e), + (this.data = t), + (this.children = n), + (this.text = r), + (this.elm = i), + (this.ns = void 0), + (this.context = o), + (this.fnContext = void 0), + (this.fnOptions = void 0), + (this.fnScopeId = void 0), + (this.key = t && t.key), + (this.componentOptions = a), + (this.componentInstance = void 0), + (this.parent = void 0), + (this.raw = !1), + (this.isStatic = !1), + (this.isRootInsert = !0), + (this.isComment = !1), + (this.isCloned = !1), + (this.isOnce = !1), + (this.asyncFactory = c), + (this.asyncMeta = void 0), + (this.isAsyncPlaceholder = !1) + }, + he = { child: { configurable: !0 } } + ;(he.child.get = function () { + return this.componentInstance + }), + Object.defineProperties(ve.prototype, he) + var ye = function (e) { + void 0 === e && (e = '') + var t = new ve() + return (t.text = e), (t.isComment = !0), t + } + function ge(e) { + return new ve(void 0, void 0, void 0, String(e)) + } + function me(e) { + var t = new ve( + e.tag, + e.data, + e.children && e.children.slice(), + e.text, + e.elm, + e.context, + e.componentOptions, + e.asyncFactory + ) + return ( + (t.ns = e.ns), + (t.isStatic = e.isStatic), + (t.key = e.key), + (t.isComment = e.isComment), + (t.fnContext = e.fnContext), + (t.fnOptions = e.fnOptions), + (t.fnScopeId = e.fnScopeId), + (t.asyncMeta = e.asyncMeta), + (t.isCloned = !0), + t + ) + } + var be = Array.prototype, + _e = Object.create(be) + ;[ + 'push', + 'pop', + 'shift', + 'unshift', + 'splice', + 'sort', + 'reverse', + ].forEach(function (e) { + var t = be[e] + U(_e, e, function () { + for (var n = [], r = arguments.length; r--; ) + n[r] = arguments[r] + var i, + o = t.apply(this, n), + a = this.__ob__ + switch (e) { + case 'push': + case 'unshift': + i = n + break + case 'splice': + i = n.slice(2) + } + return i && a.observeArray(i), a.dep.notify(), o + }) + }) + var we = Object.getOwnPropertyNames(_e), + xe = !0 + function Oe(e) { + xe = e + } + var Ee = function (e) { + var t + ;(this.value = e), + (this.dep = new fe()), + (this.vmCount = 0), + U(e, '__ob__', this), + Array.isArray(e) + ? (z + ? ((t = _e), (e.__proto__ = t)) + : (function (e, t, n) { + for ( + var r = 0, i = n.length; + r < i; + r++ + ) { + var o = n[r] + U(e, o, t[o]) + } + })(e, _e, we), + this.observeArray(e)) + : this.walk(e) + } + function Se(e, t) { + var n + if (c(e) && !(e instanceof ve)) + return ( + b(e, '__ob__') && e.__ob__ instanceof Ee + ? (n = e.__ob__) + : xe && + !re() && + (Array.isArray(e) || u(e)) && + Object.isExtensible(e) && + !e._isVue && + (n = new Ee(e)), + t && n && n.vmCount++, + n + ) + } + function Ae(e, t, n, r, i) { + var o = new fe(), + a = Object.getOwnPropertyDescriptor(e, t) + if (!a || !1 !== a.configurable) { + var c = a && a.get, + s = a && a.set + ;(c && !s) || 2 !== arguments.length || (n = e[t]) + var u = !i && Se(n) + Object.defineProperty(e, t, { + enumerable: !0, + configurable: !0, + get: function () { + var t = c ? c.call(e) : n + return ( + fe.target && + (o.depend(), + u && + (u.dep.depend(), + Array.isArray(t) && + (function e(t) { + for ( + var n = void 0, + r = 0, + i = t.length; + r < i; + r++ + ) + (n = t[r]) && + n.__ob__ && + n.__ob__.dep.depend(), + Array.isArray(n) && + e(n) + })(t))), + t + ) + }, + set: function (t) { + var r = c ? c.call(e) : n + t === r || + (t != t && r != r) || + (c && !s) || + (s ? s.call(e, t) : (n = t), + (u = !i && Se(t)), + o.notify()) + }, + }) + } + } + function Ce(e, t, n) { + if (Array.isArray(e) && f(t)) + return ( + (e.length = Math.max(e.length, t)), + e.splice(t, 1, n), + n + ) + if (t in e && !(t in Object.prototype)) return (e[t] = n), n + var r = e.__ob__ + return e._isVue || (r && r.vmCount) + ? n + : r + ? (Ae(r.value, t, n), r.dep.notify(), n) + : ((e[t] = n), n) + } + function ke(e, t) { + if (Array.isArray(e) && f(t)) e.splice(t, 1) + else { + var n = e.__ob__ + e._isVue || + (n && n.vmCount) || + (b(e, t) && (delete e[t], n && n.dep.notify())) + } + } + ;(Ee.prototype.walk = function (e) { + for (var t = Object.keys(e), n = 0; n < t.length; n++) + Ae(e, t[n]) + }), + (Ee.prototype.observeArray = function (e) { + for (var t = 0, n = e.length; t < n; t++) Se(e[t]) + }) + var Te = F.optionMergeStrategies + function $e(e, t) { + if (!t) return e + for ( + var n, + r, + i, + o = ce ? Reflect.ownKeys(t) : Object.keys(t), + a = 0; + a < o.length; + a++ + ) + '__ob__' !== (n = o[a]) && + ((r = e[n]), + (i = t[n]), + b(e, n) + ? r !== i && u(r) && u(i) && $e(r, i) + : Ce(e, n, i)) + return e + } + function Ne(e, t, n) { + return n + ? function () { + var r = 'function' == typeof t ? t.call(n, n) : t, + i = 'function' == typeof e ? e.call(n, n) : e + return r ? $e(r, i) : i + } + : t + ? e + ? function () { + return $e( + 'function' == typeof t + ? t.call(this, this) + : t, + 'function' == typeof e + ? e.call(this, this) + : e + ) + } + : t + : e + } + function je(e, t) { + var n = t + ? e + ? e.concat(t) + : Array.isArray(t) + ? t + : [t] + : e + return n + ? (function (e) { + for (var t = [], n = 0; n < e.length; n++) + -1 === t.indexOf(e[n]) && t.push(e[n]) + return t + })(n) + : n + } + function Me(e, t, n, r) { + var i = Object.create(e || null) + return t ? k(i, t) : i + } + ;(Te.data = function (e, t, n) { + return n + ? Ne(e, t, n) + : t && 'function' != typeof t + ? e + : Ne(e, t) + }), + D.forEach(function (e) { + Te[e] = je + }), + L.forEach(function (e) { + Te[e + 's'] = Me + }), + (Te.watch = function (e, t, n, r) { + if ( + (e === ee && (e = void 0), + t === ee && (t = void 0), + !t) + ) + return Object.create(e || null) + if (!e) return t + var i = {} + for (var o in (k(i, e), t)) { + var a = i[o], + c = t[o] + a && !Array.isArray(a) && (a = [a]), + (i[o] = a + ? a.concat(c) + : Array.isArray(c) + ? c + : [c]) + } + return i + }), + (Te.props = Te.methods = Te.inject = Te.computed = function ( + e, + t, + n, + r + ) { + if (!e) return t + var i = Object.create(null) + return k(i, e), t && k(i, t), i + }), + (Te.provide = Ne) + var Re = function (e, t) { + return void 0 === t ? e : t + } + function Pe(e, t, n) { + if ( + ('function' == typeof t && (t = t.options), + (function (e, t) { + var n = e.props + if (n) { + var r, + i, + o = {} + if (Array.isArray(n)) + for (r = n.length; r--; ) + 'string' == typeof (i = n[r]) && + (o[x(i)] = { type: null }) + else if (u(n)) + for (var a in n) + (i = n[a]), + (o[x(a)] = u(i) ? i : { type: i }) + e.props = o + } + })(t), + (function (e, t) { + var n = e.inject + if (n) { + var r = (e.inject = {}) + if (Array.isArray(n)) + for (var i = 0; i < n.length; i++) + r[n[i]] = { from: n[i] } + else if (u(n)) + for (var o in n) { + var a = n[o] + r[o] = u(a) + ? k({ from: o }, a) + : { from: a } + } + } + })(t), + (function (e) { + var t = e.directives + if (t) + for (var n in t) { + var r = t[n] + 'function' == typeof r && + (t[n] = { bind: r, update: r }) + } + })(t), + !t._base && + (t.extends && (e = Pe(e, t.extends, n)), t.mixins)) + ) + for (var r = 0, i = t.mixins.length; r < i; r++) + e = Pe(e, t.mixins[r], n) + var o, + a = {} + for (o in e) c(o) + for (o in t) b(e, o) || c(o) + function c(r) { + var i = Te[r] || Re + a[r] = i(e[r], t[r], n, r) + } + return a + } + function Ie(e, t, n, r) { + if ('string' == typeof n) { + var i = e[t] + if (b(i, n)) return i[n] + var o = x(n) + if (b(i, o)) return i[o] + var a = O(o) + return b(i, a) ? i[a] : i[n] || i[o] || i[a] + } + } + function Le(e, t, n, r) { + var i = t[e], + o = !b(n, e), + a = n[e], + c = Be(Boolean, i.type) + if (c > -1) + if (o && !b(i, 'default')) a = !1 + else if ('' === a || a === S(e)) { + var s = Be(String, i.type) + ;(s < 0 || c < s) && (a = !0) + } + if (void 0 === a) { + a = (function (e, t, n) { + if (b(t, 'default')) { + var r = t.default + return e && + e.$options.propsData && + void 0 === e.$options.propsData[n] && + void 0 !== e._props[n] + ? e._props[n] + : 'function' == typeof r && + 'Function' !== De(t.type) + ? r.call(e) + : r + } + })(r, i, e) + var u = xe + Oe(!0), Se(a), Oe(u) + } + return a + } + function De(e) { + var t = e && e.toString().match(/^\s*function (\w+)/) + return t ? t[1] : '' + } + function Fe(e, t) { + return De(e) === De(t) + } + function Be(e, t) { + if (!Array.isArray(t)) return Fe(t, e) ? 0 : -1 + for (var n = 0, r = t.length; n < r; n++) + if (Fe(t[n], e)) return n + return -1 + } + function Ue(e, t, n) { + pe() + try { + if (t) + for (var r = t; (r = r.$parent); ) { + var i = r.$options.errorCaptured + if (i) + for (var o = 0; o < i.length; o++) + try { + if (!1 === i[o].call(r, e, t, n)) + return + } catch (e) { + Ke(e, r, 'errorCaptured hook') + } + } + Ke(e, t, n) + } finally { + de() + } + } + function He(e, t, n, r, i) { + var o + try { + ;(o = n ? e.apply(t, n) : e.call(t)) && + !o._isVue && + l(o) && + !o._handled && + (o.catch(function (e) { + return Ue(e, r, i + ' (Promise/async)') + }), + (o._handled = !0)) + } catch (e) { + Ue(e, r, i) + } + return o + } + function Ke(e, t, n) { + if (F.errorHandler) + try { + return F.errorHandler.call(null, e, t, n) + } catch (t) { + t !== e && ze(t, null, 'config.errorHandler') + } + ze(e, t, n) + } + function ze(e, t, n) { + if ((!V && !G) || 'undefined' == typeof console) throw e + console.error(e) + } + var Ve, + Ge = !1, + We = [], + Je = !1 + function qe() { + Je = !1 + var e = We.slice(0) + We.length = 0 + for (var t = 0; t < e.length; t++) e[t]() + } + if ('undefined' != typeof Promise && oe(Promise)) { + var Xe = Promise.resolve() + ;(Ve = function () { + Xe.then(qe), Y && setTimeout($) + }), + (Ge = !0) + } else if ( + q || + 'undefined' == typeof MutationObserver || + (!oe(MutationObserver) && + '[object MutationObserverConstructor]' !== + MutationObserver.toString()) + ) + Ve = + 'undefined' != typeof setImmediate && oe(setImmediate) + ? function () { + setImmediate(qe) + } + : function () { + setTimeout(qe, 0) + } + else { + var Ze = 1, + Ye = new MutationObserver(qe), + Qe = document.createTextNode(String(Ze)) + Ye.observe(Qe, { characterData: !0 }), + (Ve = function () { + ;(Ze = (Ze + 1) % 2), (Qe.data = String(Ze)) + }), + (Ge = !0) + } + function et(e, t) { + var n + if ( + (We.push(function () { + if (e) + try { + e.call(t) + } catch (e) { + Ue(e, t, 'nextTick') + } + else n && n(t) + }), + Je || ((Je = !0), Ve()), + !e && 'undefined' != typeof Promise) + ) + return new Promise(function (e) { + n = e + }) + } + var tt = new ae() + function nt(e) { + !(function e(t, n) { + var r, + i, + o = Array.isArray(t) + if ( + !( + (!o && !c(t)) || + Object.isFrozen(t) || + t instanceof ve + ) + ) { + if (t.__ob__) { + var a = t.__ob__.dep.id + if (n.has(a)) return + n.add(a) + } + if (o) for (r = t.length; r--; ) e(t[r], n) + else + for (i = Object.keys(t), r = i.length; r--; ) + e(t[i[r]], n) + } + })(e, tt), + tt.clear() + } + var rt = _(function (e) { + var t = '&' === e.charAt(0), + n = '~' === (e = t ? e.slice(1) : e).charAt(0), + r = '!' === (e = n ? e.slice(1) : e).charAt(0) + return { + name: (e = r ? e.slice(1) : e), + once: n, + capture: r, + passive: t, + } + }) + function it(e, t) { + function n() { + var e = arguments, + r = n.fns + if (!Array.isArray(r)) + return He(r, null, arguments, t, 'v-on handler') + for (var i = r.slice(), o = 0; o < i.length; o++) + He(i[o], null, e, t, 'v-on handler') + } + return (n.fns = e), n + } + function ot(e, t, n, i, a, c) { + var s, u, f, l + for (s in e) + (u = e[s]), + (f = t[s]), + (l = rt(s)), + r(u) || + (r(f) + ? (r(u.fns) && (u = e[s] = it(u, c)), + o(l.once) && + (u = e[s] = a(l.name, u, l.capture)), + n( + l.name, + u, + l.capture, + l.passive, + l.params + )) + : u !== f && ((f.fns = u), (e[s] = f))) + for (s in t) r(e[s]) && i((l = rt(s)).name, t[s], l.capture) + } + function at(e, t, n) { + var a + e instanceof ve && (e = e.data.hook || (e.data.hook = {})) + var c = e[t] + function s() { + n.apply(this, arguments), g(a.fns, s) + } + r(c) + ? (a = it([s])) + : i(c.fns) && o(c.merged) + ? (a = c).fns.push(s) + : (a = it([c, s])), + (a.merged = !0), + (e[t] = a) + } + function ct(e, t, n, r, o) { + if (i(t)) { + if (b(t, n)) return (e[n] = t[n]), o || delete t[n], !0 + if (b(t, r)) return (e[n] = t[r]), o || delete t[r], !0 + } + return !1 + } + function st(e) { + return a(e) + ? [ge(e)] + : Array.isArray(e) + ? (function e(t, n) { + var c, + s, + u, + f, + l = [] + for (c = 0; c < t.length; c++) + r((s = t[c])) || + 'boolean' == typeof s || + ((u = l.length - 1), + (f = l[u]), + Array.isArray(s) + ? s.length > 0 && + (ut( + (s = e( + s, + (n || '') + '_' + c + ))[0] + ) && + ut(f) && + ((l[u] = ge( + f.text + s[0].text + )), + s.shift()), + l.push.apply(l, s)) + : a(s) + ? ut(f) + ? (l[u] = ge(f.text + s)) + : '' !== s && l.push(ge(s)) + : ut(s) && ut(f) + ? (l[u] = ge(f.text + s.text)) + : (o(t._isVList) && + i(s.tag) && + r(s.key) && + i(n) && + (s.key = + '__vlist' + + n + + '_' + + c + + '__'), + l.push(s))) + return l + })(e) + : void 0 + } + function ut(e) { + return i(e) && i(e.text) && !1 === e.isComment + } + function ft(e, t) { + if (e) { + for ( + var n = Object.create(null), + r = ce ? Reflect.ownKeys(e) : Object.keys(e), + i = 0; + i < r.length; + i++ + ) { + var o = r[i] + if ('__ob__' !== o) { + for (var a = e[o].from, c = t; c; ) { + if (c._provided && b(c._provided, a)) { + n[o] = c._provided[a] + break + } + c = c.$parent + } + if (!c && 'default' in e[o]) { + var s = e[o].default + n[o] = + 'function' == typeof s ? s.call(t) : s + } + } + } + return n + } + } + function lt(e, t) { + if (!e || !e.length) return {} + for (var n = {}, r = 0, i = e.length; r < i; r++) { + var o = e[r], + a = o.data + if ( + (a && + a.attrs && + a.attrs.slot && + delete a.attrs.slot, + (o.context !== t && o.fnContext !== t) || + !a || + null == a.slot) + ) + (n.default || (n.default = [])).push(o) + else { + var c = a.slot, + s = n[c] || (n[c] = []) + 'template' === o.tag + ? s.push.apply(s, o.children || []) + : s.push(o) + } + } + for (var u in n) n[u].every(pt) && delete n[u] + return n + } + function pt(e) { + return (e.isComment && !e.asyncFactory) || ' ' === e.text + } + function dt(e, t, r) { + var i, + o = Object.keys(t).length > 0, + a = e ? !!e.$stable : !o, + c = e && e.$key + if (e) { + if (e._normalized) return e._normalized + if ( + a && + r && + r !== n && + c === r.$key && + !o && + !r.$hasNormal + ) + return r + for (var s in ((i = {}), e)) + e[s] && '$' !== s[0] && (i[s] = vt(t, s, e[s])) + } else i = {} + for (var u in t) u in i || (i[u] = ht(t, u)) + return ( + e && Object.isExtensible(e) && (e._normalized = i), + U(i, '$stable', a), + U(i, '$key', c), + U(i, '$hasNormal', o), + i + ) + } + function vt(e, t, n) { + var r = function () { + var e = arguments.length + ? n.apply(null, arguments) + : n({}) + return (e = + e && 'object' == typeof e && !Array.isArray(e) + ? [e] + : st(e)) && + (0 === e.length || + (1 === e.length && e[0].isComment)) + ? void 0 + : e + } + return ( + n.proxy && + Object.defineProperty(e, t, { + get: r, + enumerable: !0, + configurable: !0, + }), + r + ) + } + function ht(e, t) { + return function () { + return e[t] + } + } + function yt(e, t) { + var n, r, o, a, s + if (Array.isArray(e) || 'string' == typeof e) + for ( + n = new Array(e.length), r = 0, o = e.length; + r < o; + r++ + ) + n[r] = t(e[r], r) + else if ('number' == typeof e) + for (n = new Array(e), r = 0; r < e; r++) + n[r] = t(r + 1, r) + else if (c(e)) + if (ce && e[Symbol.iterator]) { + n = [] + for ( + var u = e[Symbol.iterator](), f = u.next(); + !f.done; + + ) + n.push(t(f.value, n.length)), (f = u.next()) + } else + for ( + a = Object.keys(e), + n = new Array(a.length), + r = 0, + o = a.length; + r < o; + r++ + ) + (s = a[r]), (n[r] = t(e[s], s, r)) + return i(n) || (n = []), (n._isVList = !0), n + } + function gt(e, t, n, r) { + var i, + o = this.$scopedSlots[e] + o + ? ((n = n || {}), + r && (n = k(k({}, r), n)), + (i = o(n) || t)) + : (i = this.$slots[e] || t) + var a = n && n.slot + return a + ? this.$createElement('template', { slot: a }, i) + : i + } + function mt(e) { + return Ie(this.$options, 'filters', e) || j + } + function bt(e, t) { + return Array.isArray(e) ? -1 === e.indexOf(t) : e !== t + } + function _t(e, t, n, r, i) { + var o = F.keyCodes[t] || n + return i && r && !F.keyCodes[t] + ? bt(i, r) + : o + ? bt(o, e) + : r + ? S(r) !== t + : void 0 + } + function wt(e, t, n, r, i) { + if (n && c(n)) { + var o + Array.isArray(n) && (n = T(n)) + var a = function (a) { + if ('class' === a || 'style' === a || y(a)) o = e + else { + var c = e.attrs && e.attrs.type + o = + r || F.mustUseProp(t, c, a) + ? e.domProps || (e.domProps = {}) + : e.attrs || (e.attrs = {}) + } + var s = x(a), + u = S(a) + s in o || + u in o || + ((o[a] = n[a]), + i && + ((e.on || (e.on = {}))[ + 'update:' + a + ] = function (e) { + n[a] = e + })) + } + for (var s in n) a(s) + } + return e + } + function xt(e, t) { + var n = this._staticTrees || (this._staticTrees = []), + r = n[e] + return ( + (r && !t) || + Et( + (r = n[e] = this.$options.staticRenderFns[ + e + ].call(this._renderProxy, null, this)), + '__static__' + e, + !1 + ), + r + ) + } + function Ot(e, t, n) { + return Et(e, '__once__' + t + (n ? '_' + n : ''), !0), e + } + function Et(e, t, n) { + if (Array.isArray(e)) + for (var r = 0; r < e.length; r++) + e[r] && + 'string' != typeof e[r] && + St(e[r], t + '_' + r, n) + else St(e, t, n) + } + function St(e, t, n) { + ;(e.isStatic = !0), (e.key = t), (e.isOnce = n) + } + function At(e, t) { + if (t && u(t)) { + var n = (e.on = e.on ? k({}, e.on) : {}) + for (var r in t) { + var i = n[r], + o = t[r] + n[r] = i ? [].concat(i, o) : o + } + } + return e + } + function Ct(e, t, n, r) { + t = t || { $stable: !n } + for (var i = 0; i < e.length; i++) { + var o = e[i] + Array.isArray(o) + ? Ct(o, t, n) + : o && + (o.proxy && (o.fn.proxy = !0), (t[o.key] = o.fn)) + } + return r && (t.$key = r), t + } + function kt(e, t) { + for (var n = 0; n < t.length; n += 2) { + var r = t[n] + 'string' == typeof r && r && (e[t[n]] = t[n + 1]) + } + return e + } + function Tt(e, t) { + return 'string' == typeof e ? t + e : e + } + function $t(e) { + ;(e._o = Ot), + (e._n = d), + (e._s = p), + (e._l = yt), + (e._t = gt), + (e._q = M), + (e._i = R), + (e._m = xt), + (e._f = mt), + (e._k = _t), + (e._b = wt), + (e._v = ge), + (e._e = ye), + (e._u = Ct), + (e._g = At), + (e._d = kt), + (e._p = Tt) + } + function Nt(e, t, r, i, a) { + var c, + s = this, + u = a.options + b(i, '_uid') + ? ((c = Object.create(i))._original = i) + : ((c = i), (i = i._original)) + var f = o(u._compiled), + l = !f + ;(this.data = e), + (this.props = t), + (this.children = r), + (this.parent = i), + (this.listeners = e.on || n), + (this.injections = ft(u.inject, i)), + (this.slots = function () { + return ( + s.$slots || + dt(e.scopedSlots, (s.$slots = lt(r, i))), + s.$slots + ) + }), + Object.defineProperty(this, 'scopedSlots', { + enumerable: !0, + get: function () { + return dt(e.scopedSlots, this.slots()) + }, + }), + f && + ((this.$options = u), + (this.$slots = this.slots()), + (this.$scopedSlots = dt( + e.scopedSlots, + this.$slots + ))), + u._scopeId + ? (this._c = function (e, t, n, r) { + var o = Bt(c, e, t, n, r, l) + return ( + o && + !Array.isArray(o) && + ((o.fnScopeId = u._scopeId), + (o.fnContext = i)), + o + ) + }) + : (this._c = function (e, t, n, r) { + return Bt(c, e, t, n, r, l) + }) + } + function jt(e, t, n, r, i) { + var o = me(e) + return ( + (o.fnContext = n), + (o.fnOptions = r), + t.slot && ((o.data || (o.data = {})).slot = t.slot), + o + ) + } + function Mt(e, t) { + for (var n in t) e[x(n)] = t[n] + } + $t(Nt.prototype) + var Rt = { + init: function (e, t) { + if ( + e.componentInstance && + !e.componentInstance._isDestroyed && + e.data.keepAlive + ) { + var n = e + Rt.prepatch(n, n) + } else + (e.componentInstance = (function (e, t) { + var n = { + _isComponent: !0, + _parentVnode: e, + parent: t, + }, + r = e.data.inlineTemplate + return ( + i(r) && + ((n.render = r.render), + (n.staticRenderFns = + r.staticRenderFns)), + new e.componentOptions.Ctor(n) + ) + })(e, Xt)).$mount(t ? e.elm : void 0, t) + }, + prepatch: function (e, t) { + var r = t.componentOptions + !(function (e, t, r, i, o) { + var a = i.data.scopedSlots, + c = e.$scopedSlots, + s = !!( + (a && !a.$stable) || + (c !== n && !c.$stable) || + (a && e.$scopedSlots.$key !== a.$key) + ), + u = !!(o || e.$options._renderChildren || s) + if ( + ((e.$options._parentVnode = i), + (e.$vnode = i), + e._vnode && (e._vnode.parent = i), + (e.$options._renderChildren = o), + (e.$attrs = i.data.attrs || n), + (e.$listeners = r || n), + t && e.$options.props) + ) { + Oe(!1) + for ( + var f = e._props, + l = e.$options._propKeys || [], + p = 0; + p < l.length; + p++ + ) { + var d = l[p], + v = e.$options.props + f[d] = Le(d, v, t, e) + } + Oe(!0), (e.$options.propsData = t) + } + r = r || n + var h = e.$options._parentListeners + ;(e.$options._parentListeners = r), + qt(e, r, h), + u && + ((e.$slots = lt(o, i.context)), + e.$forceUpdate()) + })( + (t.componentInstance = e.componentInstance), + r.propsData, + r.listeners, + t, + r.children + ) + }, + insert: function (e) { + var t, + n = e.context, + r = e.componentInstance + r._isMounted || + ((r._isMounted = !0), en(r, 'mounted')), + e.data.keepAlive && + (n._isMounted + ? (((t = r)._inactive = !1), nn.push(t)) + : Qt(r, !0)) + }, + destroy: function (e) { + var t = e.componentInstance + t._isDestroyed || + (e.data.keepAlive + ? (function e(t, n) { + if ( + (!n || + ((t._directInactive = !0), + !Yt(t))) && + !t._inactive + ) { + t._inactive = !0 + for ( + var r = 0; + r < t.$children.length; + r++ + ) + e(t.$children[r]) + en(t, 'deactivated') + } + })(t, !0) + : t.$destroy()) + }, + }, + Pt = Object.keys(Rt) + function It(e, t, a, s, u) { + if (!r(e)) { + var f = a.$options._base + if ( + (c(e) && (e = f.extend(e)), 'function' == typeof e) + ) { + var p + if ( + r(e.cid) && + void 0 === + (e = (function (e, t) { + if (o(e.error) && i(e.errorComp)) + return e.errorComp + if (i(e.resolved)) return e.resolved + var n = Ht + if ( + (n && + i(e.owners) && + -1 === e.owners.indexOf(n) && + e.owners.push(n), + o(e.loading) && i(e.loadingComp)) + ) + return e.loadingComp + if (n && !i(e.owners)) { + var a = (e.owners = [n]), + s = !0, + u = null, + f = null + n.$on( + 'hook:destroyed', + function () { + return g(a, n) + } + ) + var p = function (e) { + for ( + var t = 0, n = a.length; + t < n; + t++ + ) + a[t].$forceUpdate() + e && + ((a.length = 0), + null !== u && + (clearTimeout(u), + (u = null)), + null !== f && + (clearTimeout(f), + (f = null))) + }, + d = P(function (n) { + ;(e.resolved = Kt(n, t)), + s + ? (a.length = 0) + : p(!0) + }), + v = P(function (t) { + i(e.errorComp) && + ((e.error = !0), p(!0)) + }), + h = e(d, v) + return ( + c(h) && + (l(h) + ? r(e.resolved) && + h.then(d, v) + : l(h.component) && + (h.component.then( + d, + v + ), + i(h.error) && + (e.errorComp = Kt( + h.error, + t + )), + i(h.loading) && + ((e.loadingComp = Kt( + h.loading, + t + )), + 0 === h.delay + ? (e.loading = !0) + : (u = setTimeout( + function () { + ;(u = null), + r( + e.resolved + ) && + r( + e.error + ) && + ((e.loading = !0), + p( + !1 + )) + }, + h.delay || + 200 + ))), + i(h.timeout) && + (f = setTimeout( + function () { + ;(f = null), + r( + e.resolved + ) && + v( + null + ) + }, + h.timeout + )))), + (s = !1), + e.loading + ? e.loadingComp + : e.resolved + ) + } + })((p = e), f)) + ) + return (function (e, t, n, r, i) { + var o = ye() + return ( + (o.asyncFactory = e), + (o.asyncMeta = { + data: t, + context: n, + children: r, + tag: i, + }), + o + ) + })(p, t, a, s, u) + ;(t = t || {}), + On(e), + i(t.model) && + (function (e, t) { + var n = + (e.model && e.model.prop) || + 'value', + r = + (e.model && e.model.event) || + 'input' + ;(t.attrs || (t.attrs = {}))[n] = + t.model.value + var o = t.on || (t.on = {}), + a = o[r], + c = t.model.callback + i(a) + ? (Array.isArray(a) + ? -1 === a.indexOf(c) + : a !== c) && + (o[r] = [c].concat(a)) + : (o[r] = c) + })(e.options, t) + var d = (function (e, t, n) { + var o = t.options.props + if (!r(o)) { + var a = {}, + c = e.attrs, + s = e.props + if (i(c) || i(s)) + for (var u in o) { + var f = S(u) + ct(a, s, u, f, !0) || + ct(a, c, u, f, !1) + } + return a + } + })(t, e) + if (o(e.options.functional)) + return (function (e, t, r, o, a) { + var c = e.options, + s = {}, + u = c.props + if (i(u)) + for (var f in u) s[f] = Le(f, u, t || n) + else + i(r.attrs) && Mt(s, r.attrs), + i(r.props) && Mt(s, r.props) + var l = new Nt(r, s, a, o, e), + p = c.render.call(null, l._c, l) + if (p instanceof ve) + return jt(p, r, l.parent, c) + if (Array.isArray(p)) { + for ( + var d = st(p) || [], + v = new Array(d.length), + h = 0; + h < d.length; + h++ + ) + v[h] = jt(d[h], r, l.parent, c) + return v + } + })(e, d, t, a, s) + var v = t.on + if (((t.on = t.nativeOn), o(e.options.abstract))) { + var h = t.slot + ;(t = {}), h && (t.slot = h) + } + !(function (e) { + for ( + var t = e.hook || (e.hook = {}), n = 0; + n < Pt.length; + n++ + ) { + var r = Pt[n], + i = t[r], + o = Rt[r] + i === o || + (i && i._merged) || + (t[r] = i ? Lt(o, i) : o) + } + })(t) + var y = e.options.name || u + return new ve( + 'vue-component-' + e.cid + (y ? '-' + y : ''), + t, + void 0, + void 0, + void 0, + a, + { + Ctor: e, + propsData: d, + listeners: v, + tag: u, + children: s, + }, + p + ) + } + } + } + function Lt(e, t) { + var n = function (n, r) { + e(n, r), t(n, r) + } + return (n._merged = !0), n + } + var Dt = 1, + Ft = 2 + function Bt(e, t, n, s, u, f) { + return ( + (Array.isArray(n) || a(n)) && + ((u = s), (s = n), (n = void 0)), + o(f) && (u = Ft), + (function (e, t, n, a, s) { + if (i(n) && i(n.__ob__)) return ye() + if ((i(n) && i(n.is) && (t = n.is), !t)) return ye() + var u, f, l + ;(Array.isArray(a) && + 'function' == typeof a[0] && + (((n = n || {}).scopedSlots = { + default: a[0], + }), + (a.length = 0)), + s === Ft + ? (a = st(a)) + : s === Dt && + (a = (function (e) { + for (var t = 0; t < e.length; t++) + if (Array.isArray(e[t])) + return Array.prototype.concat.apply( + [], + e + ) + return e + })(a)), + 'string' == typeof t) + ? ((f = + (e.$vnode && e.$vnode.ns) || + F.getTagNamespace(t)), + (u = F.isReservedTag(t) + ? new ve( + F.parsePlatformTagName(t), + n, + a, + void 0, + void 0, + e + ) + : (n && n.pre) || + !i( + (l = Ie( + e.$options, + 'components', + t + )) + ) + ? new ve(t, n, a, void 0, void 0, e) + : It(l, n, e, a, t))) + : (u = It(t, n, e, a)) + return Array.isArray(u) + ? u + : i(u) + ? (i(f) && + (function e(t, n, a) { + if ( + ((t.ns = n), + 'foreignObject' === t.tag && + ((n = void 0), (a = !0)), + i(t.children)) + ) + for ( + var c = 0, + s = t.children.length; + c < s; + c++ + ) { + var u = t.children[c] + i(u.tag) && + (r(u.ns) || + (o(a) && + 'svg' !== + u.tag)) && + e(u, n, a) + } + })(u, f), + i(n) && + (function (e) { + c(e.style) && nt(e.style), + c(e.class) && nt(e.class) + })(n), + u) + : ye() + })(e, t, n, s, u) + ) + } + var Ut, + Ht = null + function Kt(e, t) { + return ( + (e.__esModule || + (ce && 'Module' === e[Symbol.toStringTag])) && + (e = e.default), + c(e) ? t.extend(e) : e + ) + } + function zt(e) { + return e.isComment && e.asyncFactory + } + function Vt(e) { + if (Array.isArray(e)) + for (var t = 0; t < e.length; t++) { + var n = e[t] + if (i(n) && (i(n.componentOptions) || zt(n))) + return n + } + } + function Gt(e, t) { + Ut.$on(e, t) + } + function Wt(e, t) { + Ut.$off(e, t) + } + function Jt(e, t) { + var n = Ut + return function r() { + null !== t.apply(null, arguments) && n.$off(e, r) + } + } + function qt(e, t, n) { + ;(Ut = e), ot(t, n || {}, Gt, Wt, Jt, e), (Ut = void 0) + } + var Xt = null + function Zt(e) { + var t = Xt + return ( + (Xt = e), + function () { + Xt = t + } + ) + } + function Yt(e) { + for (; e && (e = e.$parent); ) if (e._inactive) return !0 + return !1 + } + function Qt(e, t) { + if (t) { + if (((e._directInactive = !1), Yt(e))) return + } else if (e._directInactive) return + if (e._inactive || null === e._inactive) { + e._inactive = !1 + for (var n = 0; n < e.$children.length; n++) + Qt(e.$children[n]) + en(e, 'activated') + } + } + function en(e, t) { + pe() + var n = e.$options[t], + r = t + ' hook' + if (n) + for (var i = 0, o = n.length; i < o; i++) + He(n[i], e, null, e, r) + e._hasHookEvent && e.$emit('hook:' + t), de() + } + var tn = [], + nn = [], + rn = {}, + on = !1, + an = !1, + cn = 0, + sn = 0, + un = Date.now + if (V && !q) { + var fn = window.performance + fn && + 'function' == typeof fn.now && + un() > document.createEvent('Event').timeStamp && + (un = function () { + return fn.now() + }) + } + function ln() { + var e, t + for ( + sn = un(), + an = !0, + tn.sort(function (e, t) { + return e.id - t.id + }), + cn = 0; + cn < tn.length; + cn++ + ) + (e = tn[cn]).before && e.before(), + (t = e.id), + (rn[t] = null), + e.run() + var n = nn.slice(), + r = tn.slice() + ;(cn = tn.length = nn.length = 0), + (rn = {}), + (on = an = !1), + (function (e) { + for (var t = 0; t < e.length; t++) + (e[t]._inactive = !0), Qt(e[t], !0) + })(n), + (function (e) { + for (var t = e.length; t--; ) { + var n = e[t], + r = n.vm + r._watcher === n && + r._isMounted && + !r._isDestroyed && + en(r, 'updated') + } + })(r), + ie && F.devtools && ie.emit('flush') + } + var pn = 0, + dn = function (e, t, n, r, i) { + ;(this.vm = e), + i && (e._watcher = this), + e._watchers.push(this), + r + ? ((this.deep = !!r.deep), + (this.user = !!r.user), + (this.lazy = !!r.lazy), + (this.sync = !!r.sync), + (this.before = r.before)) + : (this.deep = this.user = this.lazy = this.sync = !1), + (this.cb = n), + (this.id = ++pn), + (this.active = !0), + (this.dirty = this.lazy), + (this.deps = []), + (this.newDeps = []), + (this.depIds = new ae()), + (this.newDepIds = new ae()), + (this.expression = ''), + 'function' == typeof t + ? (this.getter = t) + : ((this.getter = (function (e) { + if (!K.test(e)) { + var t = e.split('.') + return function (e) { + for ( + var n = 0; + n < t.length; + n++ + ) { + if (!e) return + e = e[t[n]] + } + return e + } + } + })(t)), + this.getter || (this.getter = $)), + (this.value = this.lazy ? void 0 : this.get()) + } + ;(dn.prototype.get = function () { + var e + pe(this) + var t = this.vm + try { + e = this.getter.call(t, t) + } catch (e) { + if (!this.user) throw e + Ue(e, t, 'getter for watcher "' + this.expression + '"') + } finally { + this.deep && nt(e), de(), this.cleanupDeps() + } + return e + }), + (dn.prototype.addDep = function (e) { + var t = e.id + this.newDepIds.has(t) || + (this.newDepIds.add(t), + this.newDeps.push(e), + this.depIds.has(t) || e.addSub(this)) + }), + (dn.prototype.cleanupDeps = function () { + for (var e = this.deps.length; e--; ) { + var t = this.deps[e] + this.newDepIds.has(t.id) || t.removeSub(this) + } + var n = this.depIds + ;(this.depIds = this.newDepIds), + (this.newDepIds = n), + this.newDepIds.clear(), + (n = this.deps), + (this.deps = this.newDeps), + (this.newDeps = n), + (this.newDeps.length = 0) + }), + (dn.prototype.update = function () { + this.lazy + ? (this.dirty = !0) + : this.sync + ? this.run() + : (function (e) { + var t = e.id + if (null == rn[t]) { + if (((rn[t] = !0), an)) { + for ( + var n = tn.length - 1; + n > cn && tn[n].id > e.id; + + ) + n-- + tn.splice(n + 1, 0, e) + } else tn.push(e) + on || ((on = !0), et(ln)) + } + })(this) + }), + (dn.prototype.run = function () { + if (this.active) { + var e = this.get() + if (e !== this.value || c(e) || this.deep) { + var t = this.value + if (((this.value = e), this.user)) + try { + this.cb.call(this.vm, e, t) + } catch (e) { + Ue( + e, + this.vm, + 'callback for watcher "' + + this.expression + + '"' + ) + } + else this.cb.call(this.vm, e, t) + } + } + }), + (dn.prototype.evaluate = function () { + ;(this.value = this.get()), (this.dirty = !1) + }), + (dn.prototype.depend = function () { + for (var e = this.deps.length; e--; ) + this.deps[e].depend() + }), + (dn.prototype.teardown = function () { + if (this.active) { + this.vm._isBeingDestroyed || + g(this.vm._watchers, this) + for (var e = this.deps.length; e--; ) + this.deps[e].removeSub(this) + this.active = !1 + } + }) + var vn = { enumerable: !0, configurable: !0, get: $, set: $ } + function hn(e, t, n) { + ;(vn.get = function () { + return this[t][n] + }), + (vn.set = function (e) { + this[t][n] = e + }), + Object.defineProperty(e, n, vn) + } + function yn(e) { + e._watchers = [] + var t = e.$options + t.props && + (function (e, t) { + var n = e.$options.propsData || {}, + r = (e._props = {}), + i = (e.$options._propKeys = []) + e.$parent && Oe(!1) + var o = function (o) { + i.push(o) + var a = Le(o, t, n, e) + Ae(r, o, a), o in e || hn(e, '_props', o) + } + for (var a in t) o(a) + Oe(!0) + })(e, t.props), + t.methods && + (function (e, t) { + for (var n in (e.$options.props, t)) + e[n] = + 'function' != typeof t[n] + ? $ + : A(t[n], e) + })(e, t.methods), + t.data + ? (function (e) { + var t = e.$options.data + u( + (t = e._data = + 'function' == typeof t + ? (function (e, t) { + pe() + try { + return e.call(t, t) + } catch (e) { + return ( + Ue(e, t, 'data()'), + {} + ) + } finally { + de() + } + })(t, e) + : t || {}) + ) || (t = {}) + for ( + var n, + r = Object.keys(t), + i = e.$options.props, + o = (e.$options.methods, r.length); + o--; + + ) { + var a = r[o] + ;(i && b(i, a)) || + ((n = void 0), + 36 !== (n = (a + '').charCodeAt(0)) && + 95 !== n && + hn(e, '_data', a)) + } + Se(t, !0) + })(e) + : Se((e._data = {}), !0), + t.computed && + (function (e, t) { + var n = (e._computedWatchers = Object.create( + null + )), + r = re() + for (var i in t) { + var o = t[i], + a = 'function' == typeof o ? o : o.get + r || (n[i] = new dn(e, a || $, $, gn)), + i in e || mn(e, i, o) + } + })(e, t.computed), + t.watch && + t.watch !== ee && + (function (e, t) { + for (var n in t) { + var r = t[n] + if (Array.isArray(r)) + for (var i = 0; i < r.length; i++) + wn(e, n, r[i]) + else wn(e, n, r) + } + })(e, t.watch) + } + var gn = { lazy: !0 } + function mn(e, t, n) { + var r = !re() + 'function' == typeof n + ? ((vn.get = r ? bn(t) : _n(n)), (vn.set = $)) + : ((vn.get = n.get + ? r && !1 !== n.cache + ? bn(t) + : _n(n.get) + : $), + (vn.set = n.set || $)), + Object.defineProperty(e, t, vn) + } + function bn(e) { + return function () { + var t = + this._computedWatchers && this._computedWatchers[e] + if (t) + return ( + t.dirty && t.evaluate(), + fe.target && t.depend(), + t.value + ) + } + } + function _n(e) { + return function () { + return e.call(this, this) + } + } + function wn(e, t, n, r) { + return ( + u(n) && ((r = n), (n = n.handler)), + 'string' == typeof n && (n = e[n]), + e.$watch(t, n, r) + ) + } + var xn = 0 + function On(e) { + var t = e.options + if (e.super) { + var n = On(e.super) + if (n !== e.superOptions) { + e.superOptions = n + var r = (function (e) { + var t, + n = e.options, + r = e.sealedOptions + for (var i in n) + n[i] !== r[i] && + (t || (t = {}), (t[i] = n[i])) + return t + })(e) + r && k(e.extendOptions, r), + (t = e.options = Pe(n, e.extendOptions)).name && + (t.components[t.name] = e) + } + } + return t + } + function En(e) { + this._init(e) + } + function Sn(e) { + e.cid = 0 + var t = 1 + e.extend = function (e) { + e = e || {} + var n = this, + r = n.cid, + i = e._Ctor || (e._Ctor = {}) + if (i[r]) return i[r] + var o = e.name || n.options.name, + a = function (e) { + this._init(e) + } + return ( + ((a.prototype = Object.create( + n.prototype + )).constructor = a), + (a.cid = t++), + (a.options = Pe(n.options, e)), + (a.super = n), + a.options.props && + (function (e) { + var t = e.options.props + for (var n in t) + hn(e.prototype, '_props', n) + })(a), + a.options.computed && + (function (e) { + var t = e.options.computed + for (var n in t) mn(e.prototype, n, t[n]) + })(a), + (a.extend = n.extend), + (a.mixin = n.mixin), + (a.use = n.use), + L.forEach(function (e) { + a[e] = n[e] + }), + o && (a.options.components[o] = a), + (a.superOptions = n.options), + (a.extendOptions = e), + (a.sealedOptions = k({}, a.options)), + (i[r] = a), + a + ) + } + } + function An(e) { + return e && (e.Ctor.options.name || e.tag) + } + function Cn(e, t) { + return Array.isArray(e) + ? e.indexOf(t) > -1 + : 'string' == typeof e + ? e.split(',').indexOf(t) > -1 + : ((n = e), + '[object RegExp]' === s.call(n) && e.test(t)) + var n + } + function kn(e, t) { + var n = e.cache, + r = e.keys, + i = e._vnode + for (var o in n) { + var a = n[o] + if (a) { + var c = An(a.componentOptions) + c && !t(c) && Tn(n, o, r, i) + } + } + } + function Tn(e, t, n, r) { + var i = e[t] + !i || + (r && i.tag === r.tag) || + i.componentInstance.$destroy(), + (e[t] = null), + g(n, t) + } + !(function (e) { + e.prototype._init = function (e) { + var t = this + ;(t._uid = xn++), + (t._isVue = !0), + e && e._isComponent + ? (function (e, t) { + var n = (e.$options = Object.create( + e.constructor.options + )), + r = t._parentVnode + ;(n.parent = t.parent), + (n._parentVnode = r) + var i = r.componentOptions + ;(n.propsData = i.propsData), + (n._parentListeners = i.listeners), + (n._renderChildren = i.children), + (n._componentTag = i.tag), + t.render && + ((n.render = t.render), + (n.staticRenderFns = + t.staticRenderFns)) + })(t, e) + : (t.$options = Pe( + On(t.constructor), + e || {}, + t + )), + (t._renderProxy = t), + (t._self = t), + (function (e) { + var t = e.$options, + n = t.parent + if (n && !t.abstract) { + for (; n.$options.abstract && n.$parent; ) + n = n.$parent + n.$children.push(e) + } + ;(e.$parent = n), + (e.$root = n ? n.$root : e), + (e.$children = []), + (e.$refs = {}), + (e._watcher = null), + (e._inactive = null), + (e._directInactive = !1), + (e._isMounted = !1), + (e._isDestroyed = !1), + (e._isBeingDestroyed = !1) + })(t), + (function (e) { + ;(e._events = Object.create(null)), + (e._hasHookEvent = !1) + var t = e.$options._parentListeners + t && qt(e, t) + })(t), + (function (e) { + ;(e._vnode = null), (e._staticTrees = null) + var t = e.$options, + r = (e.$vnode = t._parentVnode), + i = r && r.context + ;(e.$slots = lt(t._renderChildren, i)), + (e.$scopedSlots = n), + (e._c = function (t, n, r, i) { + return Bt(e, t, n, r, i, !1) + }), + (e.$createElement = function (t, n, r, i) { + return Bt(e, t, n, r, i, !0) + }) + var o = r && r.data + Ae(e, '$attrs', (o && o.attrs) || n, null, !0), + Ae( + e, + '$listeners', + t._parentListeners || n, + null, + !0 + ) + })(t), + en(t, 'beforeCreate'), + (function (e) { + var t = ft(e.$options.inject, e) + t && + (Oe(!1), + Object.keys(t).forEach(function (n) { + Ae(e, n, t[n]) + }), + Oe(!0)) + })(t), + yn(t), + (function (e) { + var t = e.$options.provide + t && + (e._provided = + 'function' == typeof t ? t.call(e) : t) + })(t), + en(t, 'created'), + t.$options.el && t.$mount(t.$options.el) + } + })(En), + (function (e) { + var t = { + get: function () { + return this._data + }, + }, + n = { + get: function () { + return this._props + }, + } + Object.defineProperty(e.prototype, '$data', t), + Object.defineProperty(e.prototype, '$props', n), + (e.prototype.$set = Ce), + (e.prototype.$delete = ke), + (e.prototype.$watch = function (e, t, n) { + if (u(t)) return wn(this, e, t, n) + ;(n = n || {}).user = !0 + var r = new dn(this, e, t, n) + if (n.immediate) + try { + t.call(this, r.value) + } catch (e) { + Ue( + e, + this, + 'callback for immediate watcher "' + + r.expression + + '"' + ) + } + return function () { + r.teardown() + } + }) + })(En), + (function (e) { + var t = /^hook:/ + ;(e.prototype.$on = function (e, n) { + var r = this + if (Array.isArray(e)) + for (var i = 0, o = e.length; i < o; i++) + r.$on(e[i], n) + else + (r._events[e] || (r._events[e] = [])).push(n), + t.test(e) && (r._hasHookEvent = !0) + return r + }), + (e.prototype.$once = function (e, t) { + var n = this + function r() { + n.$off(e, r), t.apply(n, arguments) + } + return (r.fn = t), n.$on(e, r), n + }), + (e.prototype.$off = function (e, t) { + var n = this + if (!arguments.length) + return (n._events = Object.create(null)), n + if (Array.isArray(e)) { + for (var r = 0, i = e.length; r < i; r++) + n.$off(e[r], t) + return n + } + var o, + a = n._events[e] + if (!a) return n + if (!t) return (n._events[e] = null), n + for (var c = a.length; c--; ) + if ((o = a[c]) === t || o.fn === t) { + a.splice(c, 1) + break + } + return n + }), + (e.prototype.$emit = function (e) { + var t = this._events[e] + if (t) { + t = t.length > 1 ? C(t) : t + for ( + var n = C(arguments, 1), + r = 'event handler for "' + e + '"', + i = 0, + o = t.length; + i < o; + i++ + ) + He(t[i], this, n, this, r) + } + return this + }) + })(En), + (function (e) { + ;(e.prototype._update = function (e, t) { + var n = this, + r = n.$el, + i = n._vnode, + o = Zt(n) + ;(n._vnode = e), + (n.$el = i + ? n.__patch__(i, e) + : n.__patch__(n.$el, e, t, !1)), + o(), + r && (r.__vue__ = null), + n.$el && (n.$el.__vue__ = n), + n.$vnode && + n.$parent && + n.$vnode === n.$parent._vnode && + (n.$parent.$el = n.$el) + }), + (e.prototype.$forceUpdate = function () { + this._watcher && this._watcher.update() + }), + (e.prototype.$destroy = function () { + var e = this + if (!e._isBeingDestroyed) { + en(e, 'beforeDestroy'), + (e._isBeingDestroyed = !0) + var t = e.$parent + !t || + t._isBeingDestroyed || + e.$options.abstract || + g(t.$children, e), + e._watcher && e._watcher.teardown() + for (var n = e._watchers.length; n--; ) + e._watchers[n].teardown() + e._data.__ob__ && e._data.__ob__.vmCount--, + (e._isDestroyed = !0), + e.__patch__(e._vnode, null), + en(e, 'destroyed'), + e.$off(), + e.$el && (e.$el.__vue__ = null), + e.$vnode && (e.$vnode.parent = null) + } + }) + })(En), + (function (e) { + $t(e.prototype), + (e.prototype.$nextTick = function (e) { + return et(e, this) + }), + (e.prototype._render = function () { + var e, + t = this, + n = t.$options, + r = n.render, + i = n._parentVnode + i && + (t.$scopedSlots = dt( + i.data.scopedSlots, + t.$slots, + t.$scopedSlots + )), + (t.$vnode = i) + try { + ;(Ht = t), + (e = r.call( + t._renderProxy, + t.$createElement + )) + } catch (n) { + Ue(n, t, 'render'), (e = t._vnode) + } finally { + Ht = null + } + return ( + Array.isArray(e) && + 1 === e.length && + (e = e[0]), + e instanceof ve || (e = ye()), + (e.parent = i), + e + ) + }) + })(En) + var $n = [String, RegExp, Array], + Nn = { + KeepAlive: { + name: 'keep-alive', + abstract: !0, + props: { + include: $n, + exclude: $n, + max: [String, Number], + }, + created: function () { + ;(this.cache = Object.create(null)), + (this.keys = []) + }, + destroyed: function () { + for (var e in this.cache) + Tn(this.cache, e, this.keys) + }, + mounted: function () { + var e = this + this.$watch('include', function (t) { + kn(e, function (e) { + return Cn(t, e) + }) + }), + this.$watch('exclude', function (t) { + kn(e, function (e) { + return !Cn(t, e) + }) + }) + }, + render: function () { + var e = this.$slots.default, + t = Vt(e), + n = t && t.componentOptions + if (n) { + var r = An(n), + i = this.include, + o = this.exclude + if ( + (i && (!r || !Cn(i, r))) || + (o && r && Cn(o, r)) + ) + return t + var a = this.cache, + c = this.keys, + s = + null == t.key + ? n.Ctor.cid + + (n.tag ? '::' + n.tag : '') + : t.key + a[s] + ? ((t.componentInstance = + a[s].componentInstance), + g(c, s), + c.push(s)) + : ((a[s] = t), + c.push(s), + this.max && + c.length > parseInt(this.max) && + Tn(a, c[0], c, this._vnode)), + (t.data.keepAlive = !0) + } + return t || (e && e[0]) + }, + }, + } + !(function (e) { + var t = { + get: function () { + return F + }, + } + Object.defineProperty(e, 'config', t), + (e.util = { + warn: se, + extend: k, + mergeOptions: Pe, + defineReactive: Ae, + }), + (e.set = Ce), + (e.delete = ke), + (e.nextTick = et), + (e.observable = function (e) { + return Se(e), e + }), + (e.options = Object.create(null)), + L.forEach(function (t) { + e.options[t + 's'] = Object.create(null) + }), + (e.options._base = e), + k(e.options.components, Nn), + (function (e) { + e.use = function (e) { + var t = + this._installedPlugins || + (this._installedPlugins = []) + if (t.indexOf(e) > -1) return this + var n = C(arguments, 1) + return ( + n.unshift(this), + 'function' == typeof e.install + ? e.install.apply(e, n) + : 'function' == typeof e && + e.apply(null, n), + t.push(e), + this + ) + } + })(e), + (function (e) { + e.mixin = function (e) { + return ( + (this.options = Pe(this.options, e)), this + ) + } + })(e), + Sn(e), + (function (e) { + L.forEach(function (t) { + e[t] = function (e, n) { + return n + ? ('component' === t && + u(n) && + ((n.name = n.name || e), + (n = this.options._base.extend( + n + ))), + 'directive' === t && + 'function' == typeof n && + (n = { bind: n, update: n }), + (this.options[t + 's'][e] = n), + n) + : this.options[t + 's'][e] + } + }) + })(e) + })(En), + Object.defineProperty(En.prototype, '$isServer', { + get: re, + }), + Object.defineProperty(En.prototype, '$ssrContext', { + get: function () { + return this.$vnode && this.$vnode.ssrContext + }, + }), + Object.defineProperty(En, 'FunctionalRenderContext', { + value: Nt, + }), + (En.version = '2.6.11') + var jn = v('style,class'), + Mn = v('input,textarea,option,select,progress'), + Rn = function (e, t, n) { + return ( + ('value' === n && Mn(e) && 'button' !== t) || + ('selected' === n && 'option' === e) || + ('checked' === n && 'input' === e) || + ('muted' === n && 'video' === e) + ) + }, + Pn = v('contenteditable,draggable,spellcheck'), + In = v('events,caret,typing,plaintext-only'), + Ln = function (e, t) { + return Hn(t) || 'false' === t + ? 'false' + : 'contenteditable' === e && In(t) + ? t + : 'true' + }, + Dn = v( + 'allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible' + ), + Fn = 'http://www.w3.org/1999/xlink', + Bn = function (e) { + return ':' === e.charAt(5) && 'xlink' === e.slice(0, 5) + }, + Un = function (e) { + return Bn(e) ? e.slice(6, e.length) : '' + }, + Hn = function (e) { + return null == e || !1 === e + } + function Kn(e) { + for (var t = e.data, n = e, r = e; i(r.componentInstance); ) + (r = r.componentInstance._vnode) && + r.data && + (t = zn(r.data, t)) + for (; i((n = n.parent)); ) + n && n.data && (t = zn(t, n.data)) + return (function (e, t) { + return i(e) || i(t) ? Vn(e, Gn(t)) : '' + })(t.staticClass, t.class) + } + function zn(e, t) { + return { + staticClass: Vn(e.staticClass, t.staticClass), + class: i(e.class) ? [e.class, t.class] : t.class, + } + } + function Vn(e, t) { + return e ? (t ? e + ' ' + t : e) : t || '' + } + function Gn(e) { + return Array.isArray(e) + ? (function (e) { + for ( + var t, n = '', r = 0, o = e.length; + r < o; + r++ + ) + i((t = Gn(e[r]))) && + '' !== t && + (n && (n += ' '), (n += t)) + return n + })(e) + : c(e) + ? (function (e) { + var t = '' + for (var n in e) + e[n] && (t && (t += ' '), (t += n)) + return t + })(e) + : 'string' == typeof e + ? e + : '' + } + var Wn = { + svg: 'http://www.w3.org/2000/svg', + math: 'http://www.w3.org/1998/Math/MathML', + }, + Jn = v( + 'html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot' + ), + qn = v( + 'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view', + !0 + ), + Xn = function (e) { + return Jn(e) || qn(e) + } + function Zn(e) { + return qn(e) ? 'svg' : 'math' === e ? 'math' : void 0 + } + var Yn = Object.create(null), + Qn = v('text,number,password,search,email,tel,url') + function er(e) { + if ('string' == typeof e) { + var t = document.querySelector(e) + return t || document.createElement('div') + } + return e + } + var tr = Object.freeze({ + createElement: function (e, t) { + var n = document.createElement(e) + return ( + 'select' !== e || + (t.data && + t.data.attrs && + void 0 !== t.data.attrs.multiple && + n.setAttribute('multiple', 'multiple')), + n + ) + }, + createElementNS: function (e, t) { + return document.createElementNS(Wn[e], t) + }, + createTextNode: function (e) { + return document.createTextNode(e) + }, + createComment: function (e) { + return document.createComment(e) + }, + insertBefore: function (e, t, n) { + e.insertBefore(t, n) + }, + removeChild: function (e, t) { + e.removeChild(t) + }, + appendChild: function (e, t) { + e.appendChild(t) + }, + parentNode: function (e) { + return e.parentNode + }, + nextSibling: function (e) { + return e.nextSibling + }, + tagName: function (e) { + return e.tagName + }, + setTextContent: function (e, t) { + e.textContent = t + }, + setStyleScope: function (e, t) { + e.setAttribute(t, '') + }, + }), + nr = { + create: function (e, t) { + rr(t) + }, + update: function (e, t) { + e.data.ref !== t.data.ref && (rr(e, !0), rr(t)) + }, + destroy: function (e) { + rr(e, !0) + }, + } + function rr(e, t) { + var n = e.data.ref + if (i(n)) { + var r = e.context, + o = e.componentInstance || e.elm, + a = r.$refs + t + ? Array.isArray(a[n]) + ? g(a[n], o) + : a[n] === o && (a[n] = void 0) + : e.data.refInFor + ? Array.isArray(a[n]) + ? a[n].indexOf(o) < 0 && a[n].push(o) + : (a[n] = [o]) + : (a[n] = o) + } + } + var ir = new ve('', {}, []), + or = ['create', 'activate', 'update', 'remove', 'destroy'] + function ar(e, t) { + return ( + e.key === t.key && + ((e.tag === t.tag && + e.isComment === t.isComment && + i(e.data) === i(t.data) && + (function (e, t) { + if ('input' !== e.tag) return !0 + var n, + r = + i((n = e.data)) && + i((n = n.attrs)) && + n.type, + o = + i((n = t.data)) && + i((n = n.attrs)) && + n.type + return r === o || (Qn(r) && Qn(o)) + })(e, t)) || + (o(e.isAsyncPlaceholder) && + e.asyncFactory === t.asyncFactory && + r(t.asyncFactory.error))) + ) + } + function cr(e, t, n) { + var r, + o, + a = {} + for (r = t; r <= n; ++r) i((o = e[r].key)) && (a[o] = r) + return a + } + var sr = { + create: ur, + update: ur, + destroy: function (e) { + ur(e, ir) + }, + } + function ur(e, t) { + ;(e.data.directives || t.data.directives) && + (function (e, t) { + var n, + r, + i, + o = e === ir, + a = t === ir, + c = lr(e.data.directives, e.context), + s = lr(t.data.directives, t.context), + u = [], + f = [] + for (n in s) + (r = c[n]), + (i = s[n]), + r + ? ((i.oldValue = r.value), + (i.oldArg = r.arg), + dr(i, 'update', t, e), + i.def && + i.def.componentUpdated && + f.push(i)) + : (dr(i, 'bind', t, e), + i.def && i.def.inserted && u.push(i)) + if (u.length) { + var l = function () { + for (var n = 0; n < u.length; n++) + dr(u[n], 'inserted', t, e) + } + o ? at(t, 'insert', l) : l() + } + if ( + (f.length && + at(t, 'postpatch', function () { + for (var n = 0; n < f.length; n++) + dr(f[n], 'componentUpdated', t, e) + }), + !o) + ) + for (n in c) s[n] || dr(c[n], 'unbind', e, e, a) + })(e, t) + } + var fr = Object.create(null) + function lr(e, t) { + var n, + r, + i = Object.create(null) + if (!e) return i + for (n = 0; n < e.length; n++) + (r = e[n]).modifiers || (r.modifiers = fr), + (i[pr(r)] = r), + (r.def = Ie(t.$options, 'directives', r.name)) + return i + } + function pr(e) { + return ( + e.rawName || + e.name + '.' + Object.keys(e.modifiers || {}).join('.') + ) + } + function dr(e, t, n, r, i) { + var o = e.def && e.def[t] + if (o) + try { + o(n.elm, e, n, r, i) + } catch (r) { + Ue( + r, + n.context, + 'directive ' + e.name + ' ' + t + ' hook' + ) + } + } + var vr = [nr, sr] + function hr(e, t) { + var n = t.componentOptions + if ( + !( + (i(n) && !1 === n.Ctor.options.inheritAttrs) || + (r(e.data.attrs) && r(t.data.attrs)) + ) + ) { + var o, + a, + c = t.elm, + s = e.data.attrs || {}, + u = t.data.attrs || {} + for (o in (i(u.__ob__) && (u = t.data.attrs = k({}, u)), + u)) + (a = u[o]), s[o] !== a && yr(c, o, a) + for (o in ((q || Z) && + u.value !== s.value && + yr(c, 'value', u.value), + s)) + r(u[o]) && + (Bn(o) + ? c.removeAttributeNS(Fn, Un(o)) + : Pn(o) || c.removeAttribute(o)) + } + } + function yr(e, t, n) { + e.tagName.indexOf('-') > -1 + ? gr(e, t, n) + : Dn(t) + ? Hn(n) + ? e.removeAttribute(t) + : ((n = + 'allowfullscreen' === t && + 'EMBED' === e.tagName + ? 'true' + : t), + e.setAttribute(t, n)) + : Pn(t) + ? e.setAttribute(t, Ln(t, n)) + : Bn(t) + ? Hn(n) + ? e.removeAttributeNS(Fn, Un(t)) + : e.setAttributeNS(Fn, t, n) + : gr(e, t, n) + } + function gr(e, t, n) { + if (Hn(n)) e.removeAttribute(t) + else { + if ( + q && + !X && + 'TEXTAREA' === e.tagName && + 'placeholder' === t && + '' !== n && + !e.__ieph + ) { + var r = function (t) { + t.stopImmediatePropagation(), + e.removeEventListener('input', r) + } + e.addEventListener('input', r), (e.__ieph = !0) + } + e.setAttribute(t, n) + } + } + var mr = { create: hr, update: hr } + function br(e, t) { + var n = t.elm, + o = t.data, + a = e.data + if ( + !( + r(o.staticClass) && + r(o.class) && + (r(a) || (r(a.staticClass) && r(a.class))) + ) + ) { + var c = Kn(t), + s = n._transitionClasses + i(s) && (c = Vn(c, Gn(s))), + c !== n._prevClass && + (n.setAttribute('class', c), (n._prevClass = c)) + } + } + var _r, + wr, + xr, + Or, + Er, + Sr, + Ar = { create: br, update: br }, + Cr = /[\w).+\-_$\]]/ + function kr(e) { + var t, + n, + r, + i, + o, + a = !1, + c = !1, + s = !1, + u = !1, + f = 0, + l = 0, + p = 0, + d = 0 + for (r = 0; r < e.length; r++) + if (((n = t), (t = e.charCodeAt(r)), a)) + 39 === t && 92 !== n && (a = !1) + else if (c) 34 === t && 92 !== n && (c = !1) + else if (s) 96 === t && 92 !== n && (s = !1) + else if (u) 47 === t && 92 !== n && (u = !1) + else if ( + 124 !== t || + 124 === e.charCodeAt(r + 1) || + 124 === e.charCodeAt(r - 1) || + f || + l || + p + ) { + switch (t) { + case 34: + c = !0 + break + case 39: + a = !0 + break + case 96: + s = !0 + break + case 40: + p++ + break + case 41: + p-- + break + case 91: + l++ + break + case 93: + l-- + break + case 123: + f++ + break + case 125: + f-- + } + if (47 === t) { + for ( + var v = r - 1, h = void 0; + v >= 0 && ' ' === (h = e.charAt(v)); + v-- + ); + ;(h && Cr.test(h)) || (u = !0) + } + } else + void 0 === i + ? ((d = r + 1), (i = e.slice(0, r).trim())) + : y() + function y() { + ;(o || (o = [])).push(e.slice(d, r).trim()), (d = r + 1) + } + if ( + (void 0 === i + ? (i = e.slice(0, r).trim()) + : 0 !== d && y(), + o) + ) + for (r = 0; r < o.length; r++) i = Tr(i, o[r]) + return i + } + function Tr(e, t) { + var n = t.indexOf('(') + if (n < 0) return '_f("' + t + '")(' + e + ')' + var r = t.slice(0, n), + i = t.slice(n + 1) + return '_f("' + r + '")(' + e + (')' !== i ? ',' + i : i) + } + function $r(e, t) { + console.error('[Vue compiler]: ' + e) + } + function Nr(e, t) { + return e + ? e + .map(function (e) { + return e[t] + }) + .filter(function (e) { + return e + }) + : [] + } + function jr(e, t, n, r, i) { + ;(e.props || (e.props = [])).push( + Ur({ name: t, value: n, dynamic: i }, r) + ), + (e.plain = !1) + } + function Mr(e, t, n, r, i) { + ;(i + ? e.dynamicAttrs || (e.dynamicAttrs = []) + : e.attrs || (e.attrs = []) + ).push(Ur({ name: t, value: n, dynamic: i }, r)), + (e.plain = !1) + } + function Rr(e, t, n, r) { + ;(e.attrsMap[t] = n), + e.attrsList.push(Ur({ name: t, value: n }, r)) + } + function Pr(e, t, n, r, i, o, a, c) { + ;(e.directives || (e.directives = [])).push( + Ur( + { + name: t, + rawName: n, + value: r, + arg: i, + isDynamicArg: o, + modifiers: a, + }, + c + ) + ), + (e.plain = !1) + } + function Ir(e, t, n) { + return n ? '_p(' + t + ',"' + e + '")' : e + t + } + function Lr(e, t, r, i, o, a, c, s) { + var u + ;(i = i || n).right + ? s + ? (t = + '(' + + t + + ")==='click'?'contextmenu':(" + + t + + ')') + : 'click' === t && + ((t = 'contextmenu'), delete i.right) + : i.middle && + (s + ? (t = + '(' + + t + + ")==='click'?'mouseup':(" + + t + + ')') + : 'click' === t && (t = 'mouseup')), + i.capture && (delete i.capture, (t = Ir('!', t, s))), + i.once && (delete i.once, (t = Ir('~', t, s))), + i.passive && (delete i.passive, (t = Ir('&', t, s))), + i.native + ? (delete i.native, + (u = e.nativeEvents || (e.nativeEvents = {}))) + : (u = e.events || (e.events = {})) + var f = Ur({ value: r.trim(), dynamic: s }, c) + i !== n && (f.modifiers = i) + var l = u[t] + Array.isArray(l) + ? o + ? l.unshift(f) + : l.push(f) + : (u[t] = l ? (o ? [f, l] : [l, f]) : f), + (e.plain = !1) + } + function Dr(e, t, n) { + var r = Fr(e, ':' + t) || Fr(e, 'v-bind:' + t) + if (null != r) return kr(r) + if (!1 !== n) { + var i = Fr(e, t) + if (null != i) return JSON.stringify(i) + } + } + function Fr(e, t, n) { + var r + if (null != (r = e.attrsMap[t])) + for ( + var i = e.attrsList, o = 0, a = i.length; + o < a; + o++ + ) + if (i[o].name === t) { + i.splice(o, 1) + break + } + return n && delete e.attrsMap[t], r + } + function Br(e, t) { + for (var n = e.attrsList, r = 0, i = n.length; r < i; r++) { + var o = n[r] + if (t.test(o.name)) return n.splice(r, 1), o + } + } + function Ur(e, t) { + return ( + t && + (null != t.start && (e.start = t.start), + null != t.end && (e.end = t.end)), + e + ) + } + function Hr(e, t, n) { + var r = n || {}, + i = r.number, + o = '$$v' + r.trim && + (o = "(typeof $$v === 'string'? $$v.trim(): $$v)"), + i && (o = '_n(' + o + ')') + var a = Kr(t, o) + e.model = { + value: '(' + t + ')', + expression: JSON.stringify(t), + callback: 'function ($$v) {' + a + '}', + } + } + function Kr(e, t) { + var n = (function (e) { + if ( + ((e = e.trim()), + (_r = e.length), + e.indexOf('[') < 0 || e.lastIndexOf(']') < _r - 1) + ) + return (Or = e.lastIndexOf('.')) > -1 + ? { + exp: e.slice(0, Or), + key: '"' + e.slice(Or + 1) + '"', + } + : { exp: e, key: null } + for (wr = e, Or = Er = Sr = 0; !Vr(); ) + Gr((xr = zr())) ? Jr(xr) : 91 === xr && Wr(xr) + return { exp: e.slice(0, Er), key: e.slice(Er + 1, Sr) } + })(e) + return null === n.key + ? e + '=' + t + : '$set(' + n.exp + ', ' + n.key + ', ' + t + ')' + } + function zr() { + return wr.charCodeAt(++Or) + } + function Vr() { + return Or >= _r + } + function Gr(e) { + return 34 === e || 39 === e + } + function Wr(e) { + var t = 1 + for (Er = Or; !Vr(); ) + if (Gr((e = zr()))) Jr(e) + else if ((91 === e && t++, 93 === e && t--, 0 === t)) { + Sr = Or + break + } + } + function Jr(e) { + for (var t = e; !Vr() && (e = zr()) !== t; ); + } + var qr, + Xr = '__r', + Zr = '__c' + function Yr(e, t, n) { + var r = qr + return function i() { + null !== t.apply(null, arguments) && ti(e, i, n, r) + } + } + var Qr = Ge && !(Q && Number(Q[1]) <= 53) + function ei(e, t, n, r) { + if (Qr) { + var i = sn, + o = t + t = o._wrapper = function (e) { + if ( + e.target === e.currentTarget || + e.timeStamp >= i || + e.timeStamp <= 0 || + e.target.ownerDocument !== document + ) + return o.apply(this, arguments) + } + } + qr.addEventListener( + e, + t, + te ? { capture: n, passive: r } : n + ) + } + function ti(e, t, n, r) { + ;(r || qr).removeEventListener(e, t._wrapper || t, n) + } + function ni(e, t) { + if (!r(e.data.on) || !r(t.data.on)) { + var n = t.data.on || {}, + o = e.data.on || {} + ;(qr = t.elm), + (function (e) { + if (i(e[Xr])) { + var t = q ? 'change' : 'input' + ;(e[t] = [].concat(e[Xr], e[t] || [])), + delete e[Xr] + } + i(e[Zr]) && + ((e.change = [].concat( + e[Zr], + e.change || [] + )), + delete e[Zr]) + })(n), + ot(n, o, ei, ti, Yr, t.context), + (qr = void 0) + } + } + var ri, + ii = { create: ni, update: ni } + function oi(e, t) { + if (!r(e.data.domProps) || !r(t.data.domProps)) { + var n, + o, + a = t.elm, + c = e.data.domProps || {}, + s = t.data.domProps || {} + for (n in (i(s.__ob__) && + (s = t.data.domProps = k({}, s)), + c)) + n in s || (a[n] = '') + for (n in s) { + if ( + ((o = s[n]), + 'textContent' === n || 'innerHTML' === n) + ) { + if ( + (t.children && (t.children.length = 0), + o === c[n]) + ) + continue + 1 === a.childNodes.length && + a.removeChild(a.childNodes[0]) + } + if ('value' === n && 'PROGRESS' !== a.tagName) { + a._value = o + var u = r(o) ? '' : String(o) + ai(a, u) && (a.value = u) + } else if ( + 'innerHTML' === n && + qn(a.tagName) && + r(a.innerHTML) + ) { + ;(ri = + ri || + document.createElement('div')).innerHTML = + '' + o + '' + for (var f = ri.firstChild; a.firstChild; ) + a.removeChild(a.firstChild) + for (; f.firstChild; ) + a.appendChild(f.firstChild) + } else if (o !== c[n]) + try { + a[n] = o + } catch (e) {} + } + } + } + function ai(e, t) { + return ( + !e.composing && + ('OPTION' === e.tagName || + (function (e, t) { + var n = !0 + try { + n = document.activeElement !== e + } catch (e) {} + return n && e.value !== t + })(e, t) || + (function (e, t) { + var n = e.value, + r = e._vModifiers + if (i(r)) { + if (r.number) return d(n) !== d(t) + if (r.trim) return n.trim() !== t.trim() + } + return n !== t + })(e, t)) + ) + } + var ci = { create: oi, update: oi }, + si = _(function (e) { + var t = {}, + n = /:(.+)/ + return ( + e.split(/;(?![^(]*\))/g).forEach(function (e) { + if (e) { + var r = e.split(n) + r.length > 1 && + (t[r[0].trim()] = r[1].trim()) + } + }), + t + ) + }) + function ui(e) { + var t = fi(e.style) + return e.staticStyle ? k(e.staticStyle, t) : t + } + function fi(e) { + return Array.isArray(e) + ? T(e) + : 'string' == typeof e + ? si(e) + : e + } + var li, + pi = /^--/, + di = /\s*!important$/, + vi = function (e, t, n) { + if (pi.test(t)) e.style.setProperty(t, n) + else if (di.test(n)) + e.style.setProperty( + S(t), + n.replace(di, ''), + 'important' + ) + else { + var r = yi(t) + if (Array.isArray(n)) + for (var i = 0, o = n.length; i < o; i++) + e.style[r] = n[i] + else e.style[r] = n + } + }, + hi = ['Webkit', 'Moz', 'ms'], + yi = _(function (e) { + if ( + ((li = li || document.createElement('div').style), + 'filter' !== (e = x(e)) && e in li) + ) + return e + for ( + var t = e.charAt(0).toUpperCase() + e.slice(1), + n = 0; + n < hi.length; + n++ + ) { + var r = hi[n] + t + if (r in li) return r + } + }) + function gi(e, t) { + var n = t.data, + o = e.data + if ( + !( + r(n.staticStyle) && + r(n.style) && + r(o.staticStyle) && + r(o.style) + ) + ) { + var a, + c, + s = t.elm, + u = o.staticStyle, + f = o.normalizedStyle || o.style || {}, + l = u || f, + p = fi(t.data.style) || {} + t.data.normalizedStyle = i(p.__ob__) ? k({}, p) : p + var d = (function (e, t) { + var n, + r = {} + if (t) + for (var i = e; i.componentInstance; ) + (i = i.componentInstance._vnode) && + i.data && + (n = ui(i.data)) && + k(r, n) + ;(n = ui(e.data)) && k(r, n) + for (var o = e; (o = o.parent); ) + o.data && (n = ui(o.data)) && k(r, n) + return r + })(t, !0) + for (c in l) r(d[c]) && vi(s, c, '') + for (c in d) + (a = d[c]) !== l[c] && vi(s, c, null == a ? '' : a) + } + } + var mi = { create: gi, update: gi }, + bi = /\s+/ + function _i(e, t) { + if (t && (t = t.trim())) + if (e.classList) + t.indexOf(' ') > -1 + ? t.split(bi).forEach(function (t) { + return e.classList.add(t) + }) + : e.classList.add(t) + else { + var n = ' ' + (e.getAttribute('class') || '') + ' ' + n.indexOf(' ' + t + ' ') < 0 && + e.setAttribute('class', (n + t).trim()) + } + } + function wi(e, t) { + if (t && (t = t.trim())) + if (e.classList) + t.indexOf(' ') > -1 + ? t.split(bi).forEach(function (t) { + return e.classList.remove(t) + }) + : e.classList.remove(t), + e.classList.length || e.removeAttribute('class') + else { + for ( + var n = + ' ' + + (e.getAttribute('class') || '') + + ' ', + r = ' ' + t + ' '; + n.indexOf(r) >= 0; + + ) + n = n.replace(r, ' ') + ;(n = n.trim()) + ? e.setAttribute('class', n) + : e.removeAttribute('class') + } + } + function xi(e) { + if (e) { + if ('object' == typeof e) { + var t = {} + return ( + !1 !== e.css && k(t, Oi(e.name || 'v')), + k(t, e), + t + ) + } + return 'string' == typeof e ? Oi(e) : void 0 + } + } + var Oi = _(function (e) { + return { + enterClass: e + '-enter', + enterToClass: e + '-enter-to', + enterActiveClass: e + '-enter-active', + leaveClass: e + '-leave', + leaveToClass: e + '-leave-to', + leaveActiveClass: e + '-leave-active', + } + }), + Ei = V && !X, + Si = 'transition', + Ai = 'animation', + Ci = 'transition', + ki = 'transitionend', + Ti = 'animation', + $i = 'animationend' + Ei && + (void 0 === window.ontransitionend && + void 0 !== window.onwebkittransitionend && + ((Ci = 'WebkitTransition'), + (ki = 'webkitTransitionEnd')), + void 0 === window.onanimationend && + void 0 !== window.onwebkitanimationend && + ((Ti = 'WebkitAnimation'), ($i = 'webkitAnimationEnd'))) + var Ni = V + ? window.requestAnimationFrame + ? window.requestAnimationFrame.bind(window) + : setTimeout + : function (e) { + return e() + } + function ji(e) { + Ni(function () { + Ni(e) + }) + } + function Mi(e, t) { + var n = e._transitionClasses || (e._transitionClasses = []) + n.indexOf(t) < 0 && (n.push(t), _i(e, t)) + } + function Ri(e, t) { + e._transitionClasses && g(e._transitionClasses, t), wi(e, t) + } + function Pi(e, t, n) { + var r = Li(e, t), + i = r.type, + o = r.timeout, + a = r.propCount + if (!i) return n() + var c = i === Si ? ki : $i, + s = 0, + u = function () { + e.removeEventListener(c, f), n() + }, + f = function (t) { + t.target === e && ++s >= a && u() + } + setTimeout(function () { + s < a && u() + }, o + 1), + e.addEventListener(c, f) + } + var Ii = /\b(transform|all)(,|$)/ + function Li(e, t) { + var n, + r = window.getComputedStyle(e), + i = (r[Ci + 'Delay'] || '').split(', '), + o = (r[Ci + 'Duration'] || '').split(', '), + a = Di(i, o), + c = (r[Ti + 'Delay'] || '').split(', '), + s = (r[Ti + 'Duration'] || '').split(', '), + u = Di(c, s), + f = 0, + l = 0 + return ( + t === Si + ? a > 0 && ((n = Si), (f = a), (l = o.length)) + : t === Ai + ? u > 0 && ((n = Ai), (f = u), (l = s.length)) + : (l = (n = + (f = Math.max(a, u)) > 0 + ? a > u + ? Si + : Ai + : null) + ? n === Si + ? o.length + : s.length + : 0), + { + type: n, + timeout: f, + propCount: l, + hasTransform: + n === Si && Ii.test(r[Ci + 'Property']), + } + ) + } + function Di(e, t) { + for (; e.length < t.length; ) e = e.concat(e) + return Math.max.apply( + null, + t.map(function (t, n) { + return Fi(t) + Fi(e[n]) + }) + ) + } + function Fi(e) { + return 1e3 * Number(e.slice(0, -1).replace(',', '.')) + } + function Bi(e, t) { + var n = e.elm + i(n._leaveCb) && ((n._leaveCb.cancelled = !0), n._leaveCb()) + var o = xi(e.data.transition) + if (!r(o) && !i(n._enterCb) && 1 === n.nodeType) { + for ( + var a = o.css, + s = o.type, + u = o.enterClass, + f = o.enterToClass, + l = o.enterActiveClass, + p = o.appearClass, + v = o.appearToClass, + h = o.appearActiveClass, + y = o.beforeEnter, + g = o.enter, + m = o.afterEnter, + b = o.enterCancelled, + _ = o.beforeAppear, + w = o.appear, + x = o.afterAppear, + O = o.appearCancelled, + E = o.duration, + S = Xt, + A = Xt.$vnode; + A && A.parent; + + ) + (S = A.context), (A = A.parent) + var C = !S._isMounted || !e.isRootInsert + if (!C || w || '' === w) { + var k = C && p ? p : u, + T = C && h ? h : l, + $ = C && v ? v : f, + N = (C && _) || y, + j = C && 'function' == typeof w ? w : g, + M = (C && x) || m, + R = (C && O) || b, + I = d(c(E) ? E.enter : E), + L = !1 !== a && !X, + D = Ki(j), + F = (n._enterCb = P(function () { + L && (Ri(n, $), Ri(n, T)), + F.cancelled + ? (L && Ri(n, k), R && R(n)) + : M && M(n), + (n._enterCb = null) + })) + e.data.show || + at(e, 'insert', function () { + var t = n.parentNode, + r = t && t._pending && t._pending[e.key] + r && + r.tag === e.tag && + r.elm._leaveCb && + r.elm._leaveCb(), + j && j(n, F) + }), + N && N(n), + L && + (Mi(n, k), + Mi(n, T), + ji(function () { + Ri(n, k), + F.cancelled || + (Mi(n, $), + D || + (Hi(I) + ? setTimeout(F, I) + : Pi(n, s, F))) + })), + e.data.show && (t && t(), j && j(n, F)), + L || D || F() + } + } + } + function Ui(e, t) { + var n = e.elm + i(n._enterCb) && ((n._enterCb.cancelled = !0), n._enterCb()) + var o = xi(e.data.transition) + if (r(o) || 1 !== n.nodeType) return t() + if (!i(n._leaveCb)) { + var a = o.css, + s = o.type, + u = o.leaveClass, + f = o.leaveToClass, + l = o.leaveActiveClass, + p = o.beforeLeave, + v = o.leave, + h = o.afterLeave, + y = o.leaveCancelled, + g = o.delayLeave, + m = o.duration, + b = !1 !== a && !X, + _ = Ki(v), + w = d(c(m) ? m.leave : m), + x = (n._leaveCb = P(function () { + n.parentNode && + n.parentNode._pending && + (n.parentNode._pending[e.key] = null), + b && (Ri(n, f), Ri(n, l)), + x.cancelled + ? (b && Ri(n, u), y && y(n)) + : (t(), h && h(n)), + (n._leaveCb = null) + })) + g ? g(O) : O() + } + function O() { + x.cancelled || + (!e.data.show && + n.parentNode && + ((n.parentNode._pending || + (n.parentNode._pending = {}))[e.key] = e), + p && p(n), + b && + (Mi(n, u), + Mi(n, l), + ji(function () { + Ri(n, u), + x.cancelled || + (Mi(n, f), + _ || + (Hi(w) + ? setTimeout(x, w) + : Pi(n, s, x))) + })), + v && v(n, x), + b || _ || x()) + } + } + function Hi(e) { + return 'number' == typeof e && !isNaN(e) + } + function Ki(e) { + if (r(e)) return !1 + var t = e.fns + return i(t) + ? Ki(Array.isArray(t) ? t[0] : t) + : (e._length || e.length) > 1 + } + function zi(e, t) { + !0 !== t.data.show && Bi(t) + } + var Vi = (function (e) { + var t, + n, + c = {}, + s = e.modules, + u = e.nodeOps + for (t = 0; t < or.length; ++t) + for (c[or[t]] = [], n = 0; n < s.length; ++n) + i(s[n][or[t]]) && c[or[t]].push(s[n][or[t]]) + function f(e) { + var t = u.parentNode(e) + i(t) && u.removeChild(t, e) + } + function l(e, t, n, r, a, s, f) { + if ( + (i(e.elm) && i(s) && (e = s[f] = me(e)), + (e.isRootInsert = !a), + !(function (e, t, n, r) { + var a = e.data + if (i(a)) { + var s = + i(e.componentInstance) && a.keepAlive + if ( + (i((a = a.hook)) && + i((a = a.init)) && + a(e, !1), + i(e.componentInstance)) + ) + return ( + p(e, t), + d(n, e.elm, r), + o(s) && + (function (e, t, n, r) { + for ( + var o, a = e; + a.componentInstance; + + ) + if ( + ((a = + a + .componentInstance + ._vnode), + i((o = a.data)) && + i( + (o = + o.transition) + )) + ) { + for ( + o = 0; + o < + c.activate + .length; + ++o + ) + c.activate[o]( + ir, + a + ) + t.push(a) + break + } + d(n, e.elm, r) + })(e, t, n, r), + !0 + ) + } + })(e, t, n, r)) + ) { + var l = e.data, + v = e.children, + y = e.tag + i(y) + ? ((e.elm = e.ns + ? u.createElementNS(e.ns, y) + : u.createElement(y, e)), + m(e), + h(e, v, t), + i(l) && g(e, t), + d(n, e.elm, r)) + : o(e.isComment) + ? ((e.elm = u.createComment(e.text)), + d(n, e.elm, r)) + : ((e.elm = u.createTextNode(e.text)), + d(n, e.elm, r)) + } + } + function p(e, t) { + i(e.data.pendingInsert) && + (t.push.apply(t, e.data.pendingInsert), + (e.data.pendingInsert = null)), + (e.elm = e.componentInstance.$el), + y(e) ? (g(e, t), m(e)) : (rr(e), t.push(e)) + } + function d(e, t, n) { + i(e) && + (i(n) + ? u.parentNode(n) === e && + u.insertBefore(e, t, n) + : u.appendChild(e, t)) + } + function h(e, t, n) { + if (Array.isArray(t)) + for (var r = 0; r < t.length; ++r) + l(t[r], n, e.elm, null, !0, t, r) + else + a(e.text) && + u.appendChild( + e.elm, + u.createTextNode(String(e.text)) + ) + } + function y(e) { + for (; e.componentInstance; ) + e = e.componentInstance._vnode + return i(e.tag) + } + function g(e, n) { + for (var r = 0; r < c.create.length; ++r) + c.create[r](ir, e) + i((t = e.data.hook)) && + (i(t.create) && t.create(ir, e), + i(t.insert) && n.push(e)) + } + function m(e) { + var t + if (i((t = e.fnScopeId))) u.setStyleScope(e.elm, t) + else + for (var n = e; n; ) + i((t = n.context)) && + i((t = t.$options._scopeId)) && + u.setStyleScope(e.elm, t), + (n = n.parent) + i((t = Xt)) && + t !== e.context && + t !== e.fnContext && + i((t = t.$options._scopeId)) && + u.setStyleScope(e.elm, t) + } + function b(e, t, n, r, i, o) { + for (; r <= i; ++r) l(n[r], o, e, t, !1, n, r) + } + function _(e) { + var t, + n, + r = e.data + if (i(r)) + for ( + i((t = r.hook)) && i((t = t.destroy)) && t(e), + t = 0; + t < c.destroy.length; + ++t + ) + c.destroy[t](e) + if (i((t = e.children))) + for (n = 0; n < e.children.length; ++n) + _(e.children[n]) + } + function w(e, t, n) { + for (; t <= n; ++t) { + var r = e[t] + i(r) && (i(r.tag) ? (x(r), _(r)) : f(r.elm)) + } + } + function x(e, t) { + if (i(t) || i(e.data)) { + var n, + r = c.remove.length + 1 + for ( + i(t) + ? (t.listeners += r) + : (t = (function (e, t) { + function n() { + 0 == --n.listeners && f(e) + } + return (n.listeners = t), n + })(e.elm, r)), + i((n = e.componentInstance)) && + i((n = n._vnode)) && + i(n.data) && + x(n, t), + n = 0; + n < c.remove.length; + ++n + ) + c.remove[n](e, t) + i((n = e.data.hook)) && i((n = n.remove)) + ? n(e, t) + : t() + } else f(e.elm) + } + function O(e, t, n, r) { + for (var o = n; o < r; o++) { + var a = t[o] + if (i(a) && ar(e, a)) return o + } + } + function E(e, t, n, a, s, f) { + if (e !== t) { + i(t.elm) && i(a) && (t = a[s] = me(t)) + var p = (t.elm = e.elm) + if (o(e.isAsyncPlaceholder)) + i(t.asyncFactory.resolved) + ? C(e.elm, t, n) + : (t.isAsyncPlaceholder = !0) + else if ( + o(t.isStatic) && + o(e.isStatic) && + t.key === e.key && + (o(t.isCloned) || o(t.isOnce)) + ) + t.componentInstance = e.componentInstance + else { + var d, + v = t.data + i(v) && + i((d = v.hook)) && + i((d = d.prepatch)) && + d(e, t) + var h = e.children, + g = t.children + if (i(v) && y(t)) { + for (d = 0; d < c.update.length; ++d) + c.update[d](e, t) + i((d = v.hook)) && + i((d = d.update)) && + d(e, t) + } + r(t.text) + ? i(h) && i(g) + ? h !== g && + (function (e, t, n, o, a) { + for ( + var c, + s, + f, + p = 0, + d = 0, + v = t.length - 1, + h = t[0], + y = t[v], + g = n.length - 1, + m = n[0], + _ = n[g], + x = !a; + p <= v && d <= g; + + ) + r(h) + ? (h = t[++p]) + : r(y) + ? (y = t[--v]) + : ar(h, m) + ? (E(h, m, o, n, d), + (h = t[++p]), + (m = n[++d])) + : ar(y, _) + ? (E(y, _, o, n, g), + (y = t[--v]), + (_ = n[--g])) + : ar(h, _) + ? (E(h, _, o, n, g), + x && + u.insertBefore( + e, + h.elm, + u.nextSibling( + y.elm + ) + ), + (h = t[++p]), + (_ = n[--g])) + : ar(y, m) + ? (E(y, m, o, n, d), + x && + u.insertBefore( + e, + y.elm, + h.elm + ), + (y = t[--v]), + (m = n[++d])) + : (r(c) && + (c = cr(t, p, v)), + r( + (s = i(m.key) + ? c[m.key] + : O(m, t, p, v)) + ) + ? l( + m, + o, + e, + h.elm, + !1, + n, + d + ) + : ar((f = t[s]), m) + ? (E(f, m, o, n, d), + (t[s] = void 0), + x && + u.insertBefore( + e, + f.elm, + h.elm + )) + : l( + m, + o, + e, + h.elm, + !1, + n, + d + ), + (m = n[++d])) + p > v + ? b( + e, + r(n[g + 1]) + ? null + : n[g + 1].elm, + n, + d, + g, + o + ) + : d > g && w(t, p, v) + })(p, h, g, n, f) + : i(g) + ? (i(e.text) && u.setTextContent(p, ''), + b(p, null, g, 0, g.length - 1, n)) + : i(h) + ? w(h, 0, h.length - 1) + : i(e.text) && u.setTextContent(p, '') + : e.text !== t.text && + u.setTextContent(p, t.text), + i(v) && + i((d = v.hook)) && + i((d = d.postpatch)) && + d(e, t) + } + } + } + function S(e, t, n) { + if (o(n) && i(e.parent)) e.parent.data.pendingInsert = t + else + for (var r = 0; r < t.length; ++r) + t[r].data.hook.insert(t[r]) + } + var A = v('attrs,class,staticClass,staticStyle,key') + function C(e, t, n, r) { + var a, + c = t.tag, + s = t.data, + u = t.children + if ( + ((r = r || (s && s.pre)), + (t.elm = e), + o(t.isComment) && i(t.asyncFactory)) + ) + return (t.isAsyncPlaceholder = !0), !0 + if ( + i(s) && + (i((a = s.hook)) && i((a = a.init)) && a(t, !0), + i((a = t.componentInstance))) + ) + return p(t, n), !0 + if (i(c)) { + if (i(u)) + if (e.hasChildNodes()) + if ( + i((a = s)) && + i((a = a.domProps)) && + i((a = a.innerHTML)) + ) { + if (a !== e.innerHTML) return !1 + } else { + for ( + var f = !0, l = e.firstChild, d = 0; + d < u.length; + d++ + ) { + if (!l || !C(l, u[d], n, r)) { + f = !1 + break + } + l = l.nextSibling + } + if (!f || l) return !1 + } + else h(t, u, n) + if (i(s)) { + var v = !1 + for (var y in s) + if (!A(y)) { + ;(v = !0), g(t, n) + break + } + !v && s.class && nt(s.class) + } + } else e.data !== t.text && (e.data = t.text) + return !0 + } + return function (e, t, n, a) { + if (!r(t)) { + var s, + f = !1, + p = [] + if (r(e)) (f = !0), l(t, p) + else { + var d = i(e.nodeType) + if (!d && ar(e, t)) E(e, t, p, null, null, a) + else { + if (d) { + if ( + (1 === e.nodeType && + e.hasAttribute(I) && + (e.removeAttribute(I), + (n = !0)), + o(n) && C(e, t, p)) + ) + return S(t, p, !0), e + ;(s = e), + (e = new ve( + u.tagName(s).toLowerCase(), + {}, + [], + void 0, + s + )) + } + var v = e.elm, + h = u.parentNode(v) + if ( + (l( + t, + p, + v._leaveCb ? null : h, + u.nextSibling(v) + ), + i(t.parent)) + ) + for (var g = t.parent, m = y(t); g; ) { + for ( + var b = 0; + b < c.destroy.length; + ++b + ) + c.destroy[b](g) + if (((g.elm = t.elm), m)) { + for ( + var x = 0; + x < c.create.length; + ++x + ) + c.create[x](ir, g) + var O = g.data.hook.insert + if (O.merged) + for ( + var A = 1; + A < O.fns.length; + A++ + ) + O.fns[A]() + } else rr(g) + g = g.parent + } + i(h) ? w([e], 0, 0) : i(e.tag) && _(e) + } + } + return S(t, p, f), t.elm + } + i(e) && _(e) + } + })({ + nodeOps: tr, + modules: [ + mr, + Ar, + ii, + ci, + mi, + V + ? { + create: zi, + activate: zi, + remove: function (e, t) { + !0 !== e.data.show ? Ui(e, t) : t() + }, + } + : {}, + ].concat(vr), + }) + X && + document.addEventListener('selectionchange', function () { + var e = document.activeElement + e && e.vmodel && Qi(e, 'input') + }) + var Gi = { + inserted: function (e, t, n, r) { + 'select' === n.tag + ? (r.elm && !r.elm._vOptions + ? at(n, 'postpatch', function () { + Gi.componentUpdated(e, t, n) + }) + : Wi(e, t, n.context), + (e._vOptions = [].map.call(e.options, Xi))) + : ('textarea' === n.tag || Qn(e.type)) && + ((e._vModifiers = t.modifiers), + t.modifiers.lazy || + (e.addEventListener('compositionstart', Zi), + e.addEventListener('compositionend', Yi), + e.addEventListener('change', Yi), + X && (e.vmodel = !0))) + }, + componentUpdated: function (e, t, n) { + if ('select' === n.tag) { + Wi(e, t, n.context) + var r = e._vOptions, + i = (e._vOptions = [].map.call(e.options, Xi)) + i.some(function (e, t) { + return !M(e, r[t]) + }) && + (e.multiple + ? t.value.some(function (e) { + return qi(e, i) + }) + : t.value !== t.oldValue && + qi(t.value, i)) && + Qi(e, 'change') + } + }, + } + function Wi(e, t, n) { + Ji(e, t, n), + (q || Z) && + setTimeout(function () { + Ji(e, t, n) + }, 0) + } + function Ji(e, t, n) { + var r = t.value, + i = e.multiple + if (!i || Array.isArray(r)) { + for (var o, a, c = 0, s = e.options.length; c < s; c++) + if (((a = e.options[c]), i)) + (o = R(r, Xi(a)) > -1), + a.selected !== o && (a.selected = o) + else if (M(Xi(a), r)) + return void ( + e.selectedIndex !== c && + (e.selectedIndex = c) + ) + i || (e.selectedIndex = -1) + } + } + function qi(e, t) { + return t.every(function (t) { + return !M(t, e) + }) + } + function Xi(e) { + return '_value' in e ? e._value : e.value + } + function Zi(e) { + e.target.composing = !0 + } + function Yi(e) { + e.target.composing && + ((e.target.composing = !1), Qi(e.target, 'input')) + } + function Qi(e, t) { + var n = document.createEvent('HTMLEvents') + n.initEvent(t, !0, !0), e.dispatchEvent(n) + } + function eo(e) { + return !e.componentInstance || (e.data && e.data.transition) + ? e + : eo(e.componentInstance._vnode) + } + var to = { + model: Gi, + show: { + bind: function (e, t, n) { + var r = t.value, + i = (n = eo(n)).data && n.data.transition, + o = (e.__vOriginalDisplay = + 'none' === e.style.display + ? '' + : e.style.display) + r && i + ? ((n.data.show = !0), + Bi(n, function () { + e.style.display = o + })) + : (e.style.display = r ? o : 'none') + }, + update: function (e, t, n) { + var r = t.value + !r != !t.oldValue && + ((n = eo(n)).data && n.data.transition + ? ((n.data.show = !0), + r + ? Bi(n, function () { + e.style.display = + e.__vOriginalDisplay + }) + : Ui(n, function () { + e.style.display = 'none' + })) + : (e.style.display = r + ? e.__vOriginalDisplay + : 'none')) + }, + unbind: function (e, t, n, r, i) { + i || (e.style.display = e.__vOriginalDisplay) + }, + }, + }, + no = { + name: String, + appear: Boolean, + css: Boolean, + mode: String, + type: String, + enterClass: String, + leaveClass: String, + enterToClass: String, + leaveToClass: String, + enterActiveClass: String, + leaveActiveClass: String, + appearClass: String, + appearActiveClass: String, + appearToClass: String, + duration: [Number, String, Object], + } + function ro(e) { + var t = e && e.componentOptions + return t && t.Ctor.options.abstract ? ro(Vt(t.children)) : e + } + function io(e) { + var t = {}, + n = e.$options + for (var r in n.propsData) t[r] = e[r] + var i = n._parentListeners + for (var o in i) t[x(o)] = i[o] + return t + } + function oo(e, t) { + if (/\d-keep-alive$/.test(t.tag)) + return e('keep-alive', { + props: t.componentOptions.propsData, + }) + } + var ao = function (e) { + return e.tag || zt(e) + }, + co = function (e) { + return 'show' === e.name + }, + so = { + name: 'transition', + props: no, + abstract: !0, + render: function (e) { + var t = this, + n = this.$slots.default + if (n && (n = n.filter(ao)).length) { + var r = this.mode, + i = n[0] + if ( + (function (e) { + for (; (e = e.parent); ) + if (e.data.transition) return !0 + })(this.$vnode) + ) + return i + var o = ro(i) + if (!o) return i + if (this._leaving) return oo(e, i) + var c = '__transition-' + this._uid + '-' + o.key = + null == o.key + ? o.isComment + ? c + 'comment' + : c + o.tag + : a(o.key) + ? 0 === String(o.key).indexOf(c) + ? o.key + : c + o.key + : o.key + var s = (( + o.data || (o.data = {}) + ).transition = io(this)), + u = this._vnode, + f = ro(u) + if ( + (o.data.directives && + o.data.directives.some(co) && + (o.data.show = !0), + f && + f.data && + !(function (e, t) { + return ( + t.key === e.key && + t.tag === e.tag + ) + })(o, f) && + !zt(f) && + (!f.componentInstance || + !f.componentInstance._vnode + .isComment)) + ) { + var l = (f.data.transition = k({}, s)) + if ('out-in' === r) + return ( + (this._leaving = !0), + at(l, 'afterLeave', function () { + ;(t._leaving = !1), + t.$forceUpdate() + }), + oo(e, i) + ) + if ('in-out' === r) { + if (zt(o)) return u + var p, + d = function () { + p() + } + at(s, 'afterEnter', d), + at(s, 'enterCancelled', d), + at(l, 'delayLeave', function (e) { + p = e + }) + } + } + return i + } + }, + }, + uo = k({ tag: String, moveClass: String }, no) + function fo(e) { + e.elm._moveCb && e.elm._moveCb(), + e.elm._enterCb && e.elm._enterCb() + } + function lo(e) { + e.data.newPos = e.elm.getBoundingClientRect() + } + function po(e) { + var t = e.data.pos, + n = e.data.newPos, + r = t.left - n.left, + i = t.top - n.top + if (r || i) { + e.data.moved = !0 + var o = e.elm.style + ;(o.transform = o.WebkitTransform = + 'translate(' + r + 'px,' + i + 'px)'), + (o.transitionDuration = '0s') + } + } + delete uo.mode + var vo = { + Transition: so, + TransitionGroup: { + props: uo, + beforeMount: function () { + var e = this, + t = this._update + this._update = function (n, r) { + var i = Zt(e) + e.__patch__(e._vnode, e.kept, !1, !0), + (e._vnode = e.kept), + i(), + t.call(e, n, r) + } + }, + render: function (e) { + for ( + var t = + this.tag || + this.$vnode.data.tag || + 'span', + n = Object.create(null), + r = (this.prevChildren = this.children), + i = this.$slots.default || [], + o = (this.children = []), + a = io(this), + c = 0; + c < i.length; + c++ + ) { + var s = i[c] + s.tag && + null != s.key && + 0 !== String(s.key).indexOf('__vlist') && + (o.push(s), + (n[s.key] = s), + ((s.data || (s.data = {})).transition = a)) + } + if (r) { + for ( + var u = [], f = [], l = 0; + l < r.length; + l++ + ) { + var p = r[l] + ;(p.data.transition = a), + (p.data.pos = p.elm.getBoundingClientRect()), + n[p.key] ? u.push(p) : f.push(p) + } + ;(this.kept = e(t, null, u)), (this.removed = f) + } + return e(t, null, o) + }, + updated: function () { + var e = this.prevChildren, + t = + this.moveClass || + (this.name || 'v') + '-move' + e.length && + this.hasMove(e[0].elm, t) && + (e.forEach(fo), + e.forEach(lo), + e.forEach(po), + (this._reflow = document.body.offsetHeight), + e.forEach(function (e) { + if (e.data.moved) { + var n = e.elm, + r = n.style + Mi(n, t), + (r.transform = r.WebkitTransform = r.transitionDuration = + ''), + n.addEventListener( + ki, + (n._moveCb = function e(r) { + ;(r && r.target !== n) || + (r && + !/transform$/.test( + r.propertyName + )) || + (n.removeEventListener( + ki, + e + ), + (n._moveCb = null), + Ri(n, t)) + }) + ) + } + })) + }, + methods: { + hasMove: function (e, t) { + if (!Ei) return !1 + if (this._hasMove) return this._hasMove + var n = e.cloneNode() + e._transitionClasses && + e._transitionClasses.forEach(function (e) { + wi(n, e) + }), + _i(n, t), + (n.style.display = 'none'), + this.$el.appendChild(n) + var r = Li(n) + return ( + this.$el.removeChild(n), + (this._hasMove = r.hasTransform) + ) + }, + }, + }, + } + ;(En.config.mustUseProp = Rn), + (En.config.isReservedTag = Xn), + (En.config.isReservedAttr = jn), + (En.config.getTagNamespace = Zn), + (En.config.isUnknownElement = function (e) { + if (!V) return !0 + if (Xn(e)) return !1 + if (((e = e.toLowerCase()), null != Yn[e])) return Yn[e] + var t = document.createElement(e) + return e.indexOf('-') > -1 + ? (Yn[e] = + t.constructor === window.HTMLUnknownElement || + t.constructor === window.HTMLElement) + : (Yn[e] = /HTMLUnknownElement/.test(t.toString())) + }), + k(En.options.directives, to), + k(En.options.components, vo), + (En.prototype.__patch__ = V ? Vi : $), + (En.prototype.$mount = function (e, t) { + return (function (e, t, n) { + var r + return ( + (e.$el = t), + e.$options.render || (e.$options.render = ye), + en(e, 'beforeMount'), + (r = function () { + e._update(e._render(), n) + }), + new dn( + e, + r, + $, + { + before: function () { + e._isMounted && + !e._isDestroyed && + en(e, 'beforeUpdate') + }, + }, + !0 + ), + (n = !1), + null == e.$vnode && + ((e._isMounted = !0), en(e, 'mounted')), + e + ) + })(this, (e = e && V ? er(e) : void 0), t) + }), + V && + setTimeout(function () { + F.devtools && ie && ie.emit('init', En) + }, 0) + var ho, + yo = /\{\{((?:.|\r?\n)+?)\}\}/g, + go = /[-.*+?^${}()|[\]\/\\]/g, + mo = _(function (e) { + var t = e[0].replace(go, '\\$&'), + n = e[1].replace(go, '\\$&') + return new RegExp(t + '((?:.|\\n)+?)' + n, 'g') + }), + bo = { + staticKeys: ['staticClass'], + transformNode: function (e, t) { + t.warn + var n = Fr(e, 'class') + n && (e.staticClass = JSON.stringify(n)) + var r = Dr(e, 'class', !1) + r && (e.classBinding = r) + }, + genData: function (e) { + var t = '' + return ( + e.staticClass && + (t += 'staticClass:' + e.staticClass + ','), + e.classBinding && + (t += 'class:' + e.classBinding + ','), + t + ) + }, + }, + _o = { + staticKeys: ['staticStyle'], + transformNode: function (e, t) { + t.warn + var n = Fr(e, 'style') + n && (e.staticStyle = JSON.stringify(si(n))) + var r = Dr(e, 'style', !1) + r && (e.styleBinding = r) + }, + genData: function (e) { + var t = '' + return ( + e.staticStyle && + (t += 'staticStyle:' + e.staticStyle + ','), + e.styleBinding && + (t += 'style:(' + e.styleBinding + '),'), + t + ) + }, + }, + wo = function (e) { + return ( + ((ho = + ho || + document.createElement('div')).innerHTML = e), + ho.textContent + ) + }, + xo = v( + 'area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr' + ), + Oo = v( + 'colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source' + ), + Eo = v( + 'address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track' + ), + So = /^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/, + Ao = /^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/, + Co = '[a-zA-Z_][\\-\\.0-9_a-zA-Z' + B.source + ']*', + ko = '((?:' + Co + '\\:)?' + Co + ')', + To = new RegExp('^<' + ko), + $o = /^\s*(\/?)>/, + No = new RegExp('^<\\/' + ko + '[^>]*>'), + jo = /^]+>/i, + Mo = /^', + '"': '"', + '&': '&', + ' ': '\n', + ' ': '\t', + ''': "'", + }, + Do = /&(?:lt|gt|quot|amp|#39);/g, + Fo = /&(?:lt|gt|quot|amp|#39|#10|#9);/g, + Bo = v('pre,textarea', !0), + Uo = function (e, t) { + return e && Bo(e) && '\n' === t[0] + } + function Ho(e, t) { + var n = t ? Fo : Do + return e.replace(n, function (e) { + return Lo[e] + }) + } + var Ko, + zo, + Vo, + Go, + Wo, + Jo, + qo, + Xo, + Zo = /^@|^v-on:/, + Yo = /^v-|^@|^:|^#/, + Qo = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/, + ea = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, + ta = /^\(|\)$/g, + na = /^\[.*\]$/, + ra = /:(.*)$/, + ia = /^:|^\.|^v-bind:/, + oa = /\.[^.\]]+(?=[^\]]*$)/g, + aa = /^v-slot(:|$)|^#/, + ca = /[\r\n]/, + sa = /\s+/g, + ua = _(wo), + fa = '_empty_' + function la(e, t, n) { + return { + type: 1, + tag: e, + attrsList: t, + attrsMap: ma(t), + rawAttrsMap: {}, + parent: n, + children: [], + } + } + function pa(e, t) { + ;(Ko = t.warn || $r), + (Jo = t.isPreTag || N), + (qo = t.mustUseProp || N), + (Xo = t.getTagNamespace || N), + t.isReservedTag, + (Vo = Nr(t.modules, 'transformNode')), + (Go = Nr(t.modules, 'preTransformNode')), + (Wo = Nr(t.modules, 'postTransformNode')), + (zo = t.delimiters) + var n, + r, + i = [], + o = !1 !== t.preserveWhitespace, + a = t.whitespace, + c = !1, + s = !1 + function u(e) { + if ( + (f(e), + c || e.processed || (e = da(e, t)), + i.length || + e === n || + (n.if && + (e.elseif || e.else) && + ha(n, { exp: e.elseif, block: e })), + r && !e.forbidden) + ) + if (e.elseif || e.else) + (a = e), + (u = (function (e) { + for (var t = e.length; t--; ) { + if (1 === e[t].type) return e[t] + e.pop() + } + })(r.children)) && + u.if && + ha(u, { exp: a.elseif, block: a }) + else { + if (e.slotScope) { + var o = e.slotTarget || '"default"' + ;(r.scopedSlots || (r.scopedSlots = {}))[ + o + ] = e + } + r.children.push(e), (e.parent = r) + } + var a, u + ;(e.children = e.children.filter(function (e) { + return !e.slotScope + })), + f(e), + e.pre && (c = !1), + Jo(e.tag) && (s = !1) + for (var l = 0; l < Wo.length; l++) Wo[l](e, t) + } + function f(e) { + if (!s) + for ( + var t; + (t = e.children[e.children.length - 1]) && + 3 === t.type && + ' ' === t.text; + + ) + e.children.pop() + } + return ( + (function (e, t) { + for ( + var n, + r, + i = [], + o = t.expectHTML, + a = t.isUnaryTag || N, + c = t.canBeLeftOpenTag || N, + s = 0; + e; + + ) { + if (((n = e), r && Po(r))) { + var u = 0, + f = r.toLowerCase(), + l = + Io[f] || + (Io[f] = new RegExp( + '([\\s\\S]*?)(]*>)', + 'i' + )), + p = e.replace(l, function (e, n, r) { + return ( + (u = r.length), + Po(f) || + 'noscript' === f || + (n = n + .replace( + //g, + '$1' + ) + .replace( + //g, + '$1' + )), + Uo(f, n) && (n = n.slice(1)), + t.chars && t.chars(n), + '' + ) + }) + ;(s += e.length - p.length), + (e = p), + A(f, s - u, s) + } else { + var d = e.indexOf('<') + if (0 === d) { + if (Mo.test(e)) { + var v = e.indexOf('--\x3e') + if (v >= 0) { + t.shouldKeepComment && + t.comment( + e.substring(4, v), + s, + s + v + 3 + ), + O(v + 3) + continue + } + } + if (Ro.test(e)) { + var h = e.indexOf(']>') + if (h >= 0) { + O(h + 2) + continue + } + } + var y = e.match(jo) + if (y) { + O(y[0].length) + continue + } + var g = e.match(No) + if (g) { + var m = s + O(g[0].length), A(g[1], m, s) + continue + } + var b = E() + if (b) { + S(b), Uo(b.tagName, e) && O(1) + continue + } + } + var _ = void 0, + w = void 0, + x = void 0 + if (d >= 0) { + for ( + w = e.slice(d); + !( + No.test(w) || + To.test(w) || + Mo.test(w) || + Ro.test(w) || + (x = w.indexOf('<', 1)) < 0 + ); + + ) + (d += x), (w = e.slice(d)) + _ = e.substring(0, d) + } + d < 0 && (_ = e), + _ && O(_.length), + t.chars && + _ && + t.chars(_, s - _.length, s) + } + if (e === n) { + t.chars && t.chars(e) + break + } + } + function O(t) { + ;(s += t), (e = e.substring(t)) + } + function E() { + var t = e.match(To) + if (t) { + var n, + r, + i = { + tagName: t[1], + attrs: [], + start: s, + } + for ( + O(t[0].length); + !(n = e.match($o)) && + (r = e.match(Ao) || e.match(So)); + + ) + (r.start = s), + O(r[0].length), + (r.end = s), + i.attrs.push(r) + if (n) + return ( + (i.unarySlash = n[1]), + O(n[0].length), + (i.end = s), + i + ) + } + } + function S(e) { + var n = e.tagName, + s = e.unarySlash + o && + ('p' === r && Eo(n) && A(r), + c(n) && r === n && A(n)) + for ( + var u = a(n) || !!s, + f = e.attrs.length, + l = new Array(f), + p = 0; + p < f; + p++ + ) { + var d = e.attrs[p], + v = d[3] || d[4] || d[5] || '', + h = + 'a' === n && 'href' === d[1] + ? t.shouldDecodeNewlinesForHref + : t.shouldDecodeNewlines + l[p] = { name: d[1], value: Ho(v, h) } + } + u || + (i.push({ + tag: n, + lowerCasedTag: n.toLowerCase(), + attrs: l, + start: e.start, + end: e.end, + }), + (r = n)), + t.start && t.start(n, l, u, e.start, e.end) + } + function A(e, n, o) { + var a, c + if ( + (null == n && (n = s), + null == o && (o = s), + e) + ) + for ( + c = e.toLowerCase(), a = i.length - 1; + a >= 0 && i[a].lowerCasedTag !== c; + a-- + ); + else a = 0 + if (a >= 0) { + for (var u = i.length - 1; u >= a; u--) + t.end && t.end(i[u].tag, n, o) + ;(i.length = a), (r = a && i[a - 1].tag) + } else + 'br' === c + ? t.start && t.start(e, [], !0, n, o) + : 'p' === c && + (t.start && t.start(e, [], !1, n, o), + t.end && t.end(e, n, o)) + } + A() + })(e, { + warn: Ko, + expectHTML: t.expectHTML, + isUnaryTag: t.isUnaryTag, + canBeLeftOpenTag: t.canBeLeftOpenTag, + shouldDecodeNewlines: t.shouldDecodeNewlines, + shouldDecodeNewlinesForHref: + t.shouldDecodeNewlinesForHref, + shouldKeepComment: t.comments, + outputSourceRange: t.outputSourceRange, + start: function (e, o, a, f, l) { + var p = (r && r.ns) || Xo(e) + q && + 'svg' === p && + (o = (function (e) { + for ( + var t = [], n = 0; + n < e.length; + n++ + ) { + var r = e[n] + ba.test(r.name) || + ((r.name = r.name.replace( + _a, + '' + )), + t.push(r)) + } + return t + })(o)) + var d, + v = la(e, o, r) + p && (v.ns = p), + ('style' !== (d = v).tag && + ('script' !== d.tag || + (d.attrsMap.type && + 'text/javascript' !== + d.attrsMap.type))) || + re() || + (v.forbidden = !0) + for (var h = 0; h < Go.length; h++) + v = Go[h](v, t) || v + c || + ((function (e) { + null != Fr(e, 'v-pre') && (e.pre = !0) + })(v), + v.pre && (c = !0)), + Jo(v.tag) && (s = !0), + c + ? (function (e) { + var t = e.attrsList, + n = t.length + if (n) + for ( + var r = (e.attrs = new Array( + n + )), + i = 0; + i < n; + i++ + ) + (r[i] = { + name: t[i].name, + value: JSON.stringify( + t[i].value + ), + }), + null != t[i].start && + ((r[i].start = + t[i].start), + (r[i].end = + t[i].end)) + else e.pre || (e.plain = !0) + })(v) + : v.processed || + (va(v), + (function (e) { + var t = Fr(e, 'v-if') + if (t) + (e.if = t), + ha(e, { + exp: t, + block: e, + }) + else { + null != Fr(e, 'v-else') && + (e.else = !0) + var n = Fr(e, 'v-else-if') + n && (e.elseif = n) + } + })(v), + (function (e) { + null != Fr(e, 'v-once') && + (e.once = !0) + })(v)), + n || (n = v), + a ? u(v) : ((r = v), i.push(v)) + }, + end: function (e, t, n) { + var o = i[i.length - 1] + ;(i.length -= 1), (r = i[i.length - 1]), u(o) + }, + chars: function (e, t, n) { + if ( + r && + (!q || + 'textarea' !== r.tag || + r.attrsMap.placeholder !== e) + ) { + var i, + u, + f, + l = r.children + ;(e = + s || e.trim() + ? 'script' === (i = r).tag || + 'style' === i.tag + ? e + : ua(e) + : l.length + ? a + ? 'condense' === a && ca.test(e) + ? '' + : ' ' + : o + ? ' ' + : '' + : '') && + (s || + 'condense' !== a || + (e = e.replace(sa, ' ')), + !c && + ' ' !== e && + (u = (function (e, t) { + var n = t ? mo(t) : yo + if (n.test(e)) { + for ( + var r, + i, + o, + a = [], + c = [], + s = (n.lastIndex = 0); + (r = n.exec(e)); + + ) { + ;(i = r.index) > s && + (c.push( + (o = e.slice(s, i)) + ), + a.push( + JSON.stringify(o) + )) + var u = kr(r[1].trim()) + a.push('_s(' + u + ')'), + c.push({ + '@binding': u, + }), + (s = i + r[0].length) + } + return ( + s < e.length && + (c.push( + (o = e.slice(s)) + ), + a.push( + JSON.stringify(o) + )), + { + expression: a.join('+'), + tokens: c, + } + ) + } + })(e, zo)) + ? (f = { + type: 2, + expression: u.expression, + tokens: u.tokens, + text: e, + }) + : (' ' === e && + l.length && + ' ' === + l[l.length - 1].text) || + (f = { type: 3, text: e }), + f && l.push(f)) + } + }, + comment: function (e, t, n) { + if (r) { + var i = { type: 3, text: e, isComment: !0 } + r.children.push(i) + } + }, + }), + n + ) + } + function da(e, t) { + var n, r + ;(r = Dr((n = e), 'key')) && (n.key = r), + (e.plain = + !e.key && !e.scopedSlots && !e.attrsList.length), + (function (e) { + var t = Dr(e, 'ref') + t && + ((e.ref = t), + (e.refInFor = (function (e) { + for (var t = e; t; ) { + if (void 0 !== t.for) return !0 + t = t.parent + } + return !1 + })(e))) + })(e), + (function (e) { + var t + 'template' === e.tag + ? ((t = Fr(e, 'scope')), + (e.slotScope = t || Fr(e, 'slot-scope'))) + : (t = Fr(e, 'slot-scope')) && (e.slotScope = t) + var n = Dr(e, 'slot') + if ( + (n && + ((e.slotTarget = + '""' === n ? '"default"' : n), + (e.slotTargetDynamic = !( + !e.attrsMap[':slot'] && + !e.attrsMap['v-bind:slot'] + )), + 'template' === e.tag || + e.slotScope || + Mr( + e, + 'slot', + n, + (function (e, t) { + return ( + e.rawAttrsMap[':' + t] || + e.rawAttrsMap[ + 'v-bind:' + t + ] || + e.rawAttrsMap[t] + ) + })(e, 'slot') + )), + 'template' === e.tag) + ) { + var r = Br(e, aa) + if (r) { + var i = ya(r), + o = i.name, + a = i.dynamic + ;(e.slotTarget = o), + (e.slotTargetDynamic = a), + (e.slotScope = r.value || fa) + } + } else { + var c = Br(e, aa) + if (c) { + var s = + e.scopedSlots || + (e.scopedSlots = {}), + u = ya(c), + f = u.name, + l = u.dynamic, + p = (s[f] = la('template', [], e)) + ;(p.slotTarget = f), + (p.slotTargetDynamic = l), + (p.children = e.children.filter( + function (e) { + if (!e.slotScope) + return (e.parent = p), !0 + } + )), + (p.slotScope = c.value || fa), + (e.children = []), + (e.plain = !1) + } + } + })(e), + (function (e) { + 'slot' === e.tag && (e.slotName = Dr(e, 'name')) + })(e), + (function (e) { + var t + ;(t = Dr(e, 'is')) && (e.component = t), + null != Fr(e, 'inline-template') && + (e.inlineTemplate = !0) + })(e) + for (var i = 0; i < Vo.length; i++) e = Vo[i](e, t) || e + return ( + (function (e) { + var t, + n, + r, + i, + o, + a, + c, + s, + u = e.attrsList + for (t = 0, n = u.length; t < n; t++) + if ( + ((r = i = u[t].name), + (o = u[t].value), + Yo.test(r)) + ) + if ( + ((e.hasBindings = !0), + (a = ga(r.replace(Yo, ''))) && + (r = r.replace(oa, '')), + ia.test(r)) + ) + (r = r.replace(ia, '')), + (o = kr(o)), + (s = na.test(r)) && + (r = r.slice(1, -1)), + a && + (a.prop && + !s && + 'innerHtml' === + (r = x(r)) && + (r = 'innerHTML'), + a.camel && !s && (r = x(r)), + a.sync && + ((c = Kr(o, '$event')), + s + ? Lr( + e, + '"update:"+(' + + r + + ')', + c, + null, + !1, + 0, + u[t], + !0 + ) + : (Lr( + e, + 'update:' + x(r), + c, + null, + !1, + 0, + u[t] + ), + S(r) !== x(r) && + Lr( + e, + 'update:' + + S(r), + c, + null, + !1, + 0, + u[t] + )))), + (a && a.prop) || + (!e.component && + qo(e.tag, e.attrsMap.type, r)) + ? jr(e, r, o, u[t], s) + : Mr(e, r, o, u[t], s) + else if (Zo.test(r)) + (r = r.replace(Zo, '')), + (s = na.test(r)) && + (r = r.slice(1, -1)), + Lr(e, r, o, a, !1, 0, u[t], s) + else { + var f = (r = r.replace(Yo, '')).match( + ra + ), + l = f && f[1] + ;(s = !1), + l && + ((r = r.slice( + 0, + -(l.length + 1) + )), + na.test(l) && + ((l = l.slice(1, -1)), + (s = !0))), + Pr(e, r, i, o, l, s, a, u[t]) + } + else + Mr(e, r, JSON.stringify(o), u[t]), + !e.component && + 'muted' === r && + qo(e.tag, e.attrsMap.type, r) && + jr(e, r, 'true', u[t]) + })(e), + e + ) + } + function va(e) { + var t + if ((t = Fr(e, 'v-for'))) { + var n = (function (e) { + var t = e.match(Qo) + if (t) { + var n = {} + n.for = t[2].trim() + var r = t[1].trim().replace(ta, ''), + i = r.match(ea) + return ( + i + ? ((n.alias = r.replace(ea, '').trim()), + (n.iterator1 = i[1].trim()), + i[2] && (n.iterator2 = i[2].trim())) + : (n.alias = r), + n + ) + } + })(t) + n && k(e, n) + } + } + function ha(e, t) { + e.ifConditions || (e.ifConditions = []), + e.ifConditions.push(t) + } + function ya(e) { + var t = e.name.replace(aa, '') + return ( + t || ('#' !== e.name[0] && (t = 'default')), + na.test(t) + ? { name: t.slice(1, -1), dynamic: !0 } + : { name: '"' + t + '"', dynamic: !1 } + ) + } + function ga(e) { + var t = e.match(oa) + if (t) { + var n = {} + return ( + t.forEach(function (e) { + n[e.slice(1)] = !0 + }), + n + ) + } + } + function ma(e) { + for (var t = {}, n = 0, r = e.length; n < r; n++) + t[e[n].name] = e[n].value + return t + } + var ba = /^xmlns:NS\d+/, + _a = /^NS\d+:/ + function wa(e) { + return la(e.tag, e.attrsList.slice(), e.parent) + } + var xa, + Oa, + Ea = [ + bo, + _o, + { + preTransformNode: function (e, t) { + if ('input' === e.tag) { + var n, + r = e.attrsMap + if (!r['v-model']) return + if ( + ((r[':type'] || r['v-bind:type']) && + (n = Dr(e, 'type')), + r.type || + n || + !r['v-bind'] || + (n = '(' + r['v-bind'] + ').type'), + n) + ) { + var i = Fr(e, 'v-if', !0), + o = i ? '&&(' + i + ')' : '', + a = null != Fr(e, 'v-else', !0), + c = Fr(e, 'v-else-if', !0), + s = wa(e) + va(s), + Rr(s, 'type', 'checkbox'), + da(s, t), + (s.processed = !0), + (s.if = + '(' + n + ")==='checkbox'" + o), + ha(s, { exp: s.if, block: s }) + var u = wa(e) + Fr(u, 'v-for', !0), + Rr(u, 'type', 'radio'), + da(u, t), + ha(s, { + exp: + '(' + n + ")==='radio'" + o, + block: u, + }) + var f = wa(e) + return ( + Fr(f, 'v-for', !0), + Rr(f, ':type', n), + da(f, t), + ha(s, { exp: i, block: f }), + a + ? (s.else = !0) + : c && (s.elseif = c), + s + ) + } + } + }, + }, + ], + Sa = { + expectHTML: !0, + modules: Ea, + directives: { + model: function (e, t, n) { + var r = t.value, + i = t.modifiers, + o = e.tag, + a = e.attrsMap.type + if (e.component) return Hr(e, r, i), !1 + if ('select' === o) + !(function (e, t, n) { + var r = + 'var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return ' + + (n && n.number + ? '_n(val)' + : 'val') + + '});' + ;(r = + r + + ' ' + + Kr( + t, + '$event.target.multiple ? $$selectedVal : $$selectedVal[0]' + )), + Lr(e, 'change', r, null, !0) + })(e, r, i) + else if ('input' === o && 'checkbox' === a) + !(function (e, t, n) { + var r = n && n.number, + i = Dr(e, 'value') || 'null', + o = Dr(e, 'true-value') || 'true', + a = Dr(e, 'false-value') || 'false' + jr( + e, + 'checked', + 'Array.isArray(' + + t + + ')?_i(' + + t + + ',' + + i + + ')>-1' + + ('true' === o + ? ':(' + t + ')' + : ':_q(' + + t + + ',' + + o + + ')') + ), + Lr( + e, + 'change', + 'var $$a=' + + t + + ',$$el=$event.target,$$c=$$el.checked?(' + + o + + '):(' + + a + + ');if(Array.isArray($$a)){var $$v=' + + (r ? '_n(' + i + ')' : i) + + ',$$i=_i($$a,$$v);if($$el.checked){$$i<0&&(' + + Kr(t, '$$a.concat([$$v])') + + ')}else{$$i>-1&&(' + + Kr( + t, + '$$a.slice(0,$$i).concat($$a.slice($$i+1))' + ) + + ')}}else{' + + Kr(t, '$$c') + + '}', + null, + !0 + ) + })(e, r, i) + else if ('input' === o && 'radio' === a) + !(function (e, t, n) { + var r = n && n.number, + i = Dr(e, 'value') || 'null' + jr( + e, + 'checked', + '_q(' + + t + + ',' + + (i = r ? '_n(' + i + ')' : i) + + ')' + ), + Lr(e, 'change', Kr(t, i), null, !0) + })(e, r, i) + else if ('input' === o || 'textarea' === o) + !(function (e, t, n) { + var r = e.attrsMap.type, + i = n || {}, + o = i.lazy, + a = i.number, + c = i.trim, + s = !o && 'range' !== r, + u = o + ? 'change' + : 'range' === r + ? Xr + : 'input', + f = '$event.target.value' + c && (f = '$event.target.value.trim()'), + a && (f = '_n(' + f + ')') + var l = Kr(t, f) + s && + (l = + 'if($event.target.composing)return;' + + l), + jr(e, 'value', '(' + t + ')'), + Lr(e, u, l, null, !0), + (c || a) && + Lr(e, 'blur', '$forceUpdate()') + })(e, r, i) + else if (!F.isReservedTag(o)) + return Hr(e, r, i), !1 + return !0 + }, + text: function (e, t) { + t.value && + jr( + e, + 'textContent', + '_s(' + t.value + ')', + t + ) + }, + html: function (e, t) { + t.value && + jr(e, 'innerHTML', '_s(' + t.value + ')', t) + }, + }, + isPreTag: function (e) { + return 'pre' === e + }, + isUnaryTag: xo, + mustUseProp: Rn, + canBeLeftOpenTag: Oo, + isReservedTag: Xn, + getTagNamespace: Zn, + staticKeys: (function (e) { + return e + .reduce(function (e, t) { + return e.concat(t.staticKeys || []) + }, []) + .join(',') + })(Ea), + }, + Aa = _(function (e) { + return v( + 'type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap' + + (e ? ',' + e : '') + ) + }) + function Ca(e, t) { + e && + ((xa = Aa(t.staticKeys || '')), + (Oa = t.isReservedTag || N), + (function e(t) { + if ( + ((t.static = (function (e) { + return ( + 2 !== e.type && + (3 === e.type || + !( + !e.pre && + (e.hasBindings || + e.if || + e.for || + h(e.tag) || + !Oa(e.tag) || + (function (e) { + for (; e.parent; ) { + if ( + 'template' !== + (e = e.parent) + .tag + ) + return !1 + if (e.for) return !0 + } + return !1 + })(e) || + !Object.keys(e).every(xa)) + )) + ) + })(t)), + 1 === t.type) + ) { + if ( + !Oa(t.tag) && + 'slot' !== t.tag && + null == t.attrsMap['inline-template'] + ) + return + for ( + var n = 0, r = t.children.length; + n < r; + n++ + ) { + var i = t.children[n] + e(i), i.static || (t.static = !1) + } + if (t.ifConditions) + for ( + var o = 1, a = t.ifConditions.length; + o < a; + o++ + ) { + var c = t.ifConditions[o].block + e(c), c.static || (t.static = !1) + } + } + })(e), + (function e(t, n) { + if (1 === t.type) { + if ( + ((t.static || t.once) && + (t.staticInFor = n), + t.static && + t.children.length && + (1 !== t.children.length || + 3 !== t.children[0].type)) + ) + return void (t.staticRoot = !0) + if (((t.staticRoot = !1), t.children)) + for ( + var r = 0, i = t.children.length; + r < i; + r++ + ) + e(t.children[r], n || !!t.for) + if (t.ifConditions) + for ( + var o = 1, a = t.ifConditions.length; + o < a; + o++ + ) + e(t.ifConditions[o].block, n) + } + })(e, !1)) + } + var ka = /^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/, + Ta = /\([^)]*?\);*$/, + $a = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/, + Na = { + esc: 27, + tab: 9, + enter: 13, + space: 32, + up: 38, + left: 37, + right: 39, + down: 40, + delete: [8, 46], + }, + ja = { + esc: ['Esc', 'Escape'], + tab: 'Tab', + enter: 'Enter', + space: [' ', 'Spacebar'], + up: ['Up', 'ArrowUp'], + left: ['Left', 'ArrowLeft'], + right: ['Right', 'ArrowRight'], + down: ['Down', 'ArrowDown'], + delete: ['Backspace', 'Delete', 'Del'], + }, + Ma = function (e) { + return 'if(' + e + ')return null;' + }, + Ra = { + stop: '$event.stopPropagation();', + prevent: '$event.preventDefault();', + self: Ma('$event.target !== $event.currentTarget'), + ctrl: Ma('!$event.ctrlKey'), + shift: Ma('!$event.shiftKey'), + alt: Ma('!$event.altKey'), + meta: Ma('!$event.metaKey'), + left: Ma("'button' in $event && $event.button !== 0"), + middle: Ma("'button' in $event && $event.button !== 1"), + right: Ma("'button' in $event && $event.button !== 2"), + } + function Pa(e, t) { + var n = t ? 'nativeOn:' : 'on:', + r = '', + i = '' + for (var o in e) { + var a = Ia(e[o]) + e[o] && e[o].dynamic + ? (i += o + ',' + a + ',') + : (r += '"' + o + '":' + a + ',') + } + return ( + (r = '{' + r.slice(0, -1) + '}'), + i ? n + '_d(' + r + ',[' + i.slice(0, -1) + '])' : n + r + ) + } + function Ia(e) { + if (!e) return 'function(){}' + if (Array.isArray(e)) + return ( + '[' + + e + .map(function (e) { + return Ia(e) + }) + .join(',') + + ']' + ) + var t = $a.test(e.value), + n = ka.test(e.value), + r = $a.test(e.value.replace(Ta, '')) + if (e.modifiers) { + var i = '', + o = '', + a = [] + for (var c in e.modifiers) + if (Ra[c]) (o += Ra[c]), Na[c] && a.push(c) + else if ('exact' === c) { + var s = e.modifiers + o += Ma( + ['ctrl', 'shift', 'alt', 'meta'] + .filter(function (e) { + return !s[e] + }) + .map(function (e) { + return '$event.' + e + 'Key' + }) + .join('||') + ) + } else a.push(c) + return ( + a.length && + (i += (function (e) { + return ( + "if(!$event.type.indexOf('key')&&" + + e.map(La).join('&&') + + ')return null;' + ) + })(a)), + o && (i += o), + 'function($event){' + + i + + (t + ? 'return ' + e.value + '($event)' + : n + ? 'return (' + e.value + ')($event)' + : r + ? 'return ' + e.value + : e.value) + + '}' + ) + } + return t || n + ? e.value + : 'function($event){' + + (r ? 'return ' + e.value : e.value) + + '}' + } + function La(e) { + var t = parseInt(e, 10) + if (t) return '$event.keyCode!==' + t + var n = Na[e], + r = ja[e] + return ( + '_k($event.keyCode,' + + JSON.stringify(e) + + ',' + + JSON.stringify(n) + + ',$event.key,' + + JSON.stringify(r) + + ')' + ) + } + var Da = { + on: function (e, t) { + e.wrapListeners = function (e) { + return '_g(' + e + ',' + t.value + ')' + } + }, + bind: function (e, t) { + e.wrapData = function (n) { + return ( + '_b(' + + n + + ",'" + + e.tag + + "'," + + t.value + + ',' + + (t.modifiers && t.modifiers.prop + ? 'true' + : 'false') + + (t.modifiers && t.modifiers.sync + ? ',true' + : '') + + ')' + ) + } + }, + cloak: $, + }, + Fa = function (e) { + ;(this.options = e), + (this.warn = e.warn || $r), + (this.transforms = Nr(e.modules, 'transformCode')), + (this.dataGenFns = Nr(e.modules, 'genData')), + (this.directives = k(k({}, Da), e.directives)) + var t = e.isReservedTag || N + ;(this.maybeComponent = function (e) { + return !!e.component || !t(e.tag) + }), + (this.onceId = 0), + (this.staticRenderFns = []), + (this.pre = !1) + } + function Ba(e, t) { + var n = new Fa(t) + return { + render: + 'with(this){return ' + + (e ? Ua(e, n) : '_c("div")') + + '}', + staticRenderFns: n.staticRenderFns, + } + } + function Ua(e, t) { + if ( + (e.parent && (e.pre = e.pre || e.parent.pre), + e.staticRoot && !e.staticProcessed) + ) + return Ha(e, t) + if (e.once && !e.onceProcessed) return Ka(e, t) + if (e.for && !e.forProcessed) return Va(e, t) + if (e.if && !e.ifProcessed) return za(e, t) + if ('template' !== e.tag || e.slotTarget || t.pre) { + if ('slot' === e.tag) + return (function (e, t) { + var n = e.slotName || '"default"', + r = qa(e, t), + i = '_t(' + n + (r ? ',' + r : ''), + o = + e.attrs || e.dynamicAttrs + ? Ya( + (e.attrs || []) + .concat( + e.dynamicAttrs || [] + ) + .map(function (e) { + return { + name: x(e.name), + value: e.value, + dynamic: + e.dynamic, + } + }) + ) + : null, + a = e.attrsMap['v-bind'] + return ( + (!o && !a) || r || (i += ',null'), + o && (i += ',' + o), + a && (i += (o ? '' : ',null') + ',' + a), + i + ')' + ) + })(e, t) + var n + if (e.component) + n = (function (e, t, n) { + var r = t.inlineTemplate ? null : qa(t, n, !0) + return ( + '_c(' + + e + + ',' + + Ga(t, n) + + (r ? ',' + r : '') + + ')' + ) + })(e.component, e, t) + else { + var r + ;(!e.plain || (e.pre && t.maybeComponent(e))) && + (r = Ga(e, t)) + var i = e.inlineTemplate ? null : qa(e, t, !0) + n = + "_c('" + + e.tag + + "'" + + (r ? ',' + r : '') + + (i ? ',' + i : '') + + ')' + } + for (var o = 0; o < t.transforms.length; o++) + n = t.transforms[o](e, n) + return n + } + return qa(e, t) || 'void 0' + } + function Ha(e, t) { + e.staticProcessed = !0 + var n = t.pre + return ( + e.pre && (t.pre = e.pre), + t.staticRenderFns.push( + 'with(this){return ' + Ua(e, t) + '}' + ), + (t.pre = n), + '_m(' + + (t.staticRenderFns.length - 1) + + (e.staticInFor ? ',true' : '') + + ')' + ) + } + function Ka(e, t) { + if (((e.onceProcessed = !0), e.if && !e.ifProcessed)) + return za(e, t) + if (e.staticInFor) { + for (var n = '', r = e.parent; r; ) { + if (r.for) { + n = r.key + break + } + r = r.parent + } + return n + ? '_o(' + + Ua(e, t) + + ',' + + t.onceId++ + + ',' + + n + + ')' + : Ua(e, t) + } + return Ha(e, t) + } + function za(e, t, n, r) { + return ( + (e.ifProcessed = !0), + (function e(t, n, r, i) { + if (!t.length) return i || '_e()' + var o = t.shift() + return o.exp + ? '(' + + o.exp + + ')?' + + a(o.block) + + ':' + + e(t, n, r, i) + : '' + a(o.block) + function a(e) { + return r + ? r(e, n) + : e.once + ? Ka(e, n) + : Ua(e, n) + } + })(e.ifConditions.slice(), t, n, r) + ) + } + function Va(e, t, n, r) { + var i = e.for, + o = e.alias, + a = e.iterator1 ? ',' + e.iterator1 : '', + c = e.iterator2 ? ',' + e.iterator2 : '' + return ( + (e.forProcessed = !0), + (r || '_l') + + '((' + + i + + '),function(' + + o + + a + + c + + '){return ' + + (n || Ua)(e, t) + + '})' + ) + } + function Ga(e, t) { + var n = '{', + r = (function (e, t) { + var n = e.directives + if (n) { + var r, + i, + o, + a, + c = 'directives:[', + s = !1 + for (r = 0, i = n.length; r < i; r++) { + ;(o = n[r]), (a = !0) + var u = t.directives[o.name] + u && (a = !!u(e, o, t.warn)), + a && + ((s = !0), + (c += + '{name:"' + + o.name + + '",rawName:"' + + o.rawName + + '"' + + (o.value + ? ',value:(' + + o.value + + '),expression:' + + JSON.stringify(o.value) + : '') + + (o.arg + ? ',arg:' + + (o.isDynamicArg + ? o.arg + : '"' + o.arg + '"') + : '') + + (o.modifiers + ? ',modifiers:' + + JSON.stringify( + o.modifiers + ) + : '') + + '},')) + } + return s ? c.slice(0, -1) + ']' : void 0 + } + })(e, t) + r && (n += r + ','), + e.key && (n += 'key:' + e.key + ','), + e.ref && (n += 'ref:' + e.ref + ','), + e.refInFor && (n += 'refInFor:true,'), + e.pre && (n += 'pre:true,'), + e.component && (n += 'tag:"' + e.tag + '",') + for (var i = 0; i < t.dataGenFns.length; i++) + n += t.dataGenFns[i](e) + if ( + (e.attrs && (n += 'attrs:' + Ya(e.attrs) + ','), + e.props && (n += 'domProps:' + Ya(e.props) + ','), + e.events && (n += Pa(e.events, !1) + ','), + e.nativeEvents && (n += Pa(e.nativeEvents, !0) + ','), + e.slotTarget && + !e.slotScope && + (n += 'slot:' + e.slotTarget + ','), + e.scopedSlots && + (n += + (function (e, t, n) { + var r = + e.for || + Object.keys(t).some(function (e) { + var n = t[e] + return ( + n.slotTargetDynamic || + n.if || + n.for || + Wa(n) + ) + }), + i = !!e.if + if (!r) + for (var o = e.parent; o; ) { + if ( + (o.slotScope && + o.slotScope !== fa) || + o.for + ) { + r = !0 + break + } + o.if && (i = !0), (o = o.parent) + } + var a = Object.keys(t) + .map(function (e) { + return Ja(t[e], n) + }) + .join(',') + return ( + 'scopedSlots:_u([' + + a + + ']' + + (r ? ',null,true' : '') + + (!r && i + ? ',null,false,' + + (function (e) { + for ( + var t = 5381, + n = e.length; + n; + + ) + t = + (33 * t) ^ + e.charCodeAt(--n) + return t >>> 0 + })(a) + : '') + + ')' + ) + })(e, e.scopedSlots, t) + ','), + e.model && + (n += + 'model:{value:' + + e.model.value + + ',callback:' + + e.model.callback + + ',expression:' + + e.model.expression + + '},'), + e.inlineTemplate) + ) { + var o = (function (e, t) { + var n = e.children[0] + if (n && 1 === n.type) { + var r = Ba(n, t.options) + return ( + 'inlineTemplate:{render:function(){' + + r.render + + '},staticRenderFns:[' + + r.staticRenderFns + .map(function (e) { + return 'function(){' + e + '}' + }) + .join(',') + + ']}' + ) + } + })(e, t) + o && (n += o + ',') + } + return ( + (n = n.replace(/,$/, '') + '}'), + e.dynamicAttrs && + (n = + '_b(' + + n + + ',"' + + e.tag + + '",' + + Ya(e.dynamicAttrs) + + ')'), + e.wrapData && (n = e.wrapData(n)), + e.wrapListeners && (n = e.wrapListeners(n)), + n + ) + } + function Wa(e) { + return ( + 1 === e.type && + ('slot' === e.tag || e.children.some(Wa)) + ) + } + function Ja(e, t) { + var n = e.attrsMap['slot-scope'] + if (e.if && !e.ifProcessed && !n) + return za(e, t, Ja, 'null') + if (e.for && !e.forProcessed) return Va(e, t, Ja) + var r = e.slotScope === fa ? '' : String(e.slotScope), + i = + 'function(' + + r + + '){return ' + + ('template' === e.tag + ? e.if && n + ? '(' + + e.if + + ')?' + + (qa(e, t) || 'undefined') + + ':undefined' + : qa(e, t) || 'undefined' + : Ua(e, t)) + + '}', + o = r ? '' : ',proxy:true' + return ( + '{key:' + + (e.slotTarget || '"default"') + + ',fn:' + + i + + o + + '}' + ) + } + function qa(e, t, n, r, i) { + var o = e.children + if (o.length) { + var a = o[0] + if ( + 1 === o.length && + a.for && + 'template' !== a.tag && + 'slot' !== a.tag + ) { + var c = n ? (t.maybeComponent(a) ? ',1' : ',0') : '' + return '' + (r || Ua)(a, t) + c + } + var s = n + ? (function (e, t) { + for ( + var n = 0, r = 0; + r < e.length; + r++ + ) { + var i = e[r] + if (1 === i.type) { + if ( + Xa(i) || + (i.ifConditions && + i.ifConditions.some( + function (e) { + return Xa(e.block) + } + )) + ) { + n = 2 + break + } + ;(t(i) || + (i.ifConditions && + i.ifConditions.some( + function (e) { + return t(e.block) + } + ))) && + (n = 1) + } + } + return n + })(o, t.maybeComponent) + : 0, + u = i || Za + return ( + '[' + + o + .map(function (e) { + return u(e, t) + }) + .join(',') + + ']' + + (s ? ',' + s : '') + ) + } + } + function Xa(e) { + return ( + void 0 !== e.for || + 'template' === e.tag || + 'slot' === e.tag + ) + } + function Za(e, t) { + return 1 === e.type + ? Ua(e, t) + : 3 === e.type && e.isComment + ? ((r = e), '_e(' + JSON.stringify(r.text) + ')') + : '_v(' + + (2 === (n = e).type + ? n.expression + : Qa(JSON.stringify(n.text))) + + ')' + var n, r + } + function Ya(e) { + for (var t = '', n = '', r = 0; r < e.length; r++) { + var i = e[r], + o = Qa(i.value) + i.dynamic + ? (n += i.name + ',' + o + ',') + : (t += '"' + i.name + '":' + o + ',') + } + return ( + (t = '{' + t.slice(0, -1) + '}'), + n ? '_d(' + t + ',[' + n.slice(0, -1) + '])' : t + ) + } + function Qa(e) { + return e + .replace(/\u2028/g, '\\u2028') + .replace(/\u2029/g, '\\u2029') + } + function ec(e, t) { + try { + return new Function(e) + } catch (i) { + return t.push({ err: i, code: e }), $ + } + } + function tc(e) { + var t = Object.create(null) + return function (n, r, i) { + ;(r = k({}, r)).warn, delete r.warn + var o = r.delimiters ? String(r.delimiters) + n : n + if (t[o]) return t[o] + var a = e(n, r), + c = {}, + s = [] + return ( + (c.render = ec(a.render, s)), + (c.staticRenderFns = a.staticRenderFns.map( + function (e) { + return ec(e, s) + } + )), + (t[o] = c) + ) + } + } + new RegExp( + '\\b' + + 'do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments' + .split(',') + .join('\\b|\\b') + + '\\b' + ) + var nc, + rc, + ic = ((nc = function (e, t) { + var n = pa(e.trim(), t) + !1 !== t.optimize && Ca(n, t) + var r = Ba(n, t) + return { + ast: n, + render: r.render, + staticRenderFns: r.staticRenderFns, + } + }), + function (e) { + function t(t, n) { + var r = Object.create(e), + i = [], + o = [] + if (n) + for (var a in (n.modules && + (r.modules = (e.modules || []).concat( + n.modules + )), + n.directives && + (r.directives = k( + Object.create(e.directives || null), + n.directives + )), + n)) + 'modules' !== a && + 'directives' !== a && + (r[a] = n[a]) + r.warn = function (e, t, n) { + ;(n ? o : i).push(e) + } + var c = nc(t.trim(), r) + return (c.errors = i), (c.tips = o), c + } + return { compile: t, compileToFunctions: tc(t) } + })(Sa), + oc = (ic.compile, ic.compileToFunctions) + function ac(e) { + return ( + ((rc = + rc || document.createElement('div')).innerHTML = e + ? '' + : '
'), + rc.innerHTML.indexOf(' ') > 0 + ) + } + var cc = !!V && ac(!1), + sc = !!V && ac(!0), + uc = _(function (e) { + var t = er(e) + return t && t.innerHTML + }), + fc = En.prototype.$mount + ;(En.prototype.$mount = function (e, t) { + if ( + (e = e && er(e)) === document.body || + e === document.documentElement + ) + return this + var n = this.$options + if (!n.render) { + var r = n.template + if (r) + if ('string' == typeof r) + '#' === r.charAt(0) && (r = uc(r)) + else { + if (!r.nodeType) return this + r = r.innerHTML + } + else + e && + (r = (function (e) { + if (e.outerHTML) return e.outerHTML + var t = document.createElement('div') + return ( + t.appendChild(e.cloneNode(!0)), + t.innerHTML + ) + })(e)) + if (r) { + var i = oc( + r, + { + outputSourceRange: !1, + shouldDecodeNewlines: cc, + shouldDecodeNewlinesForHref: sc, + delimiters: n.delimiters, + comments: n.comments, + }, + this + ), + o = i.render, + a = i.staticRenderFns + ;(n.render = o), (n.staticRenderFns = a) + } + } + return fc.call(this, e, t) + }), + (En.compile = oc), + (e.exports = En) + }.call(this, n('c8ba'))) + }, + '214f': function (e, t, n) { + 'use strict' + n('b0c5') + var r = n('2aba'), + i = n('32e9'), + o = n('79e5'), + a = n('be13'), + c = n('2b4c'), + s = n('520a'), + u = c('species'), + f = !o(function () { + var e = /./ + return ( + (e.exec = function () { + var e = [] + return (e.groups = { a: '7' }), e + }), + '7' !== ''.replace(e, '$') + ) + }), + l = (function () { + var e = /(?:)/, + t = e.exec + e.exec = function () { + return t.apply(this, arguments) + } + var n = 'ab'.split(e) + return 2 === n.length && 'a' === n[0] && 'b' === n[1] + })() + e.exports = function (e, t, n) { + var p = c(e), + d = !o(function () { + var t = {} + return ( + (t[p] = function () { + return 7 + }), + 7 != ''[e](t) + ) + }), + v = d + ? !o(function () { + var t = !1, + n = /a/ + return ( + (n.exec = function () { + return (t = !0), null + }), + 'split' === e && + ((n.constructor = {}), + (n.constructor[u] = function () { + return n + })), + n[p](''), + !t + ) + }) + : void 0 + if ( + !d || + !v || + ('replace' === e && !f) || + ('split' === e && !l) + ) { + var h = /./[p], + y = n(a, p, ''[e], function (e, t, n, r, i) { + return t.exec === s + ? d && !i + ? { done: !0, value: h.call(t, n, r) } + : { done: !0, value: e.call(n, t, r) } + : { done: !1 } + }), + g = y[0], + m = y[1] + r(String.prototype, e, g), + i( + RegExp.prototype, + p, + 2 == t + ? function (e, t) { + return m.call(e, this, t) + } + : function (e) { + return m.call(e, this) + } + ) + } + } + }, + '230e': function (e, t, n) { + var r = n('d3f4'), + i = n('7726').document, + o = r(i) && r(i.createElement) + e.exports = function (e) { + return o ? i.createElement(e) : {} + } + }, + 2397: function (e, t, n) { + var r = n('5ca1'), + i = n('2aeb'), + o = n('d8e8'), + a = n('cb7c'), + c = n('d3f4'), + s = n('79e5'), + u = n('f0c1'), + f = (n('7726').Reflect || {}).construct, + l = s(function () { + function e() {} + return !(f(function () {}, [], e) instanceof e) + }), + p = !s(function () { + f(function () {}) + }) + r(r.S + r.F * (l || p), 'Reflect', { + construct: function (e, t) { + o(e), a(t) + var n = arguments.length < 3 ? e : o(arguments[2]) + if (p && !l) return f(e, t, n) + if (e == n) { + switch (t.length) { + case 0: + return new e() + case 1: + return new e(t[0]) + case 2: + return new e(t[0], t[1]) + case 3: + return new e(t[0], t[1], t[2]) + case 4: + return new e(t[0], t[1], t[2], t[3]) + } + var r = [null] + return r.push.apply(r, t), new (u.apply(e, r))() + } + var s = n.prototype, + d = i(c(s) ? s : Object.prototype), + v = Function.apply.call(e, d, t) + return c(v) ? v : d + }, + }) + }, + '23c6': function (e, t, n) { + var r = n('2d95'), + i = n('2b4c')('toStringTag'), + o = + 'Arguments' == + r( + (function () { + return arguments + })() + ), + a = function (e, t) { + try { + return e[t] + } catch (n) {} + } + e.exports = function (e) { + var t, n, c + return void 0 === e + ? 'Undefined' + : null === e + ? 'Null' + : 'string' == typeof (n = a((t = Object(e)), i)) + ? n + : o + ? r(t) + : 'Object' == (c = r(t)) && 'function' == typeof t.callee + ? 'Arguments' + : c + } + }, + '241e': function (e, t, n) { + var r = n('25eb') + e.exports = function (e) { + return Object(r(e)) + } + }, + '25b0': function (e, t, n) { + n('1df8'), (e.exports = n('584a').Object.setPrototypeOf) + }, + '25eb': function (e, t) { + e.exports = function (e) { + if (void 0 == e) throw TypeError("Can't call method on " + e) + return e + } + }, + 2621: function (e, t) { + t.f = Object.getOwnPropertySymbols + }, + '27ee': function (e, t, n) { + var r = n('23c6'), + i = n('2b4c')('iterator'), + o = n('84f2') + e.exports = n('8378').getIteratorMethod = function (e) { + if (void 0 != e) return e[i] || e['@@iterator'] || o[r(e)] + } + }, + 2877: function (e, t, n) { + 'use strict' + function r(e, t, n, r, i, o, a, c) { + var s, + u = 'function' === typeof e ? e.options : e + if ( + (t && + ((u.render = t), + (u.staticRenderFns = n), + (u._compiled = !0)), + r && (u.functional = !0), + o && (u._scopeId = 'data-v-' + o), + a + ? ((s = function (e) { + ;(e = + e || + (this.$vnode && this.$vnode.ssrContext) || + (this.parent && + this.parent.$vnode && + this.parent.$vnode.ssrContext)), + e || + 'undefined' === + typeof __VUE_SSR_CONTEXT__ || + (e = __VUE_SSR_CONTEXT__), + i && i.call(this, e), + e && + e._registeredComponents && + e._registeredComponents.add(a) + }), + (u._ssrRegister = s)) + : i && + (s = c + ? function () { + i.call( + this, + (u.functional ? this.parent : this) + .$root.$options.shadowRoot + ) + } + : i), + s) + ) + if (u.functional) { + u._injectStyles = s + var f = u.render + u.render = function (e, t) { + return s.call(t), f(e, t) + } + } else { + var l = u.beforeCreate + u.beforeCreate = l ? [].concat(l, s) : [s] + } + return { exports: e, options: u } + } + n.d(t, 'a', function () { + return r + }) + }, + '28a5': function (e, t, n) { + 'use strict' + var r = n('aae3'), + i = n('cb7c'), + o = n('ebd6'), + a = n('0390'), + c = n('9def'), + s = n('5f1b'), + u = n('520a'), + f = n('79e5'), + l = Math.min, + p = [].push, + d = 'split', + v = 'length', + h = 'lastIndex', + y = 4294967295, + g = !f(function () { + RegExp(y, 'y') + }) + n('214f')('split', 2, function (e, t, n, f) { + var m + return ( + (m = + 'c' == 'abbc'[d](/(b)*/)[1] || + 4 != 'test'[d](/(?:)/, -1)[v] || + 2 != 'ab'[d](/(?:ab)*/)[v] || + 4 != '.'[d](/(.?)(.?)/)[v] || + '.'[d](/()()/)[v] > 1 || + ''[d](/.?/)[v] + ? function (e, t) { + var i = String(this) + if (void 0 === e && 0 === t) return [] + if (!r(e)) return n.call(i, e, t) + var o, + a, + c, + s = [], + f = + (e.ignoreCase ? 'i' : '') + + (e.multiline ? 'm' : '') + + (e.unicode ? 'u' : '') + + (e.sticky ? 'y' : ''), + l = 0, + d = void 0 === t ? y : t >>> 0, + g = new RegExp(e.source, f + 'g') + while ((o = u.call(g, i))) { + if ( + ((a = g[h]), + a > l && + (s.push(i.slice(l, o.index)), + o[v] > 1 && + o.index < i[v] && + p.apply(s, o.slice(1)), + (c = o[0][v]), + (l = a), + s[v] >= d)) + ) + break + g[h] === o.index && g[h]++ + } + return ( + l === i[v] + ? (!c && g.test('')) || s.push('') + : s.push(i.slice(l)), + s[v] > d ? s.slice(0, d) : s + ) + } + : '0'[d](void 0, 0)[v] + ? function (e, t) { + return void 0 === e && 0 === t + ? [] + : n.call(this, e, t) + } + : n), + [ + function (n, r) { + var i = e(this), + o = void 0 == n ? void 0 : n[t] + return void 0 !== o + ? o.call(n, i, r) + : m.call(String(i), n, r) + }, + function (e, t) { + var r = f(m, e, this, t, m !== n) + if (r.done) return r.value + var u = i(e), + p = String(this), + d = o(u, RegExp), + v = u.unicode, + h = + (u.ignoreCase ? 'i' : '') + + (u.multiline ? 'm' : '') + + (u.unicode ? 'u' : '') + + (g ? 'y' : 'g'), + b = new d(g ? u : '^(?:' + u.source + ')', h), + _ = void 0 === t ? y : t >>> 0 + if (0 === _) return [] + if (0 === p.length) + return null === s(b, p) ? [p] : [] + var w = 0, + x = 0, + O = [] + while (x < p.length) { + b.lastIndex = g ? x : 0 + var E, + S = s(b, g ? p : p.slice(x)) + if ( + null === S || + (E = l( + c(b.lastIndex + (g ? 0 : x)), + p.length + )) === w + ) + x = a(p, x, v) + else { + if ((O.push(p.slice(w, x)), O.length === _)) + return O + for (var A = 1; A <= S.length - 1; A++) + if ((O.push(S[A]), O.length === _)) + return O + x = w = E + } + } + return O.push(p.slice(w)), O + }, + ] + ) + }) + }, + '294c': function (e, t) { + e.exports = function (e) { + try { + return !!e() + } catch (t) { + return !0 + } + } + }, + '2aba': function (e, t, n) { + var r = n('7726'), + i = n('32e9'), + o = n('69a8'), + a = n('ca5a')('src'), + c = n('fa5b'), + s = 'toString', + u = ('' + c).split(s) + ;(n('8378').inspectSource = function (e) { + return c.call(e) + }), + (e.exports = function (e, t, n, c) { + var s = 'function' == typeof n + s && (o(n, 'name') || i(n, 'name', t)), + e[t] !== n && + (s && + (o(n, a) || + i( + n, + a, + e[t] ? '' + e[t] : u.join(String(t)) + )), + e === r + ? (e[t] = n) + : c + ? e[t] + ? (e[t] = n) + : i(e, t, n) + : (delete e[t], i(e, t, n))) + })(Function.prototype, s, function () { + return ( + ('function' == typeof this && this[a]) || c.call(this) + ) + }) + }, + '2aeb': function (e, t, n) { + var r = n('cb7c'), + i = n('1495'), + o = n('e11e'), + a = n('613b')('IE_PROTO'), + c = function () {}, + s = 'prototype', + u = function () { + var e, + t = n('230e')('iframe'), + r = o.length, + i = '<', + a = '>' + ;(t.style.display = 'none'), + n('fab2').appendChild(t), + (t.src = 'javascript:'), + (e = t.contentWindow.document), + e.open(), + e.write( + i + + 'script' + + a + + 'document.F=Object' + + i + + '/script' + + a + ), + e.close(), + (u = e.F) + while (r--) delete u[s][o[r]] + return u() + } + e.exports = + Object.create || + function (e, t) { + var n + return ( + null !== e + ? ((c[s] = r(e)), + (n = new c()), + (c[s] = null), + (n[a] = e)) + : (n = u()), + void 0 === t ? n : i(n, t) + ) + } + }, + '2b4c': function (e, t, n) { + var r = n('5537')('wks'), + i = n('ca5a'), + o = n('7726').Symbol, + a = 'function' == typeof o, + c = (e.exports = function (e) { + return ( + r[e] || + (r[e] = (a && o[e]) || (a ? o : i)('Symbol.' + e)) + ) + }) + c.store = r + }, + '2d00': function (e, t) { + e.exports = !1 + }, + '2d95': function (e, t) { + var n = {}.toString + e.exports = function (e) { + return n.call(e).slice(8, -1) + } + }, + '308d': function (e, t, n) { + 'use strict' + n.d(t, 'a', function () { + return o + }) + var r = n('7618') + function i(e) { + if (void 0 === e) + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called" + ) + return e + } + function o(e, t) { + return !t || + ('object' !== Object(r['a'])(t) && 'function' !== typeof t) + ? i(e) + : t + } + }, + '30f1': function (e, t, n) { + 'use strict' + var r = n('b8e3'), + i = n('63b6'), + o = n('9138'), + a = n('35e8'), + c = n('481b'), + s = n('8f60'), + u = n('45f2'), + f = n('53e2'), + l = n('5168')('iterator'), + p = !([].keys && 'next' in [].keys()), + d = '@@iterator', + v = 'keys', + h = 'values', + y = function () { + return this + } + e.exports = function (e, t, n, g, m, b, _) { + s(n, t, g) + var w, + x, + O, + E = function (e) { + if (!p && e in k) return k[e] + switch (e) { + case v: + return function () { + return new n(this, e) + } + case h: + return function () { + return new n(this, e) + } + } + return function () { + return new n(this, e) + } + }, + S = t + ' Iterator', + A = m == h, + C = !1, + k = e.prototype, + T = k[l] || k[d] || (m && k[m]), + $ = T || E(m), + N = m ? (A ? E('entries') : $) : void 0, + j = ('Array' == t && k.entries) || T + if ( + (j && + ((O = f(j.call(new e()))), + O !== Object.prototype && + O.next && + (u(O, S, !0), + r || 'function' == typeof O[l] || a(O, l, y))), + A && + T && + T.name !== h && + ((C = !0), + ($ = function () { + return T.call(this) + })), + (r && !_) || (!p && !C && k[l]) || a(k, l, $), + (c[t] = $), + (c[S] = y), + m) + ) + if ( + ((w = { + values: A ? $ : E(h), + keys: b ? $ : E(v), + entries: N, + }), + _) + ) + for (x in w) x in k || o(k, x, w[x]) + else i(i.P + i.F * (p || C), t, w) + return w + } + }, + '31f4': function (e, t) { + e.exports = function (e, t, n) { + var r = void 0 === n + switch (t.length) { + case 0: + return r ? e() : e.call(n) + case 1: + return r ? e(t[0]) : e.call(n, t[0]) + case 2: + return r ? e(t[0], t[1]) : e.call(n, t[0], t[1]) + case 3: + return r + ? e(t[0], t[1], t[2]) + : e.call(n, t[0], t[1], t[2]) + case 4: + return r + ? e(t[0], t[1], t[2], t[3]) + : e.call(n, t[0], t[1], t[2], t[3]) + } + return e.apply(n, t) + } + }, + '32e9': function (e, t, n) { + var r = n('86cc'), + i = n('4630') + e.exports = n('9e1e') + ? function (e, t, n) { + return r.f(e, t, i(1, n)) + } + : function (e, t, n) { + return (e[t] = n), e + } + }, + '32fc': function (e, t, n) { + var r = n('e53d').document + e.exports = r && r.documentElement + }, + '335c': function (e, t, n) { + var r = n('6b4c') + e.exports = Object('z').propertyIsEnumerable(0) + ? Object + : function (e) { + return 'String' == r(e) ? e.split('') : Object(e) + } + }, + '33a4': function (e, t, n) { + var r = n('84f2'), + i = n('2b4c')('iterator'), + o = Array.prototype + e.exports = function (e) { + return void 0 !== e && (r.Array === e || o[i] === e) + } + }, + '355d': function (e, t) { + t.f = {}.propertyIsEnumerable + }, + '35e8': function (e, t, n) { + var r = n('d9f6'), + i = n('aebd') + e.exports = n('8e60') + ? function (e, t, n) { + return r.f(e, t, i(1, n)) + } + : function (e, t, n) { + return (e[t] = n), e + } + }, + '36bd': function (e, t, n) { + 'use strict' + var r = n('4bf8'), + i = n('77f1'), + o = n('9def') + e.exports = function (e) { + var t = r(this), + n = o(t.length), + a = arguments.length, + c = i(a > 1 ? arguments[1] : void 0, n), + s = a > 2 ? arguments[2] : void 0, + u = void 0 === s ? n : i(s, n) + while (u > c) t[c++] = e + return t + } + }, + '36c3': function (e, t, n) { + var r = n('335c'), + i = n('25eb') + e.exports = function (e) { + return r(i(e)) + } + }, + '37c8': function (e, t, n) { + t.f = n('2b4c') + }, + 3846: function (e, t, n) { + n('9e1e') && + 'g' != /./g.flags && + n('86cc').f(RegExp.prototype, 'flags', { + configurable: !0, + get: n('0bfb'), + }) + }, + '38fd': function (e, t, n) { + var r = n('69a8'), + i = n('4bf8'), + o = n('613b')('IE_PROTO'), + a = Object.prototype + e.exports = + Object.getPrototypeOf || + function (e) { + return ( + (e = i(e)), + r(e, o) + ? e[o] + : 'function' == typeof e.constructor && + e instanceof e.constructor + ? e.constructor.prototype + : e instanceof Object + ? a + : null + ) + } + }, + '3a38': function (e, t) { + var n = Math.ceil, + r = Math.floor + e.exports = function (e) { + return isNaN((e = +e)) ? 0 : (e > 0 ? r : n)(e) + } + }, + '3a72': function (e, t, n) { + var r = n('7726'), + i = n('8378'), + o = n('2d00'), + a = n('37c8'), + c = n('86cc').f + e.exports = function (e) { + var t = i.Symbol || (i.Symbol = o ? {} : r.Symbol || {}) + '_' == e.charAt(0) || e in t || c(t, e, { value: a.f(e) }) + } + }, + '3c35': function (e, t) { + ;(function (t) { + e.exports = t + }.call(this, {})) + }, + '41a0': function (e, t, n) { + 'use strict' + var r = n('2aeb'), + i = n('4630'), + o = n('7f20'), + a = {} + n('32e9')(a, n('2b4c')('iterator'), function () { + return this + }), + (e.exports = function (e, t, n) { + ;(e.prototype = r(a, { next: i(1, n) })), + o(e, t + ' Iterator') + }) + }, + '454f': function (e, t, n) { + n('46a7') + var r = n('584a').Object + e.exports = function (e, t, n) { + return r.defineProperty(e, t, n) + } + }, + 4588: function (e, t) { + var n = Math.ceil, + r = Math.floor + e.exports = function (e) { + return isNaN((e = +e)) ? 0 : (e > 0 ? r : n)(e) + } + }, + '45f2': function (e, t, n) { + var r = n('d9f6').f, + i = n('07e3'), + o = n('5168')('toStringTag') + e.exports = function (e, t, n) { + e && + !i((e = n ? e : e.prototype), o) && + r(e, o, { configurable: !0, value: t }) + } + }, + 4630: function (e, t) { + e.exports = function (e, t) { + return { + enumerable: !(1 & e), + configurable: !(2 & e), + writable: !(4 & e), + value: t, + } + } + }, + '46a7': function (e, t, n) { + var r = n('63b6') + r(r.S + r.F * !n('8e60'), 'Object', { defineProperty: n('d9f6').f }) + }, + '47ee': function (e, t, n) { + var r = n('c3a1'), + i = n('9aa9'), + o = n('355d') + e.exports = function (e) { + var t = r(e), + n = i.f + if (n) { + var a, + c = n(e), + s = o.f, + u = 0 + while (c.length > u) s.call(e, (a = c[u++])) && t.push(a) + } + return t + } + }, + '481b': function (e, t) { + e.exports = {} + }, + '4a59': function (e, t, n) { + var r = n('9b43'), + i = n('1fa8'), + o = n('33a4'), + a = n('cb7c'), + c = n('9def'), + s = n('27ee'), + u = {}, + f = {} + t = e.exports = function (e, t, n, l, p) { + var d, + v, + h, + y, + g = p + ? function () { + return e + } + : s(e), + m = r(n, l, t ? 2 : 1), + b = 0 + if ('function' != typeof g) + throw TypeError(e + ' is not iterable!') + if (o(g)) { + for (d = c(e.length); d > b; b++) + if ( + ((y = t ? m(a((v = e[b]))[0], v[1]) : m(e[b])), + y === u || y === f) + ) + return y + } else + for (h = g.call(e); !(v = h.next()).done; ) + if (((y = i(h, m, v.value, t)), y === u || y === f)) + return y + } + ;(t.BREAK = u), (t.RETURN = f) + }, + '4aa6': function (e, t, n) { + e.exports = n('dc62') + }, + '4bf8': function (e, t, n) { + var r = n('be13') + e.exports = function (e) { + return Object(r(e)) + } + }, + '4d16': function (e, t, n) { + e.exports = n('25b0') + }, + '4dd1': function (e, t) { + e.exports = function (e) { + var t = { begin: '<>', end: '' }, + n = { + begin: /<[A-Za-z0-9\\._:-]+/, + end: /\/[A-Za-z0-9\\._:-]+>|\/>/, + }, + r = '[A-Za-z$_][0-9A-Za-z$_]*', + i = { + keyword: + 'in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as', + literal: 'true false null undefined NaN Infinity', + built_in: + 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise', + }, + o = { + className: 'number', + variants: [ + { begin: '\\b(0[bB][01]+)n?' }, + { begin: '\\b(0[oO][0-7]+)n?' }, + { begin: e.C_NUMBER_RE + 'n?' }, + ], + relevance: 0, + }, + a = { + className: 'subst', + begin: '\\$\\{', + end: '\\}', + keywords: i, + contains: [], + }, + c = { + begin: 'html`', + end: '', + starts: { + end: '`', + returnEnd: !1, + contains: [e.BACKSLASH_ESCAPE, a], + subLanguage: 'xml', + }, + }, + s = { + begin: 'css`', + end: '', + starts: { + end: '`', + returnEnd: !1, + contains: [e.BACKSLASH_ESCAPE, a], + subLanguage: 'css', + }, + }, + u = { + className: 'string', + begin: '`', + end: '`', + contains: [e.BACKSLASH_ESCAPE, a], + } + a.contains = [ + e.APOS_STRING_MODE, + e.QUOTE_STRING_MODE, + c, + s, + u, + o, + e.REGEXP_MODE, + ] + var f = a.contains.concat([ + e.C_BLOCK_COMMENT_MODE, + e.C_LINE_COMMENT_MODE, + ]) + return { + aliases: ['js', 'jsx', 'mjs', 'cjs'], + keywords: i, + contains: [ + { + className: 'meta', + relevance: 10, + begin: /^\s*['"]use (strict|asm)['"]/, + }, + { className: 'meta', begin: /^#!/, end: /$/ }, + e.APOS_STRING_MODE, + e.QUOTE_STRING_MODE, + c, + s, + u, + e.C_LINE_COMMENT_MODE, + e.COMMENT('/\\*\\*', '\\*/', { + relevance: 0, + contains: [ + { + className: 'doctag', + begin: '@[A-Za-z]+', + contains: [ + { + className: 'type', + begin: '\\{', + end: '\\}', + relevance: 0, + }, + { + className: 'variable', + begin: r + '(?=\\s*(-)|$)', + endsParent: !0, + relevance: 0, + }, + { begin: /(?=[^\n])\s/, relevance: 0 }, + ], + }, + ], + }), + e.C_BLOCK_COMMENT_MODE, + o, + { + begin: /[{,\n]\s*/, + relevance: 0, + contains: [ + { + begin: r + '\\s*:', + returnBegin: !0, + relevance: 0, + contains: [ + { + className: 'attr', + begin: r, + relevance: 0, + }, + ], + }, + ], + }, + { + begin: + '(' + + e.RE_STARTERS_RE + + '|\\b(case|return|throw)\\b)\\s*', + keywords: 'return throw case', + contains: [ + e.C_LINE_COMMENT_MODE, + e.C_BLOCK_COMMENT_MODE, + e.REGEXP_MODE, + { + className: 'function', + begin: '(\\(.*?\\)|' + r + ')\\s*=>', + returnBegin: !0, + end: '\\s*=>', + contains: [ + { + className: 'params', + variants: [ + { begin: r }, + { begin: /\(\s*\)/ }, + { + begin: /\(/, + end: /\)/, + excludeBegin: !0, + excludeEnd: !0, + keywords: i, + contains: f, + }, + ], + }, + ], + }, + { + className: '', + begin: /\s/, + end: /\s*/, + skip: !0, + }, + { + variants: [ + { begin: t.begin, end: t.end }, + { begin: n.begin, end: n.end }, + ], + subLanguage: 'xml', + contains: [ + { + begin: n.begin, + end: n.end, + skip: !0, + contains: ['self'], + }, + ], + }, + ], + relevance: 0, + }, + { + className: 'function', + beginKeywords: 'function', + end: /\{/, + excludeEnd: !0, + contains: [ + e.inherit(e.TITLE_MODE, { begin: r }), + { + className: 'params', + begin: /\(/, + end: /\)/, + excludeBegin: !0, + excludeEnd: !0, + contains: f, + }, + ], + illegal: /\[|%/, + }, + { begin: /\$[(.]/ }, + e.METHOD_GUARD, + { + className: 'class', + beginKeywords: 'class', + end: /[{;=]/, + excludeEnd: !0, + illegal: /[:"\[\]]/, + contains: [ + { beginKeywords: 'extends' }, + e.UNDERSCORE_TITLE_MODE, + ], + }, + { + beginKeywords: 'constructor get set', + end: /\{/, + excludeEnd: !0, + }, + ], + illegal: /#(?!!)/, + } + } + }, + '4e2b': function (e, t, n) { + 'use strict' + n.d(t, 'a', function () { + return s + }) + var r = n('4aa6'), + i = n.n(r), + o = n('4d16'), + a = n.n(o) + function c(e, t) { + return ( + (c = + a.a || + function (e, t) { + return (e.__proto__ = t), e + }), + c(e, t) + ) + } + function s(e, t) { + if ('function' !== typeof t && null !== t) + throw new TypeError( + 'Super expression must either be null or a function' + ) + ;(e.prototype = i()(t && t.prototype, { + constructor: { value: e, writable: !0, configurable: !0 }, + })), + t && c(e, t) + } + }, + '50ed': function (e, t) { + e.exports = function (e, t) { + return { value: t, done: !!e } + } + }, + 5168: function (e, t, n) { + var r = n('dbdb')('wks'), + i = n('62a0'), + o = n('e53d').Symbol, + a = 'function' == typeof o, + c = (e.exports = function (e) { + return ( + r[e] || + (r[e] = (a && o[e]) || (a ? o : i)('Symbol.' + e)) + ) + }) + c.store = r + }, + '520a': function (e, t, n) { + 'use strict' + var r = n('0bfb'), + i = RegExp.prototype.exec, + o = String.prototype.replace, + a = i, + c = 'lastIndex', + s = (function () { + var e = /a/, + t = /b*/g + return ( + i.call(e, 'a'), i.call(t, 'a'), 0 !== e[c] || 0 !== t[c] + ) + })(), + u = void 0 !== /()??/.exec('')[1], + f = s || u + f && + (a = function (e) { + var t, + n, + a, + f, + l = this + return ( + u && + (n = new RegExp( + '^' + l.source + '$(?!\\s)', + r.call(l) + )), + s && (t = l[c]), + (a = i.call(l, e)), + s && a && (l[c] = l.global ? a.index + a[0].length : t), + u && + a && + a.length > 1 && + o.call(a[0], n, function () { + for (f = 1; f < arguments.length - 2; f++) + void 0 === arguments[f] && (a[f] = void 0) + }), + a + ) + }), + (e.exports = a) + }, + '52a7': function (e, t) { + t.f = {}.propertyIsEnumerable + }, + '53e2': function (e, t, n) { + var r = n('07e3'), + i = n('241e'), + o = n('5559')('IE_PROTO'), + a = Object.prototype + e.exports = + Object.getPrototypeOf || + function (e) { + return ( + (e = i(e)), + r(e, o) + ? e[o] + : 'function' == typeof e.constructor && + e instanceof e.constructor + ? e.constructor.prototype + : e instanceof Object + ? a + : null + ) + } + }, + '551c': function (e, t, n) { + 'use strict' + var r, + i, + o, + a, + c = n('2d00'), + s = n('7726'), + u = n('9b43'), + f = n('23c6'), + l = n('5ca1'), + p = n('d3f4'), + d = n('d8e8'), + v = n('f605'), + h = n('4a59'), + y = n('ebd6'), + g = n('1991').set, + m = n('8079')(), + b = n('a5b8'), + _ = n('9c80'), + w = n('a25f'), + x = n('bcaa'), + O = 'Promise', + E = s.TypeError, + S = s.process, + A = S && S.versions, + C = (A && A.v8) || '', + k = s[O], + T = 'process' == f(S), + $ = function () {}, + N = (i = b.f), + j = !!(function () { + try { + var e = k.resolve(1), + t = ((e.constructor = {})[ + n('2b4c')('species') + ] = function (e) { + e($, $) + }) + return ( + (T || 'function' == typeof PromiseRejectionEvent) && + e.then($) instanceof t && + 0 !== C.indexOf('6.6') && + -1 === w.indexOf('Chrome/66') + ) + } catch (r) {} + })(), + M = function (e) { + var t + return !(!p(e) || 'function' != typeof (t = e.then)) && t + }, + R = function (e, t) { + if (!e._n) { + e._n = !0 + var n = e._c + m(function () { + var r = e._v, + i = 1 == e._s, + o = 0, + a = function (t) { + var n, + o, + a, + c = i ? t.ok : t.fail, + s = t.resolve, + u = t.reject, + f = t.domain + try { + c + ? (i || + (2 == e._h && L(e), + (e._h = 1)), + !0 === c + ? (n = r) + : (f && f.enter(), + (n = c(r)), + f && (f.exit(), (a = !0))), + n === t.promise + ? u(E('Promise-chain cycle')) + : (o = M(n)) + ? o.call(n, s, u) + : s(n)) + : u(r) + } catch (l) { + f && !a && f.exit(), u(l) + } + } + while (n.length > o) a(n[o++]) + ;(e._c = []), (e._n = !1), t && !e._h && P(e) + }) + } + }, + P = function (e) { + g.call(s, function () { + var t, + n, + r, + i = e._v, + o = I(e) + if ( + (o && + ((t = _(function () { + T + ? S.emit('unhandledRejection', i, e) + : (n = s.onunhandledrejection) + ? n({ promise: e, reason: i }) + : (r = s.console) && + r.error && + r.error( + 'Unhandled promise rejection', + i + ) + })), + (e._h = T || I(e) ? 2 : 1)), + (e._a = void 0), + o && t.e) + ) + throw t.v + }) + }, + I = function (e) { + return 1 !== e._h && 0 === (e._a || e._c).length + }, + L = function (e) { + g.call(s, function () { + var t + T + ? S.emit('rejectionHandled', e) + : (t = s.onrejectionhandled) && + t({ promise: e, reason: e._v }) + }) + }, + D = function (e) { + var t = this + t._d || + ((t._d = !0), + (t = t._w || t), + (t._v = e), + (t._s = 2), + t._a || (t._a = t._c.slice()), + R(t, !0)) + }, + F = function (e) { + var t, + n = this + if (!n._d) { + ;(n._d = !0), (n = n._w || n) + try { + if (n === e) + throw E("Promise can't be resolved itself") + ;(t = M(e)) + ? m(function () { + var r = { _w: n, _d: !1 } + try { + t.call(e, u(F, r, 1), u(D, r, 1)) + } catch (i) { + D.call(r, i) + } + }) + : ((n._v = e), (n._s = 1), R(n, !1)) + } catch (r) { + D.call({ _w: n, _d: !1 }, r) + } + } + } + j || + ((k = function (e) { + v(this, k, O, '_h'), d(e), r.call(this) + try { + e(u(F, this, 1), u(D, this, 1)) + } catch (t) { + D.call(this, t) + } + }), + (r = function (e) { + ;(this._c = []), + (this._a = void 0), + (this._s = 0), + (this._d = !1), + (this._v = void 0), + (this._h = 0), + (this._n = !1) + }), + (r.prototype = n('dcbc')(k.prototype, { + then: function (e, t) { + var n = N(y(this, k)) + return ( + (n.ok = 'function' != typeof e || e), + (n.fail = 'function' == typeof t && t), + (n.domain = T ? S.domain : void 0), + this._c.push(n), + this._a && this._a.push(n), + this._s && R(this, !1), + n.promise + ) + }, + catch: function (e) { + return this.then(void 0, e) + }, + })), + (o = function () { + var e = new r() + ;(this.promise = e), + (this.resolve = u(F, e, 1)), + (this.reject = u(D, e, 1)) + }), + (b.f = N = function (e) { + return e === k || e === a ? new o(e) : i(e) + })), + l(l.G + l.W + l.F * !j, { Promise: k }), + n('7f20')(k, O), + n('7a56')(O), + (a = n('8378')[O]), + l(l.S + l.F * !j, O, { + reject: function (e) { + var t = N(this), + n = t.reject + return n(e), t.promise + }, + }), + l(l.S + l.F * (c || !j), O, { + resolve: function (e) { + return x(c && this === a ? k : this, e) + }, + }), + l( + l.S + + l.F * + !( + j && + n('5cc5')(function (e) { + k.all(e)['catch']($) + }) + ), + O, + { + all: function (e) { + var t = this, + n = N(t), + r = n.resolve, + i = n.reject, + o = _(function () { + var n = [], + o = 0, + a = 1 + h(e, !1, function (e) { + var c = o++, + s = !1 + n.push(void 0), + a++, + t.resolve(e).then(function (e) { + s || + ((s = !0), + (n[c] = e), + --a || r(n)) + }, i) + }), + --a || r(n) + }) + return o.e && i(o.v), n.promise + }, + race: function (e) { + var t = this, + n = N(t), + r = n.reject, + i = _(function () { + h(e, !1, function (e) { + t.resolve(e).then(n.resolve, r) + }) + }) + return i.e && r(i.v), n.promise + }, + } + ) + }, + 5537: function (e, t, n) { + var r = n('8378'), + i = n('7726'), + o = '__core-js_shared__', + a = i[o] || (i[o] = {}) + ;(e.exports = function (e, t) { + return a[e] || (a[e] = void 0 !== t ? t : {}) + })('versions', []).push({ + version: r.version, + mode: n('2d00') ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)', + }) + }, + 5559: function (e, t, n) { + var r = n('dbdb')('keys'), + i = n('62a0') + e.exports = function (e) { + return r[e] || (r[e] = i(e)) + } + }, + '584a': function (e, t) { + var n = (e.exports = { version: '2.6.11' }) + 'number' == typeof __e && (__e = n) + }, + '5b4e': function (e, t, n) { + var r = n('36c3'), + i = n('b447'), + o = n('0fc9') + e.exports = function (e) { + return function (t, n, a) { + var c, + s = r(t), + u = i(s.length), + f = o(a, u) + if (e && n != n) { + while (u > f) if (((c = s[f++]), c != c)) return !0 + } else + for (; u > f; f++) + if ((e || f in s) && s[f] === n) return e || f || 0 + return !e && -1 + } + } + }, + '5ca1': function (e, t, n) { + var r = n('7726'), + i = n('8378'), + o = n('32e9'), + a = n('2aba'), + c = n('9b43'), + s = 'prototype', + u = function (e, t, n) { + var f, + l, + p, + d, + v = e & u.F, + h = e & u.G, + y = e & u.S, + g = e & u.P, + m = e & u.B, + b = h ? r : y ? r[t] || (r[t] = {}) : (r[t] || {})[s], + _ = h ? i : i[t] || (i[t] = {}), + w = _[s] || (_[s] = {}) + for (f in (h && (n = t), n)) + (l = !v && b && void 0 !== b[f]), + (p = (l ? b : n)[f]), + (d = + m && l + ? c(p, r) + : g && 'function' == typeof p + ? c(Function.call, p) + : p), + b && a(b, f, p, e & u.U), + _[f] != p && o(_, f, d), + g && w[f] != p && (w[f] = p) + } + ;(r.core = i), + (u.F = 1), + (u.G = 2), + (u.S = 4), + (u.P = 8), + (u.B = 16), + (u.W = 32), + (u.U = 64), + (u.R = 128), + (e.exports = u) + }, + '5cc5': function (e, t, n) { + var r = n('2b4c')('iterator'), + i = !1 + try { + var o = [7][r]() + ;(o['return'] = function () { + i = !0 + }), + Array.from(o, function () { + throw 2 + }) + } catch (a) {} + e.exports = function (e, t) { + if (!t && !i) return !1 + var n = !1 + try { + var o = [7], + c = o[r]() + ;(c.next = function () { + return { done: (n = !0) } + }), + (o[r] = function () { + return c + }), + e(o) + } catch (a) {} + return n + } + }, + '5d58': function (e, t, n) { + e.exports = n('d8d6') + }, + '5dbc': function (e, t, n) { + var r = n('d3f4'), + i = n('8b97').set + e.exports = function (e, t, n) { + var o, + a = t.constructor + return ( + a !== n && + 'function' == typeof a && + (o = a.prototype) !== n.prototype && + r(o) && + i && + i(e, o), + e + ) + } + }, + '5ee5': function (e, t, n) { + e.exports = n('20d9') + }, + '5f1b': function (e, t, n) { + 'use strict' + var r = n('23c6'), + i = RegExp.prototype.exec + e.exports = function (e, t) { + var n = e.exec + if ('function' === typeof n) { + var o = n.call(e, t) + if ('object' !== typeof o) + throw new TypeError( + 'RegExp exec method returned something other than an Object or null' + ) + return o + } + if ('RegExp' !== r(e)) + throw new TypeError( + 'RegExp#exec called on incompatible receiver' + ) + return i.call(e, t) + } + }, + '60a3': function (e, t, n) { + 'use strict' + n.d(t, 'b', function () { + return c + }) + var r = n('5ee5'), + i = n.n(r) + n.d(t, 'c', function () { + return i.a + }) + var o = n('65d9'), + a = n.n(o) + n.d(t, 'a', function () { + return a.a + }) + n('98db') + function c(e) { + return ( + void 0 === e && (e = {}), + function (t, n) { + Array.isArray(e) || + 'undefined' !== typeof e.type || + (e.type = Reflect.getMetadata('design:type', t, n)), + Object(o['createDecorator'])(function (t, n) { + ;(t.props || (t.props = {}))[n] = e + })(t, n) + } + ) + } + }, + '613b': function (e, t, n) { + var r = n('5537')('keys'), + i = n('ca5a') + e.exports = function (e) { + return r[e] || (r[e] = i(e)) + } + }, + '626a': function (e, t, n) { + var r = n('2d95') + e.exports = Object('z').propertyIsEnumerable(0) + ? Object + : function (e) { + return 'String' == r(e) ? e.split('') : Object(e) + } + }, + '62a0': function (e, t) { + var n = 0, + r = Math.random() + e.exports = function (e) { + return 'Symbol('.concat( + void 0 === e ? '' : e, + ')_', + (++n + r).toString(36) + ) + } + }, + '63b6': function (e, t, n) { + var r = n('e53d'), + i = n('584a'), + o = n('d864'), + a = n('35e8'), + c = n('07e3'), + s = 'prototype', + u = function (e, t, n) { + var f, + l, + p, + d = e & u.F, + v = e & u.G, + h = e & u.S, + y = e & u.P, + g = e & u.B, + m = e & u.W, + b = v ? i : i[t] || (i[t] = {}), + _ = b[s], + w = v ? r : h ? r[t] : (r[t] || {})[s] + for (f in (v && (n = t), n)) + (l = !d && w && void 0 !== w[f]), + (l && c(b, f)) || + ((p = l ? w[f] : n[f]), + (b[f] = + v && 'function' != typeof w[f] + ? n[f] + : g && l + ? o(p, r) + : m && w[f] == p + ? (function (e) { + var t = function (t, n, r) { + if (this instanceof e) { + switch ( + arguments.length + ) { + case 0: + return new e() + case 1: + return new e(t) + case 2: + return new e(t, n) + } + return new e(t, n, r) + } + return e.apply( + this, + arguments + ) + } + return (t[s] = e[s]), t + })(p) + : y && 'function' == typeof p + ? o(Function.call, p) + : p), + y && + (((b.virtual || (b.virtual = {}))[f] = p), + e & u.R && _ && !_[f] && a(_, f, p))) + } + ;(u.F = 1), + (u.G = 2), + (u.S = 4), + (u.P = 8), + (u.B = 16), + (u.W = 32), + (u.U = 64), + (u.R = 128), + (e.exports = u) + }, + '65d9': function (e, t, n) { + 'use strict' + /** + * vue-class-component v6.3.2 + * (c) 2015-present Evan You + * @license MIT + */ function r(e) { + return e && 'object' === typeof e && 'default' in e + ? e['default'] + : e + } + Object.defineProperty(t, '__esModule', { value: !0 }) + var i = r(n('5ee5')), + o = 'undefined' !== typeof Reflect && Reflect.defineMetadata + function a(e, t) { + c(e, t), + Object.getOwnPropertyNames(t.prototype).forEach(function ( + n + ) { + c(e.prototype, t.prototype, n) + }), + Object.getOwnPropertyNames(t).forEach(function (n) { + c(e, t, n) + }) + } + function c(e, t, n) { + var r = n + ? Reflect.getOwnMetadataKeys(t, n) + : Reflect.getOwnMetadataKeys(t) + r.forEach(function (r) { + var i = n + ? Reflect.getOwnMetadata(r, t, n) + : Reflect.getOwnMetadata(r, t) + n + ? Reflect.defineMetadata(r, i, e, n) + : Reflect.defineMetadata(r, i, e) + }) + } + var s = { __proto__: [] }, + u = s instanceof Array + function f(e) { + return function (t, n, r) { + var i = 'function' === typeof t ? t : t.constructor + i.__decorators__ || (i.__decorators__ = []), + 'number' !== typeof r && (r = void 0), + i.__decorators__.push(function (t) { + return e(t, n, r) + }) + } + } + function l() { + for (var e = [], t = 0; t < arguments.length; t++) + e[t] = arguments[t] + return i.extend({ mixins: e }) + } + function p(e) { + var t = typeof e + return null == e || ('object' !== t && 'function' !== t) + } + function d(e, t) { + var n = t.prototype._init + t.prototype._init = function () { + var t = this, + n = Object.getOwnPropertyNames(e) + if (e.$options.props) + for (var r in e.$options.props) + e.hasOwnProperty(r) || n.push(r) + n.forEach(function (n) { + '_' !== n.charAt(0) && + Object.defineProperty(t, n, { + get: function () { + return e[n] + }, + set: function (t) { + e[n] = t + }, + configurable: !0, + }) + }) + } + var r = new t() + t.prototype._init = n + var i = {} + return ( + Object.keys(r).forEach(function (e) { + void 0 !== r[e] && (i[e] = r[e]) + }), + i + ) + } + var v = [ + 'data', + 'beforeCreate', + 'created', + 'beforeMount', + 'mounted', + 'beforeDestroy', + 'destroyed', + 'beforeUpdate', + 'updated', + 'activated', + 'deactivated', + 'render', + 'errorCaptured', + ] + function h(e, t) { + void 0 === t && (t = {}), + (t.name = t.name || e._componentTag || e.name) + var n = e.prototype + Object.getOwnPropertyNames(n).forEach(function (e) { + if ('constructor' !== e) + if (v.indexOf(e) > -1) t[e] = n[e] + else { + var r = Object.getOwnPropertyDescriptor(n, e) + void 0 !== r.value + ? 'function' === typeof r.value + ? ((t.methods || (t.methods = {}))[e] = + r.value) + : (t.mixins || (t.mixins = [])).push({ + data: function () { + var t + return ( + (t = {}), (t[e] = r.value), t + ) + }, + }) + : (r.get || r.set) && + ((t.computed || (t.computed = {}))[e] = { + get: r.get, + set: r.set, + }) + } + }), + (t.mixins || (t.mixins = [])).push({ + data: function () { + return d(this, e) + }, + }) + var r = e.__decorators__ + r && + (r.forEach(function (e) { + return e(t) + }), + delete e.__decorators__) + var c = Object.getPrototypeOf(e.prototype), + s = c instanceof i ? c.constructor : i, + u = s.extend(t) + return y(u, e, s), o && a(u, e), u + } + function y(e, t, n) { + Object.getOwnPropertyNames(t).forEach(function (r) { + if ('prototype' !== r) { + var i = Object.getOwnPropertyDescriptor(e, r) + if (!i || i.configurable) { + var o = Object.getOwnPropertyDescriptor(t, r) + if (!u) { + if ('cid' === r) return + var a = Object.getOwnPropertyDescriptor(n, r) + if (!p(o.value) && a && a.value === o.value) + return + } + 0, Object.defineProperty(e, r, o) + } + } + }) + } + function g(e) { + return 'function' === typeof e + ? h(e) + : function (t) { + return h(t, e) + } + } + ;(g.registerHooks = function (e) { + v.push.apply(v, e) + }), + (t.default = g), + (t.createDecorator = f), + (t.mixins = l) + }, + 6718: function (e, t, n) { + var r = n('e53d'), + i = n('584a'), + o = n('b8e3'), + a = n('ccb9'), + c = n('d9f6').f + e.exports = function (e) { + var t = i.Symbol || (i.Symbol = o ? {} : r.Symbol || {}) + '_' == e.charAt(0) || e in t || c(t, e, { value: a.f(e) }) + } + }, + '67ab': function (e, t, n) { + var r = n('ca5a')('meta'), + i = n('d3f4'), + o = n('69a8'), + a = n('86cc').f, + c = 0, + s = + Object.isExtensible || + function () { + return !0 + }, + u = !n('79e5')(function () { + return s(Object.preventExtensions({})) + }), + f = function (e) { + a(e, r, { value: { i: 'O' + ++c, w: {} } }) + }, + l = function (e, t) { + if (!i(e)) + return 'symbol' == typeof e + ? e + : ('string' == typeof e ? 'S' : 'P') + e + if (!o(e, r)) { + if (!s(e)) return 'F' + if (!t) return 'E' + f(e) + } + return e[r].i + }, + p = function (e, t) { + if (!o(e, r)) { + if (!s(e)) return !0 + if (!t) return !1 + f(e) + } + return e[r].w + }, + d = function (e) { + return u && v.NEED && s(e) && !o(e, r) && f(e), e + }, + v = (e.exports = { + KEY: r, + NEED: !1, + fastKey: l, + getWeak: p, + onFreeze: d, + }) + }, + '67bb': function (e, t, n) { + e.exports = n('f921') + }, + 6821: function (e, t, n) { + var r = n('626a'), + i = n('be13') + e.exports = function (e) { + return r(i(e)) + } + }, + '69a8': function (e, t) { + var n = {}.hasOwnProperty + e.exports = function (e, t) { + return n.call(e, t) + } + }, + '69d3': function (e, t, n) { + n('6718')('asyncIterator') + }, + '6a99': function (e, t, n) { + var r = n('d3f4') + e.exports = function (e, t) { + if (!r(e)) return e + var n, i + if ( + t && + 'function' == typeof (n = e.toString) && + !r((i = n.call(e))) + ) + return i + if ('function' == typeof (n = e.valueOf) && !r((i = n.call(e)))) + return i + if ( + !t && + 'function' == typeof (n = e.toString) && + !r((i = n.call(e))) + ) + return i + throw TypeError("Can't convert object to primitive value") + } + }, + '6abf': function (e, t, n) { + var r = n('e6f3'), + i = n('1691').concat('length', 'prototype') + t.f = + Object.getOwnPropertyNames || + function (e) { + return r(e, i) + } + }, + '6b4c': function (e, t) { + var n = {}.toString + e.exports = function (e) { + return n.call(e).slice(8, -1) + } + }, + '6b54': function (e, t, n) { + 'use strict' + n('3846') + var r = n('cb7c'), + i = n('0bfb'), + o = n('9e1e'), + a = 'toString', + c = /./[a], + s = function (e) { + n('2aba')(RegExp.prototype, a, e, !0) + } + n('79e5')(function () { + return '/a/b' != c.call({ source: 'a', flags: 'b' }) + }) + ? s(function () { + var e = r(this) + return '/'.concat( + e.source, + '/', + 'flags' in e + ? e.flags + : !o && e instanceof RegExp + ? i.call(e) + : void 0 + ) + }) + : c.name != a && + s(function () { + return c.call(this) + }) + }, + '6bb5': function (e, t, n) { + 'use strict' + n.d(t, 'a', function () { + return c + }) + var r = n('061b'), + i = n.n(r), + o = n('4d16'), + a = n.n(o) + function c(e) { + return ( + (c = a.a + ? i.a + : function (e) { + return e.__proto__ || i()(e) + }), + c(e) + ) + } + }, + '6c1c': function (e, t, n) { + n('c367') + for ( + var r = n('e53d'), + i = n('35e8'), + o = n('481b'), + a = n('5168')('toStringTag'), + c = 'CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList'.split( + ',' + ), + s = 0; + s < c.length; + s++ + ) { + var u = c[s], + f = r[u], + l = f && f.prototype + l && !l[a] && i(l, a, u), (o[u] = o.Array) + } + }, + '6c7b': function (e, t, n) { + var r = n('5ca1') + r(r.P, 'Array', { fill: n('36bd') }), n('9c6c')('fill') + }, + '71c1': function (e, t, n) { + var r = n('3a38'), + i = n('25eb') + e.exports = function (e) { + return function (t, n) { + var o, + a, + c = String(i(t)), + s = r(n), + u = c.length + return s < 0 || s >= u + ? e + ? '' + : void 0 + : ((o = c.charCodeAt(s)), + o < 55296 || + o > 56319 || + s + 1 === u || + (a = c.charCodeAt(s + 1)) < 56320 || + a > 57343 + ? e + ? c.charAt(s) + : o + : e + ? c.slice(s, s + 2) + : a - 56320 + ((o - 55296) << 10) + 65536) + } + } + }, + 7333: function (e, t, n) { + 'use strict' + var r = n('9e1e'), + i = n('0d58'), + o = n('2621'), + a = n('52a7'), + c = n('4bf8'), + s = n('626a'), + u = Object.assign + e.exports = + !u || + n('79e5')(function () { + var e = {}, + t = {}, + n = Symbol(), + r = 'abcdefghijklmnopqrst' + return ( + (e[n] = 7), + r.split('').forEach(function (e) { + t[e] = e + }), + 7 != u({}, e)[n] || Object.keys(u({}, t)).join('') != r + ) + }) + ? function (e, t) { + var n = c(e), + u = arguments.length, + f = 1, + l = o.f, + p = a.f + while (u > f) { + var d, + v = s(arguments[f++]), + h = l ? i(v).concat(l(v)) : i(v), + y = h.length, + g = 0 + while (y > g) + (d = h[g++]), + (r && !p.call(v, d)) || (n[d] = v[d]) + } + return n + } + : u + }, + 7618: function (e, t, n) { + 'use strict' + n.d(t, 'a', function () { + return c + }) + var r = n('5d58'), + i = n.n(r), + o = n('67bb'), + a = n.n(o) + function c(e) { + return ( + (c = + 'function' === typeof a.a && 'symbol' === typeof i.a + ? function (e) { + return typeof e + } + : function (e) { + return e && + 'function' === typeof a.a && + e.constructor === a.a && + e !== a.a.prototype + ? 'symbol' + : typeof e + }), + c(e) + ) + } + }, + '765d': function (e, t, n) { + n('6718')('observable') + }, + 7726: function (e, t) { + var n = (e.exports = + 'undefined' != typeof window && window.Math == Math + ? window + : 'undefined' != typeof self && self.Math == Math + ? self + : Function('return this')()) + 'number' == typeof __g && (__g = n) + }, + '77f1': function (e, t, n) { + var r = n('4588'), + i = Math.max, + o = Math.min + e.exports = function (e, t) { + return (e = r(e)), e < 0 ? i(e + t, 0) : o(e, t) + } + }, + '794b': function (e, t, n) { + e.exports = + !n('8e60') && + !n('294c')(function () { + return ( + 7 != + Object.defineProperty(n('1ec9')('div'), 'a', { + get: function () { + return 7 + }, + }).a + ) + }) + }, + '79aa': function (e, t) { + e.exports = function (e) { + if ('function' != typeof e) + throw TypeError(e + ' is not a function!') + return e + } + }, + '79e5': function (e, t) { + e.exports = function (e) { + try { + return !!e() + } catch (t) { + return !0 + } + } + }, + '7a56': function (e, t, n) { + 'use strict' + var r = n('7726'), + i = n('86cc'), + o = n('9e1e'), + a = n('2b4c')('species') + e.exports = function (e) { + var t = r[e] + o && + t && + !t[a] && + i.f(t, a, { + configurable: !0, + get: function () { + return this + }, + }) + } + }, + '7bbc': function (e, t, n) { + var r = n('6821'), + i = n('9093').f, + o = {}.toString, + a = + 'object' == typeof window && + window && + Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) + : [], + c = function (e) { + try { + return i(e) + } catch (t) { + return a.slice() + } + } + e.exports.f = function (e) { + return a && '[object Window]' == o.call(e) ? c(e) : i(r(e)) + } + }, + '7e90': function (e, t, n) { + var r = n('d9f6'), + i = n('e4ae'), + o = n('c3a1') + e.exports = n('8e60') + ? Object.defineProperties + : function (e, t) { + i(e) + var n, + a = o(t), + c = a.length, + s = 0 + while (c > s) r.f(e, (n = a[s++]), t[n]) + return e + } + }, + '7f20': function (e, t, n) { + var r = n('86cc').f, + i = n('69a8'), + o = n('2b4c')('toStringTag') + e.exports = function (e, t, n) { + e && + !i((e = n ? e : e.prototype), o) && + r(e, o, { configurable: !0, value: t }) + } + }, + '7f7f': function (e, t, n) { + var r = n('86cc').f, + i = Function.prototype, + o = /^\s*function ([^ (]*)/, + a = 'name' + a in i || + (n('9e1e') && + r(i, a, { + configurable: !0, + get: function () { + try { + return ('' + this).match(o)[1] + } catch (e) { + return '' + } + }, + })) + }, + 8079: function (e, t, n) { + var r = n('7726'), + i = n('1991').set, + o = r.MutationObserver || r.WebKitMutationObserver, + a = r.process, + c = r.Promise, + s = 'process' == n('2d95')(a) + e.exports = function () { + var e, + t, + n, + u = function () { + var r, i + s && (r = a.domain) && r.exit() + while (e) { + ;(i = e.fn), (e = e.next) + try { + i() + } catch (o) { + throw (e ? n() : (t = void 0), o) + } + } + ;(t = void 0), r && r.enter() + } + if (s) + n = function () { + a.nextTick(u) + } + else if (!o || (r.navigator && r.navigator.standalone)) + if (c && c.resolve) { + var f = c.resolve(void 0) + n = function () { + f.then(u) + } + } else + n = function () { + i.call(r, u) + } + else { + var l = !0, + p = document.createTextNode('') + new o(u).observe(p, { characterData: !0 }), + (n = function () { + p.data = l = !l + }) + } + return function (r) { + var i = { fn: r, next: void 0 } + t && (t.next = i), e || ((e = i), n()), (t = i) + } + } + }, + 8378: function (e, t) { + var n = (e.exports = { version: '2.6.11' }) + 'number' == typeof __e && (__e = n) + }, + 8436: function (e, t) { + e.exports = function () {} + }, + '84f2': function (e, t) { + e.exports = {} + }, + '85f2': function (e, t, n) { + e.exports = n('454f') + }, + '86cc': function (e, t, n) { + var r = n('cb7c'), + i = n('c69a'), + o = n('6a99'), + a = Object.defineProperty + t.f = n('9e1e') + ? Object.defineProperty + : function (e, t, n) { + if ((r(e), (t = o(t, !0)), r(n), i)) + try { + return a(e, t, n) + } catch (c) {} + if ('get' in n || 'set' in n) + throw TypeError('Accessors not supported!') + return 'value' in n && (e[t] = n.value), e + } + }, + '8a81': function (e, t, n) { + 'use strict' + var r = n('7726'), + i = n('69a8'), + o = n('9e1e'), + a = n('5ca1'), + c = n('2aba'), + s = n('67ab').KEY, + u = n('79e5'), + f = n('5537'), + l = n('7f20'), + p = n('ca5a'), + d = n('2b4c'), + v = n('37c8'), + h = n('3a72'), + y = n('d4c0'), + g = n('1169'), + m = n('cb7c'), + b = n('d3f4'), + _ = n('4bf8'), + w = n('6821'), + x = n('6a99'), + O = n('4630'), + E = n('2aeb'), + S = n('7bbc'), + A = n('11e9'), + C = n('2621'), + k = n('86cc'), + T = n('0d58'), + $ = A.f, + N = k.f, + j = S.f, + M = r.Symbol, + R = r.JSON, + P = R && R.stringify, + I = 'prototype', + L = d('_hidden'), + D = d('toPrimitive'), + F = {}.propertyIsEnumerable, + B = f('symbol-registry'), + U = f('symbols'), + H = f('op-symbols'), + K = Object[I], + z = 'function' == typeof M && !!C.f, + V = r.QObject, + G = !V || !V[I] || !V[I].findChild, + W = + o && + u(function () { + return ( + 7 != + E( + N({}, 'a', { + get: function () { + return N(this, 'a', { value: 7 }).a + }, + }) + ).a + ) + }) + ? function (e, t, n) { + var r = $(K, t) + r && delete K[t], + N(e, t, n), + r && e !== K && N(K, t, r) + } + : N, + J = function (e) { + var t = (U[e] = E(M[I])) + return (t._k = e), t + }, + q = + z && 'symbol' == typeof M.iterator + ? function (e) { + return 'symbol' == typeof e + } + : function (e) { + return e instanceof M + }, + X = function (e, t, n) { + return ( + e === K && X(H, t, n), + m(e), + (t = x(t, !0)), + m(n), + i(U, t) + ? (n.enumerable + ? (i(e, L) && e[L][t] && (e[L][t] = !1), + (n = E(n, { enumerable: O(0, !1) }))) + : (i(e, L) || N(e, L, O(1, {})), + (e[L][t] = !0)), + W(e, t, n)) + : N(e, t, n) + ) + }, + Z = function (e, t) { + m(e) + var n, + r = y((t = w(t))), + i = 0, + o = r.length + while (o > i) X(e, (n = r[i++]), t[n]) + return e + }, + Y = function (e, t) { + return void 0 === t ? E(e) : Z(E(e), t) + }, + Q = function (e) { + var t = F.call(this, (e = x(e, !0))) + return ( + !(this === K && i(U, e) && !i(H, e)) && + (!( + t || + !i(this, e) || + !i(U, e) || + (i(this, L) && this[L][e]) + ) || + t) + ) + }, + ee = function (e, t) { + if ( + ((e = w(e)), + (t = x(t, !0)), + e !== K || !i(U, t) || i(H, t)) + ) { + var n = $(e, t) + return ( + !n || + !i(U, t) || + (i(e, L) && e[L][t]) || + (n.enumerable = !0), + n + ) + } + }, + te = function (e) { + var t, + n = j(w(e)), + r = [], + o = 0 + while (n.length > o) + i(U, (t = n[o++])) || t == L || t == s || r.push(t) + return r + }, + ne = function (e) { + var t, + n = e === K, + r = j(n ? H : w(e)), + o = [], + a = 0 + while (r.length > a) + !i(U, (t = r[a++])) || (n && !i(K, t)) || o.push(U[t]) + return o + } + z || + ((M = function () { + if (this instanceof M) + throw TypeError('Symbol is not a constructor!') + var e = p(arguments.length > 0 ? arguments[0] : void 0), + t = function (n) { + this === K && t.call(H, n), + i(this, L) && + i(this[L], e) && + (this[L][e] = !1), + W(this, e, O(1, n)) + } + return o && G && W(K, e, { configurable: !0, set: t }), J(e) + }), + c(M[I], 'toString', function () { + return this._k + }), + (A.f = ee), + (k.f = X), + (n('9093').f = S.f = te), + (n('52a7').f = Q), + (C.f = ne), + o && !n('2d00') && c(K, 'propertyIsEnumerable', Q, !0), + (v.f = function (e) { + return J(d(e)) + })), + a(a.G + a.W + a.F * !z, { Symbol: M }) + for ( + var re = 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'.split( + ',' + ), + ie = 0; + re.length > ie; + + ) + d(re[ie++]) + for (var oe = T(d.store), ae = 0; oe.length > ae; ) h(oe[ae++]) + a(a.S + a.F * !z, 'Symbol', { + for: function (e) { + return i(B, (e += '')) ? B[e] : (B[e] = M(e)) + }, + keyFor: function (e) { + if (!q(e)) throw TypeError(e + ' is not a symbol!') + for (var t in B) if (B[t] === e) return t + }, + useSetter: function () { + G = !0 + }, + useSimple: function () { + G = !1 + }, + }), + a(a.S + a.F * !z, 'Object', { + create: Y, + defineProperty: X, + defineProperties: Z, + getOwnPropertyDescriptor: ee, + getOwnPropertyNames: te, + getOwnPropertySymbols: ne, + }) + var ce = u(function () { + C.f(1) + }) + a(a.S + a.F * ce, 'Object', { + getOwnPropertySymbols: function (e) { + return C.f(_(e)) + }, + }), + R && + a( + a.S + + a.F * + (!z || + u(function () { + var e = M() + return ( + '[null]' != P([e]) || + '{}' != P({ a: e }) || + '{}' != P(Object(e)) + ) + })), + 'JSON', + { + stringify: function (e) { + var t, + n, + r = [e], + i = 1 + while (arguments.length > i) + r.push(arguments[i++]) + if ( + ((n = t = r[1]), + (b(t) || void 0 !== e) && !q(e)) + ) + return ( + g(t) || + (t = function (e, t) { + if ( + ('function' == typeof n && + (t = n.call( + this, + e, + t + )), + !q(t)) + ) + return t + }), + (r[1] = t), + P.apply(R, r) + ) + }, + } + ), + M[I][D] || n('32e9')(M[I], D, M[I].valueOf), + l(M, 'Symbol'), + l(Math, 'Math', !0), + l(r.JSON, 'JSON', !0) + }, + '8b97': function (e, t, n) { + var r = n('d3f4'), + i = n('cb7c'), + o = function (e, t) { + if ((i(e), !r(t) && null !== t)) + throw TypeError(t + ": can't set as prototype!") + } + e.exports = { + set: + Object.setPrototypeOf || + ('__proto__' in {} + ? (function (e, t, r) { + try { + ;(r = n('9b43')( + Function.call, + n('11e9').f(Object.prototype, '__proto__') + .set, + 2 + )), + r(e, []), + (t = !(e instanceof Array)) + } catch (i) { + t = !0 + } + return function (e, n) { + return ( + o(e, n), + t ? (e.__proto__ = n) : r(e, n), + e + ) + } + })({}, !1) + : void 0), + check: o, + } + }, + '8dcb': function (e, t) { + e.exports = function (e) { + var t = '[A-Za-z0-9\\._:-]+', + n = { + className: 'symbol', + begin: '&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;', + }, + r = { + begin: '\\s', + contains: [ + { + className: 'meta-keyword', + begin: '#?[a-z_][a-z1-9_-]+', + illegal: '\\n', + }, + ], + }, + i = e.inherit(r, { begin: '\\(', end: '\\)' }), + o = e.inherit(e.APOS_STRING_MODE, { + className: 'meta-string', + }), + a = e.inherit(e.QUOTE_STRING_MODE, { + className: 'meta-string', + }), + c = { + endsWithParent: !0, + illegal: /`]+/ }, + ], + }, + ], + }, + ], + } + return { + aliases: [ + 'html', + 'xhtml', + 'rss', + 'atom', + 'xjb', + 'xsd', + 'xsl', + 'plist', + 'wsf', + 'svg', + ], + case_insensitive: !0, + contains: [ + { + className: 'meta', + begin: '', + relevance: 10, + contains: [ + r, + a, + o, + i, + { + begin: '\\[', + end: '\\]', + contains: [ + { + className: 'meta', + begin: '', + contains: [r, i, a, o], + }, + ], + }, + ], + }, + e.COMMENT('\x3c!--', '--\x3e', { relevance: 10 }), + { + begin: '<\\!\\[CDATA\\[', + end: '\\]\\]>', + relevance: 10, + }, + n, + { + className: 'meta', + begin: /<\?xml/, + end: /\?>/, + relevance: 10, + }, + { + begin: /<\?(php)?/, + end: /\?>/, + subLanguage: 'php', + contains: [ + { begin: '/\\*', end: '\\*/', skip: !0 }, + { begin: 'b"', end: '"', skip: !0 }, + { begin: "b'", end: "'", skip: !0 }, + e.inherit(e.APOS_STRING_MODE, { + illegal: null, + className: null, + contains: null, + skip: !0, + }), + e.inherit(e.QUOTE_STRING_MODE, { + illegal: null, + className: null, + contains: null, + skip: !0, + }), + ], + }, + { + className: 'tag', + begin: ')', + end: '>', + keywords: { name: 'style' }, + contains: [c], + starts: { + end: '', + returnEnd: !0, + subLanguage: ['css', 'xml'], + }, + }, + { + className: 'tag', + begin: ')', + end: '>', + keywords: { name: 'script' }, + contains: [c], + starts: { + end: '', + returnEnd: !0, + subLanguage: [ + 'actionscript', + 'javascript', + 'handlebars', + 'xml', + ], + }, + }, + { + className: 'tag', + begin: '', + contains: [ + { + className: 'name', + begin: /[^\/><\s]+/, + relevance: 0, + }, + c, + ], + }, + ], + } + } + }, + '8e60': function (e, t, n) { + e.exports = !n('294c')(function () { + return ( + 7 != + Object.defineProperty({}, 'a', { + get: function () { + return 7 + }, + }).a + ) + }) + }, + '8f60': function (e, t, n) { + 'use strict' + var r = n('a159'), + i = n('aebd'), + o = n('45f2'), + a = {} + n('35e8')(a, n('5168')('iterator'), function () { + return this + }), + (e.exports = function (e, t, n) { + ;(e.prototype = r(a, { next: i(1, n) })), + o(e, t + ' Iterator') + }) + }, + 9003: function (e, t, n) { + var r = n('6b4c') + e.exports = + Array.isArray || + function (e) { + return 'Array' == r(e) + } + }, + 9093: function (e, t, n) { + var r = n('ce10'), + i = n('e11e').concat('length', 'prototype') + t.f = + Object.getOwnPropertyNames || + function (e) { + return r(e, i) + } + }, + 9138: function (e, t, n) { + e.exports = n('35e8') + }, + 9427: function (e, t, n) { + var r = n('63b6') + r(r.S, 'Object', { create: n('a159') }) + }, + '98db': function (e, t, n) { + ;(function (e, t) { + /*! ***************************************************************************** +Copyright (C) Microsoft. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + var n + ;(function (n) { + ;(function (e) { + var r = + 'object' === typeof t + ? t + : 'object' === typeof self + ? self + : 'object' === typeof this + ? this + : Function('return this;')(), + i = o(n) + function o(e, t) { + return function (n, r) { + 'function' !== typeof e[n] && + Object.defineProperty(e, n, { + configurable: !0, + writable: !0, + value: r, + }), + t && t(n, r) + } + } + 'undefined' === typeof r.Reflect + ? (r.Reflect = n) + : (i = o(r.Reflect, i)), + e(i) + })(function (t) { + var n = Object.prototype.hasOwnProperty, + r = 'function' === typeof Symbol, + i = + r && 'undefined' !== typeof Symbol.toPrimitive + ? Symbol.toPrimitive + : '@@toPrimitive', + o = + r && 'undefined' !== typeof Symbol.iterator + ? Symbol.iterator + : '@@iterator', + a = 'function' === typeof Object.create, + c = { __proto__: [] } instanceof Array, + s = !a && !c, + u = { + create: a + ? function () { + return oe(Object.create(null)) + } + : c + ? function () { + return oe({ __proto__: null }) + } + : function () { + return oe({}) + }, + has: s + ? function (e, t) { + return n.call(e, t) + } + : function (e, t) { + return t in e + }, + get: s + ? function (e, t) { + return n.call(e, t) ? e[t] : void 0 + } + : function (e, t) { + return e[t] + }, + }, + f = Object.getPrototypeOf(Function), + l = + 'object' === typeof e && + Object({ + NODE_ENV: 'production', + BASE_URL: './', + }) && + 'true' === + Object({ + NODE_ENV: 'production', + BASE_URL: './', + })['REFLECT_METADATA_USE_MAP_POLYFILL'], + p = + l || + 'function' !== typeof Map || + 'function' !== typeof Map.prototype.entries + ? ne() + : Map, + d = + l || + 'function' !== typeof Set || + 'function' !== typeof Set.prototype.entries + ? re() + : Set, + v = + l || 'function' !== typeof WeakMap + ? ie() + : WeakMap, + h = new v() + function y(e, t, n, r) { + if (L(n)) { + if (!G(e)) throw new TypeError() + if (!J(t)) throw new TypeError() + return A(e, t) + } + if (!G(e)) throw new TypeError() + if (!B(t)) throw new TypeError() + if (!B(r) && !L(r) && !D(r)) throw new TypeError() + return ( + D(r) && (r = void 0), (n = V(n)), C(e, t, n, r) + ) + } + function g(e, t) { + function n(n, r) { + if (!B(n)) throw new TypeError() + if (!L(r) && !q(r)) throw new TypeError() + M(e, t, n, r) + } + return n + } + function m(e, t, n, r) { + if (!B(n)) throw new TypeError() + return L(r) || (r = V(r)), M(e, t, n, r) + } + function b(e, t, n) { + if (!B(t)) throw new TypeError() + return L(n) || (n = V(n)), T(e, t, n) + } + function _(e, t, n) { + if (!B(t)) throw new TypeError() + return L(n) || (n = V(n)), $(e, t, n) + } + function w(e, t, n) { + if (!B(t)) throw new TypeError() + return L(n) || (n = V(n)), N(e, t, n) + } + function x(e, t, n) { + if (!B(t)) throw new TypeError() + return L(n) || (n = V(n)), j(e, t, n) + } + function O(e, t) { + if (!B(e)) throw new TypeError() + return L(t) || (t = V(t)), R(e, t) + } + function E(e, t) { + if (!B(e)) throw new TypeError() + return L(t) || (t = V(t)), P(e, t) + } + function S(e, t, n) { + if (!B(t)) throw new TypeError() + L(n) || (n = V(n)) + var r = k(t, n, !1) + if (L(r)) return !1 + if (!r.delete(e)) return !1 + if (r.size > 0) return !0 + var i = h.get(t) + return i.delete(n), i.size > 0 || h.delete(t), !0 + } + function A(e, t) { + for (var n = e.length - 1; n >= 0; --n) { + var r = e[n], + i = r(t) + if (!L(i) && !D(i)) { + if (!J(i)) throw new TypeError() + t = i + } + } + return t + } + function C(e, t, n, r) { + for (var i = e.length - 1; i >= 0; --i) { + var o = e[i], + a = o(t, n, r) + if (!L(a) && !D(a)) { + if (!B(a)) throw new TypeError() + r = a + } + } + return r + } + function k(e, t, n) { + var r = h.get(e) + if (L(r)) { + if (!n) return + ;(r = new p()), h.set(e, r) + } + var i = r.get(t) + if (L(i)) { + if (!n) return + ;(i = new p()), r.set(t, i) + } + return i + } + function T(e, t, n) { + var r = $(e, t, n) + if (r) return !0 + var i = te(t) + return !D(i) && T(e, i, n) + } + function $(e, t, n) { + var r = k(t, n, !1) + return !L(r) && K(r.has(e)) + } + function N(e, t, n) { + var r = $(e, t, n) + if (r) return j(e, t, n) + var i = te(t) + return D(i) ? void 0 : N(e, i, n) + } + function j(e, t, n) { + var r = k(t, n, !1) + if (!L(r)) return r.get(e) + } + function M(e, t, n, r) { + var i = k(n, r, !0) + i.set(e, t) + } + function R(e, t) { + var n = P(e, t), + r = te(e) + if (null === r) return n + var i = R(r, t) + if (i.length <= 0) return n + if (n.length <= 0) return i + for ( + var o = new d(), a = [], c = 0, s = n; + c < s.length; + c++ + ) { + var u = s[c], + f = o.has(u) + f || (o.add(u), a.push(u)) + } + for (var l = 0, p = i; l < p.length; l++) { + ;(u = p[l]), (f = o.has(u)) + f || (o.add(u), a.push(u)) + } + return a + } + function P(e, t) { + var n = [], + r = k(e, t, !1) + if (L(r)) return n + var i = r.keys(), + o = Z(i), + a = 0 + while (1) { + var c = Q(o) + if (!c) return (n.length = a), n + var s = Y(c) + try { + n[a] = s + } catch (u) { + try { + ee(o) + } finally { + throw u + } + } + a++ + } + } + function I(e) { + if (null === e) return 1 + switch (typeof e) { + case 'undefined': + return 0 + case 'boolean': + return 2 + case 'string': + return 3 + case 'symbol': + return 4 + case 'number': + return 5 + case 'object': + return null === e ? 1 : 6 + default: + return 6 + } + } + function L(e) { + return void 0 === e + } + function D(e) { + return null === e + } + function F(e) { + return 'symbol' === typeof e + } + function B(e) { + return 'object' === typeof e + ? null !== e + : 'function' === typeof e + } + function U(e, t) { + switch (I(e)) { + case 0: + return e + case 1: + return e + case 2: + return e + case 3: + return e + case 4: + return e + case 5: + return e + } + var n = + 3 === t + ? 'string' + : 5 === t + ? 'number' + : 'default', + r = X(e, i) + if (void 0 !== r) { + var o = r.call(e, n) + if (B(o)) throw new TypeError() + return o + } + return H(e, 'default' === n ? 'number' : n) + } + function H(e, t) { + if ('string' === t) { + var n = e.toString + if (W(n)) { + var r = n.call(e) + if (!B(r)) return r + } + var i = e.valueOf + if (W(i)) { + r = i.call(e) + if (!B(r)) return r + } + } else { + i = e.valueOf + if (W(i)) { + r = i.call(e) + if (!B(r)) return r + } + var o = e.toString + if (W(o)) { + r = o.call(e) + if (!B(r)) return r + } + } + throw new TypeError() + } + function K(e) { + return !!e + } + function z(e) { + return '' + e + } + function V(e) { + var t = U(e, 3) + return F(t) ? t : z(t) + } + function G(e) { + return Array.isArray + ? Array.isArray(e) + : e instanceof Object + ? e instanceof Array + : '[object Array]' === + Object.prototype.toString.call(e) + } + function W(e) { + return 'function' === typeof e + } + function J(e) { + return 'function' === typeof e + } + function q(e) { + switch (I(e)) { + case 3: + return !0 + case 4: + return !0 + default: + return !1 + } + } + function X(e, t) { + var n = e[t] + if (void 0 !== n && null !== n) { + if (!W(n)) throw new TypeError() + return n + } + } + function Z(e) { + var t = X(e, o) + if (!W(t)) throw new TypeError() + var n = t.call(e) + if (!B(n)) throw new TypeError() + return n + } + function Y(e) { + return e.value + } + function Q(e) { + var t = e.next() + return !t.done && t + } + function ee(e) { + var t = e['return'] + t && t.call(e) + } + function te(e) { + var t = Object.getPrototypeOf(e) + if ('function' !== typeof e || e === f) return t + if (t !== f) return t + var n = e.prototype, + r = n && Object.getPrototypeOf(n) + if (null == r || r === Object.prototype) return t + var i = r.constructor + return 'function' !== typeof i || i === e ? t : i + } + function ne() { + var e = {}, + t = [], + n = (function () { + function e(e, t, n) { + ;(this._index = 0), + (this._keys = e), + (this._values = t), + (this._selector = n) + } + return ( + (e.prototype[ + '@@iterator' + ] = function () { + return this + }), + (e.prototype[o] = function () { + return this + }), + (e.prototype.next = function () { + var e = this._index + if ( + e >= 0 && + e < this._keys.length + ) { + var n = this._selector( + this._keys[e], + this._values[e] + ) + return ( + e + 1 >= this._keys.length + ? ((this._index = -1), + (this._keys = t), + (this._values = t)) + : this._index++, + { value: n, done: !1 } + ) + } + return { value: void 0, done: !0 } + }), + (e.prototype.throw = function (e) { + throw ( + (this._index >= 0 && + ((this._index = -1), + (this._keys = t), + (this._values = t)), + e) + ) + }), + (e.prototype.return = function (e) { + return ( + this._index >= 0 && + ((this._index = -1), + (this._keys = t), + (this._values = t)), + { value: e, done: !0 } + ) + }), + e + ) + })() + return (function () { + function t() { + ;(this._keys = []), + (this._values = []), + (this._cacheKey = e), + (this._cacheIndex = -2) + } + return ( + Object.defineProperty(t.prototype, 'size', { + get: function () { + return this._keys.length + }, + enumerable: !0, + configurable: !0, + }), + (t.prototype.has = function (e) { + return this._find(e, !1) >= 0 + }), + (t.prototype.get = function (e) { + var t = this._find(e, !1) + return t >= 0 ? this._values[t] : void 0 + }), + (t.prototype.set = function (e, t) { + var n = this._find(e, !0) + return (this._values[n] = t), this + }), + (t.prototype.delete = function (t) { + var n = this._find(t, !1) + if (n >= 0) { + for ( + var r = this._keys.length, + i = n + 1; + i < r; + i++ + ) + (this._keys[i - 1] = this._keys[ + i + ]), + (this._values[ + i - 1 + ] = this._values[i]) + return ( + this._keys.length--, + this._values.length--, + t === this._cacheKey && + ((this._cacheKey = e), + (this._cacheIndex = -2)), + !0 + ) + } + return !1 + }), + (t.prototype.clear = function () { + ;(this._keys.length = 0), + (this._values.length = 0), + (this._cacheKey = e), + (this._cacheIndex = -2) + }), + (t.prototype.keys = function () { + return new n( + this._keys, + this._values, + r + ) + }), + (t.prototype.values = function () { + return new n( + this._keys, + this._values, + i + ) + }), + (t.prototype.entries = function () { + return new n( + this._keys, + this._values, + a + ) + }), + (t.prototype['@@iterator'] = function () { + return this.entries() + }), + (t.prototype[o] = function () { + return this.entries() + }), + (t.prototype._find = function (e, t) { + return ( + this._cacheKey !== e && + (this._cacheIndex = this._keys.indexOf( + (this._cacheKey = e) + )), + this._cacheIndex < 0 && + t && + ((this._cacheIndex = this._keys.length), + this._keys.push(e), + this._values.push(void 0)), + this._cacheIndex + ) + }), + t + ) + })() + function r(e, t) { + return e + } + function i(e, t) { + return t + } + function a(e, t) { + return [e, t] + } + } + function re() { + return (function () { + function e() { + this._map = new p() + } + return ( + Object.defineProperty(e.prototype, 'size', { + get: function () { + return this._map.size + }, + enumerable: !0, + configurable: !0, + }), + (e.prototype.has = function (e) { + return this._map.has(e) + }), + (e.prototype.add = function (e) { + return this._map.set(e, e), this + }), + (e.prototype.delete = function (e) { + return this._map.delete(e) + }), + (e.prototype.clear = function () { + this._map.clear() + }), + (e.prototype.keys = function () { + return this._map.keys() + }), + (e.prototype.values = function () { + return this._map.values() + }), + (e.prototype.entries = function () { + return this._map.entries() + }), + (e.prototype['@@iterator'] = function () { + return this.keys() + }), + (e.prototype[o] = function () { + return this.keys() + }), + e + ) + })() + } + function ie() { + var e = 16, + t = u.create(), + r = i() + return (function () { + function e() { + this._key = i() + } + return ( + (e.prototype.has = function (e) { + var t = o(e, !1) + return ( + void 0 !== t && u.has(t, this._key) + ) + }), + (e.prototype.get = function (e) { + var t = o(e, !1) + return void 0 !== t + ? u.get(t, this._key) + : void 0 + }), + (e.prototype.set = function (e, t) { + var n = o(e, !0) + return (n[this._key] = t), this + }), + (e.prototype.delete = function (e) { + var t = o(e, !1) + return ( + void 0 !== t && delete t[this._key] + ) + }), + (e.prototype.clear = function () { + this._key = i() + }), + e + ) + })() + function i() { + var e + do { + e = '@@WeakMap@@' + s() + } while (u.has(t, e)) + return (t[e] = !0), e + } + function o(e, t) { + if (!n.call(e, r)) { + if (!t) return + Object.defineProperty(e, r, { + value: u.create(), + }) + } + return e[r] + } + function a(e, t) { + for (var n = 0; n < t; ++n) + e[n] = (255 * Math.random()) | 0 + return e + } + function c(e) { + return 'function' === typeof Uint8Array + ? 'undefined' !== typeof crypto + ? crypto.getRandomValues( + new Uint8Array(e) + ) + : 'undefined' !== typeof msCrypto + ? msCrypto.getRandomValues( + new Uint8Array(e) + ) + : a(new Uint8Array(e), e) + : a(new Array(e), e) + } + function s() { + var t = c(e) + ;(t[6] = (79 & t[6]) | 64), + (t[8] = (191 & t[8]) | 128) + for (var n = '', r = 0; r < e; ++r) { + var i = t[r] + ;(4 !== r && 6 !== r && 8 !== r) || + (n += '-'), + i < 16 && (n += '0'), + (n += i.toString(16).toLowerCase()) + } + return n + } + } + function oe(e) { + return (e.__ = void 0), delete e.__, e + } + t('decorate', y), + t('metadata', g), + t('defineMetadata', m), + t('hasMetadata', b), + t('hasOwnMetadata', _), + t('getMetadata', w), + t('getOwnMetadata', x), + t('getMetadataKeys', O), + t('getOwnMetadataKeys', E), + t('deleteMetadata', S) + }) + })(n || (n = {})) + }.call(this, n('f28c'), n('c8ba'))) + }, + '9aa9': function (e, t) { + t.f = Object.getOwnPropertySymbols + }, + '9ab4': function (e, t, n) { + 'use strict' + n.d(t, 'a', function () { + return r + }), + n.d(t, 'b', function () { + return i + }) + function r(e, t, n, r) { + var i, + o = arguments.length, + a = + o < 3 + ? t + : null === r + ? (r = Object.getOwnPropertyDescriptor(t, n)) + : r + if ( + 'object' === typeof Reflect && + 'function' === typeof Reflect.decorate + ) + a = Reflect.decorate(e, t, n, r) + else + for (var c = e.length - 1; c >= 0; c--) + (i = e[c]) && + (a = + (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || + a) + return o > 3 && a && Object.defineProperty(t, n, a), a + } + function i(e, t) { + if ( + 'object' === typeof Reflect && + 'function' === typeof Reflect.metadata + ) + return Reflect.metadata(e, t) + } + }, + '9b43': function (e, t, n) { + var r = n('d8e8') + e.exports = function (e, t, n) { + if ((r(e), void 0 === t)) return e + switch (n) { + case 1: + return function (n) { + return e.call(t, n) + } + case 2: + return function (n, r) { + return e.call(t, n, r) + } + case 3: + return function (n, r, i) { + return e.call(t, n, r, i) + } + } + return function () { + return e.apply(t, arguments) + } + } + }, + '9c6c': function (e, t, n) { + var r = n('2b4c')('unscopables'), + i = Array.prototype + void 0 == i[r] && n('32e9')(i, r, {}), + (e.exports = function (e) { + i[r][e] = !0 + }) + }, + '9c80': function (e, t) { + e.exports = function (e) { + try { + return { e: !1, v: e() } + } catch (t) { + return { e: !0, v: t } + } + } + }, + '9def': function (e, t, n) { + var r = n('4588'), + i = Math.min + e.exports = function (e) { + return e > 0 ? i(r(e), 9007199254740991) : 0 + } + }, + '9e1e': function (e, t, n) { + e.exports = !n('79e5')(function () { + return ( + 7 != + Object.defineProperty({}, 'a', { + get: function () { + return 7 + }, + }).a + ) + }) + }, + a159: function (e, t, n) { + var r = n('e4ae'), + i = n('7e90'), + o = n('1691'), + a = n('5559')('IE_PROTO'), + c = function () {}, + s = 'prototype', + u = function () { + var e, + t = n('1ec9')('iframe'), + r = o.length, + i = '<', + a = '>' + ;(t.style.display = 'none'), + n('32fc').appendChild(t), + (t.src = 'javascript:'), + (e = t.contentWindow.document), + e.open(), + e.write( + i + + 'script' + + a + + 'document.F=Object' + + i + + '/script' + + a + ), + e.close(), + (u = e.F) + while (r--) delete u[s][o[r]] + return u() + } + e.exports = + Object.create || + function (e, t) { + var n + return ( + null !== e + ? ((c[s] = r(e)), + (n = new c()), + (c[s] = null), + (n[a] = e)) + : (n = u()), + void 0 === t ? n : i(n, t) + ) + } + }, + a25f: function (e, t, n) { + var r = n('7726'), + i = r.navigator + e.exports = (i && i.userAgent) || '' + }, + a481: function (e, t, n) { + 'use strict' + var r = n('cb7c'), + i = n('4bf8'), + o = n('9def'), + a = n('4588'), + c = n('0390'), + s = n('5f1b'), + u = Math.max, + f = Math.min, + l = Math.floor, + p = /\$([$&`']|\d\d?|<[^>]*>)/g, + d = /\$([$&`']|\d\d?)/g, + v = function (e) { + return void 0 === e ? e : String(e) + } + n('214f')('replace', 2, function (e, t, n, h) { + return [ + function (r, i) { + var o = e(this), + a = void 0 == r ? void 0 : r[t] + return void 0 !== a + ? a.call(r, o, i) + : n.call(String(o), r, i) + }, + function (e, t) { + var i = h(n, e, this, t) + if (i.done) return i.value + var l = r(e), + p = String(this), + d = 'function' === typeof t + d || (t = String(t)) + var g = l.global + if (g) { + var m = l.unicode + l.lastIndex = 0 + } + var b = [] + while (1) { + var _ = s(l, p) + if (null === _) break + if ((b.push(_), !g)) break + var w = String(_[0]) + '' === w && (l.lastIndex = c(p, o(l.lastIndex), m)) + } + for (var x = '', O = 0, E = 0; E < b.length; E++) { + _ = b[E] + for ( + var S = String(_[0]), + A = u(f(a(_.index), p.length), 0), + C = [], + k = 1; + k < _.length; + k++ + ) + C.push(v(_[k])) + var T = _.groups + if (d) { + var $ = [S].concat(C, A, p) + void 0 !== T && $.push(T) + var N = String(t.apply(void 0, $)) + } else N = y(S, p, A, C, T, t) + A >= O && + ((x += p.slice(O, A) + N), (O = A + S.length)) + } + return x + p.slice(O) + }, + ] + function y(e, t, r, o, a, c) { + var s = r + e.length, + u = o.length, + f = d + return ( + void 0 !== a && ((a = i(a)), (f = p)), + n.call(c, f, function (n, i) { + var c + switch (i.charAt(0)) { + case '$': + return '$' + case '&': + return e + case '`': + return t.slice(0, r) + case "'": + return t.slice(s) + case '<': + c = a[i.slice(1, -1)] + break + default: + var f = +i + if (0 === f) return n + if (f > u) { + var p = l(f / 10) + return 0 === p + ? n + : p <= u + ? void 0 === o[p - 1] + ? i.charAt(1) + : o[p - 1] + i.charAt(1) + : n + } + c = o[f - 1] + } + return void 0 === c ? '' : c + }) + ) + } + }) + }, + a5b8: function (e, t, n) { + 'use strict' + var r = n('d8e8') + function i(e) { + var t, n + ;(this.promise = new e(function (e, r) { + if (void 0 !== t || void 0 !== n) + throw TypeError('Bad Promise constructor') + ;(t = e), (n = r) + })), + (this.resolve = r(t)), + (this.reject = r(n)) + } + e.exports.f = function (e) { + return new i(e) + } + }, + a70e: function (e, t, n) { + var r, i + ;(function (n) { + var o = + ('object' === typeof window && window) || + ('object' === typeof self && self) + t.nodeType + ? o && + ((o.hljs = n({})), + (r = []), + (i = function () { + return o.hljs + }.apply(t, r)), + void 0 === i || (e.exports = i)) + : n(t) + })(function (e) { + var t, + n = [], + r = Object.keys, + i = {}, + o = {}, + a = !0, + c = /^(no-?highlight|plain|text)$/i, + s = /\blang(?:uage)?-([\w-]+)\b/i, + u = /((^(<[^>]+>|\t|)+|(?:\n)))/gm, + f = '', + l = + "Could not find the language '{}', did you forget to load/include a language module?", + p = { + classPrefix: 'hljs-', + tabReplace: null, + useBR: !1, + languages: void 0, + }, + d = 'of and for in not or if then'.split(' ') + function v(e) { + return e + .replace(/&/g, '&') + .replace(//g, '>') + } + function h(e) { + return e.nodeName.toLowerCase() + } + function y(e, t) { + var n = e && e.exec(t) + return n && 0 === n.index + } + function g(e) { + return c.test(e) + } + function m(e) { + var t, + n, + r, + i, + o = e.className + ' ' + if ( + ((o += e.parentNode ? e.parentNode.className : ''), + (n = s.exec(o)), + n) + ) { + var a = U(n[1]) + return ( + a || + (console.warn(l.replace('{}', n[1])), + console.warn( + 'Falling back to no-highlight mode for this block.', + e + )), + a ? n[1] : 'no-highlight' + ) + } + for (o = o.split(/\s+/), t = 0, r = o.length; t < r; t++) + if (((i = o[t]), g(i) || U(i))) return i + } + function b(e) { + var t, + n = {}, + r = Array.prototype.slice.call(arguments, 1) + for (t in e) n[t] = e[t] + return ( + r.forEach(function (e) { + for (t in e) n[t] = e[t] + }), + n + ) + } + function _(e) { + var t = [] + return ( + (function e(n, r) { + for (var i = n.firstChild; i; i = i.nextSibling) + 3 === i.nodeType + ? (r += i.nodeValue.length) + : 1 === i.nodeType && + (t.push({ + event: 'start', + offset: r, + node: i, + }), + (r = e(i, r)), + h(i).match(/br|hr|img|input/) || + t.push({ + event: 'stop', + offset: r, + node: i, + })) + return r + })(e, 0), + t + ) + } + function w(e, t, r) { + var i = 0, + o = '', + a = [] + function c() { + return e.length && t.length + ? e[0].offset !== t[0].offset + ? e[0].offset < t[0].offset + ? e + : t + : 'start' === t[0].event + ? e + : t + : e.length + ? e + : t + } + function s(e) { + function t(e) { + return ( + ' ' + + e.nodeName + + '="' + + v(e.value).replace(/"/g, '"') + + '"' + ) + } + o += + '<' + + h(e) + + n.map.call(e.attributes, t).join('') + + '>' + } + function u(e) { + o += '' + } + function f(e) { + ;('start' === e.event ? s : u)(e.node) + } + while (e.length || t.length) { + var l = c() + if ( + ((o += v(r.substring(i, l[0].offset))), + (i = l[0].offset), + l === e) + ) { + a.reverse().forEach(u) + do { + f(l.splice(0, 1)[0]), (l = c()) + } while (l === e && l.length && l[0].offset === i) + a.reverse().forEach(s) + } else + 'start' === l[0].event + ? a.push(l[0].node) + : a.pop(), + f(l.splice(0, 1)[0]) + } + return o + v(r.substr(i)) + } + function x(e) { + return !!e && (e.endsWithParent || x(e.starts)) + } + function O(e) { + return ( + e.variants && + !e.cached_variants && + (e.cached_variants = e.variants.map(function (t) { + return b(e, { variants: null }, t) + })), + e.cached_variants + ? e.cached_variants + : x(e) + ? [b(e, { starts: e.starts ? b(e.starts) : null })] + : Object.isFrozen(e) + ? [b(e)] + : [e] + ) + } + function E(e) { + if (t && !e.langApiRestored) { + for (var n in ((e.langApiRestored = !0), t)) + e[n] && (e[t[n]] = e[n]) + ;(e.contains || []).concat(e.variants || []).forEach(E) + } + } + function S(e, t) { + var n = {} + return ( + 'string' === typeof e + ? i('keyword', e) + : r(e).forEach(function (t) { + i(t, e[t]) + }), + n + ) + function i(e, r) { + t && (r = r.toLowerCase()), + r.split(' ').forEach(function (t) { + var r = t.split('|') + n[r[0]] = [e, A(r[0], r[1])] + }) + } + } + function A(e, t) { + return t ? Number(t) : C(e) ? 0 : 1 + } + function C(e) { + return -1 != d.indexOf(e.toLowerCase()) + } + function k(e) { + function t(e) { + return (e && e.source) || e + } + function n(n, r) { + return new RegExp( + t(n), + 'm' + + (e.case_insensitive ? 'i' : '') + + (r ? 'g' : '') + ) + } + function r(e) { + return ( + new RegExp(e.toString() + '|').exec('').length - 1 + ) + } + function i(e, n) { + for ( + var r = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./, + i = 0, + o = '', + a = 0; + a < e.length; + a++ + ) { + i += 1 + var c = i, + s = t(e[a]) + a > 0 && (o += n), (o += '(') + while (s.length > 0) { + var u = r.exec(s) + if (null == u) { + o += s + break + } + ;(o += s.substring(0, u.index)), + (s = s.substring(u.index + u[0].length)), + '\\' == u[0][0] && u[1] + ? (o += '\\' + String(Number(u[1]) + c)) + : ((o += u[0]), '(' == u[0] && i++) + } + o += ')' + } + return o + } + function o(e) { + var t, + o, + a = {}, + c = [], + s = {}, + u = 1 + function f(e, t) { + ;(a[u] = e), c.push([e, t]), (u += r(t) + 1) + } + for (var l = 0; l < e.contains.length; l++) { + var p + ;(o = e.contains[l]), + (p = o.beginKeywords + ? '\\.?(?:' + o.begin + ')\\.?' + : o.begin), + f(o, p) + } + e.terminator_end && f('end', e.terminator_end), + e.illegal && f('illegal', e.illegal) + var d = c.map(function (e) { + return e[1] + }) + return ( + (t = n(i(d, '|'), !0)), + (s.lastIndex = 0), + (s.exec = function (n) { + var r + if (0 === c.length) return null + t.lastIndex = s.lastIndex + var i = t.exec(n) + if (!i) return null + for (var o = 0; o < i.length; o++) + if (void 0 != i[o] && void 0 != a['' + o]) { + r = a['' + o] + break + } + return ( + 'string' === typeof r + ? ((i.type = r), + (i.extra = [ + e.illegal, + e.terminator_end, + ])) + : ((i.type = 'begin'), (i.rule = r)), + i + ) + }), + s + ) + } + function c(r, i) { + r.compiled || + ((r.compiled = !0), + (r.keywords = r.keywords || r.beginKeywords), + r.keywords && + (r.keywords = S( + r.keywords, + e.case_insensitive + )), + (r.lexemesRe = n(r.lexemes || /\w+/, !0)), + i && + (r.beginKeywords && + (r.begin = + '\\b(' + + r.beginKeywords.split(' ').join('|') + + ')\\b'), + r.begin || (r.begin = /\B|\b/), + (r.beginRe = n(r.begin)), + r.endSameAsBegin && (r.end = r.begin), + r.end || r.endsWithParent || (r.end = /\B|\b/), + r.end && (r.endRe = n(r.end)), + (r.terminator_end = t(r.end) || ''), + r.endsWithParent && + i.terminator_end && + (r.terminator_end += + (r.end ? '|' : '') + i.terminator_end)), + r.illegal && (r.illegalRe = n(r.illegal)), + null == r.relevance && (r.relevance = 1), + r.contains || (r.contains = []), + (r.contains = Array.prototype.concat.apply( + [], + r.contains.map(function (e) { + return O('self' === e ? r : e) + }) + )), + r.contains.forEach(function (e) { + c(e, r) + }), + r.starts && c(r.starts, i), + (r.terminators = o(r))) + } + if (e.contains && -1 != e.contains.indexOf('self')) { + if (!a) + throw new Error( + 'ERR: contains `self` is not supported at the top-level of a language. See documentation.' + ) + e.contains = e.contains.filter(function (e) { + return 'self' != e + }) + } + c(e) + } + function T(e, t, n, r) { + var o = t + function c(e) { + return new RegExp( + e.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), + 'm' + ) + } + function s(e, t) { + if (y(e.endRe, t)) { + while (e.endsParent && e.parent) e = e.parent + return e + } + if (e.endsWithParent) return s(e.parent, t) + } + function u(e, t) { + var n = E.case_insensitive ? t[0].toLowerCase() : t[0] + return e.keywords.hasOwnProperty(n) && e.keywords[n] + } + function d(e, t, n, r) { + if (!n && '' === t) return '' + if (!e) return t + var i = r ? '' : p.classPrefix, + o = ''), o + t + a + } + function h() { + var e, t, n, r + if (!A.keywords) return v(j) + ;(r = ''), + (t = 0), + (A.lexemesRe.lastIndex = 0), + (n = A.lexemesRe.exec(j)) + while (n) + (r += v(j.substring(t, n.index))), + (e = u(A, n)), + e + ? ((M += e[1]), (r += d(e[0], v(n[0])))) + : (r += v(n[0])), + (t = A.lexemesRe.lastIndex), + (n = A.lexemesRe.exec(j)) + return r + v(j.substr(t)) + } + function g() { + var e = 'string' === typeof A.subLanguage + if (e && !i[A.subLanguage]) return v(j) + var t = e + ? T(A.subLanguage, j, !0, C[A.subLanguage]) + : $( + j, + A.subLanguage.length ? A.subLanguage : void 0 + ) + return ( + A.relevance > 0 && (M += t.relevance), + e && (C[A.subLanguage] = t.top), + d(t.language, t.value, !1, !0) + ) + } + function m() { + ;(N += null != A.subLanguage ? g() : h()), (j = '') + } + function b(e) { + ;(N += e.className ? d(e.className, '', !0) : ''), + (A = Object.create(e, { parent: { value: A } })) + } + function _(e) { + var t = e[0], + n = e.rule + return ( + n && n.endSameAsBegin && (n.endRe = c(t)), + n.skip + ? (j += t) + : (n.excludeBegin && (j += t), + m(), + n.returnBegin || n.excludeBegin || (j = t)), + b(n), + n.returnBegin ? 0 : t.length + ) + } + function w(e) { + var t = e[0], + n = o.substr(e.index), + r = s(A, n) + if (r) { + var i = A + i.skip + ? (j += t) + : (i.returnEnd || i.excludeEnd || (j += t), + m(), + i.excludeEnd && (j = t)) + do { + A.className && (N += f), + A.skip || + A.subLanguage || + (M += A.relevance), + (A = A.parent) + } while (A !== r.parent) + return ( + r.starts && + (r.endSameAsBegin && + (r.starts.endRe = r.endRe), + b(r.starts)), + i.returnEnd ? 0 : t.length + ) + } + } + var x = {} + function O(e, t) { + var r = t && t[0] + if (((j += e), null == r)) return m(), 0 + if ( + 'begin' == x.type && + 'end' == t.type && + x.index == t.index && + '' === r + ) + return (j += o.slice(t.index, t.index + 1)), 1 + if (((x = t), 'begin' === t.type)) return _(t) + if ('illegal' === t.type && !n) + throw new Error( + 'Illegal lexeme "' + + r + + '" for mode "' + + (A.className || '') + + '"' + ) + if ('end' === t.type) { + var i = w(t) + if (void 0 != i) return i + } + return (j += r), r.length + } + var E = U(e) + if (!E) + throw ( + (console.error(l.replace('{}', e)), + new Error('Unknown language: "' + e + '"')) + ) + k(E) + var S, + A = r || E, + C = {}, + N = '' + for (S = A; S !== E; S = S.parent) + S.className && (N = d(S.className, '', !0) + N) + var j = '', + M = 0 + try { + var R, + P, + I = 0 + while (1) { + if ( + ((A.terminators.lastIndex = I), + (R = A.terminators.exec(o)), + !R) + ) + break + ;(P = O(o.substring(I, R.index), R)), + (I = R.index + P) + } + for (O(o.substr(I)), S = A; S.parent; S = S.parent) + S.className && (N += f) + return { + relevance: M, + value: N, + illegal: !1, + language: e, + top: A, + } + } catch (L) { + if (L.message && -1 !== L.message.indexOf('Illegal')) + return { illegal: !0, relevance: 0, value: v(o) } + if (a) + return { + relevance: 0, + value: v(o), + language: e, + top: A, + errorRaised: L, + } + throw L + } + } + function $(e, t) { + t = t || p.languages || r(i) + var n = { relevance: 0, value: v(e) }, + o = n + return ( + t + .filter(U) + .filter(H) + .forEach(function (t) { + var r = T(t, e, !1) + ;(r.language = t), + r.relevance > o.relevance && (o = r), + r.relevance > n.relevance && + ((o = n), (n = r)) + }), + o.language && (n.second_best = o), + n + ) + } + function N(e) { + return p.tabReplace || p.useBR + ? e.replace(u, function (e, t) { + return p.useBR && '\n' === e + ? '
' + : p.tabReplace + ? t.replace(/\t/g, p.tabReplace) + : '' + }) + : e + } + function j(e, t, n) { + var r = t ? o[t] : n, + i = [e.trim()] + return ( + e.match(/\bhljs\b/) || i.push('hljs'), + -1 === e.indexOf(r) && i.push(r), + i.join(' ').trim() + ) + } + function M(e) { + var t, + n, + r, + i, + o, + a = m(e) + g(a) || + (p.useBR + ? ((t = document.createElement('div')), + (t.innerHTML = e.innerHTML + .replace(/\n/g, '') + .replace(//g, '\n'))) + : (t = e), + (o = t.textContent), + (r = a ? T(a, o, !0) : $(o)), + (n = _(t)), + n.length && + ((i = document.createElement('div')), + (i.innerHTML = r.value), + (r.value = w(n, _(i), o))), + (r.value = N(r.value)), + (e.innerHTML = r.value), + (e.className = j(e.className, a, r.language)), + (e.result = { language: r.language, re: r.relevance }), + r.second_best && + (e.second_best = { + language: r.second_best.language, + re: r.second_best.relevance, + })) + } + function R(e) { + p = b(p, e) + } + function P() { + if (!P.called) { + P.called = !0 + var e = document.querySelectorAll('pre code') + n.forEach.call(e, M) + } + } + function I() { + window.addEventListener('DOMContentLoaded', P, !1), + window.addEventListener('load', P, !1) + } + var L = { disableAutodetect: !0 } + function D(t, n) { + var r + try { + r = n(e) + } catch (c) { + if ( + (console.error( + "Language definition for '{}' could not be registered.".replace( + '{}', + t + ) + ), + !a) + ) + throw c + console.error(c), (r = L) + } + ;(i[t] = r), + E(r), + (r.rawDefinition = n.bind(null, e)), + r.aliases && + r.aliases.forEach(function (e) { + o[e] = t + }) + } + function F() { + return r(i) + } + function B(e) { + var t = U(e) + if (t) return t + var n = new Error( + "The '{}' language is required, but not loaded.".replace( + '{}', + e + ) + ) + throw n + } + function U(e) { + return (e = (e || '').toLowerCase()), i[e] || i[o[e]] + } + function H(e) { + var t = U(e) + return t && !t.disableAutodetect + } + ;(e.highlight = T), + (e.highlightAuto = $), + (e.fixMarkup = N), + (e.highlightBlock = M), + (e.configure = R), + (e.initHighlighting = P), + (e.initHighlightingOnLoad = I), + (e.registerLanguage = D), + (e.listLanguages = F), + (e.getLanguage = U), + (e.requireLanguage = B), + (e.autoDetection = H), + (e.inherit = b), + (e.debugMode = function () { + a = !1 + }), + (e.IDENT_RE = '[a-zA-Z]\\w*'), + (e.UNDERSCORE_IDENT_RE = '[a-zA-Z_]\\w*'), + (e.NUMBER_RE = '\\b\\d+(\\.\\d+)?'), + (e.C_NUMBER_RE = + '(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)'), + (e.BINARY_NUMBER_RE = '\\b(0b[01]+)'), + (e.RE_STARTERS_RE = + '!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~'), + (e.BACKSLASH_ESCAPE = { + begin: '\\\\[\\s\\S]', + relevance: 0, + }), + (e.APOS_STRING_MODE = { + className: 'string', + begin: "'", + end: "'", + illegal: '\\n', + contains: [e.BACKSLASH_ESCAPE], + }), + (e.QUOTE_STRING_MODE = { + className: 'string', + begin: '"', + end: '"', + illegal: '\\n', + contains: [e.BACKSLASH_ESCAPE], + }), + (e.PHRASAL_WORDS_MODE = { + begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/, + }), + (e.COMMENT = function (t, n, r) { + var i = e.inherit( + { + className: 'comment', + begin: t, + end: n, + contains: [], + }, + r || {} + ) + return ( + i.contains.push(e.PHRASAL_WORDS_MODE), + i.contains.push({ + className: 'doctag', + begin: '(?:TODO|FIXME|NOTE|BUG|XXX):', + relevance: 0, + }), + i + ) + }), + (e.C_LINE_COMMENT_MODE = e.COMMENT('//', '$')), + (e.C_BLOCK_COMMENT_MODE = e.COMMENT('/\\*', '\\*/')), + (e.HASH_COMMENT_MODE = e.COMMENT('#', '$')), + (e.NUMBER_MODE = { + className: 'number', + begin: e.NUMBER_RE, + relevance: 0, + }), + (e.C_NUMBER_MODE = { + className: 'number', + begin: e.C_NUMBER_RE, + relevance: 0, + }), + (e.BINARY_NUMBER_MODE = { + className: 'number', + begin: e.BINARY_NUMBER_RE, + relevance: 0, + }), + (e.CSS_NUMBER_MODE = { + className: 'number', + begin: + e.NUMBER_RE + + '(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?', + relevance: 0, + }), + (e.REGEXP_MODE = { + className: 'regexp', + begin: /\//, + end: /\/[gimuy]*/, + illegal: /\n/, + contains: [ + e.BACKSLASH_ESCAPE, + { + begin: /\[/, + end: /\]/, + relevance: 0, + contains: [e.BACKSLASH_ESCAPE], + }, + ], + }), + (e.TITLE_MODE = { + className: 'title', + begin: e.IDENT_RE, + relevance: 0, + }), + (e.UNDERSCORE_TITLE_MODE = { + className: 'title', + begin: e.UNDERSCORE_IDENT_RE, + relevance: 0, + }), + (e.METHOD_GUARD = { + begin: '\\.\\s*' + e.UNDERSCORE_IDENT_RE, + relevance: 0, + }) + var K = [ + e.BACKSLASH_ESCAPE, + e.APOS_STRING_MODE, + e.QUOTE_STRING_MODE, + e.PHRASAL_WORDS_MODE, + e.COMMENT, + e.C_LINE_COMMENT_MODE, + e.C_BLOCK_COMMENT_MODE, + e.HASH_COMMENT_MODE, + e.NUMBER_MODE, + e.C_NUMBER_MODE, + e.BINARY_NUMBER_MODE, + e.CSS_NUMBER_MODE, + e.REGEXP_MODE, + e.TITLE_MODE, + e.UNDERSCORE_TITLE_MODE, + e.METHOD_GUARD, + ] + function z(e) { + Object.freeze(e) + var t = 'function' === typeof e + return ( + Object.getOwnPropertyNames(e).forEach(function (n) { + !e.hasOwnProperty(n) || + null === e[n] || + ('object' !== typeof e[n] && + 'function' !== typeof e[n]) || + (t && + ('caller' === n || + 'callee' === n || + 'arguments' === n)) || + Object.isFrozen(e[n]) || + z(e[n]) + }), + e + ) + } + return ( + K.forEach(function (e) { + z(e) + }), + e + ) + }) + }, + aa77: function (e, t, n) { + var r = n('5ca1'), + i = n('be13'), + o = n('79e5'), + a = n('fdef'), + c = '[' + a + ']', + s = '​…', + u = RegExp('^' + c + c + '*'), + f = RegExp(c + c + '*$'), + l = function (e, t, n) { + var i = {}, + c = o(function () { + return !!a[e]() || s[e]() != s + }), + u = (i[e] = c ? t(p) : a[e]) + n && (i[n] = u), r(r.P + r.F * c, 'String', i) + }, + p = (l.trim = function (e, t) { + return ( + (e = String(i(e))), + 1 & t && (e = e.replace(u, '')), + 2 & t && (e = e.replace(f, '')), + e + ) + }) + e.exports = l + }, + aae3: function (e, t, n) { + var r = n('d3f4'), + i = n('2d95'), + o = n('2b4c')('match') + e.exports = function (e) { + var t + return r(e) && (void 0 !== (t = e[o]) ? !!t : 'RegExp' == i(e)) + } + }, + ac4d: function (e, t, n) { + n('3a72')('asyncIterator') + }, + aebd: function (e, t) { + e.exports = function (e, t) { + return { + enumerable: !(1 & e), + configurable: !(2 & e), + writable: !(4 & e), + value: t, + } + } + }, + b0b4: function (e, t, n) { + 'use strict' + n.d(t, 'a', function () { + return a + }) + var r = n('85f2'), + i = n.n(r) + function o(e, t) { + for (var n = 0; n < t.length; n++) { + var r = t[n] + ;(r.enumerable = r.enumerable || !1), + (r.configurable = !0), + 'value' in r && (r.writable = !0), + i()(e, r.key, r) + } + } + function a(e, t, n) { + return t && o(e.prototype, t), n && o(e, n), e + } + }, + b0c5: function (e, t, n) { + 'use strict' + var r = n('520a') + n('5ca1')( + { target: 'RegExp', proto: !0, forced: r !== /./.exec }, + { exec: r } + ) + }, + b11d: function (e, t, n) {}, + b447: function (e, t, n) { + var r = n('3a38'), + i = Math.min + e.exports = function (e) { + return e > 0 ? i(r(e), 9007199254740991) : 0 + } + }, + b8e3: function (e, t) { + e.exports = !0 + }, + bcaa: function (e, t, n) { + var r = n('cb7c'), + i = n('d3f4'), + o = n('a5b8') + e.exports = function (e, t) { + if ((r(e), i(t) && t.constructor === e)) return t + var n = o.f(e), + a = n.resolve + return a(t), n.promise + } + }, + be13: function (e, t) { + e.exports = function (e) { + if (void 0 == e) throw TypeError("Can't call method on " + e) + return e + } + }, + bf0b: function (e, t, n) { + var r = n('355d'), + i = n('aebd'), + o = n('36c3'), + a = n('1bc3'), + c = n('07e3'), + s = n('794b'), + u = Object.getOwnPropertyDescriptor + t.f = n('8e60') + ? u + : function (e, t) { + if (((e = o(e)), (t = a(t, !0)), s)) + try { + return u(e, t) + } catch (n) {} + if (c(e, t)) return i(!r.f.call(e, t), e[t]) + } + }, + c207: function (e, t) {}, + c366: function (e, t, n) { + var r = n('6821'), + i = n('9def'), + o = n('77f1') + e.exports = function (e) { + return function (t, n, a) { + var c, + s = r(t), + u = i(s.length), + f = o(a, u) + if (e && n != n) { + while (u > f) if (((c = s[f++]), c != c)) return !0 + } else + for (; u > f; f++) + if ((e || f in s) && s[f] === n) return e || f || 0 + return !e && -1 + } + } + }, + c367: function (e, t, n) { + 'use strict' + var r = n('8436'), + i = n('50ed'), + o = n('481b'), + a = n('36c3') + ;(e.exports = n('30f1')( + Array, + 'Array', + function (e, t) { + ;(this._t = a(e)), (this._i = 0), (this._k = t) + }, + function () { + var e = this._t, + t = this._k, + n = this._i++ + return !e || n >= e.length + ? ((this._t = void 0), i(1)) + : i( + 0, + 'keys' == t ? n : 'values' == t ? e[n] : [n, e[n]] + ) + }, + 'values' + )), + (o.Arguments = o.Array), + r('keys'), + r('values'), + r('entries') + }, + c3a1: function (e, t, n) { + var r = n('e6f3'), + i = n('1691') + e.exports = + Object.keys || + function (e) { + return r(e, i) + } + }, + c5f6: function (e, t, n) { + 'use strict' + var r = n('7726'), + i = n('69a8'), + o = n('2d95'), + a = n('5dbc'), + c = n('6a99'), + s = n('79e5'), + u = n('9093').f, + f = n('11e9').f, + l = n('86cc').f, + p = n('aa77').trim, + d = 'Number', + v = r[d], + h = v, + y = v.prototype, + g = o(n('2aeb')(y)) == d, + m = 'trim' in String.prototype, + b = function (e) { + var t = c(e, !1) + if ('string' == typeof t && t.length > 2) { + t = m ? t.trim() : p(t, 3) + var n, + r, + i, + o = t.charCodeAt(0) + if (43 === o || 45 === o) { + if (((n = t.charCodeAt(2)), 88 === n || 120 === n)) + return NaN + } else if (48 === o) { + switch (t.charCodeAt(1)) { + case 66: + case 98: + ;(r = 2), (i = 49) + break + case 79: + case 111: + ;(r = 8), (i = 55) + break + default: + return +t + } + for ( + var a, s = t.slice(2), u = 0, f = s.length; + u < f; + u++ + ) + if (((a = s.charCodeAt(u)), a < 48 || a > i)) + return NaN + return parseInt(s, r) + } + } + return +t + } + if (!v(' 0o1') || !v('0b1') || v('+0x1')) { + v = function (e) { + var t = arguments.length < 1 ? 0 : e, + n = this + return n instanceof v && + (g + ? s(function () { + y.valueOf.call(n) + }) + : o(n) != d) + ? a(new h(b(t)), n, v) + : b(t) + } + for ( + var _, + w = n('9e1e') + ? u(h) + : 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'.split( + ',' + ), + x = 0; + w.length > x; + x++ + ) + i(h, (_ = w[x])) && !i(v, _) && l(v, _, f(h, _)) + ;(v.prototype = y), (y.constructor = v), n('2aba')(r, d, v) + } + }, + c69a: function (e, t, n) { + e.exports = + !n('9e1e') && + !n('79e5')(function () { + return ( + 7 != + Object.defineProperty(n('230e')('div'), 'a', { + get: function () { + return 7 + }, + }).a + ) + }) + }, + c8ba: function (e, t) { + var n + n = (function () { + return this + })() + try { + n = n || new Function('return this')() + } catch (r) { + 'object' === typeof window && (n = window) + } + e.exports = n + }, + ca5a: function (e, t) { + var n = 0, + r = Math.random() + e.exports = function (e) { + return 'Symbol('.concat( + void 0 === e ? '' : e, + ')_', + (++n + r).toString(36) + ) + } + }, + cadf: function (e, t, n) { + 'use strict' + var r = n('9c6c'), + i = n('d53b'), + o = n('84f2'), + a = n('6821') + ;(e.exports = n('01f9')( + Array, + 'Array', + function (e, t) { + ;(this._t = a(e)), (this._i = 0), (this._k = t) + }, + function () { + var e = this._t, + t = this._k, + n = this._i++ + return !e || n >= e.length + ? ((this._t = void 0), i(1)) + : i( + 0, + 'keys' == t ? n : 'values' == t ? e[n] : [n, e[n]] + ) + }, + 'values' + )), + (o.Arguments = o.Array), + r('keys'), + r('values'), + r('entries') + }, + cb7c: function (e, t, n) { + var r = n('d3f4') + e.exports = function (e) { + if (!r(e)) throw TypeError(e + ' is not an object!') + return e + } + }, + ccb9: function (e, t, n) { + t.f = n('5168') + }, + ce10: function (e, t, n) { + var r = n('69a8'), + i = n('6821'), + o = n('c366')(!1), + a = n('613b')('IE_PROTO') + e.exports = function (e, t) { + var n, + c = i(e), + s = 0, + u = [] + for (n in c) n != a && r(c, n) && u.push(n) + while (t.length > s) + r(c, (n = t[s++])) && (~o(u, n) || u.push(n)) + return u + } + }, + ce7e: function (e, t, n) { + var r = n('63b6'), + i = n('584a'), + o = n('294c') + e.exports = function (e, t) { + var n = (i.Object || {})[e] || Object[e], + a = {} + ;(a[e] = t(n)), + r( + r.S + + r.F * + o(function () { + n(1) + }), + 'Object', + a + ) + } + }, + d225: function (e, t, n) { + 'use strict' + function r(e, t) { + if (!(e instanceof t)) + throw new TypeError('Cannot call a class as a function') + } + n.d(t, 'a', function () { + return r + }) + }, + d3f4: function (e, t) { + e.exports = function (e) { + return 'object' === typeof e + ? null !== e + : 'function' === typeof e + } + }, + d4c0: function (e, t, n) { + var r = n('0d58'), + i = n('2621'), + o = n('52a7') + e.exports = function (e) { + var t = r(e), + n = i.f + if (n) { + var a, + c = n(e), + s = o.f, + u = 0 + while (c.length > u) s.call(e, (a = c[u++])) && t.push(a) + } + return t + } + }, + d53b: function (e, t) { + e.exports = function (e, t) { + return { value: t, done: !!e } + } + }, + d864: function (e, t, n) { + var r = n('79aa') + e.exports = function (e, t, n) { + if ((r(e), void 0 === t)) return e + switch (n) { + case 1: + return function (n) { + return e.call(t, n) + } + case 2: + return function (n, r) { + return e.call(t, n, r) + } + case 3: + return function (n, r, i) { + return e.call(t, n, r, i) + } + } + return function () { + return e.apply(t, arguments) + } + } + }, + d8d6: function (e, t, n) { + n('1654'), n('6c1c'), (e.exports = n('ccb9').f('iterator')) + }, + d8e8: function (e, t) { + e.exports = function (e) { + if ('function' != typeof e) + throw TypeError(e + ' is not a function!') + return e + } + }, + d9f6: function (e, t, n) { + var r = n('e4ae'), + i = n('794b'), + o = n('1bc3'), + a = Object.defineProperty + t.f = n('8e60') + ? Object.defineProperty + : function (e, t, n) { + if ((r(e), (t = o(t, !0)), r(n), i)) + try { + return a(e, t, n) + } catch (c) {} + if ('get' in n || 'set' in n) + throw TypeError('Accessors not supported!') + return 'value' in n && (e[t] = n.value), e + } + }, + dbdb: function (e, t, n) { + var r = n('584a'), + i = n('e53d'), + o = '__core-js_shared__', + a = i[o] || (i[o] = {}) + ;(e.exports = function (e, t) { + return a[e] || (a[e] = void 0 !== t ? t : {}) + })('versions', []).push({ + version: r.version, + mode: n('b8e3') ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)', + }) + }, + dc62: function (e, t, n) { + n('9427') + var r = n('584a').Object + e.exports = function (e, t) { + return r.create(e, t) + } + }, + dcbc: function (e, t, n) { + var r = n('2aba') + e.exports = function (e, t, n) { + for (var i in t) r(e, i, t[i], n) + return e + } + }, + dd40: function (e, t) { + e.exports = function (e) { + if (!e.webpackPolyfill) { + var t = Object.create(e) + t.children || (t.children = []), + Object.defineProperty(t, 'loaded', { + enumerable: !0, + get: function () { + return t.l + }, + }), + Object.defineProperty(t, 'id', { + enumerable: !0, + get: function () { + return t.i + }, + }), + Object.defineProperty(t, 'exports', { enumerable: !0 }), + (t.webpackPolyfill = 1) + } + return t + } + }, + e11e: function (e, t) { + e.exports = 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'.split( + ',' + ) + }, + e4ae: function (e, t, n) { + var r = n('f772') + e.exports = function (e) { + if (!r(e)) throw TypeError(e + ' is not an object!') + return e + } + }, + e53d: function (e, t) { + var n = (e.exports = + 'undefined' != typeof window && window.Math == Math + ? window + : 'undefined' != typeof self && self.Math == Math + ? self + : Function('return this')()) + 'number' == typeof __g && (__g = n) + }, + e6f3: function (e, t, n) { + var r = n('07e3'), + i = n('36c3'), + o = n('5b4e')(!1), + a = n('5559')('IE_PROTO') + e.exports = function (e, t) { + var n, + c = i(e), + s = 0, + u = [] + for (n in c) n != a && r(c, n) && u.push(n) + while (t.length > s) + r(c, (n = t[s++])) && (~o(u, n) || u.push(n)) + return u + } + }, + ead6: function (e, t, n) { + var r = n('f772'), + i = n('e4ae'), + o = function (e, t) { + if ((i(e), !r(t) && null !== t)) + throw TypeError(t + ": can't set as prototype!") + } + e.exports = { + set: + Object.setPrototypeOf || + ('__proto__' in {} + ? (function (e, t, r) { + try { + ;(r = n('d864')( + Function.call, + n('bf0b').f(Object.prototype, '__proto__') + .set, + 2 + )), + r(e, []), + (t = !(e instanceof Array)) + } catch (i) { + t = !0 + } + return function (e, n) { + return ( + o(e, n), + t ? (e.__proto__ = n) : r(e, n), + e + ) + } + })({}, !1) + : void 0), + check: o, + } + }, + ebd6: function (e, t, n) { + var r = n('cb7c'), + i = n('d8e8'), + o = n('2b4c')('species') + e.exports = function (e, t) { + var n, + a = r(e).constructor + return void 0 === a || void 0 == (n = r(a)[o]) ? t : i(n) + } + }, + ebfd: function (e, t, n) { + var r = n('62a0')('meta'), + i = n('f772'), + o = n('07e3'), + a = n('d9f6').f, + c = 0, + s = + Object.isExtensible || + function () { + return !0 + }, + u = !n('294c')(function () { + return s(Object.preventExtensions({})) + }), + f = function (e) { + a(e, r, { value: { i: 'O' + ++c, w: {} } }) + }, + l = function (e, t) { + if (!i(e)) + return 'symbol' == typeof e + ? e + : ('string' == typeof e ? 'S' : 'P') + e + if (!o(e, r)) { + if (!s(e)) return 'F' + if (!t) return 'E' + f(e) + } + return e[r].i + }, + p = function (e, t) { + if (!o(e, r)) { + if (!s(e)) return !0 + if (!t) return !1 + f(e) + } + return e[r].w + }, + d = function (e) { + return u && v.NEED && s(e) && !o(e, r) && f(e), e + }, + v = (e.exports = { + KEY: r, + NEED: !1, + fastKey: l, + getWeak: p, + onFreeze: d, + }) + }, + f0c1: function (e, t, n) { + 'use strict' + var r = n('d8e8'), + i = n('d3f4'), + o = n('31f4'), + a = [].slice, + c = {}, + s = function (e, t, n) { + if (!(t in c)) { + for (var r = [], i = 0; i < t; i++) + r[i] = 'a[' + i + ']' + c[t] = Function( + 'F,a', + 'return new F(' + r.join(',') + ')' + ) + } + return c[t](e, n) + } + e.exports = + Function.bind || + function (e) { + var t = r(this), + n = a.call(arguments, 1), + c = function () { + var r = n.concat(a.call(arguments)) + return this instanceof c + ? s(t, r.length, r) + : o(t, r, e) + } + return i(t.prototype) && (c.prototype = t.prototype), c + } + }, + f28c: function (e, t) { + var n, + r, + i = (e.exports = {}) + function o() { + throw new Error('setTimeout has not been defined') + } + function a() { + throw new Error('clearTimeout has not been defined') + } + function c(e) { + if (n === setTimeout) return setTimeout(e, 0) + if ((n === o || !n) && setTimeout) + return (n = setTimeout), setTimeout(e, 0) + try { + return n(e, 0) + } catch (t) { + try { + return n.call(null, e, 0) + } catch (t) { + return n.call(this, e, 0) + } + } + } + function s(e) { + if (r === clearTimeout) return clearTimeout(e) + if ((r === a || !r) && clearTimeout) + return (r = clearTimeout), clearTimeout(e) + try { + return r(e) + } catch (t) { + try { + return r.call(null, e) + } catch (t) { + return r.call(this, e) + } + } + } + ;(function () { + try { + n = 'function' === typeof setTimeout ? setTimeout : o + } catch (e) { + n = o + } + try { + r = 'function' === typeof clearTimeout ? clearTimeout : a + } catch (e) { + r = a + } + })() + var u, + f = [], + l = !1, + p = -1 + function d() { + l && + u && + ((l = !1), + u.length ? (f = u.concat(f)) : (p = -1), + f.length && v()) + } + function v() { + if (!l) { + var e = c(d) + l = !0 + var t = f.length + while (t) { + ;(u = f), (f = []) + while (++p < t) u && u[p].run() + ;(p = -1), (t = f.length) + } + ;(u = null), (l = !1), s(e) + } + } + function h(e, t) { + ;(this.fun = e), (this.array = t) + } + function y() {} + ;(i.nextTick = function (e) { + var t = new Array(arguments.length - 1) + if (arguments.length > 1) + for (var n = 1; n < arguments.length; n++) + t[n - 1] = arguments[n] + f.push(new h(e, t)), 1 !== f.length || l || c(v) + }), + (h.prototype.run = function () { + this.fun.apply(null, this.array) + }), + (i.title = 'browser'), + (i.browser = !0), + (i.env = {}), + (i.argv = []), + (i.version = ''), + (i.versions = {}), + (i.on = y), + (i.addListener = y), + (i.once = y), + (i.off = y), + (i.removeListener = y), + (i.removeAllListeners = y), + (i.emit = y), + (i.prependListener = y), + (i.prependOnceListener = y), + (i.listeners = function (e) { + return [] + }), + (i.binding = function (e) { + throw new Error('process.binding is not supported') + }), + (i.cwd = function () { + return '/' + }), + (i.chdir = function (e) { + throw new Error('process.chdir is not supported') + }), + (i.umask = function () { + return 0 + }) + }, + f605: function (e, t) { + e.exports = function (e, t, n, r) { + if (!(e instanceof t) || (void 0 !== r && r in e)) + throw TypeError(n + ': incorrect invocation!') + return e + } + }, + f751: function (e, t, n) { + var r = n('5ca1') + r(r.S + r.F, 'Object', { assign: n('7333') }) + }, + f772: function (e, t) { + e.exports = function (e) { + return 'object' === typeof e + ? null !== e + : 'function' === typeof e + } + }, + f921: function (e, t, n) { + n('014b'), + n('c207'), + n('69d3'), + n('765d'), + (e.exports = n('584a').Symbol) + }, + fa5b: function (e, t, n) { + e.exports = n('5537')( + 'native-function-to-string', + Function.toString + ) + }, + fa99: function (e, t, n) { + n('0293'), (e.exports = n('584a').Object.getPrototypeOf) + }, + fab2: function (e, t, n) { + var r = n('7726').document + e.exports = r && r.documentElement + }, + fdef: function (e, t) { + e.exports = '\t\n\v\f\r   ᠎              \u2028\u2029\ufeff' + }, + }, +]) diff --git a/v3/js/style.00823954.js b/v3/js/style.00823954.js new file mode 100644 index 00000000..9bbaa26c --- /dev/null +++ b/v3/js/style.00823954.js @@ -0,0 +1,64 @@ +;(function (e) { + var t = {} + function n(r) { + if (t[r]) return t[r].exports + var o = (t[r] = { i: r, l: !1, exports: {} }) + return e[r].call(o.exports, o, o.exports, n), (o.l = !0), o.exports + } + ;(n.m = e), + (n.c = t), + (n.d = function (e, t, r) { + n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: r }) + }), + (n.r = function (e) { + 'undefined' !== typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(e, Symbol.toStringTag, { + value: 'Module', + }), + Object.defineProperty(e, '__esModule', { value: !0 }) + }), + (n.t = function (e, t) { + if ((1 & t && (e = n(e)), 8 & t)) return e + if (4 & t && 'object' === typeof e && e && e.__esModule) return e + var r = Object.create(null) + if ( + (n.r(r), + Object.defineProperty(r, 'default', { + enumerable: !0, + value: e, + }), + 2 & t && 'string' != typeof e) + ) + for (var o in e) + n.d( + r, + o, + function (t) { + return e[t] + }.bind(null, o) + ) + return r + }), + (n.n = function (e) { + var t = + e && e.__esModule + ? function () { + return e['default'] + } + : function () { + return e + } + return n.d(t, 'a', t), t + }), + (n.o = function (e, t) { + return Object.prototype.hasOwnProperty.call(e, t) + }), + (n.p = './'), + n((n.s = 1)) +})({ + 1: function (e, t, n) { + e.exports = n('e612') + }, + e612: function (e, t, n) {}, +}) diff --git a/zh/api/index.html b/zh/api/index.html new file mode 100644 index 00000000..96bc006b --- /dev/null +++ b/zh/api/index.html @@ -0,0 +1,142 @@ + + + + + + API | svgicon + + + + + + + + + + + + + + + +
Skip to content

API

@yzfe/svgicon

Props

生成 SVG 图标数据函数的参数(属性)

ts
export interface Props {
+    /** icon data */
+    data?: Icon
+    width?: string | number
+    height?: string | number
+    scale?: string | number
+    /** icon direction */
+    dir?: string
+    color?: string | string[]
+    /** gradient stop colors */
+    stopColors?: string[]
+    title?: string
+    fill?: boolean
+    /** is use original color */
+    original?: boolean
+    /** Replace content, usually replace color */
+    replace?: (svgInnerContent: string) => string
+}

getPropKeys

获取 props 的 key 数组

ts
export declare function getPropKeys(): (keyof Props)[];

svgIcon

根据传入的属性生成图标数据

ts
declare function svgIcon(props: Props): SvgIconResult;

Options

全局配置,影响 props 的默认值

ts
/** Global default options */
+export interface Options {
+    classPrefix?: string
+    // Is stroke default
+    isStroke?: boolean
+    isOriginalDefault?: boolean
+    /** 16px, defined in css */
+    defaultWidth?: string
+    defaultHeight?: string
+}

setOptions

修改默认选项

ts
export declare function setOptions(newOptions: Options): void;

Typings

ts
/** Global default options */
+export interface Options {
+    classPrefix?: string;
+    isStroke?: boolean;
+    isOriginalDefault?: boolean;
+    /** 16px, defined in css */
+    defaultWidth?: string;
+    defaultHeight?: string;
+}
+export interface OriginalColor {
+    type: 'fill' | 'stroke';
+    color: string;
+}
+export interface IconData {
+    width?: number | string;
+    height?: number | string;
+    viewBox: string;
+    data: string;
+    originalColors?: OriginalColor[];
+    stopColors?: string[];
+    [key: string]: unknown;
+}
+export interface Icon {
+    name: string;
+    data: IconData;
+}
+export interface Props {
+    /** icon data */
+    data?: Icon;
+    width?: string | number;
+    height?: string | number;
+    scale?: string | number;
+    /** icon direction */
+    dir?: string;
+    color?: string | string[];
+    /** gradient stop colors */
+    stopColors?: string[];
+    title?: string;
+    fill?: boolean;
+    /** is use original color */
+    original?: boolean;
+    /** Replace content, usually replace color */
+    replace?: (svgInnerContent: string) => string;
+}
+/** SvgIcon function result type */
+export interface SvgIconResult {
+    /** SVG content */
+    path: string;
+    /** viewBox */
+    box: string;
+    className: string;
+    style: Record<string, string | number>;
+}
+/** set default options */
+export declare function setOptions(newOptions: Options): void;
+export declare function getOptions(): Options;
+export declare function getPropKeys(): (keyof Props)[];
+/** get svgicon result by props */
+export declare function svgIcon(props: Props): SvgIconResult;

@yzfe/svgicon-gen

在 nodejs 环境中运行,生成 Icon 对象 (props.data 的值)

ts
import { OptimizeOptions } from 'svgo';
+import { Icon } from './types';
+export type SvgoConfig = OptimizeOptions;
+/**
+ * generate svgicon object
+ * @export
+ * @param {string} source svg file content
+ * @param {string} filename svg icon file absolute path
+ * @param {(string | string[])} [svgRootPath] svg icon root path, to calc relative path
+ * @param {SVGO.Options} [svgoConfig] svgo config
+ * @returns {Promise<Icon>}
+ */
+export default function gen(source: string, filename: string, svgRootPath?: string | string[], svgoConfig?: OptimizeOptions): Promise<Icon>;

TIP: 你可以直接使用 @yzfe/svgicon-gen 预先生成图标数据,保存为 js 文件,这样可以不用 @yzfe/svgicon-loader 加载图标了。

@yzfe/svgicon-loader

将 SVG 文件加载成图标数据(vue)或者 SVG 图标组件(react), 可以自定义生成的代码

Loader options

ts
export interface LoaderOptions {
+    svgFilePath?: string | string[]
+    /** load as a component */
+    component?: 'react' | 'taro' | 'vue' | 'custom'
+    /** custom code when load as a custom component */
+    customCode?: string
+    svgoConfig?: unknown
+}

vite-plugin-svigon

Plugin options

ts
export interface PluginOptions {
+    svgFilePath?: string | string[]
+    /** load as a component */
+    component?: 'react' | 'vue' | 'custom'
+    /** custom code when load as a custom component */
+    customCode?: string
+    svgoConfig?: SvgoConfig
+    /** Svg files to be excluded, use minimatch */
+    exclude?: string | string[]
+    /** Svg files to be included, use minimatch */
+    include?: string | string[]
+    /** Match query which import icon with query string */
+    matchQuery?: RegExp
+}
+ + + + \ No newline at end of file diff --git a/zh/guide/advanced.html b/zh/guide/advanced.html new file mode 100644 index 00000000..557905f1 --- /dev/null +++ b/zh/guide/advanced.html @@ -0,0 +1,144 @@ + + + + + + 深入 | svgicon + + + + + + + + + + + + + + + +
Skip to content

深入

SVG 文件作为组件导入

@yzfe/svgicon-loader 或者 vite-plugin-svgicon 都提供 componentcustomCode选项将 SVG 文件作为组件导入。

  • component 选项可选值
    • vue Vue 3.x 组件
    • react React 组件
    • custom 自定义生成的代码, 与 customCode 配搭使用

使用预设值

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            component: 'react',
+        })
+    ]
+})

用法

tsx
import ArrowIcon from 'svg-icon-path/arrow.svg'
+export default funtion() {
+   return (
+        <div>
+            <ArrowIcon color="red" />
+        </div>
+    )
+}

自定义

通过设置 componentcustom和配置 customCode 来自定义生成的代码。@yzfe/svgicon-loadervite-plugin-svgicon 已预先生成代码片段,const data = {/*iconData*/},最后会将这段代码与 customCode 拼接作为最终的代码。

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            component: 'custom',
+            customCode: `
+                import Vue from 'vue'
+                import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+                export default {
+                    functional: true,
+                    render(h, context) {
+                        return h(VueSvgIcon, {
+                            ...context.data,
+                            data: data
+                        })
+                    }
+                }
+            `
+        })
+    ]
+})

上述配置将 SVG 文件加载为下面的代码:

js
const data = {/*iconData*/}
+import Vue from 'vue'
+import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+export default {
+    functional: true,
+    render(h, context) {
+        return h(VueSvgIcon, {
+            ...context.data,
+            data: data
+        })
+    }
+}

WARNING

如果使用的是 @yzfe/svgicon-loader, 需要加上 babel-loader 处理生成的代码。

配置多个路径

ts
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, '../../packages/assets/svg'),
+        }),
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            // 匹配:  xxx.svg?component
+            matchQuery: /component/,
+            svgFilePath: path.join(__dirname, '../../packages/assets'),
+            component: 'vue',
+        }),
+         svgicon({
+            include: ['**/assets/font-awesome/**/*.svg'],
+            svgFilePath: path.join(
+                __dirname,
+                '../../packages/assets/font-awesome'
+            ),
+        }),
+    ]
+})

用法

ts
// 导入为图标数据
+import ArrowIconData from '@/assets/svg/arrow.svg'
+import FaArrowIconData from '@/assets/font-awesome/arrow.svg'
+
+// 导入为组件
+import ArrowIcon from 'svg-icon-path/arrow.svg?component'
+
+// 导入为路径
+import ArrowSvgUrl from 'svg-icon-path/arrow.svg?url'

Typescript

如果配置 SVG 文件作为组件导入,需要加上组件的类型定义。

ts
// react
+declare module '@/assets/svg/*.svg' {
+    import { ReactSvgIconFC } from '@yzfe/react-svgicon'
+    const value: ReactSvgIconFC
+    export = value
+}
+
+// vue
+declare module '@/assets/svg/*.svg' {
+    import { VueSvgIcon } from '@yzfe/vue-svgicon'
+    const value: typeof VueSvgIcon
+    export = value
+}

vue-cli 快速配置

如果你的项目使用 vue-cli, 推荐使用 @yzfe/vue-cli-plugin-svgicon 进行快速配置。

bash
# 将会提示你填写 SVG 文件路径,全局注册的组件标签名称和 vue 的版本
+vue add @yzfe/svgicon

如果已经安装了 @yzfe/vue-cli-plugin-svgicon, 但是没有调用到这个插件,你可以手动调用。

bash
vue invoke @yzfe/svgicon

成功调用后,会自动添加必要的依赖和代码,另外还会生成 .vue-svgicon.config.js 文件,用来配置 @yzfe/svgicon-loaderwebpack 别名,还有 transformAssetUrls 等。

js
const path = require('path')
+const svgFilePaths = ['src/assets/svgicon'].map((v) => path.resolve(v))
+const tagName = 'icon'
+
+module.exports = {
+    tagName,
+    svgFilePath: svgFilePaths,
+    svgoConfig: {},
+    pathAlias: {
+        '@icon': svgFilePaths[0],
+    },
+    transformAssetUrls: {
+        [tagName]: ['data'],
+    },
+    loaderOptions: {},
+}
+ + + + \ No newline at end of file diff --git a/zh/guide/component.html b/zh/guide/component.html new file mode 100644 index 00000000..b2f802be --- /dev/null +++ b/zh/guide/component.html @@ -0,0 +1,183 @@ + + + + + + 组件 | svgicon + + + + + + + + + + + + + + + +
Skip to content

组件

颜色

单色 (默认: 继承字体颜色)

查看代码
vue
<demo-wrap :title="$attrs.title" :style="{ color: 'orange' }">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="red"
+    />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="green"
+    />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        color="blue"
+    />
+</demo-wrap>

r-color (反转填充或描边属性)

颜色值加上 r- 前缀,反转当前 fill 属性

时钟图标:圆形是填充,时针分针是描边, Vue 图标:第一个 path 是描边,第二个是 path 是填充

查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="50"
+        height="50"
+        color="r-red"
+    />
+    <icon
+        data="@icon/clock.svg"
+        width="50"
+        height="50"
+        color="#8A99B2 r-#1C2330"
+    />
+    <!-- use css var -->
+    <icon
+        data="@icon/clock.svg"
+        width="50"
+        height="50"
+        color="#8A99B2 r-var(--color-bg-primary)"
+    />
+    <icon
+        data="@icon/vue.svg"
+        width="50"
+        height="50"
+        :fill="false"
+        color="#42b983 r-#42b983"
+    />
+</demo-wrap>

多色(按照 path/shape 的顺序设置)

查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/check.svg"
+        width="80"
+        height="80"
+        color="#42b983 r-white"
+    />
+    <icon
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        color="#FBAD20 #F5EB13 #B8D433 #6BC9C6 #058BC5 #34469D #7E4D9F #C63D96 #ED1944"
+    />
+    <!-- Use array -->
+    <icon
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        :color="[
+            'rgba(0, 0, 100, .5)',
+            '#F5EB13',
+            '#B8D433',
+            '#6BC9C6',
+            '#058BC5',
+            '#34469D',
+            '#7E4D9F',
+            '#C63D96',
+            '#ED1944',
+        ]"
+    />
+</demo-wrap>

原色 (original)

查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@icon/colorwheel.svg" width="60" height="60" original />
+    <!-- overwrite original color -->
+    <icon
+        data="@icon/colorwheel.svg"
+        width="60"
+        height="60"
+        original
+        color="_ black _ black _"
+    />
+    <icon
+        data="@icon/colorwheel.svg"
+        width="60"
+        height="60"
+        original
+        color="_ r-black _ r-red _"
+    />
+    <icon data="@icon/gift.svg" width="60" height="60" original />
+</demo-wrap>

第二和第三个色轮是在原色的基础上修改某些颜色

渐变

查看代码
vue
<svg style="position: absolute; width: 0; opacity: 0">
+    <defs>
+        <linearGradient id="gradient-1" x1="0" y1="0" x2="0" y2="1">
+            <stop offset="5%" stop-color="#57f0c2" />
+            <stop offset="95%" stop-color="#147d58" />
+        </linearGradient>
+        <linearGradient id="gradient-2" x1="0" y1="0" x2="0" y2="1">
+            <stop offset="5%" stop-color="#7295c2" />
+            <stop offset="95%" stop-color="#252e3d" />
+        </linearGradient>
+    </defs>
+</svg>
+<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/vue.svg"
+        width="100"
+        height="100"
+        color="url(#gradient-1) url(#gradient-2)"
+    ></icon>
+</demo-wrap>

修改原始渐变颜色

查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        data="@icon/gift.svg"
+        width="60" height="60"
+        original
+        :stop-colors="['blue', 'green']" />
+</demo-wrap>

original 必须是 true 才有效果

填充/描边

fill, 默认:true

查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        :fill="false"
+        class="stroke-icon"
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+    />
+</demo-wrap>
vue
<style>
+.stroke-icon path[pid='0'] {
+    stroke-width: 10px;
+}
+</style>

大小

size, 默认单位:px, 默认大小:16px

查看代码
vue
<demo-wrap :title="$attrs.title" :style="{ fontSize: '12px' }">
+    <icon data="@fa/solid/arrow-up.svg" />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon data="@fa/solid/arrow-up.svg" width="4em" height="4em" />
+    <icon data="@fa/solid/arrow-up.svg" width="4rem" height="4rem" />
+</demo-wrap>

方向

dir, 默认:up

查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" />
+    <icon
+        data="@fa/solid/arrow-up.svg"
+        width="36"
+        height="36"
+        dir="right"
+    />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" dir="down" />
+    <icon data="@fa/solid/arrow-up.svg" width="36" height="36" dir="left" />
+</demo-wrap>

替换内容

替换 svg 代码 (replace)

查看代码
vue
<demo-wrap :title="$attrs.title">
+    <icon
+        class="icon"
+        data="@icon/colorwheel.svg"
+        width="80"
+        height="80"
+        original
+        :replace="(svg) => svg.replace('#34469D', 'var(--color-white)')"
+    />
+</demo-wrap>
+ + + + \ No newline at end of file diff --git a/zh/guide/index.html b/zh/guide/index.html new file mode 100644 index 00000000..1af7f9b5 --- /dev/null +++ b/zh/guide/index.html @@ -0,0 +1,168 @@ + + + + + + 快速上手 | svgicon + + + + + + + + + + + + + + + +
Skip to content

快速上手

本节内容主要是简单的介绍 svgicon 配置和使用,建议查看【深入】这一节了解更多。

介绍

svgicon 是一个名称

svgicon 是 SVG 图标组件和工具集,将 SVG 文件变成图标数据(vue)或者图标组件(react),让你可以愉快的在项目中使用 SVG 图标,无论你是使用 vue, react, vue3.x, taro 还是其他 js 框架。svgicon 包括了以下的 npm 包:

  • @yzfe/svgicon 根据传入的参数(props)生成 SVG 图标组件需要的数据
  • @yzfe/vue-svgicon 适用于 Vue 的 SVG 图标组件
  • @yzfe/react-svgicon 适用于 React 的 SVG 图标组件
  • @yzfe/taro-svgicon 适用于 TaroJs 的 SVG 图标组件
  • @yzfe/svgicon-gen 根据 SVG 文件内容,生成图标数据(图标名称和处理过的 SVG 内容)
  • @yzfe/svgicon-loader 将 SVG 文件加载成图标数据(vue)或者 SVG 图标组件(react), 可以自定义生成的代码
  • vite-plugin-svgicon vite 插件,功能与 @yzfe/svgicon-loader 类似
  • @yzfe/svgicon-viewer 预览 SVG 图标
  • @yzfe/vue-cli-plugin-svgicon vue-cli 插件,可以快速的配置 svgicon
  • @yzfe/svgicon-polyfill SVG innerHTML 兼容(IE)

配置

Vite

使用 vite-plugin-svgicon 加载 SVG 文件为图标数据

bash
npm install vite-plugin-svgicon -D
js
// vite.config.ts
+import { defineConfig } from 'vite'
+import svgicon from 'vite-plugin-svgicon'
+
+export default defineConfig({
+    plugins: [
+        svgicon({
+            include: ['**/assets/svg/**/*.svg'],
+            svgFilePath: path.join(__dirname, 'src/assets/svg'),
+            // 如果是使用 React,建议配置 component 选项为 react, 加载 SVG 文件为 react 组件
+            component: 'react',
+        })
+    ]
+})

Webpack

使用 @yzfe/svgicon-loader 加载 SVG 文件为图标数据

bash
npm install @yzfe/svgicon-loader -D
js
// webpack.config.js
+{
+    module: {
+        rules: [
+             {
+                test: /\.svg$/,
+                include: ['SVG 文件路径'],
+                use: [
+                    'babel-loader',
+                    {
+                        loader: '@yzfe/svgicon-loader',
+                        options: {
+                            svgFilePath: ['SVG 文件路径'],
+                            // 自定义 svgo 配置
+                            svgoConfig: null,
+                            // 如果是使用 React,建议配置 component 选项为 react, 加载 SVG 文件为 react 组件
+                            component: 'react',
+                        }
+                    }
+                ]
+            },
+        ]
+    }
+}

使用 vue-cli

使用

js
import arrowData from 'svg-file-path/arrow.svg'
+// {name: 'arrow', data: {width: 16, height: 16, ...}}
+console.log(arrowData)

Vue 2.x

安装依赖

bash
npm install @yzfe/svgicon @yzfe/vue-svgicon  --save

使用

js
// main.js
+import { VueSvgIcon } from '@yzfe/vue-svgicon'
+
+// 引入 css 样式
+import '@yzfe/svgicon/lib/svgicon.css'
+// 注册全局组件
+Vue.component('icon', VueSvgIcon)
vue
<template>
+    <div>
+        <icon :data="arrowData" />
+        <!-- 建议配置 transformAssetUrls, 可以直接传入 SVG 文件路径 -->
+        <icon data="svg-file-path/arrow.svg" />
+    </div>
+</template>
+<script>
+import arrowData from 'svg-file-path/arrow.svg'
+export default {
+    data() {
+        return: {
+            arrowData
+        }
+    }
+}
+</script>

Vue 3.x

安装依赖

bash
npm install @yzfe/svgicon @yzfe/vue-svgicon --save

使用

ts
// main.ts
+import { VueSvgIconPlugin } from '@yzfe/vue-svgicon'
+// 引入 css 样式
+import '@yzfe/svgicon/lib/svgicon.css'
+// 注册全局组件
+app.use(VueSvgIconPlugin, {tagName: 'icon'})
vue
<script setup lang="ts">
+import arrowData from 'svg-file-path/arrow.svg'
+</script>
+<template>
+    <div>
+        <icon :data="arrowData" />
+        <!-- 建议配置 transformAssetUrls, 可以直接传入 SVG 文件路径 -->
+        <icon data="svg-file-path/arrow.svg" />
+    </div>
+</template>

React

安装依赖

bash
npm install @yzfe/svgicon @yzfe/react-svgicon --save

使用

ts
import '@yzfe/svgicon/lib/svgicon.css'
tsx
import ArrowIcon from 'svg-file-path/arrow.svg'
+
+export default function FC() {
+    return (
+        <div>
+            <ArrowIcon color="red" />
+        </div>
+    )
+}

TaroJs

安装依赖

bash
npm install @yzfe/svgicon @yzfe/taro-svgicon

TaroJs 使用方式与 React 一致,请参考 React 一节

其他框架

其他 js 框架可以通过 @yzfe/svgicon 编写适用于其框架的图标组件,可以参考 @yzfe/react-svgicon.

@yzfe/react-svgicon
tsx
import React from 'react'
+import {
+    svgIcon,
+    Props,
+    Options,
+    setOptions,
+    getPropKeys,
+    Icon,
+    IconData,
+} from '@yzfe/svgicon'
+
+interface ComponentProps extends Props {
+    [key: string]: unknown
+}
+
+class ReactSvgIcon extends React.PureComponent<ComponentProps> {
+    public render(): JSX.Element {
+        const props = this.props
+        const result = svgIcon(props)
+        const attrs: Record<string, unknown> = {}
+
+        if (props) {
+            const propsKeys = getPropKeys()
+            for (const key in props) {
+                if (propsKeys.indexOf(key as keyof Props) < 0) {
+                    attrs[key] = props[key]
+                }
+            }
+        }
+
+        attrs.viewBox = result.box
+        attrs.className = (attrs.className || '') + ` ${result.className}`
+        attrs.style = {
+            ...((attrs.style as Record<string, string>) || {}),
+            ...result.style,
+        }
+
+        return (
+            <svg
+                {...attrs}
+                dangerouslySetInnerHTML={{ __html: result.path }}
+            ></svg>
+        )
+    }
+}
+
+/** SvgIcon function component, define in @yzfe/svgicon-loader compile */
+interface ReactSvgIconFC extends React.FC<ComponentProps> {
+    iconName: string
+    iconData: IconData
+}
+
+export {
+    ReactSvgIcon,
+    ReactSvgIconFC,
+    Props,
+    Options,
+    Icon,
+    IconData,
+    setOptions,
+}
+ + + + \ No newline at end of file diff --git a/zh/guide/other.html b/zh/guide/other.html new file mode 100644 index 00000000..a2c7a859 --- /dev/null +++ b/zh/guide/other.html @@ -0,0 +1,33 @@ + + + + + + 其他 | svgicon + + + + + + + + + + + + + + + +
Skip to content

其他

图标预览

使用 @yzfe/svgicon-viewer 可以预览任意文件夹的 SVG 文件。

安装

bash
# 全局安装
+yarn global add @yzfe/svgicon-viewer

使用

bash
# svgicon-viewer <svgFilePath> [metaFile]
+svgicon-viewer ./src/assets/svg

svgicon-viewer

meta.json

使用 meta.json 可以添加额外的信息,目前只支持一个 name 字段,可以用来描述图标。默认读取 SVG 文件路径下的 meta.json

json
// meta.json demo
+{
+    "arrow": {
+        "name": "箭头"
+    }
+}
bash
svgicon-viewer ./src/assets/svg ./src/assets/svg/meta.json

svgicon-viewer

输出静态 html 页面

添加 --output (alias: -o) 会生成静态 html 页面到指定的输出目录

svgicon-viewer ./src/assets/svg -o ./dist
+ + + + \ No newline at end of file diff --git a/zh/index.html b/zh/index.html new file mode 100644 index 00000000..e74b3096 --- /dev/null +++ b/zh/index.html @@ -0,0 +1,26 @@ + + + + + + svgicon | svgicon + + + + + + + + + + + + + + + +
Skip to content

svgicon

SVG 图标组件和工具集

+ + + + \ No newline at end of file