Files
zhamao-framework/assets/js/2.4c04991c.js

1 line
11 KiB
JavaScript
Raw Permalink Normal View History

2024-09-19 08:29:13 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[2,19],{670:function(t,e,a){},671:function(t,e,a){},672:function(t,e,a){},678:function(t,e,a){},684:function(t,e,a){"use strict";a(670)},685:function(t,e,a){var s=a(53),r=a(35),n=a(42);t.exports=function(t){return"string"==typeof t||!r(t)&&n(t)&&"[object String]"==s(t)}},686:function(t,e,a){"use strict";a(671)},687:function(t,e,a){"use strict";a(672)},688:function(t,e,a){},692:function(t,e,a){"use strict";a.r(e);var s=a(47),r=a.n(s),n=a(664),i={name:"PageEdit",computed:{lastUpdated(){return this.$page.lastUpdated},lastUpdatedText(){return"string"==typeof this.$themeLocaleConfig.lastUpdated?this.$themeLocaleConfig.lastUpdated:"string"==typeof this.$site.themeConfig.lastUpdated?this.$site.themeConfig.lastUpdated:"Last Updated"},editLink(){const t=r()(this.$page.frontmatter.editLink)?this.$site.themeConfig.editLinks:this.$page.frontmatter.editLink,{repo:e,docsDir:a="",docsBranch:s="master",docsRepo:n=e}=this.$site.themeConfig;return t&&n&&this.$page.relativePath?this.createEditLink(e,n,a,s,this.$page.relativePath):null},editLinkText(){return this.$themeLocaleConfig.editLinkText||this.$site.themeConfig.editLinkText||"Edit this page"}},methods:{createEditLink(t,e,a,s,r){if(/bitbucket.org/.test(t)){return(n.f.test(e)?e:t).replace(n.a,"")+"/src"+`/${s}/`+(a?a.replace(n.a,"")+"/":"")+r+`?mode=edit&spa=0&at=${s}&fileviewer=file-view-default`}return(n.f.test(e)?e:"https://github.com/"+e).replace(n.a,"")+"/edit"+`/${s}/`+(a?a.replace(n.a,"")+"/":"")+r}}},o=(a(684),a(84)),l=Object(o.a)(i,(function(){var t=this,e=t._self._c;return e("footer",{staticClass:"page-edit"},[t.editLink?e("div",{staticClass:"edit-link"},[e("a",{attrs:{href:t.editLink,target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.editLinkText))]),t._v(" "),e("OutboundLink")],1):t._e(),t._v(" "),t.lastUpdated?e("div",{staticClass:"last-updated"},[e("span",{staticClass:"prefix"},[t._v(t._s(t.lastUpdatedText)+":")]),t._v(" "),e("span",{staticClass:"time"},[t._v(t._s(t.lastUpdated))])]):t._e()])}),[],!1,null,null,null);e.default=l.exports},693:function(t,e,a){"use strict";a.r(e);a(391);var s=a(664),r=a(685),n=a.n(r),i=a(47),o=a.n(i),l={name:"PageNav",props:["sidebarItems"],computed:{prev(){return c(h.PREV,this)},next(){return c(h.NEXT,this)}}};const h={NEXT:{resolveLink:function(t,e){return d(t,e,1)},getThemeLinkConfig:({nextLinks:t})=>t,getPageLinkConfig:({frontmatter:t})=>t.next},PREV:{resolveLink:function(t,e){return d(t,e,-1)},getThemeLinkConfig:({prevLinks:t})=>t,getPageLinkConfig:({frontmatter:t})=>t.prev}};function c(t,{$themeConfig:e,$page:a,$route:r,$site:i,sidebarItems:l}){const{resolveLink:h,getThemeLinkConfig:c,getPageLinkConfig:d}=t,p=c(e),u=d(a),f=o()(u)?p:u;return!1===f?void 0:n()(f)?Object(s.h)(i.pages,f,r.path):h(a,l)}function d(t,e,a){const s=[];!function t(e,a){for(let s=0,r=e.length;s<r;s++)"group"===e[s].type?t(e[s].children||[],a):a.push(e[s])}(e,s);for(let e=0;e<s.length;e++){const r=s[e];if("page"===r.type&&r.path===decodeURIComponent(t.path))return s[e+a]}}var p=l,u=(a(686),a(84)),f=Object(u.a)(p,(function(){var t=this,e=t._self._c;return t.prev||t.next?e("div",{staticClass:"page-nav"},[e("p",{staticClass:"inner"},[t.prev?e("span",{staticClass:"prev"},["external"===t.prev.type?e("a",{staticClass:"prev",attrs:{href:t.prev.path,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.prev.title||t.prev.path)+"\n\n "),e("OutboundLink")],1):e("RouterLink",{staticClass:"prev",attrs:{to:t.prev.path}},[e("a-icon",{attrs:{type:"left"}}),t._v("\n "+t._s(t.prev.title||t.prev.path)+"\n ")],1)],1):t._e(),t._v(" "),t.next?e("span",{staticClass:"next"},["external"===t.next.type?e("a",{attrs:{href:t.next.path,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.next.title||t.next.path)+"\n\n "),e("OutboundLink")],1):e("RouterLink",{attrs:{to:t.next.path}},[t._v("\n "+t._s(t.next.title||t.next.path)+"\n "),e("a-icon",{attrs:{type:"right"}})],1)],1):t._e()])]):t._e()}),[],!1,null,null,null);e.default=f.exports},694:function(t,e,a){"use stri