Browse Source

fix: 2.0.7正式部署

pull/9/head
WIN-UGQIHHLSKBB\EDY 2 months ago
parent
commit
9de405e78a
  1. 4
      dist/assets/arco-vendor-gN7EHfgO.js
  2. 2
      dist/assets/arco-vendor-gN7EHfgO.js.map
  3. BIN
      dist/assets/certificate_reference-BsqxqSLN.png
  4. BIN
      dist/assets/cta-create-bg-DDICEBBC.png
  5. BIN
      dist/assets/cta-upload-bg-CaK81ZLB.png
  6. BIN
      dist/assets/footer-logo-CjGF6_-J.png
  7. BIN
      dist/assets/hero-cert-D4ms52bk.png
  8. BIN
      dist/assets/hero-chevron-CtRISfYu.png
  9. BIN
      dist/assets/ic_artist-BCuSw5iQ.png
  10. BIN
      dist/assets/ic_artist-PE9NnTO-.png
  11. BIN
      dist/assets/ic_copyright-C5KY3Ol4.png
  12. BIN
      dist/assets/ic_copyright-DIOngrEt.png
  13. BIN
      dist/assets/ic_crop-7RinYXMI.png
  14. BIN
      dist/assets/ic_deposit-BEwFgdJ_.png
  15. BIN
      dist/assets/ic_deposit_active-DqitDVNN.png
  16. BIN
      dist/assets/ic_eye_gray-Bzgu21ZL.png
  17. BIN
      dist/assets/ic_make_same-hXfG5_wE.png
  18. BIN
      dist/assets/ic_model_gray-CF0c-D8R.png
  19. BIN
      dist/assets/ic_play_gray-Bw0AiFae.png
  20. BIN
      dist/assets/ic_regenerate-wYWUyv4U.png
  21. BIN
      dist/assets/ic_use_character-C9-8sFEF.png
  22. 2
      dist/assets/imageDragTransfer-apm0lmHd.js
  23. 1
      dist/assets/imageDragTransfer-apm0lmHd.js.map
  24. 2
      dist/assets/imageDragTransfer-vBkaf40H.js
  25. 1
      dist/assets/imageDragTransfer-vBkaf40H.js.map
  26. 1
      dist/assets/index-2zgKzmDo.css
  27. 4
      dist/assets/index-3jBeF7Sc.js
  28. 2
      dist/assets/index-3jBeF7Sc.js.map
  29. 2
      dist/assets/index-5rXb67Va.js
  30. 1
      dist/assets/index-5rXb67Va.js.map
  31. 2
      dist/assets/index-B7ttuJiR.js
  32. 1
      dist/assets/index-B7ttuJiR.js.map
  33. 1
      dist/assets/index-BCARlX5L.css
  34. 1
      dist/assets/index-BGm5tjB6.css
  35. 2
      dist/assets/index-BIlzV-Wd.js
  36. 1
      dist/assets/index-BIlzV-Wd.js.map
  37. 2
      dist/assets/index-BXE2fiFj.css
  38. 2
      dist/assets/index-BaScfP3c.js
  39. 1
      dist/assets/index-BaScfP3c.js.map
  40. 3
      dist/assets/index-BdphHSr3.js
  41. 1
      dist/assets/index-BdphHSr3.js.map
  42. 2
      dist/assets/index-BhvQ0ZnU.js
  43. 1
      dist/assets/index-BhvQ0ZnU.js.map
  44. 2
      dist/assets/index-BjnOs2ZD.js
  45. 2
      dist/assets/index-BjnOs2ZD.js.map
  46. 1
      dist/assets/index-Bjvt2Jcq.css
  47. 1
      dist/assets/index-Bpf2837w.css
  48. 3
      dist/assets/index-Bq4RYU8N.js
  49. 1
      dist/assets/index-Bq4RYU8N.js.map
  50. 16
      dist/assets/index-BxSU1Bs1.js
  51. 1
      dist/assets/index-BxSU1Bs1.js.map
  52. 2
      dist/assets/index-C3p15IZ-.js
  53. 1
      dist/assets/index-C3p15IZ-.js.map
  54. 2
      dist/assets/index-CATFjeTC.js
  55. 1
      dist/assets/index-CATFjeTC.js.map
  56. 4
      dist/assets/index-CCQidnWm.js
  57. 2
      dist/assets/index-CCQidnWm.js.map
  58. 1
      dist/assets/index-CS93DBVo.css
  59. 2
      dist/assets/index-Ca3_30jI.js
  60. 1
      dist/assets/index-Ca3_30jI.js.map
  61. 2
      dist/assets/index-CaCDs6aA.js
  62. 2
      dist/assets/index-CaufySeZ.js
  63. 1
      dist/assets/index-CaufySeZ.js.map
  64. 1
      dist/assets/index-CbzZwvE5.css
  65. 16
      dist/assets/index-CpDY2xe_.js
  66. 1
      dist/assets/index-CpDY2xe_.js.map
  67. 1
      dist/assets/index-CwZPwSP1.css
  68. 2
      dist/assets/index-DABcdsMj.js
  69. 1
      dist/assets/index-DABcdsMj.js.map
  70. 2
      dist/assets/index-DB_bxOIm.js
  71. 2
      dist/assets/index-DB_bxOIm.js.map
  72. 1
      dist/assets/index-DBziruxA.css
  73. 2
      dist/assets/index-DOPwPjBb.css
  74. 1
      dist/assets/index-DVx8Byjs.css
  75. 2
      dist/assets/index-Dst1M6ob.js
  76. 1
      dist/assets/index-Dst1M6ob.js.map
  77. 1
      dist/assets/index-DwiSrC4t.css
  78. 2
      dist/assets/index-_4dJFsM5.js
  79. 1
      dist/assets/index-_4dJFsM5.js.map
  80. 1
      dist/assets/index-buqH3sz9.css
  81. 2
      dist/assets/index-jJ3SsXTP.js
  82. 1
      dist/assets/index-jJ3SsXTP.js.map
  83. 3
      dist/assets/index-lBlGgFp0.js
  84. 1
      dist/assets/index-lBlGgFp0.js.map
  85. 3
      dist/assets/index-lEp7Lq4j.js
  86. 1
      dist/assets/index-lEp7Lq4j.js.map
  87. 2
      dist/assets/index-t9WuyDth.js
  88. 1
      dist/assets/index-t9WuyDth.js.map
  89. 1
      dist/assets/index-tX0VtggN.css
  90. 2
      dist/assets/index-u0a-FDwa.js
  91. 1
      dist/assets/index-vR9ho_p0.css
  92. BIN
      dist/assets/info-icon-Bl1djEbP.png
  93. BIN
      dist/assets/popi_avatar-BNWnTSut.png
  94. 4
      dist/assets/react-vendor-CmPQC3tV.js
  95. 2
      dist/assets/react-vendor-CmPQC3tV.js.map
  96. BIN
      dist/assets/seal-BUXFMEKb.png
  97. BIN
      dist/assets/step-1-CiAOBSnI.png
  98. BIN
      dist/assets/step-2-BUAMeHBk.png
  99. 8
      dist/index.html
  100. 28
      package-lock.json

4
dist/assets/arco-vendor-CAnKnMnO.js → dist/assets/arco-vendor-gN7EHfgO.js

File diff suppressed because one or more lines are too long

2
dist/assets/arco-vendor-CAnKnMnO.js.map → dist/assets/arco-vendor-gN7EHfgO.js.map

File diff suppressed because one or more lines are too long

BIN
dist/assets/certificate_reference-BsqxqSLN.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

BIN
dist/assets/cta-create-bg-DDICEBBC.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
dist/assets/cta-upload-bg-CaK81ZLB.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
dist/assets/footer-logo-CjGF6_-J.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

BIN
dist/assets/hero-cert-D4ms52bk.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
dist/assets/hero-chevron-CtRISfYu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
dist/assets/ic_artist-BCuSw5iQ.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 583 KiB

BIN
dist/assets/ic_artist-PE9NnTO-.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

BIN
dist/assets/ic_copyright-C5KY3Ol4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

BIN
dist/assets/ic_copyright-DIOngrEt.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 KiB

BIN
dist/assets/ic_crop-7RinYXMI.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
dist/assets/ic_deposit-BEwFgdJ_.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
dist/assets/ic_deposit_active-DqitDVNN.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
dist/assets/ic_eye_gray-Bzgu21ZL.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
dist/assets/ic_make_same-hXfG5_wE.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
dist/assets/ic_model_gray-CF0c-D8R.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
dist/assets/ic_play_gray-Bw0AiFae.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

BIN
dist/assets/ic_regenerate-wYWUyv4U.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
dist/assets/ic_use_character-C9-8sFEF.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

2
dist/assets/imageDragTransfer-apm0lmHd.js

