mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
1 line
No EOL
3.2 KiB
JavaScript
Vendored
1 line
No EOL
3.2 KiB
JavaScript
Vendored
"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[1983],{26861:(t,e,n)=>{n.r(e),n.d(e,{default:()=>s});const s={data:function(){return{isLoaded:!1,article:void 0,related:[]}},mounted:function(){this.init()},methods:{init:function(){this.fetchArticle()},fetchArticle:function(){var t=this;axios.get("/i/hc/get",{params:{id:this.$route.params.id}}).then((function(e){t.isLoaded=!0,t.article=e.data})).catch((function(e){t.$router.push("/i/web/404")}))}}}},33981:(t,e,n)=>{function s(t){return s="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},s(t)}n.r(e),n.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"knowledgebase-component"},[t.isLoaded?e("div",[e("div",{staticClass:"jumbotron"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("p",[e("router-link",{staticClass:"text-muted",attrs:{to:"/i/web/help"}},[e("i",{staticClass:"far fa-long-arrow-left"}),t._v(" "),e("span",{staticClass:"ml-2"},[t._v("Help Center")])])],1),t._v(" "),e("p",{staticClass:"h1 font-weight-bold text-narrow"},[t._v(t._s(t.article.title))])])])])]),t._v(" "),e("div",{staticClass:"container mt-5"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},t._l(t.article.body,(function(n,i){return e("div",["string"==typeof n?e("div",{staticClass:"lead mb-3",domProps:{innerHTML:t._s(n)}}):t._e(),t._v(" "),"object"===s(n)&&Array.isArray(n)?e("div",{staticClass:"mb-5"},t._l(n,(function(n,s){return e("div",{staticClass:"media align-items-center mb-3"},[e("div",{staticClass:"lead rounded-circle d-flex justify-content-center align-items-center font-weight-bold mr-3",staticStyle:{width:"50px",height:"50px",background:"#F3F4F6"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s+1)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mb-0",domProps:{innerHTML:t._s(n)}})])])})),0):t._e()])})),0)])])]):e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner")],1)])},a=[]},4899:(t,e,n)=>{n.r(e),n.d(e,{default:()=>a});var s=n(1519),i=n.n(s)()((function(t){return t[1]}));i.push([t.id,".knowledgebase-component .text-narrow{font-weight:900!important;letter-spacing:-.034em}.knowledgebase-component strong{font-weight:700}",""]);const a=i},75451:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});var s=n(93379),i=n.n(s),a=n(4899),o={insert:"head",singleton:!1};i()(a.default,o);const r=a.default.locals||{}},72179:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});var s=n(25823),i=n(36233),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);n.d(e,a);n(9234);const o=(0,n(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},36233:(t,e,n)=>{n.r(e),n.d(e,{default:()=>a});var s=n(26861),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);n.d(e,i);const a=s.default},25823:(t,e,n)=>{n.r(e);var s=n(33981),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);n.d(e,i)},9234:(t,e,n)=>{n.r(e);var s=n(75451),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);n.d(e,i)}}]); |