PluralKit/docs/assets/main.3cf66444.js

4 lines
96 KiB
JavaScript
Raw Normal View History

2021-12-12 11:05:24 +00:00
var at=Object.defineProperty;var Te=Object.getOwnPropertySymbols;var ct=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable;var ye=(f,e,n)=>e in f?at(f,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):f[e]=n,Se=(f,e)=>{for(var n in e||(e={}))ct.call(e,n)&&ye(f,n,e[n]);if(Te)for(var n of Te(e))pt.call(e,n)&&ye(f,n,e[n]);return f};var O=(f,e,n)=>(ye(f,typeof e!="symbol"?e+"":e,n),n);import{w as he,S as V,i as R,s as Y,N as Me,e as T,c as g,a as U,b as M,d as p,m as d,t as a,f as m,g as c,h as b,j as _t,k as mt,C as gt,l as S,n as Ie,o as E,p as ze,D as Pe,q as me,r as J,u as B,v as Ce,x as Oe,y as ge,z as le,L as de,A as $e,B as ie,F as dt,M as Ne,E as q,G as Z,H as be,I as qe,J as ae,K as ce,O as ne,P as Le,R as W,Q as x,T as bt,U as vt,V as ee,W as je,X as N,Y as wt,Z as Q,_ as K,$ as L,a0 as j,a1 as D,a2 as oe,a3 as fe,a4 as kt,a5 as De,a6 as yt,a7 as St,a8 as It,a9 as ve,aa as At,ab as pe,ac as Et,ad as Ue,ae as Je,af as we,ag as Be,ah as Tt,ai as ht,aj as He,ak as Fe,al as Mt,am as zt,an as Pt,ao as G}from"./vendor.a3039f12.js";const Ct=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 o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&t(o)}).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)}};Ct();const ue=he(!1),te=he(null);function Ot(f){let e;return{c(){e=E("pk-webs")},m(n,t){p(n,e,t)},d(n){n&&c(e)}}}function Nt(f){let e;return{c(){e=E("Styles")},m(n,t){p(n,e,t)},d(n){n&&c(e)}}}function qt(f){let e;return{c(){e=E("Light")},m(n,t){p(n,e,t)},d(n){n&&c(e)}}}function Lt(f){let e;return{c(){e=E("Dark")},m(n,t){p(n,e,t)},d(n){n&&c(e)}}}function jt(f){let e,n,t,s;return e=new le({props:{$$slots:{default:[qt]},$$scope:{ctx:f}}}),e.$on("click",f[5]),t=new le({props:{$$slots:{default:[Lt]},$$scope:{ctx:f}}}),t.$on("click",f[6]),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,o){d(e,r,o),p(r,n,o),d(t,r,o),s=!0},p(r,o){const u={};o&128&&(u.$$scope={dirty:o,ctx:r}),e.$set(u);const l={};o&128&&(l.$$scope={dirty:o,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function Dt(f){let e,n,t,s;return e=new Ce({props:{color:"transparent",$$slots:{default:[Nt]},$$scope:{ctx:f}}}),t=new Oe({props:{end:!0,$$slots:{default:[jt]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,o){d(e,r,o),p(r,n,o),d(t,r,o),s=!0},p(r,o){const u={};o&128&&(u.$$scope={dirty:o,ctx:r}),e.$set(u);const l={};o&129&&(l.$$scope={dirty:o,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function Xe(f){let e,n;return e=new Pe({props:{nav:!0,inNavbar:!0,$$slots:{default:[Vt]},$$scope:{ctx:f}}}),{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||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function Ut(f){let e;return{c(){e=E("Dash")},m(n,t){p(n,e,t)},d(n){n&&c(e)}}}function Jt(f){let e;return{c(){e=E("System")},m(n,t){p(n,e,t)},d(n){n&&c(e)}}}function Bt(f){let e,n;return e=new le({props:{$$slots:{default:[Jt]},$$scope:{ctx:f}}}),{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||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function Ht(f){let e;return{c(){e=E("Members")},m(n,t){p(n,e,t)},d(n){n&&c(e)}}}function Ft(f){let e,n;return e=new le({props:{$$slots:{default:[Ht]},$$scope:{ctx:f}}}),{c(){g(e.$$.fr
`),o&&o.c(),s=x(),M(e,"class","icon d-inline-block")},m(u,l){p(u,e,l),d(n,e,null),p(u,t,l),o&&o.m(u,l),p(u,s,l),r=!0},p(u,l){u[2]?o?l&4&&a(o,1):(o=tt(),o.c(),a(o,1),o.m(s.parentNode,s)):o&&(J(),m(o,1,1,()=>{o=null}),B())},i(u){r||(a(n.$$.fragment,u),a(o),r=!0)},o(u){m(n.$$.fragment,u),m(o),r=!1},d(u){u&&c(e),b(n),u&&c(t),o&&o.d(u),u&&c(s)}}}function er(f){let e,n;return e=new ie({props:{style:"margin-top: 8px; outline: none;",$$slots:{default:[xn]},$$scope:{ctx:f}}}),{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||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function tr(f){let e,n,t,s;return e=new W({props:{$$slots:{default:[ur]},$$scope:{ctx:f}}}),t=new ee({props:{style:"flex: 0",color:"primary",$$slots:{default:[$r]},$$scope:{ctx:f}}}),t.$on("click",f[6]),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,o){d(e,r,o),p(r,n,o),d(t,r,o),s=!0},p(r,o){const u={};o&129&&(u.$$scope={dirty:o,ctx:r}),e.$set(u);const l={};o&128&&(l.$$scope={dirty:o,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function nr(f){let e,n,t,s,r;function o(i){f[3](i)}function u(i){f[4](i)}function l(i){f[5](i)}let $={};return f[2]!==void 0&&($.loading=f[2]),f[0]!==void 0&&($.user=f[0]),f[1]!==void 0&&($.editMode=f[1]),e=new Wn({props:$}),L.push(()=>j(e,"loading",o)),L.push(()=>j(e,"user",u)),L.push(()=>j(e,"editMode",l)),{c(){g(e.$$.fragment)},m(i,_){d(e,i,_),r=!0},p(i,_){const w={};!n&&_&4&&(n=!0,w.loading=i[2],D(()=>n=!1)),!t&&_&1&&(t=!0,w.user=i[0],D(()=>t=!1)),!s&&_&2&&(s=!0,w.editMode=i[1],D(()=>s=!1)),e.$set(w)},i(i){r||(a(e.$$.fragment,i),r=!0)},o(i){m(e.$$.fragment,i),r=!1},d(i){b(e,i)}}}function rr(f){let e,n,t=f[0].privacy.description_privacy+"",s;return{c(){e=T("b"),e.textContent="Description:",n=S(),s=E(t)},m(r,o){p(r,e,o),p(r,n,o),p(r,s,o)},p(r,o){o&1&&t!==(t=r[0].privacy.description_privacy+"")&&Z(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function sr(f){let e,n,t=f[0].privacy.member_list_privacy+"",s;return{c(){e=T("b"),e.textContent="Member list:",n=S(),s=E(t)},m(r,o){p(r,e,o),p(r,n,o),p(r,s,o)},p(r,o){o&1&&t!==(t=r[0].privacy.member_list_privacy+"")&&Z(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function lr(f){let e,n,t=f[0].privacy.group_list_privacy+"",s;return{c(){e=T("b"),e.textContent="Group list:",n=S(),s=E(t)},m(r,o){p(r,e,o),p(r,n,o),p(r,s,o)},p(r,o){o&1&&t!==(t=r[0].privacy.group_list_privacy+"")&&Z(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function or(f){let e,n,t=f[0].privacy.front_privacy+"",s;return{c(){e=T("b"),e.textContent="Current front:",n=S(),s=E(t)},m(r,o){p(r,e,o),p(r,n,o),p(r,s,o)},p(r,o){o&1&&t!==(t=r[0].privacy.front_privacy+"")&&Z(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function fr(f){let e,n,t=f[0].privacy.front_history_privacy+"",s;return{c(){e=T("b"),e.textContent="Front history:",n=S(),s=E(t)},m(r,o){p(r,e,o),p(r,n,o),p(r,s,o)},p(r,o){o&1&&t!==(t=r[0].privacy.front_history_privacy+"")&&Z(s,t)},d(r){r&&c(e),r&&c(n),r&&c(s)}}}function ur(f){let e,n,t,s,r,o,u,l,$,i;return e=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[rr]},$$scope:{ctx:f}}}),t=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[sr]},$$scope:{ctx:f}}}),r=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[lr]},$$scope:{ctx:f}}}),u=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[or]},$$scope:{ctx:f}}}),$=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[fr]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment),s=S(),g(r.$$.fragment),o=S(),g(u.$$.fragment),l=S(),g($.$$.fragment)},m(_,w){d(e,_,w),p(_,n,w),d(t,_,w),p(_,s,w),d(r,_,w),p(_,o,w),d(u,_,w),p(_,l,w),d($,_,w),i=!0},p(_,w){const k={};w&129&&(k.$$scope={dirty:w,ctx:_}),e.$set(k);const I={};w&129&&(I.$$scope={dirty:w,ctx:_}),t.$set(I);const A={};w&129&&(A.$$scope={dirty:w,ctx:_}),r.$set(A);const v={};w&129&&(v.$$scope={dirty:w,ctx:_}),u.$set(v);const y={};w&129&&(y.$$scope={dirty:w,ctx:_}),$.$set(y)},i(_){i||(a(e.$$.fragment,_),a(t.$$.fragment,_),a(r.$$.fragmen
`),g(s.$$.fragment)},m(o,u){p(o,e,u),p(o,n,u),p(o,t,u),d(s,o,u),r=!0},p(o,u){const l={};u&5&&(l.$$scope={dirty:u,ctx:o}),s.$set(l)},i(o){r||(a(s.$$.fragment,o),r=!0)},o(o){m(s.$$.fragment,o),r=!1},d(o){o&&c(e),o&&c(n),o&&c(t),b(s,o)}}}function xs(f){let e,n,t,s;return e=new $e({props:{$$slots:{default:[Fs]},$$scope:{ctx:f}}}),t=new fe({props:{$$slots:{default:[Ws]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,o){d(e,r,o),p(r,n,o),d(t,r,o),s=!0},p(r,o){const u={};o&4&&(u.$$scope={dirty:o,ctx:r}),e.$set(u);const l={};o&5&&(l.$$scope={dirty:o,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function el(f){let e,n;return e=new oe({props:{$$slots:{default:[xs]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&5&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function tl(f){let e,n;return e=new N({props:{class:"mx-auto",xs:12,lg:10,$$slots:{default:[el]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&5&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function nl(f){let e,n;return e=new W({props:{$$slots:{default:[tl]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&5&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function rl(f){let e,n;return e=new pe({props:{$$slots:{default:[nl]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,[s]){const r={};s&5&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function sl(f,e,n){let t="";function s(r){t=r,n(0,t)}return[t,s]}class ll extends V{constructor(e){super();R(this,e,sl,rl,Y,{})}}function it(f){let e;return{c(){e=T("div"),M(e,"class","banner"),U(e,"background-image","url("+f[1].banner+")")},m(n,t){p(n,e,t)},p(n,t){t&2&&U(e,"background-image","url("+n[1].banner+")")},d(n){n&&c(e)}}}function ol(f){let e,n,t,s;return e=new ve({props:{color:"info",$$slots:{default:[$l]},$$scope:{ctx:f}}}),t=new Je({props:{class:"mt-3",$$slots:{default:[cl]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment),n=S(),g(t.$$.fragment)},m(r,o){d(e,r,o),p(r,n,o),d(t,r,o),s=!0},p(r,o){const u={};o&4096&&(u.$$scope={dirty:o,ctx:r}),e.$set(u);const l={};o&4099&&(l.$$scope={dirty:o,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){b(e,r),r&&c(n),b(t,r)}}}function fl(f){let e,n;return e=new ve({props:{color:"danger",$$slots:{default:[pl]},$$scope:{ctx:f}}}),{c(){g(e.$$.fragment)},m(t,s){d(e,t,s),n=!0},p(t,s){const r={};s&4100&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){b(e,t)}}}function ul(f){let e,n,t;return n=new be({props:{class:"d-inline-block"}}),{c(){e=T("div"),g(n.$$.fragment),M(e,"class","mx-auto text-center")},m(s,r){p(s,e,r),d(n,e,null),t=!0},p:ne,i(s){t||(a(n.$$.fragment,s),t=!0)},o(s){m(n.$$.fragment,s),t=!1},d(s){s&&c(e),b(n)}}}function $l(f){let e,n,t;return{c(){e=E("You are currently "),n=T("b"),n.textContent="viewing",t=E(" a system.")},m(s,r){p(s,e,r),p(s,n,r),p(s,t,r)},d(s){s&&c(e),s&&c(n),s&&c(t)}}}function il(f){let e,n,t,s;function r(l){f[7](l)}function o(l){f[8](l)}let u={};return f[1]!==void 0&&(u.user=f[1]),f[0]!==void 0&&(u.isPublic=f[0]),e=new lt({props:u}),L.push(()=>j(e,"user",r)),L.push(()=>j(e,"isPublic",o)),{c(){g(e.$$.fragment)},m(l,$){d(e,l,$),s=!0},p(l,$){const i={};!n&&$&2&&(n=!0,i.user=l[1],D(()=>n=!1)),!t&&$&1&&(t=!0,i.isPublic=l[0],D(()=>t=!1)),e.$set(i)},i(l){s||(a(e.$$.fragment,l),s=!0)},o(l){m(e.$$.fragment,l),s=!1},d(l){b(e,l)}}}function al(f){let e;return{c(){e=E("alo")},m(n,t){p(n,e,t)},d(n){n&&c(e)}}}function cl(f){let e,n,t,s;return e=new we({props:{tabId:"system",tab:"System",active:!0,$$slot