@ -0,0 +1,2 @@
function v(p){return String(p??"").trim()}function N(p){const f=p.currentTarget;if(!f)return null;if(f instanceof HTMLImageElement)return f.complete&&f.naturalWidth>0&&f.naturalHeight>0?f:null;const g=f.querySelector("img");return g&&g.complete&&g.naturalWidth>0&&g.naturalHeight>0?g:null}function L(p){const f=Math.max(8,Number(p?.maxCacheCount??32)),g=p?.enableCanvasWarmup??!0,W=Math.max(1,Number(p?.maxWarmupPerCall??24)),y=p?.disableCanvasPreview??!1,l=new Map,w=new Map,c=new Map,x=new Set,d=document.createElement("div");d.style.width="1px",d.style.height="1px",d.style.position="fixed",d.style.top="-9999px",d.style.left="-9999px",d.style.opacity="0",document.body.appendChild(d);const E=e=>{const t=l.get(e);t?.parentNode&&t.parentNode.removeChild(t),l.delete(e),w.delete(e)},b=e=>{const t=c.get(e);t?.parentNode&&t.parentNode.removeChild(t),c.delete(e)},k=()=>{for(;l.size>f;){const e=l.keys().next().value;if(!e)break;E(e),b(e)}},C=e=>{if(!e.complete||e.naturalWidth<=0||e.naturalHeight<=0)return null;const t=120,a=document.createElement("canvas");a.width=t,a.height=t,a.style.width=`${t}px`,a.style.height=`${t}px`,a.style.position="fixed",a.style.top="-9999px",a.style.left="-9999px";const r=a.getContext("2d");if(!r)return null;const n=e.naturalWidth,s=e.naturalHeight,m=n/s,u=1;let o=0,i=0,h=n,P=s;return m>u?(h=s*u,o=(n-h)/2):m<u&&(P=n/u,i=(s-P)/2),r.drawImage(e,o,i,h,P,0,0,t,t),a},I=e=>{const t=v(e);if(!t)return null;const a=l.get(t);if(a)return l.delete(t),l.set(t,a),a;const r=new Image;return r.src=t,r.style.width="120px",r.style.height="120px",r.style.objectFit="cover",r.decoding="async",r.loading="eager",l.set(t,r),k(),r},T=e=>{const t=v(e);if(!t)return Promise.resolve();const a=w.get(t);if(a)return a;const r=I(t);if(!r)return Promise.resolve();const n=new Promise(s=>{if(r.complete&&r.naturalWidth>0){s();return}const m=()=>{r.removeEventListener("load",m),r.removeEventListener("error",m),s()};r.addEventListener("load",m,{once:!0}),r.addEventListener("error",m,{once:!0})}).then(async()=>{try{typeof r.decode=="function"&&await r.decode()}catch{}});return w.set(t,n),n},D=e=>{const t=v(e);return!t||c.has(t)?Promise.resolve():T(t).then(()=>{if(c.has(t))return;const a=l.get(t);if(!a)return;const r=C(a);r&&(document.body.appendChild(r),c.set(t,r))})};return{ensurePreviewImage:I,warmupPreviewImages:e=>{let t=0;e.forEach(a=>{if(t>=W)return;const r=v(a);if(!r||x.has(r))return;x.add(r),t+=1;const n=()=>{T(r),g&&!y&&D(r)};"requestIdleCallback"in window?window.requestIdleCallback(n,{timeout:1200}):setTimeout(n,0)})},startImageDrag:({evt:e,dragUrl:t,previewUrl:a,preferDomDragImage:r})=>{const n=v(t);if(!n||!e.dataTransfer)return!1;if(e.dataTransfer.clearData(),e.dataTransfer.setData("text/plain",n),e.dataTransfer.setData("text/uri-list",n),e.dataTransfer.setData("text/html",`<img src="${n}" />`),r){const o=N(e);if(o){const i=C(o);if(i){document.body.appendChild(i);const h=`__dom_preview__:${n}`;return b(h),c.set(h,i),e.dataTransfer.setDragImage(i,60,60),!0}}}const s=v(a??n),m=I(s);let u=y?null:c.get(s);if(!u&&!y&&m){const o=C(m);o?(document.body.appendChild(o),c.set(s,o),u=o):D(s)}if(!u){const o=N(e);if(o){const i=C(o);i&&(document.body.appendChild(i),c.set(s,i),u=i)}}return u?e.dataTransfer.setDragImage(u,60,60):e.dataTransfer.setDragImage(d,0,0),!0},dispose:()=>{l.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),c.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),l.clear(),w.clear(),c.clear(),x.clear(),d.parentNode&&d.parentNode.removeChild(d)}}}export{L as c};
//# sourceMappingURL=imageDragTransfer-apm0lmHd.js.map

1
dist/assets/imageDragTransfer-apm0lmHd.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/imageDragTransfer-vBkaf40H.js

@ -1,2 +0,0 @@
function h(m){return String(m??"").trim()}function k(m){const u=m.currentTarget;if(!u)return null;if(u instanceof HTMLImageElement)return u.complete&&u.naturalWidth>0&&u.naturalHeight>0?u:null;const f=u.querySelector("img");return f&&f.complete&&f.naturalWidth>0&&f.naturalHeight>0?f:null}function L(m){const u=Math.max(8,Number(m?.maxCacheCount??32)),f=m?.enableCanvasWarmup??!0,N=Math.max(1,Number(m?.maxWarmupPerCall??24)),v=m?.disableCanvasPreview??!1,i=new Map,g=new Map,c=new Map,w=new Set,l=document.createElement("div");l.style.width="1px",l.style.height="1px",l.style.position="fixed",l.style.top="-9999px",l.style.left="-9999px",l.style.opacity="0",document.body.appendChild(l);const D=e=>{const t=i.get(e);t?.parentNode&&t.parentNode.removeChild(t),i.delete(e),g.delete(e)},W=e=>{const t=c.get(e);t?.parentNode&&t.parentNode.removeChild(t),c.delete(e)},E=()=>{for(;i.size>u;){const e=i.keys().next().value;if(!e)break;D(e),W(e)}},C=e=>{if(!e.complete||e.naturalWidth<=0||e.naturalHeight<=0)return null;const t=120,a=document.createElement("canvas");a.width=t,a.height=t,a.style.width=`${t}px`,a.style.height=`${t}px`,a.style.position="fixed",a.style.top="-9999px",a.style.left="-9999px";const r=a.getContext("2d");if(!r)return null;const n=e.naturalWidth,d=e.naturalHeight,s=n/d,o=1;let p=0,T=0,x=n,I=d;return s>o?(x=d*o,p=(n-x)/2):s<o&&(I=n/o,T=(d-I)/2),r.drawImage(e,p,T,x,I,0,0,t,t),a},y=e=>{const t=h(e);if(!t)return null;const a=i.get(t);if(a)return i.delete(t),i.set(t,a),a;const r=new Image;return r.src=t,r.style.width="120px",r.style.height="120px",r.style.objectFit="cover",r.decoding="async",r.loading="eager",i.set(t,r),E(),r},P=e=>{const t=h(e);if(!t)return Promise.resolve();const a=g.get(t);if(a)return a;const r=y(t);if(!r)return Promise.resolve();const n=new Promise(d=>{if(r.complete&&r.naturalWidth>0){d();return}const s=()=>{r.removeEventListener("load",s),r.removeEventListener("error",s),d()};r.addEventListener("load",s,{once:!0}),r.addEventListener("error",s,{once:!0})}).then(async()=>{try{typeof r.decode=="function"&&await r.decode()}catch{}});return g.set(t,n),n},b=e=>{const t=h(e);return!t||c.has(t)?Promise.resolve():P(t).then(()=>{if(c.has(t))return;const a=i.get(t);if(!a)return;const r=C(a);r&&(document.body.appendChild(r),c.set(t,r))})};return{ensurePreviewImage:y,warmupPreviewImages:e=>{let t=0;e.forEach(a=>{if(t>=N)return;const r=h(a);if(!r||w.has(r))return;w.add(r),t+=1;const n=()=>{P(r),f&&!v&&b(r)};"requestIdleCallback"in window?window.requestIdleCallback(n,{timeout:1200}):setTimeout(n,0)})},startImageDrag:({evt:e,dragUrl:t,previewUrl:a})=>{const r=h(t);if(!r||!e.dataTransfer)return!1;e.dataTransfer.clearData(),e.dataTransfer.setData("text/plain",r),e.dataTransfer.setData("text/uri-list",r),e.dataTransfer.setData("text/html",`<img src="${r}" alt="" />`);const n=h(a??r),d=y(n);let s=v?null:c.get(n);if(!s&&!v&&d){const o=C(d);o?(document.body.appendChild(o),c.set(n,o),s=o):b(n)}if(!s){const o=k(e);if(o){const p=C(o);p&&(document.body.appendChild(p),c.set(n,p),s=p)}}return s?e.dataTransfer.setDragImage(s,60,60):e.dataTransfer.setDragImage(l,0,0),!0},dispose:()=>{i.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),c.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),i.clear(),g.clear(),c.clear(),w.clear(),l.parentNode&&l.parentNode.removeChild(l)}}}export{L as c};
//# sourceMappingURL=imageDragTransfer-vBkaf40H.js.map

1
dist/assets/imageDragTransfer-vBkaf40H.js.map

File diff suppressed because one or more lines are too long

1
dist/assets/index-2zgKzmDo.css

