PluralKit/docs/assets/main.e842fc13.js

4 lines
125 KiB
JavaScript
Raw Normal View History

2021-12-15 12:57:29 +00:00
var Gt=Object.defineProperty;var Ke=Object.getOwnPropertySymbols;var Kt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable;var Ve=(o,e,n)=>e in o?Gt(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,Xe=(o,e)=>{for(var n in e||(e={}))Kt.call(e,n)&&Ve(o,n,e[n]);if(Ke)for(var n of Ke(e))Yt.call(e,n)&&Ve(o,n,e[n]);return o};var Z=(o,e,n)=>(Ve(o,typeof e!="symbol"?e+"":e,n),n);import{w as Ye,S as ne,i as re,s as se,N as Qe,e as z,c as g,a as W,b as D,d as _,m as d,t as $,f as p,g as c,h as b,j as Qt,k as Wt,C as xt,l as S,n as je,o as I,p as We,D as xe,q as Ue,r as G,u as K,v as et,x as tt,y as Be,z as Se,L as Je,A as ve,B as en,M as nt,E as Y,F as tn,G as nn,H as rn,I as x,J as Ie,K as rt,O as Ee,P as Me,Q as oe,R as st,T as fe,U as le,V as sn,W as ln,X as ie,Y as lt,Z as X,_ as on,$ as $e,a0 as ee,a1 as H,a2 as F,a3 as V,a4 as we,a5 as Pe,a6 as ke,a7 as fn,a8 as ot,a9 as un,aa as $n,ab as an,ac as Te,ad as pn,ae as cn,af as _n,ag as ae,ah as pe,ai as ft,aj as Ze,ak as Re,al as mn,am as gn,an as dn,ao as bn,ap as vn,aq as ze,ar as Le,as as wn,at as he,au as kn,av as ut,aw as He,ax as yn,ay as Sn,az as it,aA as $t,aB as Pn,aC as An,aD as ce}from"./vendor.c083fd67.js";const Cn=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))t(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const f of r.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&t(f)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerpolicy&&(r.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?r.credentials="include":s.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function t(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}};Cn();const Ae=Ye(!1),_e=Ye(null);function In(o){let e;return{c(){e=I("pk-webs")},m(n,t){_(n,e,t)},d(n){n&&c(e)}}}function En(o){let e;return{c(){e=I("Styles")},m(n,t){_(n,e,t)},d(n){n&&c(e)}}}function Mn(o){let e;return{c(){e=I("Light")},m(n,t){_(n,e,t)},d(n){n&&c(e)}}}function Tn(o){let e;return{c(){e=I("Dark")},m(n,t){_(n,e,t)},d(n){n&&c(e)}}}function zn(o){let e,n,t,s;return e=new Se({props:{$$slots:{default:[Mn]},$$scope:{ctx:o}}}),e.$on("click",o[5]),t=new Se({props:{$$slots:{default:[Tn]},$$scope:{ctx:o}}}),t.$on("click",o[6]),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,f){d(e,r,f),_(r,n,f),d(t,r,f),s=!0},p(r,f){const u={};f&128&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&128&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||($(e.$$.fragment,r),$(t.$$.fragment,r),s=!0)},o(r){p(e.$$.fragment,r),p(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function Ln(o){let e,n,t,s;return e=new et({props:{color:"transparent",$$slots:{default:[En]},$$scope:{ctx:o}}}),t=new tt({props:{end:!0,$$slots:{default:[zn]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,f){d(e,r,f),_(r,n,f),d(t,r,f),s=!0},p(r,f){const u={};f&128&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&129&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||($(e.$$.fragment,r),$(t.$$.fragment,r),s=!0)},o(r){p(e.$$.fragment,r),p(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function at(o){let e,n;return e=new xe({props:{nav:!0,inNavbar:!0,$$slots:{default:[Bn]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&128&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||($(e.$$.fragment,t),n=!0)},o(t){p(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function hn(o){let e;return{c(){e=I("Dash")},m(n,t){_(n,e,t)},d(n){n&&c(e)}}}function Nn(o){let e;return{c(){e=I("System")},m(n,t){_(n,e,t)},d(n){n&&c(e)}}}function On(o){let e,n;return e=new Se({props:{$$slots:{default:[Nn]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&128&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||($(e.$$.fragment,t),n=!0)},o(t){p(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function qn(o){let e;return{c(){e=I("Mem
`),f&&f.c(),s=le(),D(e,"class","icon d-inline-block")},m(u,l){_(u,e,l),d(n,e,null),_(u,t,l),f&&f.m(u,l),_(u,s,l),r=!0},p(u,l){u[2]?f?l&4&&$(f,1):(f=Pt(),f.c(),$(f,1),f.m(s.parentNode,s)):f&&(G(),p(f,1,1,()=>{f=null}),K())},i(u){r||($(n.$$.fragment,u),$(f),r=!0)},o(u){p(n.$$.fragment,u),p(f),r=!1},d(u){u&&c(e),b(n),u&&c(t),f&&f.d(u),u&&c(s)}}}function Zr(o){let e,n;return e=new ve({props:{style:"margin-top: 8px; outline: none;",$$slots:{default:[Xr]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&132&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||($(e.$$.fragment,t),n=!0)},o(t){p(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function Rr(o){let e,n,t,s;return e=new fe({props:{$$slots:{default:[es]},$$scope:{ctx:o}}}),t=new ie({props:{style:"flex: 0",color:"primary",$$slots:{default:[ts]},$$scope:{ctx:o}}}),t.$on("click",o[6]),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,f){d(e,r,f),_(r,n,f),d(t,r,f),s=!0},p(r,f){const u={};f&129&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&128&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||($(e.$$.fragment,r),$(t.$$.fragment,r),s=!0)},o(r){p(e.$$.fragment,r),p(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function Gr(o){let e,n,t,s,r;function f(a){o[3](a)}function u(a){o[4](a)}function l(a){o[5](a)}let i={};return o[2]!==void 0&&(i.loading=o[2]),o[0]!==void 0&&(i.user=o[0]),o[1]!==void 0&&(i.editMode=o[1]),e=new Vr({props:i}),H.push(()=>F(e,"loading",f)),H.push(()=>F(e,"user",u)),H.push(()=>F(e,"editMode",l)),{c(){g(e.$$.fragment)},m(a,m){d(e,a,m),r=!0},p(a,m){const v={};!n&&m&4&&(n=!0,v.loading=a[2],V(()=>n=!1)),!t&&m&1&&(t=!0,v.user=a[0],V(()=>t=!1)),!s&&m&2&&(s=!0,v.editMode=a[1],V(()=>s=!1)),e.$set(v)},i(a){r||($(e.$$.fragment,a),r=!0)},o(a){p(e.$$.fragment,a),r=!1},d(a){b(e,a)}}}function Kr(o){let e,n,t=o[0].privacy.description_privacy+"",s;return{c(){e=z("b"),e.textContent="Description:",n=S(),s=I(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.description_privacy+"")&&x(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function Yr(o){let e,n,t=o[0].privacy.member_list_privacy+"",s;return{c(){e=z("b"),e.textContent="Member list:",n=S(),s=I(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.member_list_privacy+"")&&x(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function Qr(o){let e,n,t=o[0].privacy.group_list_privacy+"",s;return{c(){e=z("b"),e.textContent="Group list:",n=S(),s=I(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.group_list_privacy+"")&&x(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function Wr(o){let e,n,t=o[0].privacy.front_privacy+"",s;return{c(){e=z("b"),e.textContent="Current front:",n=S(),s=I(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.front_privacy+"")&&x(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function xr(o){let e,n,t=o[0].privacy.front_history_privacy+"",s;return{c(){e=z("b"),e.textContent="Front history:",n=S(),s=I(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.front_history_privacy+"")&&x(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function es(o){let e,n,t,s,r,f,u,l,i,a;return e=new X({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[Kr]},$$scope:{ctx:o}}}),t=new X({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[Yr]},$$scope:{ctx:o}}}),r=new X({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[Qr]},$$scope:{ctx:o}}}),u=new X({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[Wr]},$$scope:{ctx:o}}}),i=new X({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[xr]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment),s=S(),g(r.$$.fragment),f=S(),g(u.$$.fragment),l=S(),g(i.$$.fragment)},m(m,v){d(e,m,v),_(m,n,v),d(t,m,v),_(m,s,v),d(r,m,v),_(m,f,v),d(u,m,v),_(m,l,v),d(i,m,v),a=!0},p(m,v){const k={};v&129&&(k.$$scope={dirty:v,ctx:m}),e.$set(k);const P={};v&129&&(P.$$scope={dirty:v,ctx:m}),t.$set(P);const C={};v&129&&(C.$$scope={dirty:v,ctx:m}),r.$set(C);const w={};v&129&&(w.$$scope={dirty:v,ctx:m}),u.$set(w);const y={};v&129&&(y.$$scope={dirty:v,ctx:m}),i.$set(y)},i(m){a||($(e.$$.fragment,m),$(t.$$.fragment,m),$(r.$$.fragm
`),g(s.$$.fragment)},m(f,u){_(f,e,u),_(f,n,u),_(f,t,u),d(s,f,u),r=!0},p(f,u){const l={};u&9&&(l.$$scope={dirty:u,ctx:f}),s.$set(l)},i(f){r||($(s.$$.fragment,f),r=!0)},o(f){p(s.$$.fragment,f),r=!1},d(f){f&&c(e),f&&c(n),f&&c(t),b(s,f)}}}function uf(o){let e,n,t,s;return e=new Pe({props:{$$slots:{default:[Wo]},$$scope:{ctx:o}}}),t=new ke({props:{$$slots:{default:[ff]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,f){d(e,r,f),_(r,n,f),d(t,r,f),s=!0},p(r,f){const u={};f&8&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&9&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||($(e.$$.fragment,r),$(t.$$.fragment,r),s=!0)},o(r){p(e.$$.fragment,r),p(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function $f(o){let e,n;return e=new we({props:{$$slots:{default:[uf]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&9&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||($(e.$$.fragment,t),n=!0)},o(t){p(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function af(o){let e,n;return e=new X({props:{class:"mx-auto",xs:12,lg:10,$$slots:{default:[$f]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&9&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||($(e.$$.fragment,t),n=!0)},o(t){p(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function pf(o){let e,n;return e=new fe({props:{$$slots:{default:[af]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&9&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||($(e.$$.fragment,t),n=!0)},o(t){p(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function cf(o){let e,n;return e=new he({props:{$$slots:{default:[pf]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,[s]){const r={};s&9&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||($(e.$$.fragment,t),n=!0)},o(t){p(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function _f(o,e,n){let t="";function s(f){t=f,n(0,t)}return[t,s,f=>{f.key==="Enter"&&t!==""&&je(`/profile/s/${t.toLowerCase().trim()}`)}]}class mf extends ne{constructor(e){super();re(this,e,_f,cf,se,{})}}function Xt(o){let e;return{c(){e=z("div"),D(e,"class","banner"),W(e,"background-image","url("+o[1].banner+")")},m(n,t){_(n,e,t)},p(n,t){t&2&&W(e,"background-image","url("+n[1].banner+")")},d(n){n&&c(e)}}}function gf(o){let e,n,t,s;return e=new Te({props:{color:"info",$$slots:{default:[vf]},$$scope:{ctx:o}}}),t=new ut({props:{class:"mt-3",$$slots:{default:[yf]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,f){d(e,r,f),_(r,n,f),d(t,r,f),s=!0},p(r,f){const u={};f&8192&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&8195&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||($(e.$$.fragment,r),$(t.$$.fragment,r),s=!0)},o(r){p(e.$$.fragment,r),p(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function df(o){let e,n;return e=new Te({props:{color:"danger",$$slots:{default:[Sf]},$$scope:{ctx:o}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&8196&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||($(e.$$.fragment,t),n=!0)},o(t){p(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function bf(o){let e,n,t;return n=new Ie({props:{class:"d-inline-block"}}),{c(){e=z("div"),g(n.$$.fragment),D(e,"class","mx-auto text-center")},m(s,r){_(s,e,r),d(n,e,null),t=!0},p:oe,i(s){t||($(n.$$.fragment,s),t=!0)},o(s){p(n.$$.fragment,s),t=!1},d(s){s&&c(e),b(n)}}}function vf(o){let e,n,t;return{c(){e=I("You are currently "),n=z("b"),n.textContent="viewing",t=I(" a system.")},m(s,r){_(s,e,r),_(s,n,r),_(s,t,r)},d(s){s&&c(e),s&&c(n),s&&c(t)}}}function wf(o){let e,n,t,s;function r(l){o[7](l)}function f(l){o[8](l)}let u={};return o[1]!==void 0&&(u.user=o[1]),o[0]!==void 0&&(u.isPublic=o[0]),e=new Et({props:u}),H.push(()=>F(e,"user",r)),H.push(()=>F(e,"isPublic",f)),{c(){g(e.$$.fragment)},m(l,i){d(e,l,i),s=!0},p(l,i){const a={};!n&&i&2&&(n=!0,a.user=l[1],V(()=>n=!1)),!t&&i&1&&(t=!0,a.isPublic=l[0],V(()=>t=!1)),e.$set(a)},i(l){s||($(e.$$.fragment,l),s=!0)},o(l){p(e.$$.fragment,l),s=!1},d(l){b(e,l)}}}function kf(o){let e,n,t;function s(f){o[9](f)}let r={};return o[0]!==void 0&&(r.isPublic=o[0]