diff --git a/docs/.vuepress/dist/.nojekyll b/docs/.vuepress/dist/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/docs/.vuepress/dist/404.html b/docs/.vuepress/dist/404.html index ca77f9a9..b3dc451e 100644 --- a/docs/.vuepress/dist/404.html +++ b/docs/.vuepress/dist/404.html @@ -7,11 +7,11 @@ - - + + -

404

There's nothing here.
Take me home.
- +

404

Looks like we've got some broken links.
Take me home.
+ diff --git a/docs/.vuepress/dist/CNAME b/docs/.vuepress/dist/CNAME new file mode 100644 index 00000000..4aafea50 --- /dev/null +++ b/docs/.vuepress/dist/CNAME @@ -0,0 +1 @@ +vue-chartjs.org diff --git a/docs/.vuepress/dist/api/index.html b/docs/.vuepress/dist/api/index.html index 3edaf6f2..daf85464 100644 --- a/docs/.vuepress/dist/api/index.html +++ b/docs/.vuepress/dist/api/index.html @@ -7,8 +7,8 @@ - - + +
- + diff --git a/docs/.vuepress/dist/assets/css/styles.9e2c2fad.css b/docs/.vuepress/dist/assets/css/styles.698fecae.css similarity index 100% rename from docs/.vuepress/dist/assets/css/styles.9e2c2fad.css rename to docs/.vuepress/dist/assets/css/styles.698fecae.css diff --git a/docs/.vuepress/dist/assets/js/app.9e2c2fad.js b/docs/.vuepress/dist/assets/js/app.698fecae.js similarity index 97% rename from docs/.vuepress/dist/assets/js/app.9e2c2fad.js rename to docs/.vuepress/dist/assets/js/app.698fecae.js index d38bb594..f877948d 100644 --- a/docs/.vuepress/dist/assets/js/app.9e2c2fad.js +++ b/docs/.vuepress/dist/assets/js/app.698fecae.js @@ -5,4 +5,4 @@ * vue-router v3.0.1 * (c) 2017 Evan You * @license MIT - */function yi(t,e){0}function bi(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var _i={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,o=e.data;o.routerView=!0;for(var a=i.$createElement,s=n.name,c=i.$route,u=i._routerViewCache||(i._routerViewCache={}),l=0,f=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&l++,i._inactive&&(f=!0),i=i.$parent;if(o.routerViewDepth=l,f)return a(u[s],o,r);var p=c.matched[l];if(!p)return u[s]=null,a();var d=u[s]=p.components[s];o.registerRouteInstance=function(t,e){var n=p.instances[s];(e&&n!==t||!e&&n===t)&&(p.instances[s]=e)},(o.hook||(o.hook={})).prepatch=function(t,e){p.instances[s]=e.componentInstance};var h=o.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(c,p.props&&p.props[s]);if(h){h=o.props=function(t,e){for(var n in e)t[n]=e[n];return t}({},h);var v=o.attrs=o.attrs||{};for(var m in h)d.props&&m in d.props||(v[m]=h[m],delete h[m])}return a(d,o,r)}};var xi=/[!'()*]/g,wi=function(t){return"%"+t.charCodeAt(0).toString(16)},ki=/%2C/g,Ci=function(t){return encodeURIComponent(t).replace(xi,wi).replace(ki,",")},$i=decodeURIComponent;function Si(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=$i(n.shift()),i=n.length>0?$i(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function Ei(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Ci(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Ci(e)):r.push(Ci(e)+"="+Ci(t)))}),r.join("&")}return Ci(e)+"="+Ci(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var Oi=/\/?$/;function ji(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=Ai(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:Li(e,i),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return n&&(a.redirectedFrom=Li(n,i)),Object.freeze(a)}function Ai(t){if(Array.isArray(t))return t.map(Ai);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=Ai(t[n]);return e}return t}var Ti=ji(null,{path:"/"});function Li(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||Ei)(r)+i}function Pi(t,e){return e===Ti?t===e:!!e&&(t.path&&e.path?t.path.replace(Oi,"")===e.path.replace(Oi,"")&&t.hash===e.hash&&Ii(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&Ii(t.query,e.query)&&Ii(t.params,e.params)))}function Ii(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],i=e[n];return"object"==typeof r&&"object"==typeof i?Ii(r,i):String(r)===String(i)})}var Mi,Ri=[String,Object],Ni=[String,Array],Di={name:"router-link",props:{to:{type:Ri,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Ni,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,s=i.href,c={},u=n.options.linkActiveClass,l=n.options.linkExactActiveClass,f=null==u?"router-link-active":u,p=null==l?"router-link-exact-active":l,d=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,v=o.path?ji(null,o,null,n):a;c[h]=Pi(r,v),c[d]=this.exact?c[h]:function(t,e){return 0===t.path.replace(Oi,"/").indexOf(e.path.replace(Oi,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var m=function(t){Ui(t)&&(e.replace?n.replace(o):n.push(o))},g={click:Ui};Array.isArray(this.event)?this.event.forEach(function(t){g[t]=m}):g[this.event]=m;var y={class:c};if("a"===this.tag)y.on=g,y.attrs={href:s};else{var b=function t(e){if(e)for(var n,r=0;r=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(i.path||""),c=e&&e.path||"/",u=s.path?Hi(s.path,c,n||i.append):c,l=function(t,e,n){void 0===e&&(e={});var r,i=n||Si;try{r=i(t||"")}catch(t){r={}}for(var o in e)r[o]=e[o];return r}(s.query,i.query,r&&r.options.parseQuery),f=i.hash||s.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:u,query:l,hash:f}}function fo(t,e){for(var n in e)t[n]=e[n];return t}function po(t,e){var n=uo(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(t,n,a){var s=lo(t,n,!1,e),u=s.name;if(u){var l=o[u];if(!l)return c(null,s);var f=l.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in s.params)&&f.indexOf(p)>-1&&(s.params[p]=n.params[p]);if(l)return s.path=co(l.path,s.params),c(l,s,a)}else if(s.path){s.params={};for(var d=0;d=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function To(t){return function(e,n,r){var i=!1,o=0,a=null;Lo(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var c,u=Mo(function(e){(function(t){return t.__esModule||Io&&"Module"===t[Symbol.toStringTag]})(e)&&(e=e.default),t.resolved="function"==typeof e?e:Mi.extend(e),n.components[s]=e,--o<=0&&r()}),l=Mo(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=bi(t)?t:new Error(e),r(a))});try{c=t(u,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"==typeof f.then&&f.then(u,l)}}}),i||r()}}function Lo(t,e){return Po(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Po(t){return Array.prototype.concat.apply([],t)}var Io="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Mo(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Ro=function(t,e){this.router=t,this.base=function(t){if(!t)if(zi){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=Ti,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function No(t,e,n,r){var i=Lo(t,function(t,r,i,o){var a=function(t,e){"function"!=typeof t&&(t=Mi.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,i,o)}):n(a,r,i,o)});return Po(r?i.reverse():i)}function Do(t,e){if(e)return function(){return t.apply(e,arguments)}}Ro.prototype.listen=function(t){this.cb=t},Ro.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Ro.prototype.onError=function(t){this.errorCbs.push(t)},Ro.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},Ro.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current,o=function(t){bi(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):(yi(),console.error(t))),n&&n(t)};if(Pi(t,i)&&t.matched.length===i.matched.length)return this.ensureURL(),o();var a=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function Vo(t){ko?Oo(Wo(t)):window.location.hash=t}function qo(t){ko?jo(Wo(t)):window.location.replace(Wo(t))}var Go=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ro),Jo=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=po(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!ko&&!1!==t.fallback,this.fallback&&(e="hash"),zi||(e="abstract"),this.mode=e,e){case"history":this.history=new Uo(this,t.base);break;case"hash":this.history=new zo(this,t.base,this.fallback);break;case"abstract":this.history=new Go(this,t.base);break;default:0}},Ko={currentRoute:{configurable:!0}};function Xo(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Jo.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ko.currentRoute.get=function(){return this.history&&this.history.current},Jo.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof Uo)n.transitionTo(n.getCurrentLocation());else if(n instanceof zo){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},Jo.prototype.beforeEach=function(t){return Xo(this.beforeHooks,t)},Jo.prototype.beforeResolve=function(t){return Xo(this.resolveHooks,t)},Jo.prototype.afterEach=function(t){return Xo(this.afterHooks,t)},Jo.prototype.onReady=function(t,e){this.history.onReady(t,e)},Jo.prototype.onError=function(t){this.history.onError(t)},Jo.prototype.push=function(t,e,n){this.history.push(t,e,n)},Jo.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},Jo.prototype.go=function(t){this.history.go(t)},Jo.prototype.back=function(){this.go(-1)},Jo.prototype.forward=function(){this.go(1)},Jo.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Jo.prototype.resolve=function(t,e,n){var r=lo(t,e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?Bi(t+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Jo.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Ti&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Jo.prototype,Ko),Jo.install=Fi,Jo.version="3.0.1",zi&&window.Vue&&window.Vue.use(Jo);var Yo=Jo;n(100),n(18),n(28),n(15),n(29),n(63),n(31),n(64);function Qo(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e-1},a=[],s=0;s=r);s++){var c=n[s];if(this.getPageLocalePath(c)===i)if(o(c))a.push(c);else if(c.headers)for(var u=0;u=r);u++){var l=c.headers[u];o(l)&&a.push(Object.assign({},c,{path:c.path+"#"+l.slug,header:l}))}}return a}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},methods:{getPageLocalePath:function(t){for(var e in this.$site.locales||{})if("/"!==e&&0===t.path.indexOf(e))return e;return"/"},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex "+t._s(e.header.title))]):t._e()])])})):t._e()])},[],!1,null,null,null));Sa.options.__file="SearchBox.vue";var Ea=Sa.exports,Oa=(n(117),{name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}}),ja=(n(122),Object(ga.a)(Oa,function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)},[],!1,null,null,null));ja.options.__file="DropdownTransition.vue";var Aa=ja.exports,Ta={components:{NavLink:ba,DropdownTransition:Aa},data:function(){return{open:!1}},props:{item:{required:!0}},methods:{toggle:function(){this.open=!this.open}}},La=(n(123),Object(ga.a)(Ta,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dropdown-wrapper",class:{open:t.open}},[n("a",{staticClass:"dropdown-title",on:{click:t.toggle}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow",class:t.open?"down":"right"})]),t._v(" "),n("DropdownTransition",[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"nav-dropdown"},t._l(t.item.items,function(e,r){return n("li",{key:e.link||r,staticClass:"dropdown-item"},["links"===e.type?n("h4",[t._v(t._s(e.text))]):t._e(),t._v(" "),"links"===e.type?n("ul",{staticClass:"dropdown-subitem-wrapper"},t._l(e.items,function(t){return n("li",{key:t.link,staticClass:"dropdown-subitem"},[n("NavLink",{attrs:{item:t}})],1)})):n("NavLink",{attrs:{item:e}})],1)}))])],1)},[],!1,null,null,null));La.options.__file="DropdownLink.vue";var Pa={components:{NavLink:ba,DropdownLink:La.exports},computed:{userNav:function(){return this.$themeLocaleConfig.nav||this.$site.themeConfig.nav||[]},nav:function(){var t=this,e=this.$site.locales;if(e&&Object.keys(e).length>1){var n=this.$page.path,r=this.$router.options.routes,i=this.$site.themeConfig.locales||{},o={text:this.$themeLocaleConfig.selectText||"Languages",items:Object.keys(e).map(function(o){var a,s=e[o],c=i[o]&&i[o].label||s.lang;return s.lang===t.$lang?a=n:(a=n.replace(t.$localeConfig.path,o),r.some(function(t){return t.path===a})||(a=o)),{text:c,link:a}})};return Qo(this.userNav).concat([o])}return this.userNav},userLinks:function(){return(this.nav||[]).map(function(t){return Object.assign(ha(t),{items:(t.items||[]).map(ha)})})},repoLink:function(){var t=this.$site.themeConfig.repo;if(t)return/^https?:/.test(t)?t:"https://github.com/".concat(t)},repoLabel:function(){if(this.repoLink){if(this.$site.themeConfig.repoLabel)return this.$site.themeConfig.repoLabel;for(var t=this.repoLink.match(/^https?:\/\/[^/]+/)[0],e=["GitHub","GitLab","Bitbucket"],n=0;n5&&void 0!==arguments[5]?arguments[5]:1;return!e||o>i?null:t("ul",{class:"sidebar-sub-headers"},e.map(function(e){var a=la(r,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[Wa(t,n+"#"+e.slug,e.title,a),Va(t,e.children,n,r,i,o+1)])}))}var qa={functional:!0,props:["item"],render:function(t,e){var n=e.parent,r=n.$page,i=n.$site,o=n.$route,a=e.props.item,s=la(o,a.path),c="auto"===a.type?s||a.children.some(function(t){return la(o,a.basePath+"#"+t.slug)}):s,u=Wa(t,a.path,a.title||a.path,c),l=null!=r.frontmatter.sidebarDepth?r.frontmatter.sidebarDepth:i.themeConfig.sidebarDepth,f=null==l?1:l,p=!!i.themeConfig.displayAllHeaders;return"auto"===a.type?[u,Va(t,a.children,a.basePath,o,f)]:(c||p)&&a.headers&&!ra.test(a.path)?[u,Va(t,da(a.headers),a.path,o,f)]:u}},Ga=(n(127),Object(ga.a)(qa,void 0,void 0,!1,null,null,null));Ga.options.__file="SidebarLink.vue";var Ja=Ga.exports,Ka={name:"SidebarGroup",props:["item","first","open","collapsable"],components:{SidebarLink:Ja,DropdownTransition:Aa}},Xa=(n(128),Object(ga.a)(Ka,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-group",class:{first:t.first,collapsable:t.collapsable}},[n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]),t._v(" "),n("DropdownTransition",[t.open||!t.collapsable?n("ul",{ref:"items",staticClass:"sidebar-group-items"},t._l(t.item.children,function(t){return n("li",[n("SidebarLink",{attrs:{item:t}})],1)})):t._e()])],1)},[],!1,null,null,null));Xa.options.__file="SidebarGroup.vue";var Ya={components:{SidebarGroup:Xa.exports,SidebarLink:Ja,NavLinks:Ma},props:["items"],data:function(){return{openGroupIndex:0}},created:function(){this.refreshIndex()},watch:{$route:function(){this.refreshIndex()}},methods:{refreshIndex:function(){var t=function(t,e){for(var n=0;n-1&&(this.openGroupIndex=t)},toggleGroup:function(t){this.openGroupIndex=t===this.openGroupIndex?-1:t},isActive:function(t){return la(this.$route,t.path)}}},Qa=(n(129),Object(ga.a)(Ya,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar"},[n("NavLinks"),t._v(" "),t._t("top"),t._v(" "),t.items.length?n("ul",{staticClass:"sidebar-links"},t._l(t.items,function(e,r){return n("li",{key:r},["group"===e.type?n("SidebarGroup",{attrs:{item:e,first:0===r,open:r===t.openGroupIndex,collapsable:e.collapsable||e.collapsible},on:{toggle:function(e){t.toggleGroup(r)}}}):n("SidebarLink",{attrs:{item:e}})],1)})):t._e(),t._v(" "),t._t("bottom")],2)},[],!1,null,null,null));Qa.options.__file="Sidebar.vue";var Za=Qa.exports;function ts(t){return(ts="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function es(t){return(es="function"==typeof Symbol&&"symbol"===ts(Symbol.iterator)?function(t){return ts(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":ts(t)})(t)}var ns={props:{updateEvent:{type:Object,default:null}},computed:{popupConfig:function(){for(var t=[this.$themeLocaleConfig,this.$site.themeConfig],e=0;eMath.abs(n)&&Math.abs(e)>40&&(e>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))},onSWUpdated:function(t){this.swUpdateEvent=t}}},os=(n(131),n(132),Object(ga.a)(is,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"theme-container",class:t.pageClasses,on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":t.toggleSidebar}}):t._e(),t._v(" "),n("div",{staticClass:"sidebar-mask",on:{click:function(e){t.toggleSidebar(!1)}}}),t._v(" "),n("Sidebar",{attrs:{items:t.sidebarItems},on:{"toggle-sidebar":t.toggleSidebar}},[t._t("sidebar-top",null,{slot:"top"}),t._v(" "),t._t("sidebar-bottom",null,{slot:"bottom"})],2),t._v(" "),t.$page.frontmatter.layout?n("div",{staticClass:"custom-layout"},[n(t.$page.frontmatter.layout,{tag:"component"})],1):t.$page.frontmatter.home?n("Home"):n("Page",{attrs:{"sidebar-items":t.sidebarItems}},[t._t("page-top",null,{slot:"top"}),t._v(" "),t._t("page-bottom",null,{slot:"bottom"})],2),t._v(" "),n("SWUpdatePopup",{attrs:{updateEvent:t.swUpdateEvent}})],1)},[],!1,null,null,null));os.options.__file="Layout.vue";var as=os.exports,ss=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],cs={methods:{getMsg:function(){return ss[Math.floor(Math.random()*ss.length)]}}},us=Object(ga.a)(cs,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("router-link",{attrs:{to:"/"}},[this._v("Take me home.")])],1)])},[],!1,null,null,null);us.options.__file="NotFound.vue";var ls=us.exports,fs=(n(133),n(135),{created:function(){this.$ssrContext&&(this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.description=this.$page.description||this.$description)},mounted:function(){var t=this;this.currentMetaTags=new Set;var e=function(){document.title=t.$title,document.documentElement.lang=t.$lang;var e=t.$page.frontmatter.meta||[],n=e.slice(0);0===e.filter(function(t){return"description"===t.name}).length&&n.push({name:"description",content:t.$description});var r=document.querySelectorAll('meta[name="description"]');r.length&&r.forEach(function(e){return t.currentMetaTags.add(e)}),t.currentMetaTags=new Set(ps(n,t.currentMetaTags))};this.$watch("$page",e),e()},beforeDestroy:function(){ps(null,this.currentMetaTags)}});function ps(t,e){if(e&&Qo(e).forEach(function(t){document.head.removeChild(t)}),t)return t.map(function(t){var e=document.createElement("meta");return Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])}),document.head.appendChild(e),e})}var ds=n(87),hs=[fs,{mounted:function(){window.addEventListener("scroll",this.onScroll)},methods:{onScroll:n.n(ds)()(function(){this.setActiveHash()},300),setActiveHash:function(){for(var t=this,e=[].slice.call(document.querySelectorAll(".sidebar-link")),n=[].slice.call(document.querySelectorAll(".header-anchor")).filter(function(t){return e.some(function(e){return e.hash===t.hash})}),r=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),i=0;i=o.parentElement.offsetTop+10&&(!a||r-1}var _i={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,o=e.data;o.routerView=!0;for(var a=i.$createElement,s=n.name,c=i.$route,u=i._routerViewCache||(i._routerViewCache={}),l=0,f=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&l++,i._inactive&&(f=!0),i=i.$parent;if(o.routerViewDepth=l,f)return a(u[s],o,r);var p=c.matched[l];if(!p)return u[s]=null,a();var d=u[s]=p.components[s];o.registerRouteInstance=function(t,e){var n=p.instances[s];(e&&n!==t||!e&&n===t)&&(p.instances[s]=e)},(o.hook||(o.hook={})).prepatch=function(t,e){p.instances[s]=e.componentInstance};var h=o.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(c,p.props&&p.props[s]);if(h){h=o.props=function(t,e){for(var n in e)t[n]=e[n];return t}({},h);var v=o.attrs=o.attrs||{};for(var m in h)d.props&&m in d.props||(v[m]=h[m],delete h[m])}return a(d,o,r)}};var xi=/[!'()*]/g,wi=function(t){return"%"+t.charCodeAt(0).toString(16)},ki=/%2C/g,Ci=function(t){return encodeURIComponent(t).replace(xi,wi).replace(ki,",")},$i=decodeURIComponent;function Si(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=$i(n.shift()),i=n.length>0?$i(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function Ei(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Ci(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Ci(e)):r.push(Ci(e)+"="+Ci(t)))}),r.join("&")}return Ci(e)+"="+Ci(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var Oi=/\/?$/;function ji(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=Ai(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:Li(e,i),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return n&&(a.redirectedFrom=Li(n,i)),Object.freeze(a)}function Ai(t){if(Array.isArray(t))return t.map(Ai);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=Ai(t[n]);return e}return t}var Ti=ji(null,{path:"/"});function Li(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||Ei)(r)+i}function Pi(t,e){return e===Ti?t===e:!!e&&(t.path&&e.path?t.path.replace(Oi,"")===e.path.replace(Oi,"")&&t.hash===e.hash&&Ii(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&Ii(t.query,e.query)&&Ii(t.params,e.params)))}function Ii(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],i=e[n];return"object"==typeof r&&"object"==typeof i?Ii(r,i):String(r)===String(i)})}var Mi,Ri=[String,Object],Ni=[String,Array],Di={name:"router-link",props:{to:{type:Ri,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Ni,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,s=i.href,c={},u=n.options.linkActiveClass,l=n.options.linkExactActiveClass,f=null==u?"router-link-active":u,p=null==l?"router-link-exact-active":l,d=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,v=o.path?ji(null,o,null,n):a;c[h]=Pi(r,v),c[d]=this.exact?c[h]:function(t,e){return 0===t.path.replace(Oi,"/").indexOf(e.path.replace(Oi,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var m=function(t){Ui(t)&&(e.replace?n.replace(o):n.push(o))},g={click:Ui};Array.isArray(this.event)?this.event.forEach(function(t){g[t]=m}):g[this.event]=m;var y={class:c};if("a"===this.tag)y.on=g,y.attrs={href:s};else{var b=function t(e){if(e)for(var n,r=0;r=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(i.path||""),c=e&&e.path||"/",u=s.path?Hi(s.path,c,n||i.append):c,l=function(t,e,n){void 0===e&&(e={});var r,i=n||Si;try{r=i(t||"")}catch(t){r={}}for(var o in e)r[o]=e[o];return r}(s.query,i.query,r&&r.options.parseQuery),f=i.hash||s.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:u,query:l,hash:f}}function fo(t,e){for(var n in e)t[n]=e[n];return t}function po(t,e){var n=uo(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(t,n,a){var s=lo(t,n,!1,e),u=s.name;if(u){var l=o[u];if(!l)return c(null,s);var f=l.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in s.params)&&f.indexOf(p)>-1&&(s.params[p]=n.params[p]);if(l)return s.path=co(l.path,s.params),c(l,s,a)}else if(s.path){s.params={};for(var d=0;d=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function To(t){return function(e,n,r){var i=!1,o=0,a=null;Lo(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var c,u=Mo(function(e){(function(t){return t.__esModule||Io&&"Module"===t[Symbol.toStringTag]})(e)&&(e=e.default),t.resolved="function"==typeof e?e:Mi.extend(e),n.components[s]=e,--o<=0&&r()}),l=Mo(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=bi(t)?t:new Error(e),r(a))});try{c=t(u,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"==typeof f.then&&f.then(u,l)}}}),i||r()}}function Lo(t,e){return Po(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Po(t){return Array.prototype.concat.apply([],t)}var Io="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Mo(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Ro=function(t,e){this.router=t,this.base=function(t){if(!t)if(zi){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=Ti,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function No(t,e,n,r){var i=Lo(t,function(t,r,i,o){var a=function(t,e){"function"!=typeof t&&(t=Mi.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,i,o)}):n(a,r,i,o)});return Po(r?i.reverse():i)}function Do(t,e){if(e)return function(){return t.apply(e,arguments)}}Ro.prototype.listen=function(t){this.cb=t},Ro.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Ro.prototype.onError=function(t){this.errorCbs.push(t)},Ro.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},Ro.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current,o=function(t){bi(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):(yi(),console.error(t))),n&&n(t)};if(Pi(t,i)&&t.matched.length===i.matched.length)return this.ensureURL(),o();var a=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function Vo(t){ko?Oo(Wo(t)):window.location.hash=t}function qo(t){ko?jo(Wo(t)):window.location.replace(Wo(t))}var Go=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ro),Jo=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=po(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!ko&&!1!==t.fallback,this.fallback&&(e="hash"),zi||(e="abstract"),this.mode=e,e){case"history":this.history=new Uo(this,t.base);break;case"hash":this.history=new zo(this,t.base,this.fallback);break;case"abstract":this.history=new Go(this,t.base);break;default:0}},Ko={currentRoute:{configurable:!0}};function Xo(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Jo.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ko.currentRoute.get=function(){return this.history&&this.history.current},Jo.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof Uo)n.transitionTo(n.getCurrentLocation());else if(n instanceof zo){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},Jo.prototype.beforeEach=function(t){return Xo(this.beforeHooks,t)},Jo.prototype.beforeResolve=function(t){return Xo(this.resolveHooks,t)},Jo.prototype.afterEach=function(t){return Xo(this.afterHooks,t)},Jo.prototype.onReady=function(t,e){this.history.onReady(t,e)},Jo.prototype.onError=function(t){this.history.onError(t)},Jo.prototype.push=function(t,e,n){this.history.push(t,e,n)},Jo.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},Jo.prototype.go=function(t){this.history.go(t)},Jo.prototype.back=function(){this.go(-1)},Jo.prototype.forward=function(){this.go(1)},Jo.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Jo.prototype.resolve=function(t,e,n){var r=lo(t,e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?Bi(t+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Jo.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Ti&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Jo.prototype,Ko),Jo.install=Fi,Jo.version="3.0.1",zi&&window.Vue&&window.Vue.use(Jo);var Yo=Jo;n(100),n(18),n(28),n(15),n(29),n(63),n(31),n(64);function Qo(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e-1},a=[],s=0;s=r);s++){var c=n[s];if(this.getPageLocalePath(c)===i)if(o(c))a.push(c);else if(c.headers)for(var u=0;u=r);u++){var l=c.headers[u];o(l)&&a.push(Object.assign({},c,{path:c.path+"#"+l.slug,header:l}))}}return a}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},methods:{getPageLocalePath:function(t){for(var e in this.$site.locales||{})if("/"!==e&&0===t.path.indexOf(e))return e;return"/"},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex "+t._s(e.header.title))]):t._e()])])})):t._e()])},[],!1,null,null,null));Sa.options.__file="SearchBox.vue";var Ea=Sa.exports,Oa=(n(117),{name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}}),ja=(n(122),Object(ga.a)(Oa,function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)},[],!1,null,null,null));ja.options.__file="DropdownTransition.vue";var Aa=ja.exports,Ta={components:{NavLink:ba,DropdownTransition:Aa},data:function(){return{open:!1}},props:{item:{required:!0}},methods:{toggle:function(){this.open=!this.open}}},La=(n(123),Object(ga.a)(Ta,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dropdown-wrapper",class:{open:t.open}},[n("a",{staticClass:"dropdown-title",on:{click:t.toggle}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow",class:t.open?"down":"right"})]),t._v(" "),n("DropdownTransition",[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"nav-dropdown"},t._l(t.item.items,function(e,r){return n("li",{key:e.link||r,staticClass:"dropdown-item"},["links"===e.type?n("h4",[t._v(t._s(e.text))]):t._e(),t._v(" "),"links"===e.type?n("ul",{staticClass:"dropdown-subitem-wrapper"},t._l(e.items,function(t){return n("li",{key:t.link,staticClass:"dropdown-subitem"},[n("NavLink",{attrs:{item:t}})],1)})):n("NavLink",{attrs:{item:e}})],1)}))])],1)},[],!1,null,null,null));La.options.__file="DropdownLink.vue";var Pa={components:{NavLink:ba,DropdownLink:La.exports},computed:{userNav:function(){return this.$themeLocaleConfig.nav||this.$site.themeConfig.nav||[]},nav:function(){var t=this,e=this.$site.locales;if(e&&Object.keys(e).length>1){var n=this.$page.path,r=this.$router.options.routes,i=this.$site.themeConfig.locales||{},o={text:this.$themeLocaleConfig.selectText||"Languages",items:Object.keys(e).map(function(o){var a,s=e[o],c=i[o]&&i[o].label||s.lang;return s.lang===t.$lang?a=n:(a=n.replace(t.$localeConfig.path,o),r.some(function(t){return t.path===a})||(a=o)),{text:c,link:a}})};return Qo(this.userNav).concat([o])}return this.userNav},userLinks:function(){return(this.nav||[]).map(function(t){return Object.assign(ha(t),{items:(t.items||[]).map(ha)})})},repoLink:function(){var t=this.$site.themeConfig.repo;if(t)return/^https?:/.test(t)?t:"https://github.com/".concat(t)},repoLabel:function(){if(this.repoLink){if(this.$site.themeConfig.repoLabel)return this.$site.themeConfig.repoLabel;for(var t=this.repoLink.match(/^https?:\/\/[^/]+/)[0],e=["GitHub","GitLab","Bitbucket"],n=0;n5&&void 0!==arguments[5]?arguments[5]:1;return!e||o>i?null:t("ul",{class:"sidebar-sub-headers"},e.map(function(e){var a=la(r,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[Wa(t,n+"#"+e.slug,e.title,a),Va(t,e.children,n,r,i,o+1)])}))}var qa={functional:!0,props:["item"],render:function(t,e){var n=e.parent,r=n.$page,i=n.$site,o=n.$route,a=e.props.item,s=la(o,a.path),c="auto"===a.type?s||a.children.some(function(t){return la(o,a.basePath+"#"+t.slug)}):s,u=Wa(t,a.path,a.title||a.path,c),l=null!=r.frontmatter.sidebarDepth?r.frontmatter.sidebarDepth:i.themeConfig.sidebarDepth,f=null==l?1:l,p=!!i.themeConfig.displayAllHeaders;return"auto"===a.type?[u,Va(t,a.children,a.basePath,o,f)]:(c||p)&&a.headers&&!ra.test(a.path)?[u,Va(t,da(a.headers),a.path,o,f)]:u}},Ga=(n(127),Object(ga.a)(qa,void 0,void 0,!1,null,null,null));Ga.options.__file="SidebarLink.vue";var Ja=Ga.exports,Ka={name:"SidebarGroup",props:["item","first","open","collapsable"],components:{SidebarLink:Ja,DropdownTransition:Aa}},Xa=(n(128),Object(ga.a)(Ka,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-group",class:{first:t.first,collapsable:t.collapsable}},[n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]),t._v(" "),n("DropdownTransition",[t.open||!t.collapsable?n("ul",{ref:"items",staticClass:"sidebar-group-items"},t._l(t.item.children,function(t){return n("li",[n("SidebarLink",{attrs:{item:t}})],1)})):t._e()])],1)},[],!1,null,null,null));Xa.options.__file="SidebarGroup.vue";var Ya={components:{SidebarGroup:Xa.exports,SidebarLink:Ja,NavLinks:Ma},props:["items"],data:function(){return{openGroupIndex:0}},created:function(){this.refreshIndex()},watch:{$route:function(){this.refreshIndex()}},methods:{refreshIndex:function(){var t=function(t,e){for(var n=0;n-1&&(this.openGroupIndex=t)},toggleGroup:function(t){this.openGroupIndex=t===this.openGroupIndex?-1:t},isActive:function(t){return la(this.$route,t.path)}}},Qa=(n(129),Object(ga.a)(Ya,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar"},[n("NavLinks"),t._v(" "),t._t("top"),t._v(" "),t.items.length?n("ul",{staticClass:"sidebar-links"},t._l(t.items,function(e,r){return n("li",{key:r},["group"===e.type?n("SidebarGroup",{attrs:{item:e,first:0===r,open:r===t.openGroupIndex,collapsable:e.collapsable||e.collapsible},on:{toggle:function(e){t.toggleGroup(r)}}}):n("SidebarLink",{attrs:{item:e}})],1)})):t._e(),t._v(" "),t._t("bottom")],2)},[],!1,null,null,null));Qa.options.__file="Sidebar.vue";var Za=Qa.exports;function ts(t){return(ts="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function es(t){return(es="function"==typeof Symbol&&"symbol"===ts(Symbol.iterator)?function(t){return ts(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":ts(t)})(t)}var ns={props:{updateEvent:{type:Object,default:null}},computed:{popupConfig:function(){for(var t=[this.$themeLocaleConfig,this.$site.themeConfig],e=0;eMath.abs(n)&&Math.abs(e)>40&&(e>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))},onSWUpdated:function(t){this.swUpdateEvent=t}}},os=(n(131),n(132),Object(ga.a)(is,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"theme-container",class:t.pageClasses,on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":t.toggleSidebar}}):t._e(),t._v(" "),n("div",{staticClass:"sidebar-mask",on:{click:function(e){t.toggleSidebar(!1)}}}),t._v(" "),n("Sidebar",{attrs:{items:t.sidebarItems},on:{"toggle-sidebar":t.toggleSidebar}},[t._t("sidebar-top",null,{slot:"top"}),t._v(" "),t._t("sidebar-bottom",null,{slot:"bottom"})],2),t._v(" "),t.$page.frontmatter.layout?n("div",{staticClass:"custom-layout"},[n(t.$page.frontmatter.layout,{tag:"component"})],1):t.$page.frontmatter.home?n("Home"):n("Page",{attrs:{"sidebar-items":t.sidebarItems}},[t._t("page-top",null,{slot:"top"}),t._v(" "),t._t("page-bottom",null,{slot:"bottom"})],2),t._v(" "),n("SWUpdatePopup",{attrs:{updateEvent:t.swUpdateEvent}})],1)},[],!1,null,null,null));os.options.__file="Layout.vue";var as=os.exports,ss=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],cs={methods:{getMsg:function(){return ss[Math.floor(Math.random()*ss.length)]}}},us=Object(ga.a)(cs,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("router-link",{attrs:{to:"/"}},[this._v("Take me home.")])],1)])},[],!1,null,null,null);us.options.__file="NotFound.vue";var ls=us.exports,fs=(n(133),n(135),{created:function(){this.$ssrContext&&(this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.description=this.$page.description||this.$description)},mounted:function(){var t=this;this.currentMetaTags=new Set;var e=function(){document.title=t.$title,document.documentElement.lang=t.$lang;var e=t.$page.frontmatter.meta||[],n=e.slice(0);0===e.filter(function(t){return"description"===t.name}).length&&n.push({name:"description",content:t.$description});var r=document.querySelectorAll('meta[name="description"]');r.length&&r.forEach(function(e){return t.currentMetaTags.add(e)}),t.currentMetaTags=new Set(ps(n,t.currentMetaTags))};this.$watch("$page",e),e()},beforeDestroy:function(){ps(null,this.currentMetaTags)}});function ps(t,e){if(e&&Qo(e).forEach(function(t){document.head.removeChild(t)}),t)return t.map(function(t){var e=document.createElement("meta");return Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])}),document.head.appendChild(e),e})}var ds=n(87),hs=[fs,{mounted:function(){window.addEventListener("scroll",this.onScroll)},methods:{onScroll:n.n(ds)()(function(){this.setActiveHash()},300),setActiveHash:function(){for(var t=this,e=[].slice.call(document.querySelectorAll(".sidebar-link")),n=[].slice.call(document.querySelectorAll(".header-anchor")).filter(function(t){return e.some(function(e){return e.hash===t.hash})}),r=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),i=0;i=o.parentElement.offsetTop+10&&(!a||r - - + + - + diff --git a/docs/.vuepress/dist/fr-fr/guide/index.html b/docs/.vuepress/dist/fr-fr/guide/index.html index b9741005..c9e0cf9f 100644 --- a/docs/.vuepress/dist/fr-fr/guide/index.html +++ b/docs/.vuepress/dist/fr-fr/guide/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/fr-fr/index.html b/docs/.vuepress/dist/fr-fr/index.html index 9caec129..3497d6eb 100644 --- a/docs/.vuepress/dist/fr-fr/index.html +++ b/docs/.vuepress/dist/fr-fr/index.html @@ -7,8 +7,8 @@ - - + +
- + diff --git a/docs/.vuepress/dist/guide/index.html b/docs/.vuepress/dist/guide/index.html index 932af733..f0ca64ef 100644 --- a/docs/.vuepress/dist/guide/index.html +++ b/docs/.vuepress/dist/guide/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/id/api/index.html b/docs/.vuepress/dist/id/api/index.html index 8144101c..86cd7a09 100644 --- a/docs/.vuepress/dist/id/api/index.html +++ b/docs/.vuepress/dist/id/api/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/id/guide/index.html b/docs/.vuepress/dist/id/guide/index.html index 386e5712..867be925 100644 --- a/docs/.vuepress/dist/id/guide/index.html +++ b/docs/.vuepress/dist/id/guide/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/id/index.html b/docs/.vuepress/dist/id/index.html index 076ac991..32ef98e8 100644 --- a/docs/.vuepress/dist/id/index.html +++ b/docs/.vuepress/dist/id/index.html @@ -7,8 +7,8 @@ - - + +
- + diff --git a/docs/.vuepress/dist/index.html b/docs/.vuepress/dist/index.html index e5d3e52c..e25674b0 100644 --- a/docs/.vuepress/dist/index.html +++ b/docs/.vuepress/dist/index.html @@ -7,8 +7,8 @@ - - + +
- + diff --git a/docs/.vuepress/dist/ja/api/index.html b/docs/.vuepress/dist/ja/api/index.html index b565204b..a362db1f 100644 --- a/docs/.vuepress/dist/ja/api/index.html +++ b/docs/.vuepress/dist/ja/api/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/ja/guide/index.html b/docs/.vuepress/dist/ja/guide/index.html index 0555430b..678138c2 100644 --- a/docs/.vuepress/dist/ja/guide/index.html +++ b/docs/.vuepress/dist/ja/guide/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/ja/index.html b/docs/.vuepress/dist/ja/index.html index 57c42526..7392ba20 100644 --- a/docs/.vuepress/dist/ja/index.html +++ b/docs/.vuepress/dist/ja/index.html @@ -7,8 +7,8 @@ - - + +
- + diff --git a/docs/.vuepress/dist/pt-br/api/index.html b/docs/.vuepress/dist/pt-br/api/index.html index 9cb4e79b..07f8d83d 100644 --- a/docs/.vuepress/dist/pt-br/api/index.html +++ b/docs/.vuepress/dist/pt-br/api/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/pt-br/guide/index.html b/docs/.vuepress/dist/pt-br/guide/index.html index 6f5479eb..31842408 100644 --- a/docs/.vuepress/dist/pt-br/guide/index.html +++ b/docs/.vuepress/dist/pt-br/guide/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/pt-br/index.html b/docs/.vuepress/dist/pt-br/index.html index 4cb87f9c..a4729748 100644 --- a/docs/.vuepress/dist/pt-br/index.html +++ b/docs/.vuepress/dist/pt-br/index.html @@ -7,8 +7,8 @@ - - + +
- + diff --git a/docs/.vuepress/dist/ru/api/index.html b/docs/.vuepress/dist/ru/api/index.html index 62452825..01f6ae95 100644 --- a/docs/.vuepress/dist/ru/api/index.html +++ b/docs/.vuepress/dist/ru/api/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/ru/guide/index.html b/docs/.vuepress/dist/ru/guide/index.html index ce981a98..deaa10e8 100644 --- a/docs/.vuepress/dist/ru/guide/index.html +++ b/docs/.vuepress/dist/ru/guide/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/ru/index.html b/docs/.vuepress/dist/ru/index.html index 33fc3800..cbcd6cc4 100644 --- a/docs/.vuepress/dist/ru/index.html +++ b/docs/.vuepress/dist/ru/index.html @@ -7,8 +7,8 @@ - - + +
- + diff --git a/docs/.vuepress/dist/zh-cn/api/index.html b/docs/.vuepress/dist/zh-cn/api/index.html index b4a05447..43b62531 100644 --- a/docs/.vuepress/dist/zh-cn/api/index.html +++ b/docs/.vuepress/dist/zh-cn/api/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/zh-cn/guide/index.html b/docs/.vuepress/dist/zh-cn/guide/index.html index 878df4fd..8330ac93 100644 --- a/docs/.vuepress/dist/zh-cn/guide/index.html +++ b/docs/.vuepress/dist/zh-cn/guide/index.html @@ -7,8 +7,8 @@ - - + + - + diff --git a/docs/.vuepress/dist/zh-cn/index.html b/docs/.vuepress/dist/zh-cn/index.html index fde886cc..bca86beb 100644 --- a/docs/.vuepress/dist/zh-cn/index.html +++ b/docs/.vuepress/dist/zh-cn/index.html @@ -7,8 +7,8 @@ - - + +
- +