@ -0,0 +1 @@
@charset "UTF-8";.createPage__myCreationsWrap{padding:0 29px;box-sizing:border-box}.createPage__myCreationsGrouped{display:flex;flex-direction:column;gap:24px}.createPage__myCreationsDaySection{margin:0;padding:0}.createPage__myCreationsDayTitle{margin:0 0 20px;padding:0;font-size:16px;font-weight:500;line-height:1.4;color:#666}.createPage__myCreationsList{display:flex;flex-wrap:wrap;gap:15px;margin:0;padding:0;list-style:none}@media (max-width: 640px){.createPage__myCreationsList{grid-template-columns:repeat(2,minmax(0,1fr))}}.createPage__myCreationsListItem{width:260px;height:260px;margin-bottom:20px;padding:0;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#f5f5f5;cursor:pointer}.createPage__myCreationsListItem_video{position:relative}.createPage__myCreationsVideoHoverOverlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;background:#00000073;opacity:1;transition:opacity .18s ease;pointer-events:none}.createPage__myCreationsListItem_video:hover .createPage__myCreationsVideoHoverOverlay{opacity:0;background:transparent}.createPage__myCreationsVideoHoverIcon{width:56px;height:56px;display:block;max-width:100%;max-height:100%}@keyframes createPage__myCreationsPendingSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.createPage__myCreationsListItem_pending{border-radius:9px;background:linear-gradient(136deg,#f0f0f0 36.14%,#d6ceef 99.52%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.createPage__myCreationsListItem_pending .createPage__myCreationsPendingIcon{width:70px;height:70px;display:block;animation:createPage__myCreationsPendingSpin 4s linear infinite}.createPage__myCreationsListItem_pending .createPage__myCreationsPendingLabel{color:#6841ea4d;text-align:center;font-family:Source Han Sans CN;font-size:12px;font-style:normal;font-weight:500;line-height:normal}.createPage__myCreationsThumb{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.createPage__myCreationsThumb_empty{width:100%;height:100%;min-height:80px;background:#ebebeb}.createPage__myCreationsSentinel{height:1px;margin-top:8px;pointer-events:none}.createPage__myCreationsLoadMore{margin-top:8px;text-align:center}@media (max-width: 520px){.createPage__myCreationsWrap{padding-left:16px;padding-right:16px}.createPage__filters{justify-content:flex-start}.createPage__batchBtn{align-self:flex-end}}

4
dist/assets/index-BeioQtq5.js → dist/assets/index-3jBeF7Sc.js

@ -1,2 +1,2 @@
import{j as a}from"./markdown-vendor-BZI_VWzW.js";import{u as i,r as o}from"./data-vendor-BOGugMqL.js";import{e as n,O as c}from"./react-vendor-wlKWdfEb.js";const l=["myCreations","inspiration","favorite"],m={myCreations:"my-creations",inspiration:"inspiration",favorite:"favorite"};function x(){const{t:r}=i(),t=o.useId();return a.jsxs("div",{className:"createPage",children:[a.jsx("header",{className:"createPage__toolbar createPage__toolbar_primary_only",children:a.jsx("div",{className:"createPage__primaryTabs",role:"tablist","aria-label":r("pages.create.toolbarAria"),children:l.map(e=>a.jsx(n,{id:`${t}-tab-${e}`,to:m[e],end:!0,role:"tab",className:({isActive:s})=>classNames("createPage__primaryTab",s&&"createPage__primaryTab_active"),children:r(`pages.create.tabs.${e}`)},e))})}),a.jsx(c,{context:t})]})}export{x as default};
//# sourceMappingURL=index-BeioQtq5.js.map
import{j as a}from"./markdown-vendor-BZI_VWzW.js";import{u as i,r as o}from"./data-vendor-BOGugMqL.js";import{e as c,O as n}from"./react-vendor-CmPQC3tV.js";const l=["myCreations","inspiration","favorite"],m={myCreations:"my-creations",inspiration:"inspiration",favorite:"favorite"};function x(){const{t:r}=i(),t=o.useId();return a.jsxs("div",{className:"createPage",children:[a.jsx("header",{className:"createPage__toolbar createPage__toolbar_primary_only",children:a.jsx("div",{className:"createPage__primaryTabs",role:"tablist","aria-label":r("pages.create.toolbarAria"),children:l.map(e=>a.jsx(c,{id:`${t}-tab-${e}`,to:m[e],end:!0,role:"tab",className:({isActive:s})=>classNames("createPage__primaryTab",s&&"createPage__primaryTab_active"),children:r(`pages.create.tabs.${e}`)},e))})}),a.jsx("div",{className:"createPage__outlet",children:a.jsx(n,{context:t})})]})}export{x as default};
//# sourceMappingURL=index-3jBeF7Sc.js.map

2
dist/assets/index-BeioQtq5.js.map → dist/assets/index-3jBeF7Sc.js.map

@ -1 +1 @@
{"version":3,"file":"index-BeioQtq5.js","sources":["../../src/pages/Create/index.tsx"],"sourcesContent":["import { useId } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { NavLink, Outlet } from \"react-router-dom\";\nimport \"./index.scss\";\n\ntype PrimaryTabId = \"myCreations\" | \"inspiration\" | \"favorite\";\n\nconst PRIMARY_TAB_ORDER: PrimaryTabId[] = [\n \"myCreations\",\n \"inspiration\",\n \"favorite\",\n];\n\n/** 与 router 子 path 一致(相对 ROUTES.CREATE) */\nconst PRIMARY_TAB_PATH: Record<PrimaryTabId, string> = {\n myCreations: \"my-creations\",\n inspiration: \"inspiration\",\n favorite: \"favorite\",\n};\n\n\nexport default function Create() {\n const { t } = useTranslation();\n const tabIdPrefix = useId();\n\n return (\n <div className=\"createPage\">\n <header className=\"createPage__toolbar createPage__toolbar_primary_only\">\n <div className=\"createPage__primaryTabs\" role=\"tablist\" aria-label={t(\"pages.create.toolbarAria\")}>\n {PRIMARY_TAB_ORDER.map((id) => (\n <NavLink\n key={id}\n id={`${tabIdPrefix}-tab-${id}`}\n to={PRIMARY_TAB_PATH[id]}\n end\n role=\"tab\"\n className={({ isActive }) => classNames(\"createPage__primaryTab\", isActive && \"createPage__primaryTab_active\")}\n >\n {t(`pages.create.tabs.${id}`)}\n </NavLink>\n ))}\n </div>\n </header>\n\n <Outlet context={tabIdPrefix} />\n </div>\n );\n}\n"],"names":["PRIMARY_TAB_ORDER","PRIMARY_TAB_PATH","Create","t","useTranslation","tabIdPrefix","useId","jsxs","jsx","id","NavLink","isActive","Outlet"],"mappings":"6JAOA,MAAMA,EAAoC,CACxC,cACA,cACA,UACF,EAGMC,EAAiD,CACrD,YAAa,eACb,YAAa,cACb,SAAU,UACZ,EAGA,SAAwBC,GAAS,CAC/B,KAAM,CAAE,EAAAC,CAAA,EAAMC,EAAA,EACRC,EAAcC,EAAAA,MAAA,EAEpB,OACEC,EAAAA,KAAC,MAAA,CAAI,UAAU,aACb,SAAA,CAAAC,MAAC,UAAO,UAAU,uDAChB,SAAAA,MAAC,MAAA,CAAI,UAAU,0BAA0B,KAAK,UAAU,aAAYL,EAAE,0BAA0B,EAC7F,SAAAH,EAAkB,IAAKS,GACtBD,EAAAA,IAACE,EAAA,CAEC,GAAI,GAAGL,CAAW,QAAQI,CAAE,GAC5B,GAAIR,EAAiBQ,CAAE,EACvB,IAAG,GACH,KAAK,MACL,UAAW,CAAC,CAAE,SAAAE,CAAA,IAAe,WAAW,yBAA0BA,GAAY,+BAA+B,EAE5G,SAAAR,EAAE,qBAAqBM,CAAE,EAAE,CAAA,EAPvBA,CAAA,CASR,EACH,CAAA,CACF,EAEAD,EAAAA,IAACI,EAAA,CAAO,QAASP,CAAA,CAAa,CAAA,EAChC,CAEJ"}
{"version":3,"file":"index-3jBeF7Sc.js","sources":["../../src/pages/Create/index.tsx"],"sourcesContent":["import { useId } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { NavLink, Outlet } from \"react-router-dom\";\nimport \"./index.scss\";\n\ntype PrimaryTabId = \"myCreations\" | \"inspiration\" | \"favorite\";\n\nconst PRIMARY_TAB_ORDER: PrimaryTabId[] = [\n \"myCreations\",\n \"inspiration\",\n \"favorite\",\n];\n\n/** 与 router 子 path 一致(相对 ROUTES.CREATE) */\nconst PRIMARY_TAB_PATH: Record<PrimaryTabId, string> = {\n myCreations: \"my-creations\",\n inspiration: \"inspiration\",\n favorite: \"favorite\",\n};\n\n\nexport default function Create() {\n const { t } = useTranslation();\n const tabIdPrefix = useId();\n\n return (\n <div className=\"createPage\">\n <header className=\"createPage__toolbar createPage__toolbar_primary_only\">\n <div className=\"createPage__primaryTabs\" role=\"tablist\" aria-label={t(\"pages.create.toolbarAria\")}>\n {PRIMARY_TAB_ORDER.map((id) => (\n <NavLink\n key={id}\n id={`${tabIdPrefix}-tab-${id}`}\n to={PRIMARY_TAB_PATH[id]}\n end\n role=\"tab\"\n className={({ isActive }) => classNames(\"createPage__primaryTab\", isActive && \"createPage__primaryTab_active\")}\n >\n {t(`pages.create.tabs.${id}`)}\n </NavLink>\n ))}\n </div>\n </header>\n\n <div className=\"createPage__outlet\">\n <Outlet context={tabIdPrefix} />\n </div>\n </div>\n );\n}\n"],"names":["PRIMARY_TAB_ORDER","PRIMARY_TAB_PATH","Create","t","useTranslation","tabIdPrefix","useId","jsxs","jsx","id","NavLink","isActive","Outlet"],"mappings":"6JAOA,MAAMA,EAAoC,CACxC,cACA,cACA,UACF,EAGMC,EAAiD,CACrD,YAAa,eACb,YAAa,cACb,SAAU,UACZ,EAGA,SAAwBC,GAAS,CAC/B,KAAM,CAAE,EAAAC,CAAA,EAAMC,EAAA,EACRC,EAAcC,EAAAA,MAAA,EAEpB,OACEC,EAAAA,KAAC,MAAA,CAAI,UAAU,aACb,SAAA,CAAAC,MAAC,UAAO,UAAU,uDAChB,SAAAA,MAAC,MAAA,CAAI,UAAU,0BAA0B,KAAK,UAAU,aAAYL,EAAE,0BAA0B,EAC7F,SAAAH,EAAkB,IAAKS,GACtBD,EAAAA,IAACE,EAAA,CAEC,GAAI,GAAGL,CAAW,QAAQI,CAAE,GAC5B,GAAIR,EAAiBQ,CAAE,EACvB,IAAG,GACH,KAAK,MACL,UAAW,CAAC,CAAE,SAAAE,CAAA,IAAe,WAAW,yBAA0BA,GAAY,+BAA+B,EAE5G,SAAAR,EAAE,qBAAqBM,CAAE,EAAE,CAAA,EAPvBA,CAAA,CASR,EACH,CAAA,CACF,EAEAD,EAAAA,IAAC,OAAI,UAAU,qBACb,eAACI,EAAA,CAAO,QAASP,EAAa,CAAA,CAChC,CAAA,EACF,CAEJ"}

2
dist/assets/index-5rXb67Va.js

@ -0,0 +1,2 @@
import{j as r}from"./markdown-vendor-BZI_VWzW.js";import{u as U,r as a}from"./data-vendor-BOGugMqL.js";import{g as Y}from"./react-vendor-CmPQC3tV.js";import{T as q,U as G,o as V,e as Z}from"./index-BxSU1Bs1.js";import"./arco-vendor-gN7EHfgO.js";const h=20,M=[{title:"image",assetType:"1"},{title:"video",assetType:"2"},{title:"template",assetType:"4"},{title:"character",assetType:"5"}];function A(o){const s=o;return s?.data?.list??s?.list??[]}function B(o){let s=o?.parentElement??null;for(;s!=null;){const g=window.getComputedStyle(s).overflowY;if((g==="auto"||g==="scroll")&&s.scrollHeight>s.clientHeight)return s;s=s.parentElement}return null}function J(o){const s=o?.id??o?.assetId;return s==null||s===""?null:String(s)}function te({tabIdPrefix:o}){const{t:s}=U(),[v,g]=Y(),[l,N]=a.useState("1"),[u,p]=a.useState([]),[b,j]=a.useState(1),[f,d]=a.useState(!0),[m,F]=a.useState(!1),[P,w]=a.useState(!1),[y,C]=a.useState(null),E=a.useRef(null),S=a.useRef(!1),i=a.useRef(0),I=a.useRef(async()=>{});a.useEffect(()=>{const e=v.get("type");e!=null&&M.some(t=>t.assetType===e)&&N(e)},[v]);const L=a.useCallback(e=>({assetType:l,page:e,pageSize:h}),[l]),_=a.useCallback(e=>l==="5"?q({page:e,pageSize:h}):G(L(e)),[L,l]);a.useEffect(()=>{let e=!1;i.current+=1;const t=i.current;return j(1),d(!0),p([]),F(!0),C(null),_(1).then(n=>{if(e||i.current!==t)return;const c=A(n);p(c),d(c.length>=h)}).catch(n=>{e||i.current!==t||(C(n instanceof Error?n:new Error(String(n))),p([]),d(!1))}).finally(()=>{!e&&i.current===t&&F(!1)}),()=>{e=!0}},[_,l]);const D=a.useCallback(async()=>{if(!f||S.current||m||P)return;S.current=!0,w(!0);const e=i.current,t=b+1;try{const n=await _(t);if(i.current!==e)return;const c=A(n);c.length===0?d(!1):(p(H=>[...H,...c]),j(t),d(c.length>=h))}catch{i.current===e&&d(!1)}finally{S.current=!1,w(!1)}},[_,f,m,P,b]);I.current=D,a.useEffect(()=>{const e=E.current;if(!e||!f||m)return;const t=B(e),n=new IntersectionObserver(c=>{c[0]?.isIntersecting&&I.current()},{root:t,rootMargin:"200px",threshold:0});return n.observe(e),()=>n.disconnect()},[f,m,u.length]);const z=a.useCallback(e=>{N(e),g(t=>{const n=new URLSearchParams(t);return n.set("type",String(e)),n},{replace:!0})},[g]),x=a.useCallback(async e=>{const t=e.assetId;t!=null&&await V({assetId:t})},[]),k=a.useCallback(async e=>{Z({id:e.id})},[]),R=a.useCallback(e=>{e.currentTarget.querySelector("video")?.play()},[]),T=a.useCallback(e=>{e.currentTarget.querySelector("video")?.pause()},[]),O=a.useMemo(()=>M.map(({title:e,assetType:t})=>({assetType:t,label:s(`pages.create.filters.${e}`)})),[s]),$=a.useMemo(()=>u.map(e=>{const t=J(e)??`row-${l}`;return l=="2"?r.jsx("li",{className:"myFavoritePanel__item",onClick:()=>void x(e),onMouseEnter:R,onMouseLeave:T,children:r.jsx("video",{className:"myFavoritePanel__media",src:e.asset.video,muted:!0,playsInline:!0,loop:!0,preload:"metadata",poster:e.asset.cover,"aria-hidden":!0})},t):l=="1"||l=="4"?r.jsx("li",{className:"myFavoritePanel__item",onClick:()=>void x(e),children:r.jsx("img",{className:"myFavoritePanel__media",src:e?.asset?.images?.[0],loading:"lazy"})},t):l=="5"?r.jsx("li",{className:"myFavoritePanel__item",onClick:()=>void k(e),children:r.jsx("img",{className:"myFavoritePanel__media",src:e.avatar,loading:"lazy"})},t):r.jsx("li",{className:"myFavoritePanel__item myFavoritePanel__item_empty",children:r.jsx("span",{className:"myFavoritePanel__emptyLabel",children:s("pages.create.panels.favorite.noPreview")})},t)}),[x,k,u,R,T,l,s]);return r.jsxs("div",{className:"createPage__panelShell myFavoritePanel",children:[r.jsx("div",{className:"createPage__subRow myFavoritePanel__subRow",children:r.jsx("div",{className:"createPage__filters",role:"group","aria-label":s("pages.create.filtersAria"),"data-active-tab":l,children:O.map(({assetType:e,label:t})=>r.jsx("button",{type:"button","data-type":e,"data-selected":l===e,"aria-pressed":l===e,className:classNames("createPage__filterPill",l===e&&"createPage__filterPill_active"),onClick:()=>z(e),children:t},e))})}),r.jsxs("section",{className:"createPage__panel createPage__panelScroll createPage__panel_below_filters",id:`${o}-panel-favorite`,role:"tabpanel","aria-labelledby":`${o}-tab-favorite`,children:[m&&u.length===0?r.jsx("p",{className:"createPage__panelStatus",children:s("common.loading")}):null,y?r.jsx("p",{className:"createPage__panelStatus createPage__panelStatus_error",children:y.message}):null,!m&&!y&&u.length===0?r.jsx("p",{className:"createPage__panelPlaceholder",children:s("pages.create.panels.favorite.placeholder")}):null,u.length>0?r.jsxs(r.Fragment,{children:[r.jsx("ul",{className:"myFavoritePanel__list",role:"list",children:$}),f?r.jsx("div",{ref:E,className:"myFavoritePanel__sentinel","aria-hidden":!0}):null,P?r.jsx("p",{className:"createPage__panelStatus myFavoritePanel__loadMore",children:s("common.loading")}):null]}):null]})]})}export{te as default};
//# sourceMappingURL=index-5rXb67Va.js.map

1
dist/assets/index-5rXb67Va.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-B7ttuJiR.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-B7ttuJiR.js.map

File diff suppressed because one or more lines are too long

1
dist/assets/index-BCARlX5L.css

File diff suppressed because one or more lines are too long

1
dist/assets/index-BGm5tjB6.css

@ -0,0 +1 @@
@charset "UTF-8";.createPage{box-sizing:border-box;width:100%;min-height:100%;max-height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:#f9f9f9}.createPage__toolbar{flex-shrink:0;padding:22px 29px 16px;box-sizing:border-box;background:#f9f9f9}.createPage__toolbar_primary_only{padding-bottom:10px}.createPage__outlet{flex:1 1 0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.createPage__panelShell{flex:1 1 0;min-height:0;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}.createPage__singleTabWrap{padding:0 29px;box-sizing:border-box}.createPage__primaryTabs{display:flex;align-items:flex-end;gap:10px;min-height:42px}.createPage__primaryTab{position:relative;flex-shrink:0;height:42px;margin:0;padding:0 6px;border:none;background:transparent;text-decoration:none;color:inherit;cursor:pointer;font-family:inherit;font-size:16px;font-weight:500;line-height:26px;color:#999;display:flex;align-items:center;justify-content:center;box-sizing:border-box;white-space:nowrap}.createPage__primaryTab_active{color:#333}.createPage__primaryTab_active:after{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:39px;height:3px;background:#5c3bc7;border-radius:1.5px}.createPage__primaryTab:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.createPage__subRow{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:0;background:#f9f9f9}.createPage__filters{display:flex;flex-wrap:wrap;align-items:center;gap:0;min-width:0}.createPage__filterPill{width:69px;height:27px;margin:0;padding:0;border:none;border-radius:9px;color:#999;font-size:14px;font-weight:500;line-height:26px;cursor:pointer;font-family:inherit;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}.createPage__filterPill_active{background:#f0f0f0;color:#333}.createPage__filterPill:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.createPage__batchBtn{width:91px;height:27px;margin:0;padding:0;border:1px solid #e5e6eb;border-radius:9px;background:#fff;color:#333;font-size:14px;font-weight:500;line-height:26px;cursor:pointer;font-family:inherit;box-sizing:border-box;flex-shrink:0}.createPage__batchBtn:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.createPage__panel{margin:0;box-sizing:border-box;padding-bottom:200px}.createPage__panelScroll{flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.createPage__panelScroll::-webkit-scrollbar{display:none}.createPage__panel_below_filters{margin-top:16px;padding-bottom:24px}.createPage__panelPlaceholder{margin:0;color:#999;font-size:14px;font-weight:400;line-height:22px}.createPage__panelStatus{margin:0;color:#666;font-size:14px;line-height:22px}.createPage__panelStatus_error{color:#f53f3f}.createPage__panel_suspense{flex:1 1 0;min-height:0;padding:10px 29px 24px;color:#999;font-size:14px;line-height:22px}.createPage__panelShell .inspirationPanel{flex:1 1 0;min-height:0;display:flex;flex-direction:column;overflow:hidden}@media (max-width: 520px){.createPage__toolbar{padding:16px 16px 12px}.createPage__toolbar_primary_only{padding-bottom:8px}.createPage__singleTabWrap,.createPage__panel_suspense{padding-left:16px;padding-right:16px}.createPage__subRow{flex-direction:column;align-items:stretch}}

2
dist/assets/index-BIlzV-Wd.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-BIlzV-Wd.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-C8vva0K1.css → dist/assets/index-BXE2fiFj.css

File diff suppressed because one or more lines are too long

2
dist/assets/index-BaScfP3c.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-BaScfP3c.js.map

File diff suppressed because one or more lines are too long

3
dist/assets/index-BdphHSr3.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-BdphHSr3.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-BhvQ0ZnU.js

@ -1,2 +0,0 @@
import{j as s}from"./markdown-vendor-BZI_VWzW.js";import{u as G,r as t}from"./data-vendor-BOGugMqL.js";import{g as U}from"./react-vendor-wlKWdfEb.js";import{bm as V,bn as H,o as Y,f as Z}from"./index-CpDY2xe_.js";import"./arco-vendor-CAnKnMnO.js";const _=20,T=[{title:"image",assetType:"1"},{title:"video",assetType:"2"},{title:"template",assetType:"4"},{title:"character",assetType:"5"}];function A(o){const r=o;return r?.data?.list??r?.list??[]}function B(o){const r=o?.id??o?.assetId;return r==null||r===""?null:String(r)}function ee({tabIdPrefix:o}){const{t:r}=G(),[x,S]=U(),[l,b]=t.useState("1"),[c,f]=t.useState([]),[N,j]=t.useState(1),[g,u]=t.useState(!0),[d,F]=t.useState(!1),[v,C]=t.useState(!1),[h,I]=t.useState(null),L=t.useRef(null),P=t.useRef(!1),i=t.useRef(0),k=t.useRef(async()=>{});t.useEffect(()=>{const e=x.get("type");e!=null&&T.some(a=>a.assetType===e)&&b(e)},[x]);const w=t.useCallback(e=>({assetType:l,page:e,pageSize:_}),[l]),p=t.useCallback(e=>l==="5"?V({page:e,pageSize:_}):H(w(e)),[w,l]);t.useEffect(()=>{let e=!1;i.current+=1;const a=i.current;return j(1),u(!0),f([]),F(!0),I(null),p(1).then(n=>{if(e||i.current!==a)return;const m=A(n);f(m),u(m.length>=_)}).catch(n=>{e||i.current!==a||(I(n instanceof Error?n:new Error(String(n))),f([]),u(!1))}).finally(()=>{!e&&i.current===a&&F(!1)}),()=>{e=!0}},[p,l]);const D=t.useCallback(async()=>{if(!g||P.current||d||v)return;P.current=!0,C(!0);const e=i.current,a=N+1;try{const n=await p(a);if(i.current!==e)return;const m=A(n);m.length===0?u(!1):(f(q=>[...q,...m]),j(a),u(m.length>=_))}catch{i.current===e&&u(!1)}finally{P.current=!1,C(!1)}},[p,g,d,v,N]);k.current=D,t.useEffect(()=>{const e=L.current;if(!e||!g||d)return;const a=new IntersectionObserver(n=>{n[0]?.isIntersecting&&k.current()},{root:null,rootMargin:"200px",threshold:0});return a.observe(e),()=>a.disconnect()},[g,d,c.length]);const z=t.useCallback(e=>{b(e),S(a=>{const n=new URLSearchParams(a);return n.set("type",String(e)),n},{replace:!0})},[S]),y=t.useCallback(async e=>{const a=e.assetId;a!=null&&await Y({assetId:a})},[]),E=t.useCallback(async e=>{Z({id:e.id})},[]),R=t.useCallback(e=>{e.currentTarget.querySelector("video")?.play()},[]),M=t.useCallback(e=>{e.currentTarget.querySelector("video")?.pause()},[]),O=t.useMemo(()=>T.map(({title:e,assetType:a})=>({assetType:a,label:r(`pages.create.filters.${e}`)})),[r]),$=t.useMemo(()=>c.map(e=>{const a=B(e)??`row-${l}`;return l=="2"?s.jsx("li",{className:"myFavoritePanel__item",onClick:()=>void y(e),onMouseEnter:R,onMouseLeave:M,children:s.jsx("video",{className:"myFavoritePanel__media",src:e.asset.video,muted:!0,playsInline:!0,loop:!0,preload:"metadata",poster:e.asset.cover,"aria-hidden":!0})},a):l=="1"||l=="4"?s.jsx("li",{className:"myFavoritePanel__item",onClick:()=>void y(e),children:s.jsx("img",{className:"myFavoritePanel__media",src:e?.asset?.images?.[0],alt:"",loading:"lazy"})},a):l=="5"?s.jsx("li",{className:"myFavoritePanel__item",onClick:()=>void E(e),children:s.jsx("img",{className:"myFavoritePanel__media",src:e.avatar,alt:"",loading:"lazy"})},a):s.jsx("li",{className:"myFavoritePanel__item myFavoritePanel__item_empty",children:s.jsx("span",{className:"myFavoritePanel__emptyLabel",children:r("pages.create.panels.favorite.noPreview")})},a)}),[y,E,c,R,M,l,r]);return s.jsxs("div",{className:"myFavoritePanel",children:[s.jsx("div",{className:"createPage__subRow myFavoritePanel__subRow",children:s.jsx("div",{className:"createPage__filters",role:"group","aria-label":r("pages.create.filtersAria"),"data-active-tab":l,children:O.map(({assetType:e,label:a})=>s.jsx("button",{type:"button","data-type":e,"data-selected":l===e,"aria-pressed":l===e,className:classNames("createPage__filterPill",l===e&&"createPage__filterPill_active"),onClick:()=>z(e),children:a},e))})}),s.jsxs("section",{className:"createPage__panel createPage__panel_below_filters",id:`${o}-panel-favorite`,role:"tabpanel","aria-labelledby":`${o}-tab-favorite`,children:[d&&c.length===0?s.jsx("p",{className:"createPage__panelStatus",children:r("common.loading")}):null,h?s.jsx("p",{className:"createPage__panelStatus createPage__panelStatus_error",children:h.message}):null,!d&&!h&&c.length===0?s.jsx("p",{className:"createPage__panelPlaceholder",children:r("pages.create.panels.favorite.placeholder")}):null,c.length>0?s.jsxs(s.Fragment,{children:[s.jsx("ul",{className:"myFavoritePanel__list",role:"list",children:$}),g?s.jsx("div",{ref:L,className:"myFavoritePanel__sentinel","aria-hidden":!0}):null,v?s.jsx("p",{className:"createPage__panelStatus myFavoritePanel__loadMore",children:r("common.loading")}):null]}):null]})]})}export{ee as default};
//# sourceMappingURL=index-BhvQ0ZnU.js.map

1
dist/assets/index-BhvQ0ZnU.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-BjnOs2ZD.js

@ -0,0 +1,2 @@
import{j as e}from"./markdown-vendor-BZI_VWzW.js";import{F as m,G as d}from"./index-BxSU1Bs1.js";import{u as g,r as o}from"./data-vendor-BOGugMqL.js";import{a as _}from"./react-vendor-CmPQC3tV.js";import"./arco-vendor-gN7EHfgO.js";const h="#user-agreement",c="#privacy-policy";function j(){const{t:l}=g(),{hash:i}=_(),t=i===c,r=l(t?"app.privacy_policy":"app.user_terms"),n=t?c.replace("#",""):h.replace("#",""),[p,a]=o.useState(void 0);return o.useEffect(()=>{a(void 0),t?m().then(s=>a(s.data?.content)):d().then(s=>a(s.data?.content))},[t]),e.jsx("div",{className:"legal-page",children:e.jsxs("section",{className:"legal-page__section",id:n,"aria-labelledby":"legal-doc-title",children:[e.jsx("h1",{className:"legal-page__title",id:"legal-doc-title",children:r}),e.jsx("div",{className:"legal-page__content",children:e.jsx("div",{dangerouslySetInnerHTML:{__html:p??""}})})]})})}export{j as default};
//# sourceMappingURL=index-BjnOs2ZD.js.map

2
dist/assets/index-u0a-FDwa.js.map → dist/assets/index-BjnOs2ZD.js.map

@ -1 +1 @@
{"version":3,"file":"index-u0a-FDwa.js","sources":["../../src/pages/legal/index.tsx"],"sourcesContent":["import { getPrivacyPolicy, getUserTerms } from \"@/api/api\";\nimport { useEffect, useState } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { useTranslation } from \"react-i18next\";\nimport \"./index.scss\";\n\nconst USER_AGREEMENT_HASH = \"#user-agreement\";\nconst PRIVACY_POLICY_HASH = \"#privacy-policy\";\n\nexport default function Legal() {\n const { t } = useTranslation();\n const { hash } = useLocation();\n const showPrivacy = hash === PRIVACY_POLICY_HASH;\n const title = showPrivacy ? t(\"app.privacy_policy\") : t(\"app.user_terms\");\n const sectionId = showPrivacy\n ? PRIVACY_POLICY_HASH.replace(\"#\", \"\")\n : USER_AGREEMENT_HASH.replace(\"#\", \"\");\n\n const [html, setHtml] = useState<string | undefined>(undefined);\n\n useEffect(() => {\n setHtml(undefined);\n if (showPrivacy) {\n getPrivacyPolicy().then((res) => setHtml(res.data?.content));\n } else {\n getUserTerms().then((res) => setHtml(res.data?.content));\n }\n }, [showPrivacy]);\n\n return (\n <div className=\"legal-page\">\n <section\n className=\"legal-page__section\"\n id={sectionId}\n aria-labelledby=\"legal-doc-title\"\n >\n <h1 className=\"legal-page__title\" id=\"legal-doc-title\">\n {title}\n </h1>\n <div className=\"legal-page__content\">\n <div dangerouslySetInnerHTML={{ __html: html ?? \"\" }} />\n </div>\n </section>\n </div>\n );\n}\n"],"names":["USER_AGREEMENT_HASH","PRIVACY_POLICY_HASH","Legal","t","useTranslation","hash","useLocation","showPrivacy","title","sectionId","html","setHtml","useState","useEffect","getPrivacyPolicy","res","getUserTerms","jsx","jsxs"],"mappings":"yOAMA,MAAMA,EAAsB,kBACtBC,EAAsB,kBAE5B,SAAwBC,GAAQ,CAC9B,KAAM,CAAE,EAAAC,CAAA,EAAMC,EAAA,EACR,CAAE,KAAAC,CAAA,EAASC,EAAA,EACXC,EAAcF,IAASJ,EACvBO,EAAsBL,EAAdI,EAAgB,qBAA0B,gBAAN,EAC5CE,EAAYF,EACdN,EAAoB,QAAQ,IAAK,EAAE,EACnCD,EAAoB,QAAQ,IAAK,EAAE,EAEjC,CAACU,EAAMC,CAAO,EAAIC,EAAAA,SAA6B,MAAS,EAE9DC,OAAAA,EAAAA,UAAU,IAAM,CACdF,EAAQ,MAAS,EACbJ,EACFO,EAAA,EAAmB,KAAMC,GAAQJ,EAAQI,EAAI,MAAM,OAAO,CAAC,EAE3DC,EAAA,EAAe,KAAMD,GAAQJ,EAAQI,EAAI,MAAM,OAAO,CAAC,CAE3D,EAAG,CAACR,CAAW,CAAC,EAGdU,EAAAA,IAAC,MAAA,CAAI,UAAU,aACb,SAAAC,EAAAA,KAAC,UAAA,CACC,UAAU,sBACV,GAAIT,EACJ,kBAAgB,kBAEhB,SAAA,CAAAQ,MAAC,KAAA,CAAG,UAAU,oBAAoB,GAAG,kBAClC,SAAAT,EACH,EACAS,EAAAA,IAAC,MAAA,CAAI,UAAU,sBACb,SAAAA,EAAAA,IAAC,MAAA,CAAI,wBAAyB,CAAE,OAAQP,GAAQ,EAAA,CAAG,CAAG,CAAA,CACxD,CAAA,CAAA,CAAA,EAEJ,CAEJ"}
{"version":3,"file":"index-BjnOs2ZD.js","sources":["../../src/pages/legal/index.tsx"],"sourcesContent":["import { getPrivacyPolicy, getUserTerms } from \"@/api/api\";\nimport { useEffect, useState } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { useTranslation } from \"react-i18next\";\nimport \"./index.scss\";\n\nconst USER_AGREEMENT_HASH = \"#user-agreement\";\nconst PRIVACY_POLICY_HASH = \"#privacy-policy\";\n\nexport default function Legal() {\n const { t } = useTranslation();\n const { hash } = useLocation();\n const showPrivacy = hash === PRIVACY_POLICY_HASH;\n const title = showPrivacy ? t(\"app.privacy_policy\") : t(\"app.user_terms\");\n const sectionId = showPrivacy\n ? PRIVACY_POLICY_HASH.replace(\"#\", \"\")\n : USER_AGREEMENT_HASH.replace(\"#\", \"\");\n\n const [html, setHtml] = useState<string | undefined>(undefined);\n\n useEffect(() => {\n setHtml(undefined);\n if (showPrivacy) {\n getPrivacyPolicy().then((res) => setHtml(res.data?.content));\n } else {\n getUserTerms().then((res) => setHtml(res.data?.content));\n }\n }, [showPrivacy]);\n\n return (\n <div className=\"legal-page\">\n <section\n className=\"legal-page__section\"\n id={sectionId}\n aria-labelledby=\"legal-doc-title\"\n >\n <h1 className=\"legal-page__title\" id=\"legal-doc-title\">\n {title}\n </h1>\n <div className=\"legal-page__content\">\n <div dangerouslySetInnerHTML={{ __html: html ?? \"\" }} />\n </div>\n </section>\n </div>\n );\n}\n"],"names":["USER_AGREEMENT_HASH","PRIVACY_POLICY_HASH","Legal","t","useTranslation","hash","useLocation","showPrivacy","title","sectionId","html","setHtml","useState","useEffect","getPrivacyPolicy","res","getUserTerms","jsx","jsxs"],"mappings":"uOAMA,MAAMA,EAAsB,kBACtBC,EAAsB,kBAE5B,SAAwBC,GAAQ,CAC9B,KAAM,CAAE,EAAAC,CAAA,EAAMC,EAAA,EACR,CAAE,KAAAC,CAAA,EAASC,EAAA,EACXC,EAAcF,IAASJ,EACvBO,EAAsBL,EAAdI,EAAgB,qBAA0B,gBAAN,EAC5CE,EAAYF,EACdN,EAAoB,QAAQ,IAAK,EAAE,EACnCD,EAAoB,QAAQ,IAAK,EAAE,EAEjC,CAACU,EAAMC,CAAO,EAAIC,EAAAA,SAA6B,MAAS,EAE9DC,OAAAA,EAAAA,UAAU,IAAM,CACdF,EAAQ,MAAS,EACbJ,EACFO,EAAA,EAAmB,KAAMC,GAAQJ,EAAQI,EAAI,MAAM,OAAO,CAAC,EAE3DC,EAAA,EAAe,KAAMD,GAAQJ,EAAQI,EAAI,MAAM,OAAO,CAAC,CAE3D,EAAG,CAACR,CAAW,CAAC,EAGdU,EAAAA,IAAC,MAAA,CAAI,UAAU,aACb,SAAAC,EAAAA,KAAC,UAAA,CACC,UAAU,sBACV,GAAIT,EACJ,kBAAgB,kBAEhB,SAAA,CAAAQ,MAAC,KAAA,CAAG,UAAU,oBAAoB,GAAG,kBAClC,SAAAT,EACH,EACAS,EAAAA,IAAC,MAAA,CAAI,UAAU,sBACb,SAAAA,EAAAA,IAAC,MAAA,CAAI,wBAAyB,CAAE,OAAQP,GAAQ,EAAA,CAAG,CAAG,CAAA,CACxD,CAAA,CAAA,CAAA,EAEJ,CAEJ"}

1
dist/assets/index-Bjvt2Jcq.css

@ -1 +0,0 @@
@charset "UTF-8";.myFavoritePanel{padding:0 29px 24px;box-sizing:border-box}.createPage__subRow{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:10px}.createPage__filters{display:flex;flex-wrap:wrap;align-items:center;gap:0;min-width:0}.createPage__filterPill{width:69px;height:27px;margin:0;padding:0;border:none;border-radius:9px;background:#fff;color:#999;font-size:14px;font-weight:500;line-height:26px;cursor:pointer;font-family:inherit;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}.createPage__filterPill_active{background:#f9f9f9;color:#333}.createPage__filterPill:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.createPage__panel_below_filters{margin-top:16px}.myFavoritePanel__subRow{justify-content:flex-start}.myFavoritePanel__list{display:flex;flex-wrap:wrap;align-items:stretch;gap:16px;margin:0;padding:0;list-style:none}.myFavoritePanel__item{width:260px;height:260px;justify-content:flex-start;gap:5px;padding:0;border-radius:12px;overflow:hidden;cursor:pointer;background:#f2f3f5;box-sizing:border-box;flex-shrink:0}.myFavoritePanel__item:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.myFavoritePanel__item_empty{display:flex;align-items:center;justify-content:center;cursor:pointer}.myFavoritePanel__emptyLabel{font-size:14px;color:#999}.myFavoritePanel__media{display:block;width:100%;height:100%;object-fit:cover}.myFavoritePanel__sentinel{height:1px}.myFavoritePanel__loadMore{margin-top:12px;text-align:center}

1
dist/assets/index-Bpf2837w.css

File diff suppressed because one or more lines are too long

3
dist/assets/index-Bq4RYU8N.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-Bq4RYU8N.js.map

File diff suppressed because one or more lines are too long

16
dist/assets/index-BxSU1Bs1.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-BxSU1Bs1.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-C3p15IZ-.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-C3p15IZ-.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-CATFjeTC.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-CATFjeTC.js.map

File diff suppressed because one or more lines are too long

4
dist/assets/index-CRz-3PsP.js → dist/assets/index-CCQidnWm.js

@ -1,2 +1,2 @@
import{j as t}from"./markdown-vendor-BZI_VWzW.js";import{L as o}from"./react-vendor-wlKWdfEb.js";import{R as s}from"./index-CpDY2xe_.js";import{u as r}from"./data-vendor-BOGugMqL.js";import"./arco-vendor-CAnKnMnO.js";function c(){const{t:e}=r();return t.jsxs("div",{className:"flex min-h-[60vh] flex-col items-center justify-center text-gray-600",children:[t.jsx("p",{className:"text-6xl font-bold text-gray-300",children:"404"}),t.jsx("p",{className:"mt-2",children:e("notFound.title")}),t.jsx(o,{to:s.EXPLORE,className:"mt-4 text-blue-600 hover:underline",children:e("notFound.backHome")})]})}export{c as default};
//# sourceMappingURL=index-CRz-3PsP.js.map
import{j as t}from"./markdown-vendor-BZI_VWzW.js";import{L as o}from"./react-vendor-CmPQC3tV.js";import{R as s}from"./index-BxSU1Bs1.js";import{u as r}from"./data-vendor-BOGugMqL.js";import"./arco-vendor-gN7EHfgO.js";function c(){const{t:e}=r();return t.jsxs("div",{className:"flex min-h-[60vh] flex-col items-center justify-center text-gray-600",children:[t.jsx("p",{className:"text-6xl font-bold text-gray-300",children:"404"}),t.jsx("p",{className:"mt-2",children:e("notFound.title")}),t.jsx(o,{to:s.EXPLORE,className:"mt-4 text-blue-600 hover:underline",children:e("notFound.backHome")})]})}export{c as default};
//# sourceMappingURL=index-CCQidnWm.js.map

2
dist/assets/index-CRz-3PsP.js.map → dist/assets/index-CCQidnWm.js.map

@ -1 +1 @@
{"version":3,"file":"index-CRz-3PsP.js","sources":["../../src/pages/NotFound/index.tsx"],"sourcesContent":["import { Link } from \"react-router-dom\";\nimport { useTranslation } from \"react-i18next\";\nimport { ROUTES } from \"@/constants\";\n\nexport default function NotFound() {\n const { t } = useTranslation();\n return (\n <div className=\"flex min-h-[60vh] flex-col items-center justify-center text-gray-600\">\n <p className=\"text-6xl font-bold text-gray-300\">404</p>\n <p className=\"mt-2\">{t(\"notFound.title\")}</p>\n <Link to={ROUTES.EXPLORE} className=\"mt-4 text-blue-600 hover:underline\">\n {t(\"notFound.backHome\")}\n </Link>\n </div>\n );\n}\n"],"names":["NotFound","t","useTranslation","jsxs","jsx","Link","ROUTES"],"mappings":"yNAIA,SAAwBA,GAAW,CACjC,KAAM,CAAE,EAAAC,CAAA,EAAMC,EAAA,EACd,OACEC,EAAAA,KAAC,MAAA,CAAI,UAAU,uEACb,SAAA,CAAAC,EAAAA,IAAC,IAAA,CAAE,UAAU,mCAAmC,SAAA,MAAG,QAClD,IAAA,CAAE,UAAU,OAAQ,SAAAH,EAAE,gBAAgB,EAAE,EACzCG,EAAAA,IAACC,GAAK,GAAIC,EAAO,QAAS,UAAU,qCACjC,SAAAL,EAAE,mBAAmB,CAAA,CACxB,CAAA,EACF,CAEJ"}
{"version":3,"file":"index-CCQidnWm.js","sources":["../../src/pages/NotFound/index.tsx"],"sourcesContent":["import { Link } from \"react-router-dom\";\nimport { useTranslation } from \"react-i18next\";\nimport { ROUTES } from \"@/constants\";\n\nexport default function NotFound() {\n const { t } = useTranslation();\n return (\n <div className=\"flex min-h-[60vh] flex-col items-center justify-center text-gray-600\">\n <p className=\"text-6xl font-bold text-gray-300\">404</p>\n <p className=\"mt-2\">{t(\"notFound.title\")}</p>\n <Link to={ROUTES.EXPLORE} className=\"mt-4 text-blue-600 hover:underline\">\n {t(\"notFound.backHome\")}\n </Link>\n </div>\n );\n}\n"],"names":["NotFound","t","useTranslation","jsxs","jsx","Link","ROUTES"],"mappings":"yNAIA,SAAwBA,GAAW,CACjC,KAAM,CAAE,EAAAC,CAAA,EAAMC,EAAA,EACd,OACEC,EAAAA,KAAC,MAAA,CAAI,UAAU,uEACb,SAAA,CAAAC,EAAAA,IAAC,IAAA,CAAE,UAAU,mCAAmC,SAAA,MAAG,QAClD,IAAA,CAAE,UAAU,OAAQ,SAAAH,EAAE,gBAAgB,EAAE,EACzCG,EAAAA,IAACC,GAAK,GAAIC,EAAO,QAAS,UAAU,qCACjC,SAAAL,EAAE,mBAAmB,CAAA,CACxB,CAAA,EACF,CAEJ"}

1
dist/assets/index-CS93DBVo.css

File diff suppressed because one or more lines are too long

2
dist/assets/index-Ca3_30jI.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-Ca3_30jI.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-CaCDs6aA.js

@ -1,2 +0,0 @@
import{j as t}from"./markdown-vendor-BZI_VWzW.js";import{ba as d}from"./index-CpDY2xe_.js";import{r as a}from"./data-vendor-BOGugMqL.js";import{f as m,g}from"./react-vendor-wlKWdfEb.js";import"./arco-vendor-CAnKnMnO.js";function _(){const[i,s]=a.useState(void 0),[o,r]=a.useState(void 0),{id:n}=m(),[c]=g(),e=n??c.get("id")??void 0;return a.useEffect(()=>{e&&(s(void 0),d({id:e}).then(l=>{s(l.data?.content),r(l.data?.title)}))},[e]),t.jsx("div",{className:"legal-page",children:t.jsxs("section",{className:"legal-page__section",id:e,"aria-labelledby":"legal-doc-title",children:[t.jsx("h1",{className:"legal-page__title",id:"legal-doc-title",children:o}),t.jsx("div",{className:"legal-page__content",children:t.jsx("div",{dangerouslySetInnerHTML:{__html:i??""}})})]})})}export{_ as default};
//# sourceMappingURL=index-CaCDs6aA.js.map

2
dist/assets/index-CaufySeZ.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-CaufySeZ.js.map

File diff suppressed because one or more lines are too long

1
dist/assets/index-CbzZwvE5.css

File diff suppressed because one or more lines are too long

16
dist/assets/index-CpDY2xe_.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-CpDY2xe_.js.map

File diff suppressed because one or more lines are too long

1
dist/assets/index-CwZPwSP1.css

File diff suppressed because one or more lines are too long

2
dist/assets/index-DABcdsMj.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-DABcdsMj.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-DB_bxOIm.js

@ -0,0 +1,2 @@
import{j as t}from"./markdown-vendor-BZI_VWzW.js";import{H as d}from"./index-BxSU1Bs1.js";import{r as a}from"./data-vendor-BOGugMqL.js";import{f as m,g}from"./react-vendor-CmPQC3tV.js";import"./arco-vendor-gN7EHfgO.js";function _(){const[i,s]=a.useState(void 0),[o,r]=a.useState(void 0),{id:n}=m(),[c]=g(),e=n??c.get("id")??void 0;return a.useEffect(()=>{e&&(s(void 0),d({id:e}).then(l=>{s(l.data?.content),r(l.data?.title)}))},[e]),t.jsx("div",{className:"legal-page",children:t.jsxs("section",{className:"legal-page__section",id:e,"aria-labelledby":"legal-doc-title",children:[t.jsx("h1",{className:"legal-page__title",id:"legal-doc-title",children:o}),t.jsx("div",{className:"legal-page__content",children:t.jsx("div",{dangerouslySetInnerHTML:{__html:i??""}})})]})})}export{_ as default};
//# sourceMappingURL=index-DB_bxOIm.js.map

2
dist/assets/index-CaCDs6aA.js.map → dist/assets/index-DB_bxOIm.js.map

@ -1 +1 @@
{"version":3,"file":"index-CaCDs6aA.js","sources":["../../src/pages/content/page/index.tsx"],"sourcesContent":["import { getContent } from \"@/api/api\";\r\nimport { useEffect, useState } from \"react\";\r\nimport { useParams, useSearchParams } from \"react-router-dom\";\r\nimport \"./index.scss\";\r\n\r\nexport default function Content() {\r\n\r\n const [html, setHtml] = useState<string | undefined>(undefined);\r\n const [title, setTitle] = useState<string | undefined>(undefined);\r\n const { id: idFromPath } = useParams();\r\n const [searchParams] = useSearchParams();\r\n const id = idFromPath ?? searchParams.get(\"id\") ?? undefined;\r\n\r\n useEffect(() => {\r\n if (!id) return;\r\n setHtml(undefined);\r\n getContent({ id }).then((res) => {\r\n setHtml(res.data?.content);\r\n setTitle(res.data?.title);\r\n });\r\n }, [id]);\r\n\r\n return (\r\n <div className=\"legal-page\">\r\n <section\r\n className=\"legal-page__section\"\r\n id={id}\r\n aria-labelledby=\"legal-doc-title\"\r\n >\r\n <h1 className=\"legal-page__title\" id=\"legal-doc-title\">\r\n {title}\r\n </h1>\r\n <div className=\"legal-page__content\">\r\n <div dangerouslySetInnerHTML={{ __html: html ?? \"\" }} />\r\n </div>\r\n </section>\r\n </div>\r\n );\r\n}\r\n"],"names":["Content","html","setHtml","useState","title","setTitle","idFromPath","useParams","searchParams","useSearchParams","id","useEffect","getContent","res","jsx","jsxs"],"mappings":"4NAKA,SAAwBA,GAAU,CAE9B,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAAA,SAA6B,MAAS,EACxD,CAACC,EAAOC,CAAQ,EAAIF,EAAAA,SAA6B,MAAS,EAC1D,CAAE,GAAIG,CAAA,EAAeC,EAAA,EACrB,CAACC,CAAY,EAAIC,EAAA,EACjBC,EAAKJ,GAAcE,EAAa,IAAI,IAAI,GAAK,OAEnDG,OAAAA,EAAAA,UAAU,IAAM,CACPD,IACLR,EAAQ,MAAS,EACjBU,EAAW,CAAE,GAAAF,CAAA,CAAI,EAAE,KAAMG,GAAQ,CAC7BX,EAAQW,EAAI,MAAM,OAAO,EACzBR,EAASQ,EAAI,MAAM,KAAK,CAC5B,CAAC,EACL,EAAG,CAACH,CAAE,CAAC,EAGHI,EAAAA,IAAC,MAAA,CAAI,UAAU,aACX,SAAAC,EAAAA,KAAC,UAAA,CACG,UAAU,sBACV,GAAAL,EACA,kBAAgB,kBAEhB,SAAA,CAAAI,MAAC,KAAA,CAAG,UAAU,oBAAoB,GAAG,kBAChC,SAAAV,EACL,EACAU,EAAAA,IAAC,MAAA,CAAI,UAAU,sBACX,SAAAA,EAAAA,IAAC,MAAA,CAAI,wBAAyB,CAAE,OAAQb,GAAQ,EAAA,CAAG,CAAG,CAAA,CAC1D,CAAA,CAAA,CAAA,EAER,CAER"}
{"version":3,"file":"index-DB_bxOIm.js","sources":["../../src/pages/content/page/index.tsx"],"sourcesContent":["import { getContent } from \"@/api/api\";\r\nimport { useEffect, useState } from \"react\";\r\nimport { useParams, useSearchParams } from \"react-router-dom\";\r\nimport \"./index.scss\";\r\n\r\nexport default function Content() {\r\n\r\n const [html, setHtml] = useState<string | undefined>(undefined);\r\n const [title, setTitle] = useState<string | undefined>(undefined);\r\n const { id: idFromPath } = useParams();\r\n const [searchParams] = useSearchParams();\r\n const id = idFromPath ?? searchParams.get(\"id\") ?? undefined;\r\n\r\n useEffect(() => {\r\n if (!id) return;\r\n setHtml(undefined);\r\n getContent({ id }).then((res) => {\r\n setHtml(res.data?.content);\r\n setTitle(res.data?.title);\r\n });\r\n }, [id]);\r\n\r\n return (\r\n <div className=\"legal-page\">\r\n <section\r\n className=\"legal-page__section\"\r\n id={id}\r\n aria-labelledby=\"legal-doc-title\"\r\n >\r\n <h1 className=\"legal-page__title\" id=\"legal-doc-title\">\r\n {title}\r\n </h1>\r\n <div className=\"legal-page__content\">\r\n <div dangerouslySetInnerHTML={{ __html: html ?? \"\" }} />\r\n </div>\r\n </section>\r\n </div>\r\n );\r\n}\r\n"],"names":["Content","html","setHtml","useState","title","setTitle","idFromPath","useParams","searchParams","useSearchParams","id","useEffect","getContent","res","jsx","jsxs"],"mappings":"2NAKA,SAAwBA,GAAU,CAE9B,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAAA,SAA6B,MAAS,EACxD,CAACC,EAAOC,CAAQ,EAAIF,EAAAA,SAA6B,MAAS,EAC1D,CAAE,GAAIG,CAAA,EAAeC,EAAA,EACrB,CAACC,CAAY,EAAIC,EAAA,EACjBC,EAAKJ,GAAcE,EAAa,IAAI,IAAI,GAAK,OAEnDG,OAAAA,EAAAA,UAAU,IAAM,CACPD,IACLR,EAAQ,MAAS,EACjBU,EAAW,CAAE,GAAAF,CAAA,CAAI,EAAE,KAAMG,GAAQ,CAC7BX,EAAQW,EAAI,MAAM,OAAO,EACzBR,EAASQ,EAAI,MAAM,KAAK,CAC5B,CAAC,EACL,EAAG,CAACH,CAAE,CAAC,EAGHI,EAAAA,IAAC,MAAA,CAAI,UAAU,aACX,SAAAC,EAAAA,KAAC,UAAA,CACG,UAAU,sBACV,GAAAL,EACA,kBAAgB,kBAEhB,SAAA,CAAAI,MAAC,KAAA,CAAG,UAAU,oBAAoB,GAAG,kBAChC,SAAAV,EACL,EACAU,EAAAA,IAAC,MAAA,CAAI,UAAU,sBACX,SAAAA,EAAAA,IAAC,MAAA,CAAI,wBAAyB,CAAE,OAAQb,GAAQ,EAAA,CAAG,CAAG,CAAA,CAC1D,CAAA,CAAA,CAAA,EAER,CAER"}

1
dist/assets/index-DBziruxA.css

@ -0,0 +1 @@
@charset "UTF-8";.myFavoritePanel{padding:0 29px;box-sizing:border-box}.myFavoritePanel__subRow{justify-content:flex-start}.myFavoritePanel__list{display:flex;flex-wrap:wrap;align-items:stretch;gap:16px;margin:0;padding:0;list-style:none}.myFavoritePanel__item{width:260px;height:260px;justify-content:flex-start;gap:5px;padding:0;border-radius:12px;overflow:hidden;cursor:pointer;background:#f2f3f5;box-sizing:border-box;flex-shrink:0}.myFavoritePanel__item:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.myFavoritePanel__item_empty{display:flex;align-items:center;justify-content:center;cursor:pointer}.myFavoritePanel__emptyLabel{font-size:14px;color:#999}.myFavoritePanel__media{display:block;width:100%;height:100%;object-fit:cover}.myFavoritePanel__sentinel{height:1px}.myFavoritePanel__loadMore{margin-top:12px;text-align:center}

2
dist/assets/index-CcYWZBOz.css → dist/assets/index-DOPwPjBb.css

File diff suppressed because one or more lines are too long

1
dist/assets/index-DVx8Byjs.css

@ -1 +0,0 @@
@charset "UTF-8";.createPage{min-height:100%;background:#fff;box-sizing:border-box}.createPage__toolbar{padding:22px 29px 16px;box-sizing:border-box}.createPage__toolbar_primary_only{padding-bottom:0}.createPage__singleTabWrap{padding:10px 29px 24px;box-sizing:border-box}.createPage__primaryTabs{display:flex;align-items:flex-end;gap:10px;min-height:42px}.createPage__primaryTab{position:relative;flex-shrink:0;height:42px;margin:0;padding:0 6px;border:none;background:transparent;text-decoration:none;color:inherit;cursor:pointer;font-family:inherit;font-size:16px;font-weight:500;line-height:26px;color:#999;display:flex;align-items:center;justify-content:center;box-sizing:border-box;white-space:nowrap}.createPage__primaryTab_active{color:#333}.createPage__primaryTab_active:after{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:39px;height:3px;background:#5c3bc7;border-radius:1.5px}.createPage__primaryTab:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.createPage__panel{margin:0;min-height:120px;box-sizing:border-box}.createPage__panelPlaceholder{margin:0;color:#999;font-size:14px;font-weight:400;line-height:22px}.createPage__panelStatus{margin:0;color:#666;font-size:14px;line-height:22px}.createPage__panelStatus_error{color:#f53f3f}.createPage__panel_suspense{padding:10px 29px 24px;color:#999;font-size:14px;line-height:22px}@media (max-width: 520px){.createPage__toolbar{padding:16px 16px 12px}.createPage__toolbar_primary_only{padding-bottom:0}.createPage__singleTabWrap,.createPage__panel_suspense{padding-left:16px;padding-right:16px}}

2
dist/assets/index-Dst1M6ob.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-Dst1M6ob.js.map

File diff suppressed because one or more lines are too long

1
dist/assets/index-DwiSrC4t.css

File diff suppressed because one or more lines are too long

2
dist/assets/index-_4dJFsM5.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-_4dJFsM5.js.map

File diff suppressed because one or more lines are too long

1
dist/assets/index-buqH3sz9.css

@ -1 +0,0 @@
@charset "UTF-8";.createPage__myCreationsWrap{padding:0 29px 24px;box-sizing:border-box}.createPage__subRow{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:10px}.createPage__filters{display:flex;flex-wrap:wrap;align-items:center;gap:0;min-width:0}.createPage__filterPill{width:69px;height:27px;margin:0;padding:0;border:none;border-radius:9px;background:#fff;color:#999;font-size:14px;font-weight:500;line-height:26px;cursor:pointer;font-family:inherit;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}.createPage__filterPill_active{background:#f9f9f9;color:#333}.createPage__filterPill:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.createPage__batchBtn{width:91px;height:27px;margin:0;padding:0;border:1px solid #e5e6eb;border-radius:9px;background:#fff;color:#333;font-size:14px;font-weight:500;line-height:26px;cursor:pointer;font-family:inherit;box-sizing:border-box;flex-shrink:0}.createPage__batchBtn:focus-visible{outline:2px solid #5c3bc7;outline-offset:2px}.createPage__panel_below_filters{margin-top:16px}.createPage__myCreationsGrouped{display:flex;flex-direction:column;gap:24px}.createPage__myCreationsDaySection{margin:0;padding:0}.createPage__myCreationsDayTitle{margin:0 0 20px;padding:0;font-size:16px;font-weight:500;line-height:1.4;color:#666}.createPage__myCreationsList{display:flex;flex-wrap:wrap;gap:15px;margin:0;padding:0;list-style:none}@media (max-width: 640px){.createPage__myCreationsList{grid-template-columns:repeat(2,minmax(0,1fr))}}.createPage__myCreationsListItem{width:260px;height:260px;margin-bottom:20px;padding:0;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#f5f5f5;cursor:pointer}@keyframes createPage__myCreationsPendingSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.createPage__myCreationsListItem_pending{border-radius:9px;background:linear-gradient(136deg,#f0f0f0 36.14%,#d6ceef 99.52%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.createPage__myCreationsListItem_pending .createPage__myCreationsPendingIcon{width:70px;height:70px;display:block;animation:createPage__myCreationsPendingSpin 4s linear infinite}.createPage__myCreationsListItem_pending .createPage__myCreationsPendingLabel{color:#6841ea4d;text-align:center;font-family:Source Han Sans CN;font-size:8px;font-style:normal;font-weight:500;line-height:normal}.createPage__myCreationsThumb{display:block;width:100%;height:100%;object-fit:cover}.createPage__myCreationsThumb_empty{width:100%;height:100%;min-height:80px;background:#ebebeb}.createPage__myCreationsSentinel{height:1px;margin-top:8px;pointer-events:none}.createPage__myCreationsLoadMore{margin-top:8px;text-align:center}@media (max-width: 520px){.createPage__myCreationsWrap{padding-left:16px;padding-right:16px}.createPage__subRow{flex-direction:column;align-items:stretch}.createPage__filters{justify-content:flex-start}.createPage__batchBtn{align-self:flex-end}}

2
dist/assets/index-jJ3SsXTP.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-jJ3SsXTP.js.map

File diff suppressed because one or more lines are too long

3
dist/assets/index-lBlGgFp0.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-lBlGgFp0.js.map

File diff suppressed because one or more lines are too long

3
dist/assets/index-lEp7Lq4j.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-lEp7Lq4j.js.map

File diff suppressed because one or more lines are too long

2
dist/assets/index-t9WuyDth.js

File diff suppressed because one or more lines are too long

1
dist/assets/index-t9WuyDth.js.map

File diff suppressed because one or more lines are too long

1
dist/assets/index-tX0VtggN.css

File diff suppressed because one or more lines are too long

2
dist/assets/index-u0a-FDwa.js

@ -1,2 +0,0 @@
import{j as e}from"./markdown-vendor-BZI_VWzW.js";import{b8 as m,b9 as d}from"./index-CpDY2xe_.js";import{u as g,r as o}from"./data-vendor-BOGugMqL.js";import{b as _}from"./react-vendor-wlKWdfEb.js";import"./arco-vendor-CAnKnMnO.js";const h="#user-agreement",c="#privacy-policy";function j(){const{t:l}=g(),{hash:i}=_(),t=i===c,r=l(t?"app.privacy_policy":"app.user_terms"),n=t?c.replace("#",""):h.replace("#",""),[p,a]=o.useState(void 0);return o.useEffect(()=>{a(void 0),t?m().then(s=>a(s.data?.content)):d().then(s=>a(s.data?.content))},[t]),e.jsx("div",{className:"legal-page",children:e.jsxs("section",{className:"legal-page__section",id:n,"aria-labelledby":"legal-doc-title",children:[e.jsx("h1",{className:"legal-page__title",id:"legal-doc-title",children:r}),e.jsx("div",{className:"legal-page__content",children:e.jsx("div",{dangerouslySetInnerHTML:{__html:p??""}})})]})})}export{j as default};
//# sourceMappingURL=index-u0a-FDwa.js.map

1
dist/assets/index-vR9ho_p0.css

File diff suppressed because one or more lines are too long

BIN
dist/assets/info-icon-Bl1djEbP.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 KiB

BIN
dist/assets/popi_avatar-BNWnTSut.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

4
dist/assets/react-vendor-wlKWdfEb.js → dist/assets/react-vendor-CmPQC3tV.js

File diff suppressed because one or more lines are too long

2
dist/assets/react-vendor-wlKWdfEb.js.map → dist/assets/react-vendor-CmPQC3tV.js.map

File diff suppressed because one or more lines are too long

BIN
dist/assets/seal-BUXFMEKb.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
dist/assets/step-1-CiAOBSnI.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
dist/assets/step-2-BUAMeHBk.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

8
dist/index.html

@ -18,12 +18,12 @@
<!-- <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet"> -->
<!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
<!-- <link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet"> -->
<script type="module" crossorigin src="/assets/index-CpDY2xe_.js"></script>
<script type="module" crossorigin src="/assets/index-BxSU1Bs1.js"></script>
<link rel="modulepreload" crossorigin href="/assets/data-vendor-BOGugMqL.js">
<link rel="modulepreload" crossorigin href="/assets/markdown-vendor-BZI_VWzW.js">
<link rel="modulepreload" crossorigin href="/assets/react-vendor-wlKWdfEb.js">
<link rel="modulepreload" crossorigin href="/assets/arco-vendor-CAnKnMnO.js">
<link rel="stylesheet" crossorigin href="/assets/index-CcYWZBOz.css">
<link rel="modulepreload" crossorigin href="/assets/react-vendor-CmPQC3tV.js">
<link rel="modulepreload" crossorigin href="/assets/arco-vendor-gN7EHfgO.js">
<link rel="stylesheet" crossorigin href="/assets/index-DOPwPjBb.css">
</head>
<body>
<div id="root"></div>

28
package-lock.json

@ -9,6 +9,7 @@
"version": "0.0.1",
"dependencies": {
"@arco-design/web-react": "^2.66.11",
"@tanstack/react-virtual": "^3.13.24",
"axios": "^1.7.0",
"i18next": "^25.10.9",
"jszip": "^3.10.1",
@ -2289,6 +2290,33 @@
"vite": "^5.2.0 || ^6 || ^7"
}
},
"node_modules/@tanstack/react-virtual": {
"version": "3.13.24",
"resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.13.24.tgz",
"integrity": "sha512-aIJvz5OSkhNIhZIpYivrxrPTKYsjW9Uzy+sP/mx0S3sev2HyvPb7xmjbYvokzEpfgYHy/HjzJ2zFAETuUfgCpg==",
"license": "MIT",
"dependencies": {
"@tanstack/virtual-core": "3.14.0"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/@tanstack/virtual-core": {
"version": "3.14.0",
"resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.14.0.tgz",
"integrity": "sha512-JLANqGy/D6k4Ujmh8Tr25lGimuOXNiaVyXaCAZS0W+1390sADdGnyUdSWNIfd49gebtIxGMij4IktRVzrdr12Q==",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
}
},
"node_modules/@types/babel__core": {
"version": "7.20.5",
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save