Deploying to gh-pages from @ hykilpikonna/corner@51157cae08 🚀
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.meta td[data-v-1e194121]:first-child{text-align:right;color:#a68659d6}.meta td[data-v-1e194121]:last-child{display:inline-block;margin-left:20px}.publication[data-v-9e366b9a]{padding-top:.5em;padding-bottom:.5em}.publication #title[data-v-9e366b9a]{font-weight:700}.publication #subtitle[data-v-9e366b9a]{font-size:.9em}.publication #details[data-v-9e366b9a]{padding-left:calc(1.6em + 6px);font-size:.8em}.publication #details>div[data-v-9e366b9a]{margin-bottom:1em}.publication #details #table[data-v-9e366b9a]{margin:1em 0}.publication #details .label[data-v-9e366b9a]{font-weight:700}.header[data-v-9e366b9a]{align-items:center}.header .icon[data-v-9e366b9a]{transition:all .25s ease;padding:0 .8em}.header.ui-accordion-header-active .icon[data-v-9e366b9a]{transform:rotate(90deg)}#About{width:min(600px,80vw);margin:auto;padding-bottom:100px;padding-top:20px}.emoji{font-weight:400}
|
||||
@@ -1 +0,0 @@
|
||||
.meta td[data-v-1e194121]:first-child{text-align:right;color:#a68659d6}.meta td[data-v-1e194121]:last-child{display:inline-block;margin-left:20px}.publication[data-v-15850403]{padding-top:.5em;padding-bottom:.5em}.publication #title[data-v-15850403]{font-weight:700}.publication #subtitle[data-v-15850403]{font-size:.9em}.publication #details[data-v-15850403]{padding-left:calc(1.6em + 6px);font-size:.8em}.publication #details>div[data-v-15850403]{margin-bottom:1em}.publication #details #table[data-v-15850403]{margin:1em 0}.publication #details .label[data-v-15850403]{font-weight:700}.header[data-v-15850403]{align-items:center}.header .icon[data-v-15850403]{transition:all .25s ease;padding:0 .8em}.header.ui-accordion-header-active .icon[data-v-15850403]{transform:rotate(90deg)}#About{width:min(600px,80vw);margin:auto;padding-bottom:100px;padding-top:20px}.emoji{font-weight:400}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{t as m,B as g,h as c,K as p,C as $,_ as k,c as r,o as i,a as n,g as y,l as h,F as _,r as v,z as F,b as B,n as S}from"./index-UkgDuAwM.js";import{s as w}from"./utils-XEnHOg18.js";var C=Object.getOwnPropertyDescriptor,j=(t,e,s,d)=>{for(var o=d>1?void 0:d?C(e,s):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(o=a(o)||o);return o};const N=new Set(["name","avatar","banner","desc"]),b={blog:"fas fa-book"};let u=class extends g{friends=[];async created(){this.friends=await(await fetch(`${c.content}/content/generated/friends/friends.json`)).json(),this.friends.forEach(e=>{e.avatar.startsWith("http")||(e.avatar=`${c.content}/${e.avatar}`),e.banner&&!e.banner.startsWith("http")&&(e.banner=`${c.content}/${e.banner}`)}),this.friends=w(this.friends)}bgStyle(e){return e.banner?{"background-image":`url("${e.banner}")`}:{}}getFriendLinks(e){return Object.entries(e).filter(s=>!N.has(s[0].toString())).map(s=>({link:s[1],icon:p.includes(s[0])?`fab fa-${s[0]}`:s[0]in b?b[s[0]]:s[0]}))}};u=j([$],u);const O=m(u),z={id:"Friends",class:"general-page"},D={key:0,class:"friends"},L=["src"],V={class:"info"},x={class:"name unselectable"},E={class:"links"},P=["href"];function W(t,e,s,d,o,l){return i(),r("div",z,[e[0]||(e[0]=n("div",{class:"title"},[n("h2",null,"朋友们"),n("div",{class:"subtitle"},[h(" 是小桂桂的朋友们(欢迎补充"),n("br"),h(" 每次刷新都会打乱顺序! ")])],-1)),t.friends?(i(),r("div",D,[(i(!0),r(_,null,v(t.friends,a=>(i(),r("div",{class:"friend card",key:a.name},[n("div",{class:"banner",style:F(t.bgStyle(a))},null,4),n("img",{class:"avatar",src:a.avatar,alt:""},null,8,L),n("div",V,[n("div",x,B(a.name),1),n("div",E,[(i(!0),r(_,null,v(t.getFriendLinks(a),f=>(i(),r("a",{href:f.link},[n("i",{class:S(f.icon)},null,2)],8,P))),256))])])]))),128))])):y("",!0)])}const q=k(O,[["render",W],["__scopeId","data-v-617ad8d4"]]);export{q as default};
|
||||
import{t as m,B as g,h as c,K as p,C as $,_ as k,c as r,o as i,a as n,g as y,l as h,F as _,r as v,z as F,b as B,n as S}from"./index-BjY1_Egx.js";import{s as w}from"./utils-N2VJSgGK.js";var C=Object.getOwnPropertyDescriptor,j=(t,e,s,d)=>{for(var o=d>1?void 0:d?C(e,s):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(o=a(o)||o);return o};const N=new Set(["name","avatar","banner","desc"]),b={blog:"fas fa-book"};let u=class extends g{friends=[];async created(){this.friends=await(await fetch(`${c.content}/content/generated/friends/friends.json`)).json(),this.friends.forEach(e=>{e.avatar.startsWith("http")||(e.avatar=`${c.content}/${e.avatar}`),e.banner&&!e.banner.startsWith("http")&&(e.banner=`${c.content}/${e.banner}`)}),this.friends=w(this.friends)}bgStyle(e){return e.banner?{"background-image":`url("${e.banner}")`}:{}}getFriendLinks(e){return Object.entries(e).filter(s=>!N.has(s[0].toString())).map(s=>({link:s[1],icon:p.includes(s[0])?`fab fa-${s[0]}`:s[0]in b?b[s[0]]:s[0]}))}};u=j([$],u);const O=m(u),z={id:"Friends",class:"general-page"},D={key:0,class:"friends"},L=["src"],V={class:"info"},x={class:"name unselectable"},E={class:"links"},P=["href"];function W(t,e,s,d,o,l){return i(),r("div",z,[e[0]||(e[0]=n("div",{class:"title"},[n("h2",null,"朋友们"),n("div",{class:"subtitle"},[h(" 是小桂桂的朋友们(欢迎补充"),n("br"),h(" 每次刷新都会打乱顺序! ")])],-1)),t.friends?(i(),r("div",D,[(i(!0),r(_,null,v(t.friends,a=>(i(),r("div",{class:"friend card",key:a.name},[n("div",{class:"banner",style:F(t.bgStyle(a))},null,4),n("img",{class:"avatar",src:a.avatar,alt:""},null,8,L),n("div",V,[n("div",x,B(a.name),1),n("div",E,[(i(!0),r(_,null,v(t.getFriendLinks(a),f=>(i(),r("a",{href:f.link},[n("i",{class:S(f.icon)},null,2)],8,P))),256))])])]))),128))])):y("",!0)])}const q=k(O,[["render",W],["__scopeId","data-v-617ad8d4"]]);export{q as default};
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
import{_ as Y,c as ee,o as te,a as U}from"./index-UkgDuAwM.js";function H(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let I=H();function ne(o){I=o}const X=/[&<>"']/,ie=new RegExp(X.source,"g"),V=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,se=new RegExp(V.source,"g"),re={"&":"&","<":"<",">":">",'"':""","'":"'"},M=o=>re[o];function b(o,t){if(t){if(X.test(o))return o.replace(ie,M)}else if(V.test(o))return o.replace(se,M);return o}const le=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function W(o){return o.replace(le,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const oe=/(^|[^\[])\^/g;function m(o,t){o=typeof o=="string"?o:o.source,t=t||"";const n={replace:(e,i)=>(i=i.source||i,i=i.replace(oe,"$1"),o=o.replace(e,i),n),getRegex:()=>new RegExp(o,t)};return n}const ae=/[^\w:]/g,ce=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function P(o,t,n){if(o){let e;try{e=decodeURIComponent(W(n)).replace(ae,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}t&&!ce.test(n)&&(n=fe(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const L={},he=/^[^:]+:\/*[^/]*$/,ue=/^([^:]+:)[\s\S]*$/,pe=/^([^:]+:\/*[^/]*)[\s\S]*$/;function fe(o,t){L[" "+o]||(he.test(o)?L[" "+o]=o+"/":L[" "+o]=B(o,"/",!0)),o=L[" "+o];const n=o.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:o.replace(ue,"$1")+t:t.charAt(0)==="/"?n?t:o.replace(pe,"$1")+t:o+t}const Z={exec:function(){}};function j(o,t){const n=o.replace(/\|/g,(s,r,l)=>{let c=!1,d=r;for(;--d>=0&&l[d]==="\\";)c=!c;return c?"|":" |"}),e=n.split(/ \|/);let i=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>t)e.splice(t);else for(;e.length<t;)e.push("");for(;i<e.length;i++)e[i]=e[i].trim().replace(/\\\|/g,"|");return e}function B(o,t,n){const e=o.length;if(e===0)return"";let i=0;for(;i<e;){const s=o.charAt(e-i-1);if(s===t&&!n)i++;else if(s!==t&&n)i++;else break}return o.slice(0,e-i)}function ge(o,t){if(o.indexOf(t[1])===-1)return-1;const n=o.length;let e=0,i=0;for(;i<n;i++)if(o[i]==="\\")i++;else if(o[i]===t[0])e++;else if(o[i]===t[1]&&(e--,e<0))return i;return-1}function de(o){o&&o.sanitize&&!o.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Q(o,t){if(t<1)return"";let n="";for(;t>1;)t&1&&(n+=o),t>>=1,o+=o;return n+o}function N(o,t,n,e){const i=t.href,s=t.title?b(t.title):null,r=o[1].replace(/\\([\[\]])/g,"$1");if(o[0].charAt(0)!=="!"){e.state.inLink=!0;const l={type:"link",raw:n,href:i,title:s,text:r,tokens:e.inlineTokens(r)};return e.state.inLink=!1,l}return{type:"image",raw:n,href:i,title:s,text:b(r)}}function ke(o,t){const n=o.match(/^(\s+)(?:```)/);if(n===null)return t;const e=n[1];return t.split(`
|
||||
import{_ as Y,c as ee,o as te,a as U}from"./index-BjY1_Egx.js";function H(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let I=H();function ne(o){I=o}const X=/[&<>"']/,ie=new RegExp(X.source,"g"),V=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,se=new RegExp(V.source,"g"),re={"&":"&","<":"<",">":">",'"':""","'":"'"},M=o=>re[o];function b(o,t){if(t){if(X.test(o))return o.replace(ie,M)}else if(V.test(o))return o.replace(se,M);return o}const le=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function W(o){return o.replace(le,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const oe=/(^|[^\[])\^/g;function m(o,t){o=typeof o=="string"?o:o.source,t=t||"";const n={replace:(e,i)=>(i=i.source||i,i=i.replace(oe,"$1"),o=o.replace(e,i),n),getRegex:()=>new RegExp(o,t)};return n}const ae=/[^\w:]/g,ce=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function P(o,t,n){if(o){let e;try{e=decodeURIComponent(W(n)).replace(ae,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}t&&!ce.test(n)&&(n=fe(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const L={},he=/^[^:]+:\/*[^/]*$/,ue=/^([^:]+:)[\s\S]*$/,pe=/^([^:]+:\/*[^/]*)[\s\S]*$/;function fe(o,t){L[" "+o]||(he.test(o)?L[" "+o]=o+"/":L[" "+o]=B(o,"/",!0)),o=L[" "+o];const n=o.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:o.replace(ue,"$1")+t:t.charAt(0)==="/"?n?t:o.replace(pe,"$1")+t:o+t}const Z={exec:function(){}};function j(o,t){const n=o.replace(/\|/g,(s,r,l)=>{let c=!1,d=r;for(;--d>=0&&l[d]==="\\";)c=!c;return c?"|":" |"}),e=n.split(/ \|/);let i=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>t)e.splice(t);else for(;e.length<t;)e.push("");for(;i<e.length;i++)e[i]=e[i].trim().replace(/\\\|/g,"|");return e}function B(o,t,n){const e=o.length;if(e===0)return"";let i=0;for(;i<e;){const s=o.charAt(e-i-1);if(s===t&&!n)i++;else if(s!==t&&n)i++;else break}return o.slice(0,e-i)}function ge(o,t){if(o.indexOf(t[1])===-1)return-1;const n=o.length;let e=0,i=0;for(;i<n;i++)if(o[i]==="\\")i++;else if(o[i]===t[0])e++;else if(o[i]===t[1]&&(e--,e<0))return i;return-1}function de(o){o&&o.sanitize&&!o.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Q(o,t){if(t<1)return"";let n="";for(;t>1;)t&1&&(n+=o),t>>=1,o+=o;return n+o}function N(o,t,n,e){const i=t.href,s=t.title?b(t.title):null,r=o[1].replace(/\\([\[\]])/g,"$1");if(o[0].charAt(0)!=="!"){e.state.inLink=!0;const l={type:"link",raw:n,href:i,title:s,text:r,tokens:e.inlineTokens(r)};return e.state.inLink=!1,l}return{type:"image",raw:n,href:i,title:s,text:b(r)}}function ke(o,t){const n=o.match(/^(\s+)(?:```)/);if(n===null)return t;const e=n[1];return t.split(`
|
||||
`).map(i=>{const s=i.match(/^\s+/);if(s===null)return i;const[r]=s;return r.length>=e.length?i.slice(e.length):i}).join(`
|
||||
`)}class D{constructor(t){this.options=t||I}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const e=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:B(e,`
|
||||
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const e=n[0],i=ke(e,n[3]||"");return{type:"code",raw:e,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:i}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let e=n[2].trim();if(/#$/.test(e)){const i=B(e,"#");(this.options.pedantic||!i||/ $/.test(i))&&(e=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const e=n[0].replace(/^ *>[ \t]?/gm,""),i=this.lexer.state.top;this.lexer.state.top=!0;const s=this.lexer.blockTokens(e);return this.lexer.state.top=i,{type:"blockquote",raw:n[0],tokens:s,text:e}}}list(t){let n=this.rules.block.list.exec(t);if(n){let e,i,s,r,l,c,d,f,g,k,h,z,_=n[1].trim();const R=_.length>1,x={type:"list",raw:"",ordered:R,start:R?+_.slice(0,-1):"",loose:!1,items:[]};_=R?`\\d{1,9}\\${_.slice(-1)}`:`\\${_}`,this.options.pedantic&&(_=R?_:"[*+-]");const w=new RegExp(`^( {0,3}${_})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(z=!1,!(!(n=w.exec(t))||this.rules.block.hr.test(t)));){if(e=n[0],t=t.substring(e.length),f=n[2].split(`
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{t as b,B as g,C as y,_ as x,c as n,o as m,a as t,F as _,r as h,b as u,n as B,g as k}from"./index-UkgDuAwM.js";var w=Object.getOwnPropertyDescriptor,C=(l,a,o,i)=>{for(var e=i>1?void 0:i?w(a,o):a,s=l.length-1,c;s>=0;s--)(c=l[s])&&(e=c(e)||e);return e};const f=[{cat:"🍖 猪肉",items:[{name:"玉米排骨汤",recommend:!0},{name:"红烧蜜汁五花肉",sub:"+卤蛋",recommend:!0},{name:"蒜香炸排骨"},{name:"椒盐排骨"},{name:"酱香排骨"},{name:"四川回锅肉"},{name:"蒜蓉粉丝蒸排骨"}]},{cat:"🍗 鸡肉",items:[{name:"土豆炖鸡腿",recommend:!0},{name:"香烤鸡腿",recommend:!0},{name:"可乐鸡翅"},{name:"照烧鸡翅"}]},{cat:"🥩 牛肉",items:[{name:"煎牛排"},{name:"牛肉粉丝汤"}]},{cat:"🐟 海鲜",items:[{name:"煎三文鱼皮"}]},{cat:"🥗 菜",items:[{name:"肉丁炒芹菜",recommend:!0},{name:"干锅菜花",recommend:!0},{name:"韭菜炒蛋"},{name:"红烧土豆"},{name:"葱花鸡蛋"},{name:"白菜炖粉条"},{name:"素炒绿叶菜",sub:"大白菜/小油菜"}]},{cat:"🍜 面条",items:[{name:"味噌叉烧豚骨面"},{name:"番茄牛肉面"},{name:"黑椒炒意面"},{name:"炒面",sub:"挂面/乌冬/意面/方便面"}]},{cat:"🍥 其他的",items:[{name:"鸡蛋火腿吐司",recommend:!0},{name:"茶叶蛋"}]},{cat:"🍛 主食",items:[{name:"照烧肥牛饭",sub:"肥牛片/五花肉",recommend:!0},{name:"咖喱饭",sub:"牛肉块/肥牛片/五花肉"},{name:"炒饭"}]},{cat:"🍰 蛋糕",subtitle:"(要提前几天预定哦! qwq",items:[{name:"提拉米苏",recommend:!0}]},{cat:"🍸 饮料",items:[{name:"白桃奶油鸡尾酒",recommend:!0,original:!0},{name:"火龙果葡萄酒",original:!0},{name:"水果宾治鸡尾酒"}]}];let p=class extends g{max_cols=2;cols=new Array(this.max_cols);created(){const a=Array.from(f);a.sort((e,s)=>s.items.length-e.items.length);let o=new Array(this.max_cols).fill(0);for(const e of a){let s=o.indexOf(Math.min(...o));e.column=s,o[s]+=e.items.length}for(let e=0;e<this.max_cols;e++)this.cols[e]=f.filter(s=>s.column==e);let i=0;this.cols.forEach(e=>e.forEach(s=>s.items.forEach(c=>c.id=i++)))}};p=C([y],p);const M=b(p),$={id:"Menu",class:"general-page"},E={class:"columns"},O={class:"cat"},A={class:"subtitle"},D={class:"items"},N={class:"number"},q={class:"name"},F={key:0,class:"sub"};function P(l,a,o,i,e,s){return m(),n("div",$,[a[0]||(a[0]=t("div",{class:"title"},[t("h2",null,"小桂桂的私房菜 菜单"),t("div",{class:"subtitle"},"在桂桂家里可以吃到这些哦")],-1)),t("div",E,[(m(!0),n(_,null,h(l.cols,(c,v)=>(m(),n("div",{class:"column",key:v},[(m(!0),n(_,null,h(c,d=>(m(),n("div",{class:"category",key:d.cat},[t("div",O,u(d.cat)+"!",1),t("div",A,u(d.subtitle),1),t("div",D,[(m(!0),n(_,null,h(d.items,r=>(m(),n("div",{class:B(["item",{recommend:r.recommend,original:r.original}]),key:r.name},[t("span",N,u(r.id)+". ",1),t("span",q,u(r.name),1),r.sub?(m(),n("span",F,"("+u(r.sub)+")",1)):k("",!0)],2))),128))])]))),128))]))),128))])])}const z=x(M,[["render",P],["__scopeId","data-v-0c57c677"]]);export{z as default,f as menu};
|
||||
import{t as b,B as g,C as y,_ as x,c as n,o as m,a as t,F as _,r as h,b as u,n as B,g as k}from"./index-BjY1_Egx.js";var w=Object.getOwnPropertyDescriptor,C=(l,a,o,i)=>{for(var e=i>1?void 0:i?w(a,o):a,s=l.length-1,c;s>=0;s--)(c=l[s])&&(e=c(e)||e);return e};const f=[{cat:"🍖 猪肉",items:[{name:"玉米排骨汤",recommend:!0},{name:"红烧蜜汁五花肉",sub:"+卤蛋",recommend:!0},{name:"蒜香炸排骨"},{name:"椒盐排骨"},{name:"酱香排骨"},{name:"四川回锅肉"},{name:"蒜蓉粉丝蒸排骨"}]},{cat:"🍗 鸡肉",items:[{name:"土豆炖鸡腿",recommend:!0},{name:"香烤鸡腿",recommend:!0},{name:"可乐鸡翅"},{name:"照烧鸡翅"}]},{cat:"🥩 牛肉",items:[{name:"煎牛排"},{name:"牛肉粉丝汤"}]},{cat:"🐟 海鲜",items:[{name:"煎三文鱼皮"}]},{cat:"🥗 菜",items:[{name:"肉丁炒芹菜",recommend:!0},{name:"干锅菜花",recommend:!0},{name:"韭菜炒蛋"},{name:"红烧土豆"},{name:"葱花鸡蛋"},{name:"白菜炖粉条"},{name:"素炒绿叶菜",sub:"大白菜/小油菜"}]},{cat:"🍜 面条",items:[{name:"味噌叉烧豚骨面"},{name:"番茄牛肉面"},{name:"黑椒炒意面"},{name:"炒面",sub:"挂面/乌冬/意面/方便面"}]},{cat:"🍥 其他的",items:[{name:"鸡蛋火腿吐司",recommend:!0},{name:"茶叶蛋"}]},{cat:"🍛 主食",items:[{name:"照烧肥牛饭",sub:"肥牛片/五花肉",recommend:!0},{name:"咖喱饭",sub:"牛肉块/肥牛片/五花肉"},{name:"炒饭"}]},{cat:"🍰 蛋糕",subtitle:"(要提前几天预定哦! qwq",items:[{name:"提拉米苏",recommend:!0}]},{cat:"🍸 饮料",items:[{name:"白桃奶油鸡尾酒",recommend:!0,original:!0},{name:"火龙果葡萄酒",original:!0},{name:"水果宾治鸡尾酒"}]}];let p=class extends g{max_cols=2;cols=new Array(this.max_cols);created(){const a=Array.from(f);a.sort((e,s)=>s.items.length-e.items.length);let o=new Array(this.max_cols).fill(0);for(const e of a){let s=o.indexOf(Math.min(...o));e.column=s,o[s]+=e.items.length}for(let e=0;e<this.max_cols;e++)this.cols[e]=f.filter(s=>s.column==e);let i=0;this.cols.forEach(e=>e.forEach(s=>s.items.forEach(c=>c.id=i++)))}};p=C([y],p);const M=b(p),$={id:"Menu",class:"general-page"},E={class:"columns"},O={class:"cat"},A={class:"subtitle"},D={class:"items"},N={class:"number"},q={class:"name"},F={key:0,class:"sub"};function P(l,a,o,i,e,s){return m(),n("div",$,[a[0]||(a[0]=t("div",{class:"title"},[t("h2",null,"小桂桂的私房菜 菜单"),t("div",{class:"subtitle"},"在桂桂家里可以吃到这些哦")],-1)),t("div",E,[(m(!0),n(_,null,h(l.cols,(c,v)=>(m(),n("div",{class:"column",key:v},[(m(!0),n(_,null,h(c,d=>(m(),n("div",{class:"category",key:d.cat},[t("div",O,u(d.cat)+"!",1),t("div",A,u(d.subtitle),1),t("div",D,[(m(!0),n(_,null,h(d.items,r=>(m(),n("div",{class:B(["item",{recommend:r.recommend,original:r.original}]),key:r.name},[t("span",N,u(r.id)+". ",1),t("span",q,u(r.name),1),r.sub?(m(),n("span",F,"("+u(r.sub)+")",1)):k("",!0)],2))),128))])]))),128))]))),128))])])}const z=x(M,[["render",P],["__scopeId","data-v-0c57c677"]]);export{z as default,f as menu};
|
||||
@@ -1 +1 @@
|
||||
import{_ as a,c as l,o as d,a as s,f as o,w as r,l as n,e as i}from"./index-UkgDuAwM.js";const f={},u={id:"Others",class:"general-page"},c={class:"links"};function p(_,t){const e=i("router-link");return d(),l("div",u,[t[4]||(t[4]=s("div",{class:"title"},[s("h2",null,"更多链接"),s("div",{class:"subtitle"},"欢迎点进来看看")],-1)),s("div",c,[o(e,{class:"rlink",to:"/kitchen-menu"},{default:r(()=>[...t[0]||(t[0]=[n("🍳 小桂桂的私房菜 菜单",-1)])]),_:1}),o(e,{class:"rlink",to:"/friends"},{default:r(()=>[...t[1]||(t[1]=[n("🎎 朋友们",-1)])]),_:1}),t[2]||(t[2]=s("a",{href:"https://cast.hydev.org"},"📹 公开直播间",-1)),t[3]||(t[3]=s("a",{href:"https://status.hydev.org/"},"🔌 看看服务器们过得怎么样",-1))])])}const v=a(f,[["render",p],["__scopeId","data-v-798cfa55"]]);export{v as default};
|
||||
import{_ as a,c as l,o as d,a as s,f as o,w as r,l as n,e as i}from"./index-BjY1_Egx.js";const f={},u={id:"Others",class:"general-page"},c={class:"links"};function p(_,t){const e=i("router-link");return d(),l("div",u,[t[4]||(t[4]=s("div",{class:"title"},[s("h2",null,"更多链接"),s("div",{class:"subtitle"},"欢迎点进来看看")],-1)),s("div",c,[o(e,{class:"rlink",to:"/kitchen-menu"},{default:r(()=>[...t[0]||(t[0]=[n("🍳 小桂桂的私房菜 菜单",-1)])]),_:1}),o(e,{class:"rlink",to:"/friends"},{default:r(()=>[...t[1]||(t[1]=[n("🎎 朋友们",-1)])]),_:1}),t[2]||(t[2]=s("a",{href:"https://cast.hydev.org"},"📹 公开直播间",-1)),t[3]||(t[3]=s("a",{href:"https://status.hydev.org/"},"🔌 看看服务器们过得怎么样",-1))])])}const v=a(f,[["render",p],["__scopeId","data-v-798cfa55"]]);export{v as default};
|
||||
@@ -0,0 +1 @@
|
||||
.general-page[data-v-c3e8ba1e]{text-align:left;width:600px;margin:2em auto 0}.title[data-v-c3e8ba1e]{margin-bottom:2em}.title h2[data-v-c3e8ba1e]{margin-bottom:0}.title .subtitle[data-v-c3e8ba1e]{color:#a68659d6}@media screen and (max-width:640px){.general-page[data-v-c3e8ba1e]{margin:2em 20px 0;width:unset}}.blur[data-v-c3e8ba1e]{z-index:2500}.title[data-v-c3e8ba1e]{margin-top:8rem;margin-bottom:6rem}.bold[data-v-c3e8ba1e]{font-size:3em}.img-container[data-v-c3e8ba1e]{margin:-.5rem;max-width:50%;position:relative}.img-container.active[data-v-c3e8ba1e]{position:unset}.img-container.active img.pin[data-v-c3e8ba1e]{display:none}.img-container.active .photo-abs-container[data-v-c3e8ba1e]{position:fixed;z-index:3000}.img-container.active .photo-wrapper[data-v-c3e8ba1e]{transform:rotate(0)!important}.img-container.active img.photo[data-v-c3e8ba1e]{z-index:3001}img.photo[data-v-c3e8ba1e]{clip-path:inset(2.8% 1.8% 2.4%);pointer-events:none}div.photo-abs-container[data-v-c3e8ba1e]{position:absolute;inset:0;z-index:1000}div.photo-wrapper[data-v-c3e8ba1e]{filter:drop-shadow(0px 1px 2px rgba(0,0,0,.3))}img.pin[data-v-c3e8ba1e]{width:40px;height:40px;z-index:2000}
|
||||
@@ -0,0 +1 @@
|
||||
import{t as g,B as b,C as v,_ as w,c as r,o as c,a as s,F as h,r as p,n as y,z as _}from"./index-BjY1_Egx.js";var C=Object.getOwnPropertyDescriptor,k=(e,t,o,a)=>{for(var n=a>1?void 0:a?C(t,o):t,d=e.length-1,l;d>=0;d--)(l=e[d])&&(n=l(n)||n);return n};function m(e){return Array.from(e).reduce((t,o)=>(t+o.charCodeAt(0)*65535)%22859,0)/22859}let u=class extends b{photos;photoRows;async created(){this.photos=await(await fetch("https://p.aza.moe/photos")).json(),this.photos.sort((o,a)=>o.exif.DateTime<a.exif.DateTime?1:-1);let e={1:0,2:.3,3:.5};this.photoRows=[];let t=[];this.photos.forEach(o=>{t.length===0?t.push(o):t.length>=3?(this.photoRows.push(t),t=[o]):m(o.original_photo)<e[t.length]?(this.photoRows.push(t),t=[o]):t.push(o)}),t.length>0&&this.photoRows.push(t)}url(e){return e=e.replace("data/photos","static").replace("./",""),`https://p.aza.moe/${e}`}randomRotation(e){return`rotate(${m(e)*20-10}deg)`}async clickPhoto(e,t){console.log("Clicked photo:",e.id);const o=t.currentTarget,a=o.querySelector(".photo-wrapper");a.style.viewTransitionName=`photo-${e.id}`,await document.startViewTransition(()=>{o.classList.toggle("active"),document.getElementsByClassName("blur")[0].toggleAttribute("hidden")}).finished,a.style.viewTransitionName=""}};u=k([v({})],u);const R=g(u),T="/thumb%20tack%202%20plain.png",$={class:"outer-grid"},j=["onClickCapture"],B=["src","alt"],P={class:"photo-abs-container",absolute:"","inset-0":"",flex:"","justify-center":"","items-center":""},z=["src","alt"];function x(e,t,o,a,n,d){return c(),r(h,null,[t[1]||(t[1]=s("div",{class:"title"},[s("div",{class:"font-script-en bold"},"The Wandering Gallery"),s("div",{class:"subtitle <sm:hidden"},"想要把旅行中用相机拍到好看照片时的喜悦分享给照片里出现的路人,所以买了便携照片打印机、搭了这个网页!")],-1)),s("div",$,[(c(!0),r(h,null,p(e.photoRows,l=>(c(),r("div",{key:l[0].id,flex:"","justify-center":"",class:y(`grid-cols-${l.length}`)},[(c(!0),r(h,null,p(l,i=>(c(),r("div",{key:i.id,onClickCapture:async f=>await e.clickPhoto(i,f),class:"img-container","cursor-pointer":""},[s("img",{class:"photo","w-full":"","h-full":"","object-contain":"","opacity-0":"",src:e.url(i.thumbnail_edited),alt:i.id},null,8,B),s("div",P,[s("div",{class:"photo-wrapper",style:_({transform:e.randomRotation(i.id)})},[s("img",{class:"photo","w-full":"","object-contain":"",src:e.url(i.thumbnail_edited),alt:i.id},null,8,z)],4)]),t[0]||(t[0]=s("div",{flex:"","w-full":"","justify-center":"",absolute:"","position-top-none":""},[s("img",{class:"pin",src:T,alt:""})],-1))],40,j))),128))],2))),128))]),t[2]||(t[2]=s("div",{class:"blur",hidden:"","pos-fixed":"","inset-0":"","backdrop-blur-sm":"","z-5":""},null,-1))],64)}const D=w(R,[["render",x],["__scopeId","data-v-c3e8ba1e"]]);export{D as default};
|
||||
@@ -1 +1 @@
|
||||
import{k as v,W as f,Q as m,y}from"./Life-CGHvRfNv.js";import{c as u,o as p,a as o,b as i,F as _,r as b,n as g,z as h,p as x,m as z}from"./index-UkgDuAwM.js";var F=Object.defineProperty,P=(e,t,s)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,R=(e,t,s)=>(P(e,t+"",s),s),j=Object.defineProperty,k=Object.getOwnPropertyDescriptor,d=(e,t,s,n)=>{for(var r=n>1?void 0:n?k(t,s):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(r=(n?a(t,s,r):a(r))||r);return n&&r&&j(t,s,r),r};let c=class extends f{constructor(){super(...arguments),R(this,"f")}get max(){return Math.max(...this.f.options.map(e=>e.voter_count))}percent(e){return this.f.total_voter_count==0?"0%":(e.voter_count/this.f.total_voter_count*100).toFixed(0)+"%"}get subtitle(){let e=this.f.type=="REGULAR"?"Poll":"Quiz";return this.f.is_anonymous&&(e="Anonymous "+e),e}};d([m({required:!0})],c.prototype,"f",2);c=d([y({components:{}})],c);const q=e=>(x("data-v-c8a557d5"),e=e(),z(),e),w={id:"Poll"},I={class:"question"},O={class:"subtitle"},S={class:"text"},A=q(()=>o("span",{class:"f-grow1"},null,-1)),B={class:"percentage"},D={class:"tail"};function E(e,t,s,n,r,l){return p(),u("div",w,[o("div",I,i(e.f.question),1),o("div",O,i(e.subtitle),1),(p(!0),u(_,null,b(e.f.options,a=>(p(),u("div",{class:g(["options",{dominant:a.voter_count===e.max&&e.max!==0}])},[o("span",S,i(a.text),1),A,o("span",B,i(e.percent(a)),1),o("div",{class:"bar",style:h({width:e.percent(a)})},null,4)],2))),256)),o("div",D,"Final Results - "+i(e.f.total_voter_count)+" Responses",1)])}const M=v(c,[["render",E],["__scopeId","data-v-c8a557d5"]]);export{M as default};
|
||||
import{k as v,W as f,Q as m,y}from"./Life-Cct9iMWD.js";import{c as u,o as p,a as o,b as i,F as _,r as b,n as g,z as h,p as x,m as z}from"./index-BjY1_Egx.js";var F=Object.defineProperty,P=(e,t,s)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,R=(e,t,s)=>(P(e,t+"",s),s),j=Object.defineProperty,k=Object.getOwnPropertyDescriptor,d=(e,t,s,n)=>{for(var r=n>1?void 0:n?k(t,s):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(r=(n?a(t,s,r):a(r))||r);return n&&r&&j(t,s,r),r};let c=class extends f{constructor(){super(...arguments),R(this,"f")}get max(){return Math.max(...this.f.options.map(e=>e.voter_count))}percent(e){return this.f.total_voter_count==0?"0%":(e.voter_count/this.f.total_voter_count*100).toFixed(0)+"%"}get subtitle(){let e=this.f.type=="REGULAR"?"Poll":"Quiz";return this.f.is_anonymous&&(e="Anonymous "+e),e}};d([m({required:!0})],c.prototype,"f",2);c=d([y({components:{}})],c);const q=e=>(x("data-v-c8a557d5"),e=e(),z(),e),w={id:"Poll"},I={class:"question"},O={class:"subtitle"},S={class:"text"},A=q(()=>o("span",{class:"f-grow1"},null,-1)),B={class:"percentage"},D={class:"tail"};function E(e,t,s,n,r,l){return p(),u("div",w,[o("div",I,i(e.f.question),1),o("div",O,i(e.subtitle),1),(p(!0),u(_,null,b(e.f.options,a=>(p(),u("div",{class:g(["options",{dominant:a.voter_count===e.max&&e.max!==0}])},[o("span",S,i(a.text),1),A,o("span",B,i(e.percent(a)),1),o("div",{class:"bar",style:h({width:e.percent(a)})},null,4)],2))),256)),o("div",D,"Final Results - "+i(e.f.total_voter_count)+" Responses",1)])}const M=v(c,[["render",E],["__scopeId","data-v-c8a557d5"]]);export{M as default};
|
||||
@@ -1 +1 @@
|
||||
import{t as _,B as p,C as l,_ as f,c as i,o as d}from"./index-UkgDuAwM.js";var v=Object.getOwnPropertyDescriptor,u=(t,o,a,r)=>{for(var e=r>1?void 0:r?v(o,a):o,s=t.length-1,n;s>=0;s--)(n=t[s])&&(e=n(e)||e);return e};let c=class extends p{};c=u([l],c);const P=_(c),j={id:"Projects"};function m(t,o,a,r,e,s){return d(),i("div",j)}const x=f(P,[["render",m]]);export{x as default};
|
||||
import{t as _,B as p,C as l,_ as f,c as i,o as d}from"./index-BjY1_Egx.js";var v=Object.getOwnPropertyDescriptor,u=(t,o,a,r)=>{for(var e=r>1?void 0:r?v(o,a):o,s=t.length-1,n;s>=0;s--)(n=t[s])&&(e=n(e)||e);return e};let c=class extends p{};c=u([l],c);const P=_(c),j={id:"Projects"};function m(t,o,a,r,e,s){return d(),i("div",j)}const x=f(P,[["render",m]]);export{x as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import"./index-UkgDuAwM.js";function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){let t=e.length,n;for(;t!=0;)n=Math.floor(Math.random()*t),t--,[e[t],e[n]]=[e[n],e[t]];return e}export{c,i as s};
|
||||
import"./index-BjY1_Egx.js";function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){let t=e.length,n;for(;t!=0;)n=Math.floor(Math.random()*t),t--,[e[t],e[n]]=[e[n],e[t]];return e}export{c,i as s};
|
||||
+2
-2
@@ -11,8 +11,8 @@
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" integrity="sha512-uto9mlQzrs59VwILcLiRYeLKPPbS/bT71da/OEBYEwcdNUk8jYIy+D176RYoop1Da+f9mvkYrmj5MCLZWEtQuA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<script type="module" crossorigin src="/assets/index-UkgDuAwM.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Doj7A_Ry.css">
|
||||
<script type="module" crossorigin src="/assets/index-BjY1_Egx.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CrVz5fu_.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
Reference in New Issue
Block a user